talos

package
v0.0.0-...-16e1589 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package talos exports types, functions, subpackages for provisioning talos resources.

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 ClusterConfig

type ClusterConfig struct {
	pulumi.ResourceState

	// Provides control plane specific configuration options.
	ConfigYAML pulumi.StringOutput `pulumi:"configYAML"`
}

func NewClusterConfig

func NewClusterConfig(ctx *pulumi.Context,
	name string, args *ClusterConfigArgs, opts ...pulumi.ResourceOption) (*ClusterConfig, error)

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

func (*ClusterConfig) ElementType

func (*ClusterConfig) ElementType() reflect.Type

func (*ClusterConfig) ToClusterConfigOutput

func (i *ClusterConfig) ToClusterConfigOutput() ClusterConfigOutput

func (*ClusterConfig) ToClusterConfigOutputWithContext

func (i *ClusterConfig) ToClusterConfigOutputWithContext(ctx context.Context) ClusterConfigOutput

type ClusterConfigArgs

type ClusterConfigArgs struct {
	// Configures the cluster's name.
	ClusterName pulumi.StringInput
	// Provides control plane specific configuration options.
	ControlPlaneConfig ControlPlaneConfigInput
}

The set of arguments for constructing a ClusterConfig resource.

func (ClusterConfigArgs) ElementType

func (ClusterConfigArgs) ElementType() reflect.Type

type ClusterConfigArray

type ClusterConfigArray []ClusterConfigInput

func (ClusterConfigArray) ElementType

func (ClusterConfigArray) ElementType() reflect.Type

func (ClusterConfigArray) ToClusterConfigArrayOutput

func (i ClusterConfigArray) ToClusterConfigArrayOutput() ClusterConfigArrayOutput

func (ClusterConfigArray) ToClusterConfigArrayOutputWithContext

func (i ClusterConfigArray) ToClusterConfigArrayOutputWithContext(ctx context.Context) ClusterConfigArrayOutput

type ClusterConfigArrayInput

type ClusterConfigArrayInput interface {
	pulumi.Input

	ToClusterConfigArrayOutput() ClusterConfigArrayOutput
	ToClusterConfigArrayOutputWithContext(context.Context) ClusterConfigArrayOutput
}

ClusterConfigArrayInput is an input type that accepts ClusterConfigArray and ClusterConfigArrayOutput values. You can construct a concrete instance of `ClusterConfigArrayInput` via:

ClusterConfigArray{ ClusterConfigArgs{...} }

type ClusterConfigArrayOutput

type ClusterConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterConfigArrayOutput) ElementType

func (ClusterConfigArrayOutput) ElementType() reflect.Type

func (ClusterConfigArrayOutput) Index

func (ClusterConfigArrayOutput) ToClusterConfigArrayOutput

func (o ClusterConfigArrayOutput) ToClusterConfigArrayOutput() ClusterConfigArrayOutput

func (ClusterConfigArrayOutput) ToClusterConfigArrayOutputWithContext

func (o ClusterConfigArrayOutput) ToClusterConfigArrayOutputWithContext(ctx context.Context) ClusterConfigArrayOutput

type ClusterConfigInput

type ClusterConfigInput interface {
	pulumi.Input

	ToClusterConfigOutput() ClusterConfigOutput
	ToClusterConfigOutputWithContext(ctx context.Context) ClusterConfigOutput
}

type ClusterConfigMap

type ClusterConfigMap map[string]ClusterConfigInput

func (ClusterConfigMap) ElementType

func (ClusterConfigMap) ElementType() reflect.Type

func (ClusterConfigMap) ToClusterConfigMapOutput

func (i ClusterConfigMap) ToClusterConfigMapOutput() ClusterConfigMapOutput

func (ClusterConfigMap) ToClusterConfigMapOutputWithContext

func (i ClusterConfigMap) ToClusterConfigMapOutputWithContext(ctx context.Context) ClusterConfigMapOutput

type ClusterConfigMapInput

type ClusterConfigMapInput interface {
	pulumi.Input

	ToClusterConfigMapOutput() ClusterConfigMapOutput
	ToClusterConfigMapOutputWithContext(context.Context) ClusterConfigMapOutput
}

