k3s

package
v3.0.0-...-29e2100 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 10 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 CRIConfiguration

type CRIConfiguration struct {
	EnableGVisor *bool `pulumi:"enableGVisor"`
}

type CRIConfigurationArgs

type CRIConfigurationArgs struct {
	EnableGVisor pulumi.BoolPtrInput `pulumi:"enableGVisor"`
}

func (CRIConfigurationArgs) ElementType

func (CRIConfigurationArgs) ElementType() reflect.Type

func (CRIConfigurationArgs) ToCRIConfigurationOutput

func (i CRIConfigurationArgs) ToCRIConfigurationOutput() CRIConfigurationOutput

func (CRIConfigurationArgs) ToCRIConfigurationOutputWithContext

func (i CRIConfigurationArgs) ToCRIConfigurationOutputWithContext(ctx context.Context) CRIConfigurationOutput

func (CRIConfigurationArgs) ToCRIConfigurationPtrOutput

func (i CRIConfigurationArgs) ToCRIConfigurationPtrOutput() CRIConfigurationPtrOutput

func (CRIConfigurationArgs) ToCRIConfigurationPtrOutputWithContext

func (i CRIConfigurationArgs) ToCRIConfigurationPtrOutputWithContext(ctx context.Context) CRIConfigurationPtrOutput

type CRIConfigurationInput

type CRIConfigurationInput interface {
	pulumi.Input

	ToCRIConfigurationOutput() CRIConfigurationOutput
	ToCRIConfigurationOutputWithContext(context.Context) CRIConfigurationOutput
}

CRIConfigurationInput is an input type that accepts CRIConfigurationArgs and CRIConfigurationOutput values. You can construct a concrete instance of `CRIConfigurationInput` via:

CRIConfigurationArgs{...}

type CRIConfigurationOutput

type CRIConfigurationOutput struct{ *pulumi.OutputState }

func (CRIConfigurationOutput) ElementType

func (CRIConfigurationOutput) ElementType() reflect.Type

func (CRIConfigurationOutput) EnableGVisor

func (o CRIConfigurationOutput) EnableGVisor() pulumi.BoolPtrOutput

func (CRIConfigurationOutput) ToCRIConfigurationOutput

func (o CRIConfigurationOutput) ToCRIConfigurationOutput() CRIConfigurationOutput

func (CRIConfigurationOutput) ToCRIConfigurationOutputWithContext

func (o CRIConfigurationOutput) ToCRIConfigurationOutputWithContext(ctx context.Context) CRIConfigurationOutput

func (CRIConfigurationOutput) ToCRIConfigurationPtrOutput

func (o CRIConfigurationOutput) ToCRIConfigurationPtrOutput() CRIConfigurationPtrOutput

func (CRIConfigurationOutput) ToCRIConfigurationPtrOutputWithContext

func (o CRIConfigurationOutput) ToCRIConfigurationPtrOutputWithContext(ctx context.Context) CRIConfigurationPtrOutput

type CRIConfigurationPtrInput

type CRIConfigurationPtrInput interface {
	pulumi.Input

	ToCRIConfigurationPtrOutput() CRIConfigurationPtrOutput
	ToCRIConfigurationPtrOutputWithContext(context.Context) CRIConfigurationPtrOutput
}

CRIConfigurationPtrInput is an input type that accepts CRIConfigurationArgs, CRIConfigurationPtr and CRIConfigurationPtrOutput values. You can construct a concrete instance of `CRIConfigurationPtrInput` via:

        CRIConfigurationArgs{...}

or:

        nil

type CRIConfigurationPtrOutput

type CRIConfigurationPtrOutput struct{ *pulumi.OutputState }

func (CRIConfigurationPtrOutput) Elem

func (CRIConfigurationPtrOutput) ElementType

func (CRIConfigurationPtrOutput) ElementType() reflect.Type

func (CRIConfigurationPtrOutput) EnableGVisor

func (CRIConfigurationPtrOutput) ToCRIConfigurationPtrOutput

func (o CRIConfigurationPtrOutput) ToCRIConfigurationPtrOutput() CRIConfigurationPtrOutput

func (CRIConfigurationPtrOutput) ToCRIConfigurationPtrOutputWithContext

func (o CRIConfigurationPtrOutput) ToCRIConfigurationPtrOutputWithContext(ctx context.Context) CRIConfigurationPtrOutput

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	Agents        NodeArrayOutput               `pulumi:"agents"`
	Kubeconfig    pulumi.StringOutput           `pulumi:"kubeconfig"`
	MasterNodes   NodeArrayOutput               `pulumi:"masterNodes"`
	VersionConfig VersionConfigurationPtrOutput `pulumi:"versionConfig"`
}

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 {
	Agents        NodeArrayInput
	MasterNodes   NodeArrayInput
	VersionConfig VersionConfigurationPtrInput
}

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 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) Agents

func (o ClusterOutput) Agents() NodeArrayOutput

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Kubeconfig

func (o ClusterOutput) Kubeconfig() pulumi.StringOutput

func (ClusterOutput) MasterNodes

func (o ClusterOutput) MasterNodes() NodeArrayOutput

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) VersionConfig

func (o ClusterOutput) VersionConfig() VersionConfigurationPtrOutput

type ClusterState

