kubernetes

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

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 Bastion

type Bastion struct {
	pulumi.ResourceState

	// The name of the kubernetes deployment that contains the tailscale bastion
	DeploymentName pulumi.StringOutput `pulumi:"deploymentName"`
}

func NewBastion

func NewBastion(ctx *pulumi.Context,
	name string, args *BastionArgs, opts ...pulumi.ResourceOption) (*Bastion, error)

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

func (*Bastion) ElementType

func (*Bastion) ElementType() reflect.Type

func (*Bastion) ToBastionOutput

func (i *Bastion) ToBastionOutput() BastionOutput

func (*Bastion) ToBastionOutputWithContext

func (i *Bastion) ToBastionOutputWithContext(ctx context.Context) BastionOutput

func (*Bastion) ToOutput added in v0.1.0

func (i *Bastion) ToOutput(ctx context.Context) pulumix.Output[*Bastion]

type BastionArgs

type BastionArgs struct {
	// Whether we should create a new namespace.
	CreateNamespace bool
	// Whether the bastion should be highly available.
	HighAvailability pulumi.BoolInput
	// The bucket resource.
	Namespace corev1.NamespaceInput
	// The routes to advertise to tailscale. This is likely the Pod and Service CIDR.
	Routes pulumi.StringArrayInput
	// The tags to apply to the tailnet device andauth key. This tag should be added to your oauth key and ACL.
	TailscaleTags pulumi.StringArrayInput
}

The set of arguments for constructing a Bastion resource.

func (BastionArgs) ElementType

func (BastionArgs) ElementType() reflect.Type

type BastionArray

type BastionArray []BastionInput

func (BastionArray) ElementType

func (BastionArray) ElementType() reflect.Type

func (BastionArray) ToBastionArrayOutput

func (i BastionArray) ToBastionArrayOutput() BastionArrayOutput

func (BastionArray) ToBastionArrayOutputWithContext

func (i BastionArray) ToBastionArrayOutputWithContext(ctx context.Context) BastionArrayOutput

func (BastionArray) ToOutput added in v0.1.0

func (i BastionArray) ToOutput(ctx context.Context) pulumix.Output[[]*Bastion]

type BastionArrayInput

type BastionArrayInput interface {
	pulumi.Input

	ToBastionArrayOutput() BastionArrayOutput
	ToBastionArrayOutputWithContext(context.Context) BastionArrayOutput
}

BastionArrayInput is an input type that accepts BastionArray and BastionArrayOutput values. You can construct a concrete instance of `BastionArrayInput` via:

BastionArray{ BastionArgs{...} }

type BastionArrayOutput

type BastionArrayOutput struct{ *pulumi.OutputState }

func (BastionArrayOutput) ElementType

func (BastionArrayOutput) ElementType() reflect.Type

func (BastionArrayOutput) Index

func (BastionArrayOutput) ToBastionArrayOutput

func (o BastionArrayOutput) ToBastionArrayOutput() BastionArrayOutput

func (BastionArrayOutput) ToBastionArrayOutputWithContext

func (o BastionArrayOutput) ToBastionArrayOutputWithContext(ctx context.Context) BastionArrayOutput

func (BastionArrayOutput) ToOutput added in v0.1.0

type BastionInput

type BastionInput interface {
	pulumi.Input

	ToBastionOutput() BastionOutput
	ToBastionOutputWithContext(ctx context.Context) BastionOutput
}

type BastionMap

type BastionMap map[string]BastionInput

func (BastionMap) ElementType

func (BastionMap) ElementType() reflect.Type

func (BastionMap) ToBastionMapOutput

func (i BastionMap) ToBastionMapOutput() BastionMapOutput

func (BastionMap) ToBastionMapOutputWithContext

func (i BastionMap) ToBastionMapOutputWithContext(ctx context.Context) BastionMapOutput

func (BastionMap) ToOutput added in v0.1.0

func (i BastionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bastion]

type BastionMapInput

type BastionMapInput interface {
	pulumi.Input

	ToBastionMapOutput() BastionMapOutput
	ToBastionMapOutputWithContext(context.Context) BastionMapOutput
}

BastionMapInput is an input type that accepts BastionMap and BastionMapOutput values. You can construct a concrete instance of `BastionMapInput` via:

BastionMap{ "key": BastionArgs{...} }

type BastionMapOutput

type BastionMapOutput struct{ *pulumi.OutputState }

func (BastionMapOutput) ElementType

func (BastionMapOutput) ElementType() reflect.Type

func (BastionMapOutput) MapIndex

func (BastionMapOutput) ToBastionMapOutput

func (o BastionMapOutput) ToBastionMapOutput() BastionMapOutput

func (BastionMapOutput) ToBastionMapOutputWithContext

func (o BastionMapOutput) ToBastionMapOutputWithContext(ctx context.Context) BastionMapOutput

func (BastionMapOutput) ToOutput added in v0.1.0

type BastionOutput

type BastionOutput struct{ *pulumi.OutputState }

func (BastionOutput) DeploymentName

func (o BastionOutput) DeploymentName() pulumi.StringOutput

The name of the kubernetes deployment that contains the tailscale bastion

func (BastionOutput) ElementType

func (BastionOutput) ElementType() reflect.Type

func (BastionOutput) ToBastionOutput

func (o BastionOutput) ToBastionOutput() BastionOutput

func (BastionOutput) ToBastionOutputWithContext

func (o BastionOutput) ToBastionOutputWithContext(ctx context.Context) BastionOutput

func (BastionOutput) ToOutput added in v0.1.0

func (o BastionOutput) ToOutput(ctx context.Context) pulumix.Output[*Bastion]

Jump to

Keyboard shortcuts

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