ClusterConfigMapInput is an input type that accepts ClusterConfigMap and ClusterConfigMapOutput values. You can construct a concrete instance of `ClusterConfigMapInput` via:

ClusterConfigMap{ "key": ClusterConfigArgs{...} }

type ClusterConfigMapOutput

type ClusterConfigMapOutput struct{ *pulumi.OutputState }

func (ClusterConfigMapOutput) ElementType

func (ClusterConfigMapOutput) ElementType() reflect.Type

func (ClusterConfigMapOutput) MapIndex

func (ClusterConfigMapOutput) ToClusterConfigMapOutput

func (o ClusterConfigMapOutput) ToClusterConfigMapOutput() ClusterConfigMapOutput

func (ClusterConfigMapOutput) ToClusterConfigMapOutputWithContext

func (o ClusterConfigMapOutput) ToClusterConfigMapOutputWithContext(ctx context.Context) ClusterConfigMapOutput

type ClusterConfigOutput

type ClusterConfigOutput struct{ *pulumi.OutputState }

func (ClusterConfigOutput) ElementType

func (ClusterConfigOutput) ElementType() reflect.Type

func (ClusterConfigOutput) ToClusterConfigOutput

func (o ClusterConfigOutput) ToClusterConfigOutput() ClusterConfigOutput

func (ClusterConfigOutput) ToClusterConfigOutputWithContext

func (o ClusterConfigOutput) ToClusterConfigOutputWithContext(ctx context.Context) ClusterConfigOutput

type ControlPlaneConfig

type ControlPlaneConfig struct {
	Endpoint           *string `pulumi:"endpoint"`
	LocalAPIServerPort *int    `pulumi:"localAPIServerPort"`
}

type ControlPlaneConfigArgs

type ControlPlaneConfigArgs struct {
	Endpoint           pulumi.StringPtrInput `pulumi:"endpoint"`
	LocalAPIServerPort pulumi.IntPtrInput    `pulumi:"localAPIServerPort"`
}

func (ControlPlaneConfigArgs) ElementType

func (ControlPlaneConfigArgs) ElementType() reflect.Type

func (ControlPlaneConfigArgs) ToControlPlaneConfigOutput

func (i ControlPlaneConfigArgs) ToControlPlaneConfigOutput() ControlPlaneConfigOutput

func (ControlPlaneConfigArgs) ToControlPlaneConfigOutputWithContext

func (i ControlPlaneConfigArgs) ToControlPlaneConfigOutputWithContext(ctx context.Context) ControlPlaneConfigOutput

type ControlPlaneConfigInput

type ControlPlaneConfigInput interface {
	pulumi.Input

	ToControlPlaneConfigOutput() ControlPlaneConfigOutput
	ToControlPlaneConfigOutputWithContext(context.Context) ControlPlaneConfigOutput
}

ControlPlaneConfigInput is an input type that accepts ControlPlaneConfigArgs and ControlPlaneConfigOutput values. You can construct a concrete instance of `ControlPlaneConfigInput` via:

ControlPlaneConfigArgs{...}

type ControlPlaneConfigOutput

type ControlPlaneConfigOutput struct{ *pulumi.OutputState }

func (ControlPlaneConfigOutput) ElementType

func (ControlPlaneConfigOutput) ElementType() reflect.Type

func (ControlPlaneConfigOutput) Endpoint

func (ControlPlaneConfigOutput) LocalAPIServerPort

func (o ControlPlaneConfigOutput) LocalAPIServerPort() pulumi.IntPtrOutput

func (ControlPlaneConfigOutput) ToControlPlaneConfigOutput

func (o ControlPlaneConfigOutput) ToControlPlaneConfigOutput() ControlPlaneConfigOutput

func (ControlPlaneConfigOutput) ToControlPlaneConfigOutputWithContext

func (o ControlPlaneConfigOutput) ToControlPlaneConfigOutputWithContext(ctx context.Context) ControlPlaneConfigOutput

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

Jump to

Keyboard shortcuts

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