kind

package
v0.0.0-...-296adfe Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// Client certificate for authenticating to cluster.
	ClientCertificate pulumi.StringOutput `pulumi:"clientCertificate"`
	// Client key for authenticating to cluster.
	ClientKey pulumi.StringOutput `pulumi:"clientKey"`
	// Client verifies the server certificate with this CA cert.
	ClusterCaCertificate pulumi.StringOutput `pulumi:"clusterCaCertificate"`
	// Cluster successfully created.
	Completed pulumi.BoolOutput `pulumi:"completed"`
	// Kubernetes APIServer endpoint.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// The kindConfig that kind will use.
	KindConfig ClusterKindConfigPtrOutput `pulumi:"kindConfig"`
	// The kubeconfig for the cluster after it is created
	Kubeconfig pulumi.StringOutput `pulumi:"kubeconfig"`
	// kubeconfig path set after the the cluster is created or by the user to override defaults.
	KubeconfigPath pulumi.StringOutput `pulumi:"kubeconfigPath"`
	// The kind name that is given to the created cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// The nodeImage that kind will use (ex: kindest/node:v1.27.1).
	NodeImage pulumi.StringOutput `pulumi:"nodeImage"`
	// Defines wether or not the provider will wait for the control plane to be ready. Defaults to false.
	WaitForReady pulumi.BoolPtrOutput `pulumi:"waitForReady"`
}

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// The kindConfig that kind will use.
	KindConfig ClusterKindConfigPtrInput
	// kubeconfig path set after the the cluster is created or by the user to override defaults.
	KubeconfigPath pulumi.StringPtrInput
	// The kind name that is given to the created cluster.
	Name pulumi.StringPtrInput
	// The nodeImage that kind will use (ex: kindest/node:v1.27.1).
	NodeImage pulumi.StringPtrInput
	// Defines wether or not the provider will wait for the control plane to be ready. Defaults to false.
	WaitForReady pulumi.BoolPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterKindConfig

type ClusterKindConfig struct {
	ApiVersion              string                       `pulumi:"apiVersion"`
	ContainerdConfigPatches []string                     `pulumi:"containerdConfigPatches"`
	FeatureGates            map[string]string            `pulumi:"featureGates"`
	Kind                    string                       `pulumi:"kind"`
	Networking              *ClusterKindConfigNetworking `pulumi:"networking"`
	Nodes                   []ClusterKindConfigNode      `pulumi:"nodes"`
	RuntimeConfig           map[string]string            `pulumi:"runtimeConfig"`
}

type ClusterKindConfigArgs

type ClusterKindConfigArgs struct {
	ApiVersion              pulumi.StringInput                  `pulumi:"apiVersion"`
	ContainerdConfigPatches pulumi.StringArrayInput             `pulumi:"containerdConfigPatches"`
	FeatureGates            pulumi.StringMapInput               `pulumi:"featureGates"`
	Kind                    pulumi.StringInput                  `pulumi:"kind"`
	Networking              ClusterKindConfigNetworkingPtrInput `pulumi:"networking"`
	Nodes                   ClusterKindConfigNodeArrayInput     `pulumi:"nodes"`
	RuntimeConfig           pulumi.StringMapInput               `pulumi:"runtimeConfig"`
}

func (ClusterKindConfigArgs) ElementType

func (ClusterKindConfigArgs) ElementType() reflect.Type

func (ClusterKindConfigArgs) ToClusterKindConfigOutput

func (i ClusterKindConfigArgs) ToClusterKindConfigOutput() ClusterKindConfigOutput

func (ClusterKindConfigArgs) ToClusterKindConfigOutputWithContext

func (i ClusterKindConfigArgs) ToClusterKindConfigOutputWithContext(ctx context.Context) ClusterKindConfigOutput

func (ClusterKindConfigArgs) ToClusterKindConfigPtrOutput

func (i ClusterKindConfigArgs) ToClusterKindConfigPtrOutput() ClusterKindConfigPtrOutput

func (ClusterKindConfigArgs) ToClusterKindConfigPtrOutputWithContext

func (i ClusterKindConfigArgs) ToClusterKindConfigPtrOutputWithContext(ctx context.Context) ClusterKindConfigPtrOutput

type ClusterKindConfigInput

