node

package
Version: v3.0.0-...-203504f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// node that hosts Kubernetes control-plane components
	RoleTypeControlPlane = RoleType("control-plane")
	// node that hosts Kubernetes worker
	RoleTypeWorker = RoleType("worker")
	// node that hosts an external load balancer
	RoleTypeLoadBalancer = RoleType("external-load-balancer")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	ExtraMounts                  []mount.Mount                 `pulumi:"extraMounts"`
	ExtraPortMappings            []portmapping.PortMapping     `pulumi:"extraPortMappings"`
	Image                        *string                       `pulumi:"image"`
	KubeadmConfigPatches         []string                      `pulumi:"kubeadmConfigPatches"`
	KubeadmConfigPatchesJSON6902 []patchjson6902.PatchJSON6902 `pulumi:"kubeadmConfigPatchesJSON6902"`
	Labels                       map[string]string             `pulumi:"labels"`
	// node role type
	Role *string `pulumi:"role"`
}

KIND Node type

type NodeArgs

type NodeArgs struct {
	ExtraMounts                  mount.MountArrayInput                 `pulumi:"extraMounts"`
	ExtraPortMappings            portmapping.PortMappingArrayInput     `pulumi:"extraPortMappings"`
	Image                        pulumi.StringPtrInput                 `pulumi:"image"`
	KubeadmConfigPatches         pulumi.StringArrayInput               `pulumi:"kubeadmConfigPatches"`
	KubeadmConfigPatchesJSON6902 patchjson6902.PatchJSON6902ArrayInput `pulumi:"kubeadmConfigPatchesJSON6902"`
	Labels                       pulumi.StringMapInput                 `pulumi:"labels"`
	// node role type
	Role pulumi.StringPtrInput `pulumi:"role"`
}

KIND Node type

func (NodeArgs) ElementType

func (NodeArgs) ElementType() reflect.Type

func (NodeArgs) ToNodeOutput

func (i NodeArgs) ToNodeOutput() NodeOutput

func (NodeArgs) ToNodeOutputWithContext

func (i NodeArgs) ToNodeOutputWithContext(ctx context.Context) NodeOutput

type NodeArray

type NodeArray []NodeInput

func (NodeArray) ElementType

func (NodeArray) ElementType() reflect.Type

func (NodeArray) ToNodeArrayOutput

func (i NodeArray) ToNodeArrayOutput() NodeArrayOutput

func (NodeArray) ToNodeArrayOutputWithContext

func (i NodeArray) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeArrayInput

type NodeArrayInput interface {
	pulumi.Input

	ToNodeArrayOutput() NodeArrayOutput
	ToNodeArrayOutputWithContext(context.Context) NodeArrayOutput
}

NodeArrayInput is an input type that accepts NodeArray and NodeArrayOutput values. You can construct a concrete instance of `NodeArrayInput` via:

NodeArray{ NodeArgs{...} }

type NodeArrayOutput

type NodeArrayOutput struct{ *pulumi.OutputState }

func (NodeArrayOutput) ElementType

func (NodeArrayOutput) ElementType() reflect.Type

func (NodeArrayOutput) Index

func (NodeArrayOutput) ToNodeArrayOutput

func (o NodeArrayOutput) ToNodeArrayOutput() NodeArrayOutput

func (NodeArrayOutput) ToNodeArrayOutputWithContext

func (o NodeArrayOutput) ToNodeArrayOutputWithContext(ctx context.Context) NodeArrayOutput

type NodeInput

type NodeInput interface {
	pulumi.Input

	ToNodeOutput() NodeOutput
	ToNodeOutputWithContext(context.Context) NodeOutput
}

NodeInput is an input type that accepts NodeArgs and NodeOutput values. You can construct a concrete instance of `NodeInput` via:

NodeArgs{...}

type NodeOutput

type NodeOutput struct{ *pulumi.OutputState }

KIND Node type

func (NodeOutput) ElementType

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) ExtraMounts

func (o NodeOutput) ExtraMounts() mount.MountArrayOutput

func (NodeOutput) ExtraPortMappings

func (o NodeOutput) ExtraPortMappings() portmapping.PortMappingArrayOutput

func (NodeOutput) Image

func (o NodeOutput) Image() pulumi.StringPtrOutput

func (NodeOutput) KubeadmConfigPatches

func (o NodeOutput) KubeadmConfigPatches() pulumi.StringArrayOutput

func (NodeOutput) KubeadmConfigPatchesJSON6902

func (o NodeOutput) KubeadmConfigPatchesJSON6902() patchjson6902.PatchJSON6902ArrayOutput

func (NodeOutput) Labels

func (o NodeOutput) Labels() pulumi.StringMapOutput

func (NodeOutput) Role

node role type

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

func (o NodeOutput) ToNodeOutputWithContext(ctx context.Context) NodeOutput

type RoleType

type RoleType string

func (RoleType) ElementType

func (RoleType) ElementType() reflect.Type

func (RoleType) ToRoleTypeOutput

func (e RoleType) ToRoleTypeOutput() RoleTypeOutput

func (RoleType) ToRoleTypeOutputWithContext

func (e RoleType) ToRoleTypeOutputWithContext(ctx context.Context) RoleTypeOutput

func (RoleType) ToRoleTypePtrOutput

func (e RoleType) ToRoleTypePtrOutput() RoleTypePtrOutput

func (RoleType) ToRoleTypePtrOutputWithContext

func (e RoleType) ToRoleTypePtrOutputWithContext(ctx context.Context) RoleTypePtrOutput

func (RoleType) ToStringOutput

func (e RoleType) ToStringOutput() pulumi.StringOutput

func (RoleType) ToStringOutputWithContext

func (e RoleType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RoleType) ToStringPtrOutput

func (e RoleType) ToStringPtrOutput() pulumi.StringPtrOutput

func (RoleType) ToStringPtrOutputWithContext

func (e RoleType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RoleTypeInput

type RoleTypeInput interface {
	pulumi.Input

	ToRoleTypeOutput() RoleTypeOutput
	ToRoleTypeOutputWithContext(context.Context) RoleTypeOutput
}

RoleTypeInput is an input type that accepts RoleTypeArgs and RoleTypeOutput values. You can construct a concrete instance of `RoleTypeInput` via:

RoleTypeArgs{...}

type RoleTypeOutput

type RoleTypeOutput struct{ *pulumi.OutputState }

func (RoleTypeOutput) ElementType

func (RoleTypeOutput) ElementType() reflect.Type

func (RoleTypeOutput) ToRoleTypeOutput

func (o RoleTypeOutput) ToRoleTypeOutput() RoleTypeOutput

func (RoleTypeOutput) ToRoleTypeOutputWithContext

func (o RoleTypeOutput) ToRoleTypeOutputWithContext(ctx context.Context) RoleTypeOutput

func (RoleTypeOutput) ToRoleTypePtrOutput

func (o RoleTypeOutput) ToRoleTypePtrOutput() RoleTypePtrOutput

func (RoleTypeOutput) ToRoleTypePtrOutputWithContext

func (o RoleTypeOutput) ToRoleTypePtrOutputWithContext(ctx context.Context) RoleTypePtrOutput

func (RoleTypeOutput) ToStringOutput

func (o RoleTypeOutput) ToStringOutput() pulumi.StringOutput

func (RoleTypeOutput) ToStringOutputWithContext

func (o RoleTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (RoleTypeOutput) ToStringPtrOutput

func (o RoleTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RoleTypeOutput) ToStringPtrOutputWithContext

func (o RoleTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type RoleTypePtrInput

type RoleTypePtrInput interface {
	pulumi.Input

	ToRoleTypePtrOutput() RoleTypePtrOutput
	ToRoleTypePtrOutputWithContext(context.Context) RoleTypePtrOutput
}

func RoleTypePtr

func RoleTypePtr(v string) RoleTypePtrInput

type RoleTypePtrOutput

type RoleTypePtrOutput struct{ *pulumi.OutputState }

func (RoleTypePtrOutput) Elem

func (RoleTypePtrOutput) ElementType

func (RoleTypePtrOutput) ElementType() reflect.Type

func (RoleTypePtrOutput) ToRoleTypePtrOutput

func (o RoleTypePtrOutput) ToRoleTypePtrOutput() RoleTypePtrOutput

func (RoleTypePtrOutput) ToRoleTypePtrOutputWithContext

func (o RoleTypePtrOutput) ToRoleTypePtrOutputWithContext(ctx context.Context) RoleTypePtrOutput

func (RoleTypePtrOutput) ToStringPtrOutput

func (o RoleTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (RoleTypePtrOutput) ToStringPtrOutputWithContext

func (o RoleTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL