config

package
v0.0.0-...-652fe0d Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeconfigTypeWorker                   = KubeconfigType("worker")
	KubeconfigType_Kube_Proxy              = KubeconfigType("kube-proxy")
	KubeconfigType_Kube_Controller_Manager = KubeconfigType("kube-controller-manager")
	KubeconfigType_Kube_Scheduler          = KubeconfigType("kube-scheduler")
	KubeconfigTypeAdmin                    = KubeconfigType("admin")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	CertificateAuthorityData string `pulumi:"certificateAuthorityData"`
	Server                   string `pulumi:"server"`
}

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 ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) CertificateAuthorityData

func (o ClusterOutput) CertificateAuthorityData() pulumi.StringOutput

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Server

func (o ClusterOutput) Server() pulumi.StringOutput

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

type Context

type Context struct {
	Cluster string `pulumi:"cluster"`
	User    string `pulumi:"user"`
}

type ContextArrayOutput

type ContextArrayOutput struct{ *pulumi.OutputState }

func (ContextArrayOutput) ElementType

func (ContextArrayOutput) ElementType() reflect.Type

func (ContextArrayOutput) Index

func (ContextArrayOutput) ToContextArrayOutput

func (o ContextArrayOutput) ToContextArrayOutput() ContextArrayOutput

func (ContextArrayOutput) ToContextArrayOutputWithContext

func (o ContextArrayOutput) ToContextArrayOutputWithContext(ctx context.Context) ContextArrayOutput

type ContextOutput

type ContextOutput struct{ *pulumi.OutputState }

func (ContextOutput) Cluster

func (o ContextOutput) Cluster() pulumi.StringOutput

func (ContextOutput) ElementType

func (ContextOutput) ElementType() reflect.Type

func (ContextOutput) ToContextOutput

func (o ContextOutput) ToContextOutput() ContextOutput

func (ContextOutput) ToContextOutputWithContext

func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOutput

func (ContextOutput) User

type GetKubeVipManifestArgs

type GetKubeVipManifestArgs struct {
	// TODO
	Address string `pulumi:"address"`
	// TODO
	BgpAs *int `pulumi:"bgpAs"`
	// TODO
	BgpEnable *bool `pulumi:"bgpEnable"`
	// TODO
	BgpPeerAddress *string `pulumi:"bgpPeerAddress"`
	// TODO
	BgpPeerAs *int `pulumi:"bgpPeerAs"`
	// TODO
	BgpPeerPass *string `pulumi:"bgpPeerPass"`
	// TODO
	BgpPeers *string `pulumi:"bgpPeers"`
	// TODO
	BgpRouterId *string `pulumi:"bgpRouterId"`
	// TODO
	CpEnable *bool `pulumi:"cpEnable"`
	// TODO
	CpNamespace *string `pulumi:"cpNamespace"`
	// Override the kube-vip image.
	Image *string `pulumi:"image"`
	// Path to the kubeconfig on the remote host.
	KubeconfigPath string `pulumi:"kubeconfigPath"`
	// Name of the static pod. Defaults to kube-vip.
	Name *string `pulumi:"name"`
	// Namespace for the static pod. Defaults to kube-system.
	Namespace *string `pulumi:"namespace"`
	// TODO
	Port *int `pulumi:"port"`
	// TODO
	SvcEnable *bool `pulumi:"svcEnable"`
	// Version of kube-vip to use.
	Version *string `pulumi:"version"`
	// TODO
	VipArp *bool `pulumi:"vipArp"`
	// TODO
	VipCidr int `pulumi:"vipCidr"`
	// TODO
	VipDdns *bool `pulumi:"vipDdns"`
	// TODO
	VipInterface *string `pulumi:"vipInterface"`
	// TODO
	VipLeaderElection *bool `pulumi:"vipLeaderElection"`
	// TODO
	VipLeaseDuration *int `pulumi:"vipLeaseDuration"`
	// TODO
	VipRenewDeadline *int `pulumi:"vipRenewDeadline"`
	// TODO
	VipRetryPeriod *int `pulumi:"vipRetryPeriod"`
}