type ClusterKindConfigInput interface {
	pulumi.Input

	ToClusterKindConfigOutput() ClusterKindConfigOutput
	ToClusterKindConfigOutputWithContext(context.Context) ClusterKindConfigOutput
}

ClusterKindConfigInput is an input type that accepts ClusterKindConfigArgs and ClusterKindConfigOutput values. You can construct a concrete instance of `ClusterKindConfigInput` via:

ClusterKindConfigArgs{...}

type ClusterKindConfigNetworking

type ClusterKindConfigNetworking struct {
	ApiServerAddress  *string  `pulumi:"apiServerAddress"`
	ApiServerPort     *int     `pulumi:"apiServerPort"`
	DisableDefaultCni *bool    `pulumi:"disableDefaultCni"`
	DnsSearches       []string `pulumi:"dnsSearches"`
	IpFamily          *string  `pulumi:"ipFamily"`
	KubeProxyMode     *string  `pulumi:"kubeProxyMode"`
	PodSubnet         *string  `pulumi:"podSubnet"`
	ServiceSubnet     *string  `pulumi:"serviceSubnet"`
}

type ClusterKindConfigNetworkingArgs

type ClusterKindConfigNetworkingArgs struct {
	ApiServerAddress  pulumi.StringPtrInput   `pulumi:"apiServerAddress"`
	ApiServerPort     pulumi.IntPtrInput      `pulumi:"apiServerPort"`
	DisableDefaultCni pulumi.BoolPtrInput     `pulumi:"disableDefaultCni"`
	DnsSearches       pulumi.StringArrayInput `pulumi:"dnsSearches"`
	IpFamily          pulumi.StringPtrInput   `pulumi:"ipFamily"`
	KubeProxyMode     pulumi.StringPtrInput   `pulumi:"kubeProxyMode"`
	PodSubnet         pulumi.StringPtrInput   `pulumi:"podSubnet"`
	ServiceSubnet     pulumi.StringPtrInput   `pulumi:"serviceSubnet"`
}

func (ClusterKindConfigNetworkingArgs) ElementType

