Documentation
¶
Overview ¶
Package talos exports types, functions, subpackages for provisioning talos resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type ClusterConfig
- type ClusterConfigArgs
- type ClusterConfigArray
- type ClusterConfigArrayInput
- type ClusterConfigArrayOutput
- func (ClusterConfigArrayOutput) ElementType() reflect.Type
- func (o ClusterConfigArrayOutput) Index(i pulumi.IntInput) ClusterConfigOutput
- func (o ClusterConfigArrayOutput) ToClusterConfigArrayOutput() ClusterConfigArrayOutput
- func (o ClusterConfigArrayOutput) ToClusterConfigArrayOutputWithContext(ctx context.Context) ClusterConfigArrayOutput
- type ClusterConfigInput
- type ClusterConfigMap
- type ClusterConfigMapInput
- type ClusterConfigMapOutput
- func (ClusterConfigMapOutput) ElementType() reflect.Type
- func (o ClusterConfigMapOutput) MapIndex(k pulumi.StringInput) ClusterConfigOutput
- func (o ClusterConfigMapOutput) ToClusterConfigMapOutput() ClusterConfigMapOutput
- func (o ClusterConfigMapOutput) ToClusterConfigMapOutputWithContext(ctx context.Context) ClusterConfigMapOutput
- type ClusterConfigOutput
- type ControlPlaneConfig
- type ControlPlaneConfigArgs
- type ControlPlaneConfigInput
- type ControlPlaneConfigOutput
- func (ControlPlaneConfigOutput) ElementType() reflect.Type
- func (o ControlPlaneConfigOutput) Endpoint() pulumi.StringPtrOutput
- func (o ControlPlaneConfigOutput) LocalAPIServerPort() pulumi.IntPtrOutput
- func (o ControlPlaneConfigOutput) ToControlPlaneConfigOutput() ControlPlaneConfigOutput
- func (o ControlPlaneConfigOutput) ToControlPlaneConfigOutputWithContext(ctx context.Context) ControlPlaneConfigOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
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 (o ClusterConfigArrayOutput) Index(i pulumi.IntInput) ClusterConfigOutput
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 (o ClusterConfigMapOutput) MapIndex(k pulumi.StringInput) ClusterConfigOutput
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 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 (o ControlPlaneConfigOutput) Endpoint() pulumi.StringPtrOutput
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) 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