func (*GetKubeVipManifestArgs) Defaults

Defaults sets the appropriate defaults for GetKubeVipManifestArgs

type GetKubeVipManifestOutputArgs

type GetKubeVipManifestOutputArgs struct {
	// TODO
	Address pulumi.StringInput `pulumi:"address"`
	// TODO
	BgpAs pulumi.IntPtrInput `pulumi:"bgpAs"`
	// TODO
	BgpEnable pulumi.BoolPtrInput `pulumi:"bgpEnable"`
	// TODO
	BgpPeerAddress pulumi.StringPtrInput `pulumi:"bgpPeerAddress"`
	// TODO
	BgpPeerAs pulumi.IntPtrInput `pulumi:"bgpPeerAs"`
	// TODO
	BgpPeerPass pulumi.StringPtrInput `pulumi:"bgpPeerPass"`
	// TODO
	BgpPeers pulumi.StringPtrInput `pulumi:"bgpPeers"`
	// TODO
	BgpRouterId pulumi.StringPtrInput `pulumi:"bgpRouterId"`
	// TODO
	CpEnable pulumi.BoolPtrInput `pulumi:"cpEnable"`
	// TODO
	CpNamespace pulumi.StringPtrInput `pulumi:"cpNamespace"`
	// Override the kube-vip image.
	Image pulumi.StringPtrInput `pulumi:"image"`
	// Path to the kubeconfig on the remote host.
	KubeconfigPath pulumi.StringInput `pulumi:"kubeconfigPath"`
	// Name of the static pod. Defaults to kube-vip.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Namespace for the static pod. Defaults to kube-system.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// TODO
	Port pulumi.IntPtrInput `pulumi:"port"`
	// TODO
	SvcEnable pulumi.BoolPtrInput `pulumi:"svcEnable"`
	// Version of kube-vip to use.
	Version pulumi.StringPtrInput `pulumi:"version"`
	// TODO
	VipArp pulumi.BoolPtrInput `pulumi:"vipArp"`
	// TODO
	VipCidr pulumi.IntInput `pulumi:"vipCidr"`
	// TODO
	VipDdns pulumi.BoolPtrInput `pulumi:"vipDdns"`
	// TODO
	VipInterface pulumi.StringPtrInput `pulumi:"vipInterface"`
	// TODO
	VipLeaderElection pulumi.BoolPtrInput `pulumi:"vipLeaderElection"`
	// TODO
	VipLeaseDuration pulumi.IntPtrInput `pulumi:"vipLeaseDuration"`
	// TODO
	VipRenewDeadline pulumi.IntPtrInput `pulumi:"vipRenewDeadline"`
	// TODO
	VipRetryPeriod pulumi.IntPtrInput `pulumi:"vipRetryPeriod"`
}

func (GetKubeVipManifestOutputArgs) ElementType

type GetKubeVipManifestResult

type GetKubeVipManifestResult struct {
	Result PodManifest `pulumi:"result"`
}

func GetKubeVipManifest

func GetKubeVipManifest(ctx *pulumi.Context, args *GetKubeVipManifestArgs, opts ...pulumi.InvokeOption) (*GetKubeVipManifestResult, error)

Gets the static pod manifests for KubeVip.

type GetKubeVipManifestResultOutput

type GetKubeVipManifestResultOutput struct{ *pulumi.OutputState }

func (GetKubeVipManifestResultOutput) ElementType

func (GetKubeVipManifestResultOutput) Result

