Skip to content

Commit

Permalink
Update to v1.20.0-rc.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Dec 1, 2020
1 parent 8737b5e commit 9095bd2
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ VERSION ?= $(shell pulumictl get version)
PROVIDER_PATH := provider/v2
VERSION_PATH := ${PROVIDER_PATH}/pkg/version.Version

KUBE_VERSION ?= v1.20.0-beta.2
KUBE_VERSION ?= v1.20.0-rc.0
SWAGGER_URL ?= https://github.com/kubernetes/kubernetes/raw/${KUBE_VERSION}/api/openapi-spec/swagger.json
OPENAPI_DIR := provider/pkg/gen/openapi-specs
OPENAPI_FILE := ${OPENAPI_DIR}/swagger-${KUBE_VERSION}.json
Expand Down
40 changes: 40 additions & 0 deletions sdk/go/kubernetes/flowcontrol/v1beta1/flowSchema.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1beta1

import (
"context"
"reflect"

metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/meta/v1"
Expand Down Expand Up @@ -117,3 +118,42 @@ type FlowSchemaArgs struct {
func (FlowSchemaArgs) ElementType() reflect.Type {
return reflect.TypeOf((*flowSchemaArgs)(nil)).Elem()
}

type FlowSchemaInput interface {
pulumi.Input

ToFlowSchemaOutput() FlowSchemaOutput
ToFlowSchemaOutputWithContext(ctx context.Context) FlowSchemaOutput
}

func (FlowSchema) ElementType() reflect.Type {
return reflect.TypeOf((*FlowSchema)(nil)).Elem()
}

func (i FlowSchema) ToFlowSchemaOutput() FlowSchemaOutput {
return i.ToFlowSchemaOutputWithContext(context.Background())
}

func (i FlowSchema) ToFlowSchemaOutputWithContext(ctx context.Context) FlowSchemaOutput {
return pulumi.ToOutputWithContext(ctx, i).(FlowSchemaOutput)
}

type FlowSchemaOutput struct {
*pulumi.OutputState
}

func (FlowSchemaOutput) ElementType() reflect.Type {
return reflect.TypeOf((*FlowSchemaOutput)(nil)).Elem()
}

func (o FlowSchemaOutput) ToFlowSchemaOutput() FlowSchemaOutput {
return o
}

func (o FlowSchemaOutput) ToFlowSchemaOutputWithContext(ctx context.Context) FlowSchemaOutput {
return o
}

func init() {
pulumi.RegisterOutputType(FlowSchemaOutput{})
}
40 changes: 40 additions & 0 deletions sdk/go/kubernetes/flowcontrol/v1beta1/flowSchemaList.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1beta1

import (
"context"
"reflect"

"github.com/pkg/errors"
Expand Down Expand Up @@ -109,3 +110,42 @@ type FlowSchemaListArgs struct {
func (FlowSchemaListArgs) ElementType() reflect.Type {
return reflect.TypeOf((*flowSchemaListArgs)(nil)).Elem()
}

type FlowSchemaListInput interface {
pulumi.Input

ToFlowSchemaListOutput() FlowSchemaListOutput
ToFlowSchemaListOutputWithContext(ctx context.Context) FlowSchemaListOutput
}

func (FlowSchemaList) ElementType() reflect.Type {
return reflect.TypeOf((*FlowSchemaList)(nil)).Elem()
}

func (i FlowSchemaList) ToFlowSchemaListOutput() FlowSchemaListOutput {
return i.ToFlowSchemaListOutputWithContext(context.Background())
}

func (i FlowSchemaList) ToFlowSchemaListOutputWithContext(ctx context.Context) FlowSchemaListOutput {
return pulumi.ToOutputWithContext(ctx, i).(FlowSchemaListOutput)
}

type FlowSchemaListOutput struct {
*pulumi.OutputState
}

func (FlowSchemaListOutput) ElementType() reflect.Type {
return reflect.TypeOf((*FlowSchemaListOutput)(nil)).Elem()
}

func (o FlowSchemaListOutput) ToFlowSchemaListOutput() FlowSchemaListOutput {
return o
}

func (o FlowSchemaListOutput) ToFlowSchemaListOutputWithContext(ctx context.Context) FlowSchemaListOutput {
return o
}

func init() {
pulumi.RegisterOutputType(FlowSchemaListOutput{})
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1beta1

import (
"context"
"reflect"

metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v2/go/kubernetes/meta/v1"
Expand Down Expand Up @@ -117,3 +118,42 @@ type PriorityLevelConfigurationArgs struct {
func (PriorityLevelConfigurationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*priorityLevelConfigurationArgs)(nil)).Elem()
}

type PriorityLevelConfigurationInput interface {
pulumi.Input

ToPriorityLevelConfigurationOutput() PriorityLevelConfigurationOutput
ToPriorityLevelConfigurationOutputWithContext(ctx context.Context) PriorityLevelConfigurationOutput
}

func (PriorityLevelConfiguration) ElementType() reflect.Type {
return reflect.TypeOf((*PriorityLevelConfiguration)(nil)).Elem()
}

func (i PriorityLevelConfiguration) ToPriorityLevelConfigurationOutput() PriorityLevelConfigurationOutput {
return i.ToPriorityLevelConfigurationOutputWithContext(context.Background())
}

func (i PriorityLevelConfiguration) ToPriorityLevelConfigurationOutputWithContext(ctx context.Context) PriorityLevelConfigurationOutput {
return pulumi.ToOutputWithContext(ctx, i).(PriorityLevelConfigurationOutput)
}

type PriorityLevelConfigurationOutput struct {
*pulumi.OutputState
}

func (PriorityLevelConfigurationOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PriorityLevelConfigurationOutput)(nil)).Elem()
}

func (o PriorityLevelConfigurationOutput) ToPriorityLevelConfigurationOutput() PriorityLevelConfigurationOutput {
return o
}

func (o PriorityLevelConfigurationOutput) ToPriorityLevelConfigurationOutputWithContext(ctx context.Context) PriorityLevelConfigurationOutput {
return o
}

func init() {
pulumi.RegisterOutputType(PriorityLevelConfigurationOutput{})
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1beta1

import (
"context"
"reflect"

"github.com/pkg/errors"
Expand Down Expand Up @@ -109,3 +110,42 @@ type PriorityLevelConfigurationListArgs struct {
func (PriorityLevelConfigurationListArgs) ElementType() reflect.Type {
return reflect.TypeOf((*priorityLevelConfigurationListArgs)(nil)).Elem()
}

type PriorityLevelConfigurationListInput interface {
pulumi.Input

ToPriorityLevelConfigurationListOutput() PriorityLevelConfigurationListOutput
ToPriorityLevelConfigurationListOutputWithContext(ctx context.Context) PriorityLevelConfigurationListOutput
}

func (PriorityLevelConfigurationList) ElementType() reflect.Type {
return reflect.TypeOf((*PriorityLevelConfigurationList)(nil)).Elem()
}

func (i PriorityLevelConfigurationList) ToPriorityLevelConfigurationListOutput() PriorityLevelConfigurationListOutput {
return i.ToPriorityLevelConfigurationListOutputWithContext(context.Background())
}

func (i PriorityLevelConfigurationList) ToPriorityLevelConfigurationListOutputWithContext(ctx context.Context) PriorityLevelConfigurationListOutput {
return pulumi.ToOutputWithContext(ctx, i).(PriorityLevelConfigurationListOutput)
}

type PriorityLevelConfigurationListOutput struct {
*pulumi.OutputState
}

func (PriorityLevelConfigurationListOutput) ElementType() reflect.Type {
return reflect.TypeOf((*PriorityLevelConfigurationListOutput)(nil)).Elem()
}

func (o PriorityLevelConfigurationListOutput) ToPriorityLevelConfigurationListOutput() PriorityLevelConfigurationListOutput {
return o
}

func (o PriorityLevelConfigurationListOutput) ToPriorityLevelConfigurationListOutputWithContext(ctx context.Context) PriorityLevelConfigurationListOutput {
return o
}

func init() {
pulumi.RegisterOutputType(PriorityLevelConfigurationListOutput{})
}
40 changes: 40 additions & 0 deletions sdk/go/kubernetes/node/v1/runtimeClass.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1

import (
"context"
"reflect"

"github.com/pkg/errors"
Expand Down Expand Up @@ -148,3 +149,42 @@ type RuntimeClassArgs struct {
func (RuntimeClassArgs) ElementType() reflect.Type {
return reflect.TypeOf((*runtimeClassArgs)(nil)).Elem()
}

type RuntimeClassInput interface {
pulumi.Input

ToRuntimeClassOutput() RuntimeClassOutput
ToRuntimeClassOutputWithContext(ctx context.Context) RuntimeClassOutput
}

func (RuntimeClass) ElementType() reflect.Type {
return reflect.TypeOf((*RuntimeClass)(nil)).Elem()
}

func (i RuntimeClass) ToRuntimeClassOutput() RuntimeClassOutput {
return i.ToRuntimeClassOutputWithContext(context.Background())
}

func (i RuntimeClass) ToRuntimeClassOutputWithContext(ctx context.Context) RuntimeClassOutput {
return pulumi.ToOutputWithContext(ctx, i).(RuntimeClassOutput)
}

type RuntimeClassOutput struct {
*pulumi.OutputState
}

func (RuntimeClassOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RuntimeClassOutput)(nil)).Elem()
}

func (o RuntimeClassOutput) ToRuntimeClassOutput() RuntimeClassOutput {
return o
}

func (o RuntimeClassOutput) ToRuntimeClassOutputWithContext(ctx context.Context) RuntimeClassOutput {
return o
}

func init() {
pulumi.RegisterOutputType(RuntimeClassOutput{})
}
40 changes: 40 additions & 0 deletions sdk/go/kubernetes/node/v1/runtimeClassList.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package v1

import (
"context"
"reflect"

"github.com/pkg/errors"
Expand Down Expand Up @@ -109,3 +110,42 @@ type RuntimeClassListArgs struct {
func (RuntimeClassListArgs) ElementType() reflect.Type {
return reflect.TypeOf((*runtimeClassListArgs)(nil)).Elem()
}

type RuntimeClassListInput interface {
pulumi.Input

ToRuntimeClassListOutput() RuntimeClassListOutput
ToRuntimeClassListOutputWithContext(ctx context.Context) RuntimeClassListOutput
}

func (RuntimeClassList) ElementType() reflect.Type {
return reflect.TypeOf((*RuntimeClassList)(nil)).Elem()
}

func (i RuntimeClassList) ToRuntimeClassListOutput() RuntimeClassListOutput {
return i.ToRuntimeClassListOutputWithContext(context.Background())
}

func (i RuntimeClassList) ToRuntimeClassListOutputWithContext(ctx context.Context) RuntimeClassListOutput {
return pulumi.ToOutputWithContext(ctx, i).(RuntimeClassListOutput)
}

type RuntimeClassListOutput struct {
*pulumi.OutputState
}

func (RuntimeClassListOutput) ElementType() reflect.Type {
return reflect.TypeOf((*RuntimeClassListOutput)(nil)).Elem()
}

func (o RuntimeClassListOutput) ToRuntimeClassListOutput() RuntimeClassListOutput {
return o
}

func (o RuntimeClassListOutput) ToRuntimeClassListOutputWithContext(ctx context.Context) RuntimeClassListOutput {
return o
}

func init() {
pulumi.RegisterOutputType(RuntimeClassListOutput{})
}

0 comments on commit 9095bd2

Please sign in to comment.