type ClusterState struct {
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type Node

type Node struct {
	Args       []string          `pulumi:"args"`
	CriConfig  *CRIConfiguration `pulumi:"criConfig"`
	Host       string            `pulumi:"host"`
	PrivateKey string            `pulumi:"privateKey"`
	User       *string           `pulumi:"user"`
}

func (*Node) Defaults

func (val *Node) Defaults() *Node

Defaults sets the appropriate defaults for Node

type NodeArgs

type NodeArgs struct {
	Args       pulumi.StringArrayInput  `pulumi:"args"`
	CriConfig  CRIConfigurationPtrInput `pulumi:"criConfig"`
	Host       pulumi.StringInput       `pulumi:"host"`
	PrivateKey pulumi.StringInput       `pulumi:"privateKey"`
	User       pulumi.StringPtrInput    `pulumi:"user"`
}

func (*NodeArgs) Defaults

func (val *NodeArgs) Defaults() *NodeArgs

Defaults sets the appropriate defaults for NodeArgs

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 }

func (NodeOutput) Args

func (NodeOutput) CriConfig

func (o NodeOutput) CriConfig() CRIConfigurationPtrOutput

func (NodeOutput) ElementType

func (NodeOutput) ElementType() reflect.Type

func (NodeOutput) Host

func (o NodeOutput) Host() pulumi.StringOutput

func (NodeOutput) PrivateKey

func (o NodeOutput) PrivateKey() pulumi.StringOutput

func (NodeOutput) ToNodeOutput

func (o NodeOutput) ToNodeOutput() NodeOutput

func (NodeOutput) ToNodeOutputWithContext

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

func (NodeOutput) User

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

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

type VersionConfiguration

type VersionConfiguration struct {
	Channel *string `pulumi:"channel"`
	Version *string `pulumi:"version"`
}

type VersionConfigurationArgs

type VersionConfigurationArgs struct {
	Channel pulumi.StringPtrInput `pulumi:"channel"`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (VersionConfigurationArgs) ElementType

func (VersionConfigurationArgs) ElementType() reflect.Type

func (VersionConfigurationArgs) ToVersionConfigurationOutput

func (i VersionConfigurationArgs) ToVersionConfigurationOutput() VersionConfigurationOutput

func (VersionConfigurationArgs) ToVersionConfigurationOutputWithContext

func (i VersionConfigurationArgs) ToVersionConfigurationOutputWithContext(ctx context.Context) VersionConfigurationOutput

func (VersionConfigurationArgs) ToVersionConfigurationPtrOutput

func (i VersionConfigurationArgs) ToVersionConfigurationPtrOutput() VersionConfigurationPtrOutput

func (VersionConfigurationArgs) ToVersionConfigurationPtrOutputWithContext

func (i VersionConfigurationArgs) ToVersionConfigurationPtrOutputWithContext(ctx context.Context) VersionConfigurationPtrOutput

type VersionConfigurationInput

type VersionConfigurationInput interface {
	pulumi.Input

	ToVersionConfigurationOutput() VersionConfigurationOutput
	ToVersionConfigurationOutputWithContext(context.Context) VersionConfigurationOutput
}

VersionConfigurationInput is an input type that accepts VersionConfigurationArgs and VersionConfigurationOutput values. You can construct a concrete instance of `VersionConfigurationInput` via:

VersionConfigurationArgs{...}

type VersionConfigurationOutput

type VersionConfigurationOutput struct{ *pulumi.OutputState }

func (VersionConfigurationOutput) Channel

func (VersionConfigurationOutput) ElementType

func (VersionConfigurationOutput) ElementType() reflect.Type

func (VersionConfigurationOutput) ToVersionConfigurationOutput

func (o VersionConfigurationOutput) ToVersionConfigurationOutput() VersionConfigurationOutput

func (VersionConfigurationOutput) ToVersionConfigurationOutputWithContext

func (o VersionConfigurationOutput) ToVersionConfigurationOutputWithContext(ctx context.Context) VersionConfigurationOutput

func (VersionConfigurationOutput) ToVersionConfigurationPtrOutput

func (o VersionConfigurationOutput) ToVersionConfigurationPtrOutput() VersionConfigurationPtrOutput

func (VersionConfigurationOutput) ToVersionConfigurationPtrOutputWithContext

func (o VersionConfigurationOutput) ToVersionConfigurationPtrOutputWithContext(ctx context.Context) VersionConfigurationPtrOutput

func (VersionConfigurationOutput) Version

type VersionConfigurationPtrInput

type VersionConfigurationPtrInput interface {
	pulumi.Input

	ToVersionConfigurationPtrOutput() VersionConfigurationPtrOutput
	ToVersionConfigurationPtrOutputWithContext(context.Context) VersionConfigurationPtrOutput
}

VersionConfigurationPtrInput is an input type that accepts VersionConfigurationArgs, VersionConfigurationPtr and VersionConfigurationPtrOutput values. You can construct a concrete instance of `VersionConfigurationPtrInput` via:

        VersionConfigurationArgs{...}

or:

        nil

type VersionConfigurationPtrOutput

type VersionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (VersionConfigurationPtrOutput) Channel

func (VersionConfigurationPtrOutput) Elem

func (VersionConfigurationPtrOutput) ElementType

func (VersionConfigurationPtrOutput) ToVersionConfigurationPtrOutput

func (o VersionConfigurationPtrOutput) ToVersionConfigurationPtrOutput() VersionConfigurationPtrOutput

func (VersionConfigurationPtrOutput) ToVersionConfigurationPtrOutputWithContext

func (o VersionConfigurationPtrOutput) ToVersionConfigurationPtrOutputWithContext(ctx context.Context) VersionConfigurationPtrOutput

func (VersionConfigurationPtrOutput) Version

Jump to

Keyboard shortcuts

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