func (GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutput

func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutput() GetKubeVipManifestResultOutput

func (GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutputWithContext

func (o GetKubeVipManifestResultOutput) ToGetKubeVipManifestResultOutputWithContext(ctx context.Context) GetKubeVipManifestResultOutput

type GetKubeconfigArgs

type GetKubeconfigArgs struct {
	// Certificate authority data.
	CaPem string `pulumi:"caPem"`
	// Options for creating the kubeconfig.
	Options interface{} `pulumi:"options"`
}

type GetKubeconfigOutputArgs

type GetKubeconfigOutputArgs struct {
	// Certificate authority data.
	CaPem pulumi.StringInput `pulumi:"caPem"`
	// Options for creating the kubeconfig.
	Options interface{} `pulumi:"options"`
}

func (GetKubeconfigOutputArgs) ElementType

func (GetKubeconfigOutputArgs) ElementType() reflect.Type

type GetKubeconfigResult

type GetKubeconfigResult struct {
	Result Kubeconfig `pulumi:"result"`
}

func GetKubeconfig

func GetKubeconfig(ctx *pulumi.Context, args *GetKubeconfigArgs, opts ...pulumi.InvokeOption) (*GetKubeconfigResult, error)

type GetKubeconfigResultOutput

type GetKubeconfigResultOutput struct{ *pulumi.OutputState }

func (GetKubeconfigResultOutput) ElementType

func (GetKubeconfigResultOutput) ElementType() reflect.Type

func (GetKubeconfigResultOutput) Result

func (GetKubeconfigResultOutput) ToGetKubeconfigResultOutput

func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutput() GetKubeconfigResultOutput

func (GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext

func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext(ctx context.Context) GetKubeconfigResultOutput

type KubeVipManifest

type KubeVipManifest struct {
	pulumi.ResourceState

	Result PodManifestOutput `pulumi:"result"`
	// The yaml representation of the manifest
	Yaml pulumi.StringOutput `pulumi:"yaml"`
}

Pseudo resource for generating the kube-vip manifest.

func NewKubeVipManifest

func NewKubeVipManifest(ctx *pulumi.Context,
	name string, args *KubeVipManifestArgs, opts ...pulumi.ResourceOption) (*KubeVipManifest, error)

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

func (*KubeVipManifest) ElementType

func (*KubeVipManifest) ElementType() reflect.Type

func (*KubeVipManifest) ToKubeVipManifestOutput

func (i *KubeVipManifest) ToKubeVipManifestOutput() KubeVipManifestOutput

func (*KubeVipManifest) ToKubeVipManifestOutputWithContext

func (i *KubeVipManifest) ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput

type KubeVipManifestArgs

type KubeVipManifestArgs struct {
	// TODO
	Address pulumi.StringInput
	// TODO
	BgpAs pulumi.IntPtrInput
	// TODO
	BgpEnable pulumi.BoolPtrInput
	// TODO
	BgpPeerAddress pulumi.StringPtrInput
	// TODO
	BgpPeerAs pulumi.IntPtrInput
	// TODO
	BgpPeerPass pulumi.StringPtrInput
	// TODO
	BgpPeers pulumi.StringPtrInput
	// TODO
	BgpRouterId pulumi.StringPtrInput
	// TODO
	CpEnable pulumi.BoolPtrInput
	// TODO
	CpNamespace pulumi.StringPtrInput
	// Override the kube-vip image.
	Image pulumi.StringPtrInput
	// Path to the kubeconfig on the remote host.
	KubeconfigPath pulumi.StringInput
	// Name of the static pod. Defaults to kube-vip.
	Name pulumi.StringPtrInput
	// Namespace for the static pod. Defaults to kube-system.
	Namespace pulumi.StringPtrInput
	// TODO
	Port pulumi.IntPtrInput
	// TODO
	SvcEnable pulumi.BoolPtrInput
	// Version of kube-vip to use.
	Version pulumi.StringPtrInput
	// TODO
	VipArp pulumi.BoolPtrInput
	// TODO
	VipCidr pulumi.IntInput
	// TODO
	VipDdns pulumi.BoolPtrInput
	// TODO
	VipInterface pulumi.StringPtrInput
	// TODO
	VipLeaderElection pulumi.BoolPtrInput
	// TODO
	VipLeaseDuration pulumi.IntPtrInput
	// TODO
	VipRenewDeadline pulumi.IntPtrInput
	// TODO
	VipRetryPeriod pulumi.IntPtrInput
}

The set of arguments for constructing a KubeVipManifest resource.

func (KubeVipManifestArgs) ElementType

func (KubeVipManifestArgs) ElementType() reflect.Type

type KubeVipManifestArray

type KubeVipManifestArray []KubeVipManifestInput

func (KubeVipManifestArray) ElementType

func (KubeVipManifestArray) ElementType() reflect.Type

func (KubeVipManifestArray) ToKubeVipManifestArrayOutput

func (i KubeVipManifestArray) ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput

func (KubeVipManifestArray) ToKubeVipManifestArrayOutputWithContext

func (i KubeVipManifestArray) ToKubeVipManifestArrayOutputWithContext(ctx context.Context) KubeVipManifestArrayOutput

type KubeVipManifestArrayInput

type KubeVipManifestArrayInput interface {
	pulumi.Input

	ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput
	ToKubeVipManifestArrayOutputWithContext(context.Context) KubeVipManifestArrayOutput
}

KubeVipManifestArrayInput is an input type that accepts KubeVipManifestArray and KubeVipManifestArrayOutput values. You can construct a concrete instance of `KubeVipManifestArrayInput` via:

KubeVipManifestArray{ KubeVipManifestArgs{...} }

type KubeVipManifestArrayOutput

type KubeVipManifestArrayOutput struct{ *pulumi.OutputState }

func (KubeVipManifestArrayOutput) ElementType

func (KubeVipManifestArrayOutput) ElementType() reflect.Type

func (KubeVipManifestArrayOutput) Index

func (KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutput

func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutput() KubeVipManifestArrayOutput

func (KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutputWithContext

func (o KubeVipManifestArrayOutput) ToKubeVipManifestArrayOutputWithContext(ctx context.Context) KubeVipManifestArrayOutput

type KubeVipManifestInput

type KubeVipManifestInput interface {
	pulumi.Input

	ToKubeVipManifestOutput() KubeVipManifestOutput
	ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput
}

type KubeVipManifestMap

type KubeVipManifestMap map[string]KubeVipManifestInput

func (KubeVipManifestMap) ElementType

func (KubeVipManifestMap) ElementType() reflect.Type

func (KubeVipManifestMap) ToKubeVipManifestMapOutput

func (i KubeVipManifestMap) ToKubeVipManifestMapOutput() KubeVipManifestMapOutput

func (KubeVipManifestMap) ToKubeVipManifestMapOutputWithContext

func (i KubeVipManifestMap) ToKubeVipManifestMapOutputWithContext(ctx context.Context) KubeVipManifestMapOutput

type KubeVipManifestMapInput

type KubeVipManifestMapInput interface {
	pulumi.Input

	ToKubeVipManifestMapOutput() KubeVipManifestMapOutput
	ToKubeVipManifestMapOutputWithContext(context.Context) KubeVipManifestMapOutput
}

KubeVipManifestMapInput is an input type that accepts KubeVipManifestMap and KubeVipManifestMapOutput values. You can construct a concrete instance of `KubeVipManifestMapInput` via:

KubeVipManifestMap{ "key": KubeVipManifestArgs{...} }

type KubeVipManifestMapOutput

type KubeVipManifestMapOutput struct{ *pulumi.OutputState }

func (KubeVipManifestMapOutput) ElementType

func (KubeVipManifestMapOutput) ElementType() reflect.Type

func (KubeVipManifestMapOutput) MapIndex

func (KubeVipManifestMapOutput) ToKubeVipManifestMapOutput

func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutput() KubeVipManifestMapOutput

func (KubeVipManifestMapOutput) ToKubeVipManifestMapOutputWithContext

func (o KubeVipManifestMapOutput) ToKubeVipManifestMapOutputWithContext(ctx context.Context) KubeVipManifestMapOutput

type KubeVipManifestOutput

type KubeVipManifestOutput struct{ *pulumi.OutputState }

func (KubeVipManifestOutput) ElementType

func (KubeVipManifestOutput) ElementType() reflect.Type

func (KubeVipManifestOutput) Result

func (KubeVipManifestOutput) ToKubeVipManifestOutput

func (o KubeVipManifestOutput) ToKubeVipManifestOutput() KubeVipManifestOutput

func (KubeVipManifestOutput) ToKubeVipManifestOutputWithContext

func (o KubeVipManifestOutput) ToKubeVipManifestOutputWithContext(ctx context.Context) KubeVipManifestOutput

func (KubeVipManifestOutput) Yaml

The yaml representation of the manifest

type Kubeconfig

type Kubeconfig struct {
	Clusters []Cluster `pulumi:"clusters"`
	Contexts []Context `pulumi:"contexts"`
	Users    []User    `pulumi:"users"`
}

type KubeconfigAdminOptions

type KubeconfigAdminOptions struct {
	PublicIp *string `pulumi:"publicIp"`
	Type     string  `pulumi:"type"`
}

type KubeconfigAdminOptionsArgs

type KubeconfigAdminOptionsArgs struct {
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	Type     string                `pulumi:"type"`
}

func (KubeconfigAdminOptionsArgs) ElementType

func (KubeconfigAdminOptionsArgs) ElementType() reflect.Type

func (KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutput

func (i KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput

func (KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutputWithContext

func (i KubeconfigAdminOptionsArgs) ToKubeconfigAdminOptionsOutputWithContext(ctx context.Context) KubeconfigAdminOptionsOutput

type KubeconfigAdminOptionsInput

type KubeconfigAdminOptionsInput interface {
	pulumi.Input

	ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput
	ToKubeconfigAdminOptionsOutputWithContext(context.Context) KubeconfigAdminOptionsOutput
}

KubeconfigAdminOptionsInput is an input type that accepts KubeconfigAdminOptionsArgs and KubeconfigAdminOptionsOutput values. You can construct a concrete instance of `KubeconfigAdminOptionsInput` via:

KubeconfigAdminOptionsArgs{...}

type KubeconfigAdminOptionsOutput

type KubeconfigAdminOptionsOutput struct{ *pulumi.OutputState }

func (KubeconfigAdminOptionsOutput) ElementType

func (KubeconfigAdminOptionsOutput) PublicIp

func (KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutput

func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutput() KubeconfigAdminOptionsOutput

func (KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutputWithContext

func (o KubeconfigAdminOptionsOutput) ToKubeconfigAdminOptionsOutputWithContext(ctx context.Context) KubeconfigAdminOptionsOutput

func (KubeconfigAdminOptionsOutput) Type

type KubeconfigCluster

type KubeconfigCluster struct {
	Cluster Cluster `pulumi:"cluster"`
	Name    string  `pulumi:"name"`
}

type KubeconfigContext

type KubeconfigContext struct {
	Context Context `pulumi:"context"`
	Name    string  `pulumi:"name"`
}

type KubeconfigKubeControllerManagerOptions

type KubeconfigKubeControllerManagerOptions struct {
	PublicIp *string `pulumi:"publicIp"`
	Type     string  `pulumi:"type"`
}

type KubeconfigKubeControllerManagerOptionsArgs

type KubeconfigKubeControllerManagerOptionsArgs struct {
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	Type     string                `pulumi:"type"`
}

func (KubeconfigKubeControllerManagerOptionsArgs) ElementType

func (KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutput

func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput

func (KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutputWithContext

func (i KubeconfigKubeControllerManagerOptionsArgs) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput

type KubeconfigKubeControllerManagerOptionsInput

type KubeconfigKubeControllerManagerOptionsInput interface {
	pulumi.Input

	ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput
	ToKubeconfigKubeControllerManagerOptionsOutputWithContext(context.Context) KubeconfigKubeControllerManagerOptionsOutput
}

KubeconfigKubeControllerManagerOptionsInput is an input type that accepts KubeconfigKubeControllerManagerOptionsArgs and KubeconfigKubeControllerManagerOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeControllerManagerOptionsInput` via:

KubeconfigKubeControllerManagerOptionsArgs{...}

type KubeconfigKubeControllerManagerOptionsOutput

type KubeconfigKubeControllerManagerOptionsOutput struct{ *pulumi.OutputState }

func (KubeconfigKubeControllerManagerOptionsOutput) ElementType

func (KubeconfigKubeControllerManagerOptionsOutput) PublicIp

func (KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutput

func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutput() KubeconfigKubeControllerManagerOptionsOutput

func (KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutputWithContext

func (o KubeconfigKubeControllerManagerOptionsOutput) ToKubeconfigKubeControllerManagerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeControllerManagerOptionsOutput

func (KubeconfigKubeControllerManagerOptionsOutput) Type

type KubeconfigKubeProxyOptions

type KubeconfigKubeProxyOptions struct {
	PublicIp *string `pulumi:"publicIp"`
	Type     string  `pulumi:"type"`
}

type KubeconfigKubeProxyOptionsArgs

type KubeconfigKubeProxyOptionsArgs struct {
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	Type     string                `pulumi:"type"`
}

func (KubeconfigKubeProxyOptionsArgs) ElementType

func (KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutput

func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput

func (KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutputWithContext

func (i KubeconfigKubeProxyOptionsArgs) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput

type KubeconfigKubeProxyOptionsInput

type KubeconfigKubeProxyOptionsInput interface {
	pulumi.Input

	ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput
	ToKubeconfigKubeProxyOptionsOutputWithContext(context.Context) KubeconfigKubeProxyOptionsOutput
}

KubeconfigKubeProxyOptionsInput is an input type that accepts KubeconfigKubeProxyOptionsArgs and KubeconfigKubeProxyOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeProxyOptionsInput` via:

KubeconfigKubeProxyOptionsArgs{...}

type KubeconfigKubeProxyOptionsOutput

type KubeconfigKubeProxyOptionsOutput struct{ *pulumi.OutputState }

func (KubeconfigKubeProxyOptionsOutput) ElementType

func (KubeconfigKubeProxyOptionsOutput) PublicIp

func (KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutput

func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutput() KubeconfigKubeProxyOptionsOutput

func (KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutputWithContext

func (o KubeconfigKubeProxyOptionsOutput) ToKubeconfigKubeProxyOptionsOutputWithContext(ctx context.Context) KubeconfigKubeProxyOptionsOutput

func (KubeconfigKubeProxyOptionsOutput) Type

type KubeconfigKubeSchedulerOptions

type KubeconfigKubeSchedulerOptions struct {
	PublicIp *string `pulumi:"publicIp"`
	Type     string  `pulumi:"type"`
}

type KubeconfigKubeSchedulerOptionsArgs

type KubeconfigKubeSchedulerOptionsArgs struct {
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	Type     string                `pulumi:"type"`
}

func (KubeconfigKubeSchedulerOptionsArgs) ElementType

func (KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutput

func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput

func (KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutputWithContext

func (i KubeconfigKubeSchedulerOptionsArgs) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput

type KubeconfigKubeSchedulerOptionsInput

type KubeconfigKubeSchedulerOptionsInput interface {
	pulumi.Input

	ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput
	ToKubeconfigKubeSchedulerOptionsOutputWithContext(context.Context) KubeconfigKubeSchedulerOptionsOutput
}

KubeconfigKubeSchedulerOptionsInput is an input type that accepts KubeconfigKubeSchedulerOptionsArgs and KubeconfigKubeSchedulerOptionsOutput values. You can construct a concrete instance of `KubeconfigKubeSchedulerOptionsInput` via:

KubeconfigKubeSchedulerOptionsArgs{...}

type KubeconfigKubeSchedulerOptionsOutput

type KubeconfigKubeSchedulerOptionsOutput struct{ *pulumi.OutputState }

func (KubeconfigKubeSchedulerOptionsOutput) ElementType

func (KubeconfigKubeSchedulerOptionsOutput) PublicIp

func (KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutput

func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutput() KubeconfigKubeSchedulerOptionsOutput

func (KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutputWithContext

func (o KubeconfigKubeSchedulerOptionsOutput) ToKubeconfigKubeSchedulerOptionsOutputWithContext(ctx context.Context) KubeconfigKubeSchedulerOptionsOutput

func (KubeconfigKubeSchedulerOptionsOutput) Type

type KubeconfigOutput

type KubeconfigOutput struct{ *pulumi.OutputState }

func (KubeconfigOutput) Clusters

func (o KubeconfigOutput) Clusters() ClusterArrayOutput

func (KubeconfigOutput) Contexts

func (o KubeconfigOutput) Contexts() ContextArrayOutput

func (KubeconfigOutput) ElementType

func (KubeconfigOutput) ElementType() reflect.Type

func (KubeconfigOutput) ToKubeconfigOutput

func (o KubeconfigOutput) ToKubeconfigOutput() KubeconfigOutput

func (KubeconfigOutput) ToKubeconfigOutputWithContext

func (o KubeconfigOutput) ToKubeconfigOutputWithContext(ctx context.Context) KubeconfigOutput

func (KubeconfigOutput) Users

type KubeconfigType

type KubeconfigType string

type KubeconfigUser

type KubeconfigUser struct {
	Name string `pulumi:"name"`
	User User   `pulumi:"user"`
}

type KubeconfigWorkerOptions

type KubeconfigWorkerOptions struct {
	Name     string  `pulumi:"name"`
	PublicIp string  `pulumi:"publicIp"`
	Type     *string `pulumi:"type"`
}

type KubeconfigWorkerOptionsArgs

type KubeconfigWorkerOptionsArgs struct {
	Name     pulumi.StringInput `pulumi:"name"`
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	Type     *string            `pulumi:"type"`
}

func (KubeconfigWorkerOptionsArgs) ElementType

func (KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutput

func (i KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput

func (KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutputWithContext

func (i KubeconfigWorkerOptionsArgs) ToKubeconfigWorkerOptionsOutputWithContext(ctx context.Context) KubeconfigWorkerOptionsOutput

type KubeconfigWorkerOptionsInput

type KubeconfigWorkerOptionsInput interface {
	pulumi.Input

	ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput
	ToKubeconfigWorkerOptionsOutputWithContext(context.Context) KubeconfigWorkerOptionsOutput
}

KubeconfigWorkerOptionsInput is an input type that accepts KubeconfigWorkerOptionsArgs and KubeconfigWorkerOptionsOutput values. You can construct a concrete instance of `KubeconfigWorkerOptionsInput` via:

KubeconfigWorkerOptionsArgs{...}

type KubeconfigWorkerOptionsOutput

type KubeconfigWorkerOptionsOutput struct{ *pulumi.OutputState }

func (KubeconfigWorkerOptionsOutput) ElementType

func (KubeconfigWorkerOptionsOutput) Name

func (KubeconfigWorkerOptionsOutput) PublicIp

func (KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutput

func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutput() KubeconfigWorkerOptionsOutput

func (KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutputWithContext

func (o KubeconfigWorkerOptionsOutput) ToKubeconfigWorkerOptionsOutputWithContext(ctx context.Context) KubeconfigWorkerOptionsOutput

func (KubeconfigWorkerOptionsOutput) Type

type PodManifest

type PodManifest struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *corev1.PodSpec `pulumi:"spec"`
	// Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *corev1.PodStatus `pulumi:"status"`
}

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
  2. The Pod is initialized ("Initialized" '.status.condition' is true).
  3. The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").

If the Pod has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

## Example Usage ### Create a Pod with auto-naming ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create a Pod with a user-specified name ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Metadata: &metav1.ObjectMetaArgs{
				Name: pulumi.String("nginx"),
			},
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type PodManifestArgs

type PodManifestArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec corev1.PodSpecPtrInput `pulumi:"spec"`
	// Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status corev1.PodStatusPtrInput `pulumi:"status"`
}

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
  2. The Pod is initialized ("Initialized" '.status.condition' is true).
  3. The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").

If the Pod has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

## Example Usage ### Create a Pod with auto-naming ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create a Pod with a user-specified name ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Metadata: &metav1.ObjectMetaArgs{
				Name: pulumi.String("nginx"),
			},
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (PodManifestArgs) ElementType

func (PodManifestArgs) ElementType() reflect.Type

func (PodManifestArgs) ToPodManifestOutput

func (i PodManifestArgs) ToPodManifestOutput() PodManifestOutput

func (PodManifestArgs) ToPodManifestOutputWithContext

func (i PodManifestArgs) ToPodManifestOutputWithContext(ctx context.Context) PodManifestOutput

type PodManifestInput

type PodManifestInput interface {
	pulumi.Input

	ToPodManifestOutput() PodManifestOutput
	ToPodManifestOutputWithContext(context.Context) PodManifestOutput
}

PodManifestInput is an input type that accepts PodManifestArgs and PodManifestOutput values. You can construct a concrete instance of `PodManifestInput` via:

PodManifestArgs{...}

type PodManifestOutput

type PodManifestOutput struct{ *pulumi.OutputState }

Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Pod is scheduled ("PodScheduled"" '.status.condition' is true).
  2. The Pod is initialized ("Initialized" '.status.condition' is true).
  3. The Pod is ready ("Ready" '.status.condition' is true) and the '.status.phase' is set to "Running". Or (for Jobs): The Pod succeeded ('.status.phase' set to "Succeeded").

If the Pod has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

## Example Usage ### Create a Pod with auto-naming ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Create a Pod with a user-specified name ```go package main

import (

corev1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/core/v1"
metav1 "github.com/pulumi/pulumi-kubernetes/sdk/v4/go/kubernetes/meta/v1"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := corev1.NewPod(ctx, "pod", &corev1.PodArgs{
			Metadata: &metav1.ObjectMetaArgs{
				Name: pulumi.String("nginx"),
			},
			Spec: &corev1.PodSpecArgs{
				Containers: corev1.ContainerArray{
					&corev1.ContainerArgs{
						Image: pulumi.String("nginx:1.14.2"),
						Name:  pulumi.String("nginx"),
						Ports: corev1.ContainerPortArray{
							&corev1.ContainerPortArgs{
								ContainerPort: pulumi.Int(80),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func (PodManifestOutput) ApiVersion

func (o PodManifestOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (PodManifestOutput) ElementType

func (PodManifestOutput) ElementType() reflect.Type

func (PodManifestOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (PodManifestOutput) Spec

Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (PodManifestOutput) Status

Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (PodManifestOutput) ToPodManifestOutput

func (o PodManifestOutput) ToPodManifestOutput() PodManifestOutput

func (PodManifestOutput) ToPodManifestOutputWithContext

func (o PodManifestOutput) ToPodManifestOutputWithContext(ctx context.Context) PodManifestOutput

type User

type User struct {
	ClientCertificateData string `pulumi:"clientCertificateData"`
	ClientKeyData         string `pulumi:"clientKeyData"`
}

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ClientCertificateData

func (o UserOutput) ClientCertificateData() pulumi.StringOutput

func (UserOutput) ClientKeyData

func (o UserOutput) ClientKeyData() pulumi.StringOutput

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

Jump to

Keyboard shortcuts

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