func (ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingOutput

func (i ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingOutput() ClusterKindConfigNetworkingOutput

func (ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingOutputWithContext

func (i ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingOutputWithContext(ctx context.Context) ClusterKindConfigNetworkingOutput

func (ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingPtrOutput

func (i ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingPtrOutput() ClusterKindConfigNetworkingPtrOutput

func (ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingPtrOutputWithContext

func (i ClusterKindConfigNetworkingArgs) ToClusterKindConfigNetworkingPtrOutputWithContext(ctx context.Context) ClusterKindConfigNetworkingPtrOutput

type ClusterKindConfigNetworkingInput

type ClusterKindConfigNetworkingInput interface {
	pulumi.Input

	ToClusterKindConfigNetworkingOutput() ClusterKindConfigNetworkingOutput
	ToClusterKindConfigNetworkingOutputWithContext(context.Context) ClusterKindConfigNetworkingOutput
}

ClusterKindConfigNetworkingInput is an input type that accepts ClusterKindConfigNetworkingArgs and ClusterKindConfigNetworkingOutput values. You can construct a concrete instance of `ClusterKindConfigNetworkingInput` via:

ClusterKindConfigNetworkingArgs{...}

type ClusterKindConfigNetworkingOutput

type ClusterKindConfigNetworkingOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNetworkingOutput) ApiServerAddress

func (ClusterKindConfigNetworkingOutput) ApiServerPort

func (ClusterKindConfigNetworkingOutput) DisableDefaultCni

func (ClusterKindConfigNetworkingOutput) DnsSearches

func (ClusterKindConfigNetworkingOutput) ElementType

func (ClusterKindConfigNetworkingOutput) IpFamily

func (ClusterKindConfigNetworkingOutput) KubeProxyMode

func (ClusterKindConfigNetworkingOutput) PodSubnet

func (ClusterKindConfigNetworkingOutput) ServiceSubnet

func (ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingOutput

func (o ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingOutput() ClusterKindConfigNetworkingOutput

func (ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingOutputWithContext

func (o ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingOutputWithContext(ctx context.Context) ClusterKindConfigNetworkingOutput

func (ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingPtrOutput

func (o ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingPtrOutput() ClusterKindConfigNetworkingPtrOutput

func (ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingPtrOutputWithContext

func (o ClusterKindConfigNetworkingOutput) ToClusterKindConfigNetworkingPtrOutputWithContext(ctx context.Context) ClusterKindConfigNetworkingPtrOutput

type ClusterKindConfigNetworkingPtrInput

type ClusterKindConfigNetworkingPtrInput interface {
	pulumi.Input

	ToClusterKindConfigNetworkingPtrOutput() ClusterKindConfigNetworkingPtrOutput
	ToClusterKindConfigNetworkingPtrOutputWithContext(context.Context) ClusterKindConfigNetworkingPtrOutput
}

ClusterKindConfigNetworkingPtrInput is an input type that accepts ClusterKindConfigNetworkingArgs, ClusterKindConfigNetworkingPtr and ClusterKindConfigNetworkingPtrOutput values. You can construct a concrete instance of `ClusterKindConfigNetworkingPtrInput` via:

        ClusterKindConfigNetworkingArgs{...}

or:

        nil

type ClusterKindConfigNetworkingPtrOutput

type ClusterKindConfigNetworkingPtrOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNetworkingPtrOutput) ApiServerAddress

func (ClusterKindConfigNetworkingPtrOutput) ApiServerPort

func (ClusterKindConfigNetworkingPtrOutput) DisableDefaultCni

func (ClusterKindConfigNetworkingPtrOutput) DnsSearches

func (ClusterKindConfigNetworkingPtrOutput) Elem

func (ClusterKindConfigNetworkingPtrOutput) ElementType

func (ClusterKindConfigNetworkingPtrOutput) IpFamily

func (ClusterKindConfigNetworkingPtrOutput) KubeProxyMode

func (ClusterKindConfigNetworkingPtrOutput) PodSubnet

func (ClusterKindConfigNetworkingPtrOutput) ServiceSubnet

func (ClusterKindConfigNetworkingPtrOutput) ToClusterKindConfigNetworkingPtrOutput

func (o ClusterKindConfigNetworkingPtrOutput) ToClusterKindConfigNetworkingPtrOutput() ClusterKindConfigNetworkingPtrOutput

func (ClusterKindConfigNetworkingPtrOutput) ToClusterKindConfigNetworkingPtrOutputWithContext

func (o ClusterKindConfigNetworkingPtrOutput) ToClusterKindConfigNetworkingPtrOutputWithContext(ctx context.Context) ClusterKindConfigNetworkingPtrOutput

type ClusterKindConfigNode

type ClusterKindConfigNode struct {
	ExtraMounts          []ClusterKindConfigNodeExtraMount       `pulumi:"extraMounts"`
	ExtraPortMappings    []ClusterKindConfigNodeExtraPortMapping `pulumi:"extraPortMappings"`
	Image                *string                                 `pulumi:"image"`
	KubeadmConfigPatches []string                                `pulumi:"kubeadmConfigPatches"`
	Labels               map[string]string                       `pulumi:"labels"`
	Role                 *string                                 `pulumi:"role"`
}

type ClusterKindConfigNodeArgs

type ClusterKindConfigNodeArgs struct {
	ExtraMounts          ClusterKindConfigNodeExtraMountArrayInput       `pulumi:"extraMounts"`
	ExtraPortMappings    ClusterKindConfigNodeExtraPortMappingArrayInput `pulumi:"extraPortMappings"`
	Image                pulumi.StringPtrInput                           `pulumi:"image"`
	KubeadmConfigPatches pulumi.StringArrayInput                         `pulumi:"kubeadmConfigPatches"`
	Labels               pulumi.StringMapInput                           `pulumi:"labels"`
	Role                 pulumi.StringPtrInput                           `pulumi:"role"`
}

func (ClusterKindConfigNodeArgs) ElementType

func (ClusterKindConfigNodeArgs) ElementType() reflect.Type

func (ClusterKindConfigNodeArgs) ToClusterKindConfigNodeOutput

func (i ClusterKindConfigNodeArgs) ToClusterKindConfigNodeOutput() ClusterKindConfigNodeOutput

func (ClusterKindConfigNodeArgs) ToClusterKindConfigNodeOutputWithContext

func (i ClusterKindConfigNodeArgs) ToClusterKindConfigNodeOutputWithContext(ctx context.Context) ClusterKindConfigNodeOutput

type ClusterKindConfigNodeArray

type ClusterKindConfigNodeArray []ClusterKindConfigNodeInput

func (ClusterKindConfigNodeArray) ElementType

func (ClusterKindConfigNodeArray) ElementType() reflect.Type

func (ClusterKindConfigNodeArray) ToClusterKindConfigNodeArrayOutput

func (i ClusterKindConfigNodeArray) ToClusterKindConfigNodeArrayOutput() ClusterKindConfigNodeArrayOutput

func (ClusterKindConfigNodeArray) ToClusterKindConfigNodeArrayOutputWithContext

func (i ClusterKindConfigNodeArray) ToClusterKindConfigNodeArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeArrayOutput

type ClusterKindConfigNodeArrayInput

type ClusterKindConfigNodeArrayInput interface {
	pulumi.Input

	ToClusterKindConfigNodeArrayOutput() ClusterKindConfigNodeArrayOutput
	ToClusterKindConfigNodeArrayOutputWithContext(context.Context) ClusterKindConfigNodeArrayOutput
}

ClusterKindConfigNodeArrayInput is an input type that accepts ClusterKindConfigNodeArray and ClusterKindConfigNodeArrayOutput values. You can construct a concrete instance of `ClusterKindConfigNodeArrayInput` via:

ClusterKindConfigNodeArray{ ClusterKindConfigNodeArgs{...} }

type ClusterKindConfigNodeArrayOutput

type ClusterKindConfigNodeArrayOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeArrayOutput) ElementType

func (ClusterKindConfigNodeArrayOutput) Index

func (ClusterKindConfigNodeArrayOutput) ToClusterKindConfigNodeArrayOutput

func (o ClusterKindConfigNodeArrayOutput) ToClusterKindConfigNodeArrayOutput() ClusterKindConfigNodeArrayOutput

func (ClusterKindConfigNodeArrayOutput) ToClusterKindConfigNodeArrayOutputWithContext

func (o ClusterKindConfigNodeArrayOutput) ToClusterKindConfigNodeArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeArrayOutput

type ClusterKindConfigNodeExtraMount

type ClusterKindConfigNodeExtraMount struct {
	ContainerPath  *string `pulumi:"containerPath"`
	HostPath       *string `pulumi:"hostPath"`
	Propagation    *string `pulumi:"propagation"`
	ReadOnly       *bool   `pulumi:"readOnly"`
	SelinuxRelabel *bool   `pulumi:"selinuxRelabel"`
}

type ClusterKindConfigNodeExtraMountArgs

type ClusterKindConfigNodeExtraMountArgs struct {
	ContainerPath  pulumi.StringPtrInput `pulumi:"containerPath"`
	HostPath       pulumi.StringPtrInput `pulumi:"hostPath"`
	Propagation    pulumi.StringPtrInput `pulumi:"propagation"`
	ReadOnly       pulumi.BoolPtrInput   `pulumi:"readOnly"`
	SelinuxRelabel pulumi.BoolPtrInput   `pulumi:"selinuxRelabel"`
}

func (ClusterKindConfigNodeExtraMountArgs) ElementType

func (ClusterKindConfigNodeExtraMountArgs) ToClusterKindConfigNodeExtraMountOutput

func (i ClusterKindConfigNodeExtraMountArgs) ToClusterKindConfigNodeExtraMountOutput() ClusterKindConfigNodeExtraMountOutput

func (ClusterKindConfigNodeExtraMountArgs) ToClusterKindConfigNodeExtraMountOutputWithContext

func (i ClusterKindConfigNodeExtraMountArgs) ToClusterKindConfigNodeExtraMountOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraMountOutput

type ClusterKindConfigNodeExtraMountArray

type ClusterKindConfigNodeExtraMountArray []ClusterKindConfigNodeExtraMountInput

func (ClusterKindConfigNodeExtraMountArray) ElementType

func (ClusterKindConfigNodeExtraMountArray) ToClusterKindConfigNodeExtraMountArrayOutput

func (i ClusterKindConfigNodeExtraMountArray) ToClusterKindConfigNodeExtraMountArrayOutput() ClusterKindConfigNodeExtraMountArrayOutput

func (ClusterKindConfigNodeExtraMountArray) ToClusterKindConfigNodeExtraMountArrayOutputWithContext

func (i ClusterKindConfigNodeExtraMountArray) ToClusterKindConfigNodeExtraMountArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraMountArrayOutput

type ClusterKindConfigNodeExtraMountArrayInput

type ClusterKindConfigNodeExtraMountArrayInput interface {
	pulumi.Input

	ToClusterKindConfigNodeExtraMountArrayOutput() ClusterKindConfigNodeExtraMountArrayOutput
	ToClusterKindConfigNodeExtraMountArrayOutputWithContext(context.Context) ClusterKindConfigNodeExtraMountArrayOutput
}

ClusterKindConfigNodeExtraMountArrayInput is an input type that accepts ClusterKindConfigNodeExtraMountArray and ClusterKindConfigNodeExtraMountArrayOutput values. You can construct a concrete instance of `ClusterKindConfigNodeExtraMountArrayInput` via:

ClusterKindConfigNodeExtraMountArray{ ClusterKindConfigNodeExtraMountArgs{...} }

type ClusterKindConfigNodeExtraMountArrayOutput

type ClusterKindConfigNodeExtraMountArrayOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeExtraMountArrayOutput) ElementType

func (ClusterKindConfigNodeExtraMountArrayOutput) Index

func (ClusterKindConfigNodeExtraMountArrayOutput) ToClusterKindConfigNodeExtraMountArrayOutput

func (o ClusterKindConfigNodeExtraMountArrayOutput) ToClusterKindConfigNodeExtraMountArrayOutput() ClusterKindConfigNodeExtraMountArrayOutput

func (ClusterKindConfigNodeExtraMountArrayOutput) ToClusterKindConfigNodeExtraMountArrayOutputWithContext

func (o ClusterKindConfigNodeExtraMountArrayOutput) ToClusterKindConfigNodeExtraMountArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraMountArrayOutput

type ClusterKindConfigNodeExtraMountInput

type ClusterKindConfigNodeExtraMountInput interface {
	pulumi.Input

	ToClusterKindConfigNodeExtraMountOutput() ClusterKindConfigNodeExtraMountOutput
	ToClusterKindConfigNodeExtraMountOutputWithContext(context.Context) ClusterKindConfigNodeExtraMountOutput
}

ClusterKindConfigNodeExtraMountInput is an input type that accepts ClusterKindConfigNodeExtraMountArgs and ClusterKindConfigNodeExtraMountOutput values. You can construct a concrete instance of `ClusterKindConfigNodeExtraMountInput` via:

ClusterKindConfigNodeExtraMountArgs{...}

type ClusterKindConfigNodeExtraMountOutput

type ClusterKindConfigNodeExtraMountOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeExtraMountOutput) ContainerPath

func (ClusterKindConfigNodeExtraMountOutput) ElementType

func (ClusterKindConfigNodeExtraMountOutput) HostPath

func (ClusterKindConfigNodeExtraMountOutput) Propagation

func (ClusterKindConfigNodeExtraMountOutput) ReadOnly

func (ClusterKindConfigNodeExtraMountOutput) SelinuxRelabel

func (ClusterKindConfigNodeExtraMountOutput) ToClusterKindConfigNodeExtraMountOutput

func (o ClusterKindConfigNodeExtraMountOutput) ToClusterKindConfigNodeExtraMountOutput() ClusterKindConfigNodeExtraMountOutput

func (ClusterKindConfigNodeExtraMountOutput) ToClusterKindConfigNodeExtraMountOutputWithContext

func (o ClusterKindConfigNodeExtraMountOutput) ToClusterKindConfigNodeExtraMountOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraMountOutput

type ClusterKindConfigNodeExtraPortMapping

type ClusterKindConfigNodeExtraPortMapping struct {
	ContainerPort *int    `pulumi:"containerPort"`
	HostPort      *int    `pulumi:"hostPort"`
	ListenAddress *string `pulumi:"listenAddress"`
	Protocol      *string `pulumi:"protocol"`
}

type ClusterKindConfigNodeExtraPortMappingArgs

type ClusterKindConfigNodeExtraPortMappingArgs struct {
	ContainerPort pulumi.IntPtrInput    `pulumi:"containerPort"`
	HostPort      pulumi.IntPtrInput    `pulumi:"hostPort"`
	ListenAddress pulumi.StringPtrInput `pulumi:"listenAddress"`
	Protocol      pulumi.StringPtrInput `pulumi:"protocol"`
}

func (ClusterKindConfigNodeExtraPortMappingArgs) ElementType

func (ClusterKindConfigNodeExtraPortMappingArgs) ToClusterKindConfigNodeExtraPortMappingOutput

func (i ClusterKindConfigNodeExtraPortMappingArgs) ToClusterKindConfigNodeExtraPortMappingOutput() ClusterKindConfigNodeExtraPortMappingOutput

func (ClusterKindConfigNodeExtraPortMappingArgs) ToClusterKindConfigNodeExtraPortMappingOutputWithContext

func (i ClusterKindConfigNodeExtraPortMappingArgs) ToClusterKindConfigNodeExtraPortMappingOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraPortMappingOutput

type ClusterKindConfigNodeExtraPortMappingArray

type ClusterKindConfigNodeExtraPortMappingArray []ClusterKindConfigNodeExtraPortMappingInput

func (ClusterKindConfigNodeExtraPortMappingArray) ElementType

func (ClusterKindConfigNodeExtraPortMappingArray) ToClusterKindConfigNodeExtraPortMappingArrayOutput

func (i ClusterKindConfigNodeExtraPortMappingArray) ToClusterKindConfigNodeExtraPortMappingArrayOutput() ClusterKindConfigNodeExtraPortMappingArrayOutput

func (ClusterKindConfigNodeExtraPortMappingArray) ToClusterKindConfigNodeExtraPortMappingArrayOutputWithContext

func (i ClusterKindConfigNodeExtraPortMappingArray) ToClusterKindConfigNodeExtraPortMappingArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraPortMappingArrayOutput

type ClusterKindConfigNodeExtraPortMappingArrayInput

type ClusterKindConfigNodeExtraPortMappingArrayInput interface {
	pulumi.Input

	ToClusterKindConfigNodeExtraPortMappingArrayOutput() ClusterKindConfigNodeExtraPortMappingArrayOutput
	ToClusterKindConfigNodeExtraPortMappingArrayOutputWithContext(context.Context) ClusterKindConfigNodeExtraPortMappingArrayOutput
}

ClusterKindConfigNodeExtraPortMappingArrayInput is an input type that accepts ClusterKindConfigNodeExtraPortMappingArray and ClusterKindConfigNodeExtraPortMappingArrayOutput values. You can construct a concrete instance of `ClusterKindConfigNodeExtraPortMappingArrayInput` via:

ClusterKindConfigNodeExtraPortMappingArray{ ClusterKindConfigNodeExtraPortMappingArgs{...} }

type ClusterKindConfigNodeExtraPortMappingArrayOutput

type ClusterKindConfigNodeExtraPortMappingArrayOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeExtraPortMappingArrayOutput) ElementType

func (ClusterKindConfigNodeExtraPortMappingArrayOutput) Index

func (ClusterKindConfigNodeExtraPortMappingArrayOutput) ToClusterKindConfigNodeExtraPortMappingArrayOutput

func (o ClusterKindConfigNodeExtraPortMappingArrayOutput) ToClusterKindConfigNodeExtraPortMappingArrayOutput() ClusterKindConfigNodeExtraPortMappingArrayOutput

func (ClusterKindConfigNodeExtraPortMappingArrayOutput) ToClusterKindConfigNodeExtraPortMappingArrayOutputWithContext

func (o ClusterKindConfigNodeExtraPortMappingArrayOutput) ToClusterKindConfigNodeExtraPortMappingArrayOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraPortMappingArrayOutput

type ClusterKindConfigNodeExtraPortMappingInput

type ClusterKindConfigNodeExtraPortMappingInput interface {
	pulumi.Input

	ToClusterKindConfigNodeExtraPortMappingOutput() ClusterKindConfigNodeExtraPortMappingOutput
	ToClusterKindConfigNodeExtraPortMappingOutputWithContext(context.Context) ClusterKindConfigNodeExtraPortMappingOutput
}

ClusterKindConfigNodeExtraPortMappingInput is an input type that accepts ClusterKindConfigNodeExtraPortMappingArgs and ClusterKindConfigNodeExtraPortMappingOutput values. You can construct a concrete instance of `ClusterKindConfigNodeExtraPortMappingInput` via:

ClusterKindConfigNodeExtraPortMappingArgs{...}

type ClusterKindConfigNodeExtraPortMappingOutput

type ClusterKindConfigNodeExtraPortMappingOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeExtraPortMappingOutput) ContainerPort

func (ClusterKindConfigNodeExtraPortMappingOutput) ElementType

func (ClusterKindConfigNodeExtraPortMappingOutput) HostPort

func (ClusterKindConfigNodeExtraPortMappingOutput) ListenAddress

func (ClusterKindConfigNodeExtraPortMappingOutput) Protocol

func (ClusterKindConfigNodeExtraPortMappingOutput) ToClusterKindConfigNodeExtraPortMappingOutput

func (o ClusterKindConfigNodeExtraPortMappingOutput) ToClusterKindConfigNodeExtraPortMappingOutput() ClusterKindConfigNodeExtraPortMappingOutput

func (ClusterKindConfigNodeExtraPortMappingOutput) ToClusterKindConfigNodeExtraPortMappingOutputWithContext

func (o ClusterKindConfigNodeExtraPortMappingOutput) ToClusterKindConfigNodeExtraPortMappingOutputWithContext(ctx context.Context) ClusterKindConfigNodeExtraPortMappingOutput

type ClusterKindConfigNodeInput

type ClusterKindConfigNodeInput interface {
	pulumi.Input

	ToClusterKindConfigNodeOutput() ClusterKindConfigNodeOutput
	ToClusterKindConfigNodeOutputWithContext(context.Context) ClusterKindConfigNodeOutput
}

ClusterKindConfigNodeInput is an input type that accepts ClusterKindConfigNodeArgs and ClusterKindConfigNodeOutput values. You can construct a concrete instance of `ClusterKindConfigNodeInput` via:

ClusterKindConfigNodeArgs{...}

type ClusterKindConfigNodeOutput

type ClusterKindConfigNodeOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigNodeOutput) ElementType

func (ClusterKindConfigNodeOutput) ExtraMounts

func (ClusterKindConfigNodeOutput) ExtraPortMappings

func (ClusterKindConfigNodeOutput) Image

func (ClusterKindConfigNodeOutput) KubeadmConfigPatches

func (o ClusterKindConfigNodeOutput) KubeadmConfigPatches() pulumi.StringArrayOutput

func (ClusterKindConfigNodeOutput) Labels

func (ClusterKindConfigNodeOutput) Role

func (ClusterKindConfigNodeOutput) ToClusterKindConfigNodeOutput

func (o ClusterKindConfigNodeOutput) ToClusterKindConfigNodeOutput() ClusterKindConfigNodeOutput

func (ClusterKindConfigNodeOutput) ToClusterKindConfigNodeOutputWithContext

func (o ClusterKindConfigNodeOutput) ToClusterKindConfigNodeOutputWithContext(ctx context.Context) ClusterKindConfigNodeOutput

type ClusterKindConfigOutput

type ClusterKindConfigOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigOutput) ApiVersion

func (ClusterKindConfigOutput) ContainerdConfigPatches

func (o ClusterKindConfigOutput) ContainerdConfigPatches() pulumi.StringArrayOutput

func (ClusterKindConfigOutput) ElementType

func (ClusterKindConfigOutput) ElementType() reflect.Type

func (ClusterKindConfigOutput) FeatureGates

func (ClusterKindConfigOutput) Kind

func (ClusterKindConfigOutput) Networking

func (ClusterKindConfigOutput) Nodes

func (ClusterKindConfigOutput) RuntimeConfig

func (ClusterKindConfigOutput) ToClusterKindConfigOutput

func (o ClusterKindConfigOutput) ToClusterKindConfigOutput() ClusterKindConfigOutput

func (ClusterKindConfigOutput) ToClusterKindConfigOutputWithContext

func (o ClusterKindConfigOutput) ToClusterKindConfigOutputWithContext(ctx context.Context) ClusterKindConfigOutput

func (ClusterKindConfigOutput) ToClusterKindConfigPtrOutput

func (o ClusterKindConfigOutput) ToClusterKindConfigPtrOutput() ClusterKindConfigPtrOutput

func (ClusterKindConfigOutput) ToClusterKindConfigPtrOutputWithContext

func (o ClusterKindConfigOutput) ToClusterKindConfigPtrOutputWithContext(ctx context.Context) ClusterKindConfigPtrOutput

type ClusterKindConfigPtrInput

type ClusterKindConfigPtrInput interface {
	pulumi.Input

	ToClusterKindConfigPtrOutput() ClusterKindConfigPtrOutput
	ToClusterKindConfigPtrOutputWithContext(context.Context) ClusterKindConfigPtrOutput
}

ClusterKindConfigPtrInput is an input type that accepts ClusterKindConfigArgs, ClusterKindConfigPtr and ClusterKindConfigPtrOutput values. You can construct a concrete instance of `ClusterKindConfigPtrInput` via:

        ClusterKindConfigArgs{...}

or:

        nil

type ClusterKindConfigPtrOutput

type ClusterKindConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterKindConfigPtrOutput) ApiVersion

func (ClusterKindConfigPtrOutput) ContainerdConfigPatches

func (o ClusterKindConfigPtrOutput) ContainerdConfigPatches() pulumi.StringArrayOutput

func (ClusterKindConfigPtrOutput) Elem

func (ClusterKindConfigPtrOutput) ElementType

func (ClusterKindConfigPtrOutput) ElementType() reflect.Type

func (ClusterKindConfigPtrOutput) FeatureGates

func (ClusterKindConfigPtrOutput) Kind

func (ClusterKindConfigPtrOutput) Networking

func (ClusterKindConfigPtrOutput) Nodes

func (ClusterKindConfigPtrOutput) RuntimeConfig

func (ClusterKindConfigPtrOutput) ToClusterKindConfigPtrOutput

func (o ClusterKindConfigPtrOutput) ToClusterKindConfigPtrOutput() ClusterKindConfigPtrOutput

func (ClusterKindConfigPtrOutput) ToClusterKindConfigPtrOutputWithContext

func (o ClusterKindConfigPtrOutput) ToClusterKindConfigPtrOutputWithContext(ctx context.Context) ClusterKindConfigPtrOutput

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) ClientCertificate

func (o ClusterOutput) ClientCertificate() pulumi.StringOutput

Client certificate for authenticating to cluster.

func (ClusterOutput) ClientKey

func (o ClusterOutput) ClientKey() pulumi.StringOutput

Client key for authenticating to cluster.

func (ClusterOutput) ClusterCaCertificate

func (o ClusterOutput) ClusterCaCertificate() pulumi.StringOutput

Client verifies the server certificate with this CA cert.

func (ClusterOutput) Completed

func (o ClusterOutput) Completed() pulumi.BoolOutput

Cluster successfully created.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Endpoint

func (o ClusterOutput) Endpoint() pulumi.StringOutput

Kubernetes APIServer endpoint.

func (ClusterOutput) KindConfig

The kindConfig that kind will use.

func (ClusterOutput) Kubeconfig

func (o ClusterOutput) Kubeconfig() pulumi.StringOutput

The kubeconfig for the cluster after it is created

func (ClusterOutput) KubeconfigPath

func (o ClusterOutput) KubeconfigPath() pulumi.StringOutput

kubeconfig path set after the the cluster is created or by the user to override defaults.

func (ClusterOutput) Name

The kind name that is given to the created cluster.

func (ClusterOutput) NodeImage

func (o ClusterOutput) NodeImage() pulumi.StringOutput

The nodeImage that kind will use (ex: kindest/node:v1.27.1).

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) WaitForReady

func (o ClusterOutput) WaitForReady() pulumi.BoolPtrOutput

Defines wether or not the provider will wait for the control plane to be ready. Defaults to false.

type ClusterState

type ClusterState struct {
	// Client certificate for authenticating to cluster.
	ClientCertificate pulumi.StringPtrInput
	// Client key for authenticating to cluster.
	ClientKey pulumi.StringPtrInput
	// Client verifies the server certificate with this CA cert.
	ClusterCaCertificate pulumi.StringPtrInput
	// Cluster successfully created.
	Completed pulumi.BoolPtrInput
	// Kubernetes APIServer endpoint.
	Endpoint pulumi.StringPtrInput
	// The kindConfig that kind will use.
	KindConfig ClusterKindConfigPtrInput
	// The kubeconfig for the cluster after it is created
	Kubeconfig pulumi.StringPtrInput
	// kubeconfig path set after the the cluster is created or by the user to override defaults.
	KubeconfigPath pulumi.StringPtrInput
	// The kind name that is given to the created cluster.
	Name pulumi.StringPtrInput
	// The nodeImage that kind will use (ex: kindest/node:v1.27.1).
	NodeImage pulumi.StringPtrInput
	// Defines wether or not the provider will wait for the control plane to be ready. Defaults to false.
	WaitForReady pulumi.BoolPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the kind package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL