kubernetes

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: Apache-2.0 Imports: 26 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sort added in v0.4.0

func Sort[T Resource](res []T) ([]T, error)

Sort proceed to a topological sorting of the resources, and return an error if the references to other resources could not be satisfied or if a cycle is detected.

Types

type Container added in v0.4.0

type Container struct {
	// Image to run (e.g. ctferio/chall-manager:latest).
	Image string `pulumi:"image"`

	// Ports to listen on.
	Ports []PortBinding `pulumi:"ports"`

	// Envs is a map of environment variable that is passed to the container.
	// Leveraging the printers, these can be provisioned with an outer
	// service name.
	Envs map[string]Printer `pulumi:"envs"`

	// Files is a map of absolute paths to a file and its content.
	Files map[string]string `pulumi:"files"`

	// LimitCPU is an optional (yet recommended) resource limit of CPU usage.
	LimitCPU *string `pulumi:"limitCpu"`

	// LimitMemory is an optional (yet recommended) resource limit of memory
	// (RAM) usage.
	LimitMemory *string `pulumi:"limitMemory"`
}

Container represents a computing unit that is deployed on Kubernetes (e.g. a Docker container by default).

func (Container) Check added in v0.4.0

func (c Container) Check() (err error)

type ContainerArgs added in v0.4.0

type ContainerArgs struct {
	// Image to run (e.g. ctferio/chall-manager:latest).
	Image pulumi.StringInput `pulumi:"image"`

	// Ports to listen on.
	Ports PortBindingArrayInput `pulumi:"ports"`

	// Envs is a map of environment variable that is passed to the container.
	// Leveraging the printers, these can be provisioned with an outer
	// service name.
	Envs PrinterMapInput `pulumi:"envs"`

	// Files is a map of absolute paths to a file and its content.
	Files pulumi.StringMapInput `pulumi:"files"`

	// LimitCPU is an optional (yet recommended) resource limit of CPU usage.
	LimitCPU pulumi.StringPtrInput `pulumi:"limitCpu"`

	// LimitMemory is an optional (yet recommended) resource limit of memory
	// (RAM) usage.
	LimitMemory pulumi.StringPtrInput `pulumi:"limitMemory"`
}

ContainerArgs is the input of Container, i.e. a computing unit that is deployed on Kubernetes (e.g. a Docker container by default).

func (ContainerArgs) ElementType added in v0.4.0

func (ContainerArgs) ElementType() reflect.Type

func (ContainerArgs) ToContainerOutput added in v0.4.0

func (i ContainerArgs) ToContainerOutput() ContainerOutput

func (ContainerArgs) ToContainerOutputWithContext added in v0.4.0

func (i ContainerArgs) ToContainerOutputWithContext(ctx context.Context) ContainerOutput

type ContainerInput added in v0.4.0

type ContainerInput interface {
	pulumi.Input

	ToContainerOutput() ContainerOutput
	ToContainerOutputWithContext(context.Context) ContainerOutput
}

type ContainerMap added in v0.4.0

type ContainerMap map[string]ContainerInput

func (ContainerMap) ElementType added in v0.4.0

func (ContainerMap) ElementType() reflect.Type

func (ContainerMap) ToContainerMapOutput added in v0.4.0

func (i ContainerMap) ToContainerMapOutput() ContainerMapOutput

func (ContainerMap) ToContainerMapOutputWithContext added in v0.4.0

func (i ContainerMap) ToContainerMapOutputWithContext(ctx context.Context) ContainerMapOutput

type ContainerMapInput added in v0.4.0

type ContainerMapInput interface {
	pulumi.Input

	ToContainerMapOutput() ContainerMapOutput
	ToContainerMapOutputWithContext(context.Context) ContainerMapOutput
}

type ContainerMapOutput added in v0.4.0

type ContainerMapOutput struct{ *pulumi.OutputState }

func (ContainerMapOutput) ElementType added in v0.4.0

func (ContainerMapOutput) ElementType() reflect.Type

func (ContainerMapOutput) MapIndex added in v0.4.0

func (ContainerMapOutput) ToContainerMapOutput added in v0.4.0

func (o ContainerMapOutput) ToContainerMapOutput() ContainerMapOutput

func (ContainerMapOutput) ToContainerMapOutputWithContext added in v0.4.0

func (o ContainerMapOutput) ToContainerMapOutputWithContext(_ context.Context) ContainerMapOutput

type ContainerOutput added in v0.4.0

type ContainerOutput struct{ *pulumi.OutputState }

func (ContainerOutput) ElementType added in v0.4.0

func (ContainerOutput) ElementType() reflect.Type

func (ContainerOutput) Envs added in v0.4.0

Envs is a map of environment variable that is passed to the container. Leveraging the printers, these can be provisioned with an outer service name.

func (ContainerOutput) Files added in v0.4.0

Files is a map of absolute paths to a file and its content.

func (ContainerOutput) HasFiles added in v0.4.0

func (o ContainerOutput) HasFiles() bool

HasFiles is a helper that returns whether there are files known. It can be used to determine whether to create ConfigMaps and mount volumes to containers (else it would cost time and resources).

func (ContainerOutput) Image added in v0.4.0

Image to run (e.g. ctferio/chall-manager:latest).

func (ContainerOutput) LimitCPU added in v0.4.0

func (o ContainerOutput) LimitCPU() pulumi.StringPtrOutput

LimitCPU is an optional (yet recommended) resource limit of CPU usage.

func (ContainerOutput) LimitMemory added in v0.4.0

func (o ContainerOutput) LimitMemory() pulumi.StringPtrOutput

LimitMemory is an optional (yet recommended) resource limit of memory (RAM) usage.

func (ContainerOutput) Ports added in v0.4.0

Ports to listen on.

func (ContainerOutput) ToContainerOutput added in v0.4.0

func (o ContainerOutput) ToContainerOutput() ContainerOutput

func (ContainerOutput) ToContainerOutputWithContext added in v0.4.0

func (o ContainerOutput) ToContainerOutputWithContext(_ context.Context) ContainerOutput

type DepCon added in v0.4.0

type DepCon struct {
	// contains filtered or unexported fields
}

func (*DepCon) GetDependencies added in v0.4.0

func (d *DepCon) GetDependencies() []string

func (*DepCon) GetID added in v0.4.0

func (d *DepCon) GetID() string

type DepGraph added in v0.4.0

type DepGraph[T Resource] struct {
	// Nodes maps a Node per its resource ID
	Nodes map[string]*Node[T]
}

DepGraph is a dependency graph of resource.

func NewDepGraph added in v0.4.0

func NewDepGraph[T Resource](res []T) (*DepGraph[T], error)

NewDepGraph builds a dependency graph of resource, with for each both the dependencies and dependents. It resolves dependencies thus ensure there is no missing nodes in the graph.

func (DepGraph[T]) SCCs added in v0.4.0

func (dg DepGraph[T]) SCCs() [][]*Node[T]

type ExposeType

type ExposeType string

ExposeType represents an exposure of a PortBinding.

const (
	// ExposeInternal defines a non-exposed [PortBinding].
	ExposeInternal ExposeType = ""

	// ExposeNodePort defines a [PortBinding] that is exposed through
	// a Kubernetes Service typed "NodePort".
	ExposeNodePort ExposeType = "NodePort"

	// ExposeIngress defines a [PortBinding] that is exposed through
	// a Kubernetes Ingress.
	ExposeIngress ExposeType = "Ingress"

	// ExposeLoadBalancer defines a [PortBinding] that is exposed through
	// a Kubernetes Service typed "LoadBalancer".
	ExposeLoadBalancer ExposeType = "LoadBalancer"
)

func (ExposeType) ElementType added in v0.4.0

func (ExposeType) ElementType() reflect.Type

func (ExposeType) ToExposeTypeOutput added in v0.4.0

func (i ExposeType) ToExposeTypeOutput() ExposeTypeOutput

func (ExposeType) ToExposeTypeOutputWithContext added in v0.4.0

func (i ExposeType) ToExposeTypeOutputWithContext(ctx context.Context) ExposeTypeOutput

type ExposeTypeInput added in v0.4.0

type ExposeTypeInput interface {
	pulumi.Input

	ToExposeTypeOutput() ExposeTypeOutput
	ToExposeTypeOutputWithContext(context.Context) ExposeTypeOutput
}

type ExposeTypeOutput added in v0.4.0

type ExposeTypeOutput struct{ *pulumi.OutputState }

func (ExposeTypeOutput) ElementType added in v0.4.0

func (o ExposeTypeOutput) ElementType() reflect.Type

func (ExposeTypeOutput) Raw added in v0.4.0

func (o ExposeTypeOutput) Raw() ExposeType

Raw is a synchronous helper that returns the string value of the ExposeTypeOutput, such that it could be manipulated as a ExposeType directly (e.g. switch statements).

func (ExposeTypeOutput) ToExposeTypeOutput added in v0.4.0

func (o ExposeTypeOutput) ToExposeTypeOutput() ExposeTypeOutput

func (ExposeTypeOutput) ToExposeTypeOutputWithContext added in v0.4.0

func (o ExposeTypeOutput) ToExposeTypeOutputWithContext(_ context.Context) ExposeTypeOutput

type ExposedMonopod

type ExposedMonopod struct {
	pulumi.ResourceState

	// URLs exposed by the container.
	URLs pulumi.StringMapOutput
	// contains filtered or unexported fields
}

func NewExposedMonopod

func NewExposedMonopod(ctx *pulumi.Context, name string, args *ExposedMonopodArgs, opts ...pulumi.ResourceOption) (*ExposedMonopod, error)

type ExposedMonopodArgs

type ExposedMonopodArgs struct {
	Identity         pulumi.StringInput    `pulumi:"identity"`
	Label            pulumi.StringPtrInput `pulumi:"label"`
	Hostname         pulumi.StringInput    `pulumi:"hostname"`
	Container        ContainerInput        `pulumi:"container"`
	FromCIDR         pulumi.StringInput    `pulumi:"fromCIDR"`
	IngressNamespace pulumi.StringInput    `pulumi:"ingressNamespace"`
	IngressLabels    pulumi.StringMapInput `pulumi:"ingressLabels"`
}

func (ExposedMonopodArgs) ElementType added in v0.4.0

func (ExposedMonopodArgs) ElementType() reflect.Type

func (ExposedMonopodArgs) ToExposedMonopodArgsOutput added in v0.4.0

func (i ExposedMonopodArgs) ToExposedMonopodArgsOutput() ExposedMonopodArgsOutput

func (ExposedMonopodArgs) ToExposedMonopodArgsOutputWithContext added in v0.4.0

func (i ExposedMonopodArgs) ToExposedMonopodArgsOutputWithContext(ctx context.Context) ExposedMonopodArgsOutput

type ExposedMonopodArgsInput added in v0.4.0

type ExposedMonopodArgsInput interface {
	pulumi.Input

	ToExposedMonopodArgsOutput() ExposedMonopodArgsOutput
	ToExposedMonopodArgsOutputWithContext(context.Context) ExposedMonopodArgsOutput
}

type ExposedMonopodArgsOutput added in v0.4.0

type ExposedMonopodArgsOutput struct{ *pulumi.OutputState }

func (ExposedMonopodArgsOutput) Container added in v0.4.0

func (ExposedMonopodArgsOutput) ElementType added in v0.4.0

func (ExposedMonopodArgsOutput) ElementType() reflect.Type

func (ExposedMonopodArgsOutput) FromCIDR added in v0.4.0

func (ExposedMonopodArgsOutput) Hostname added in v0.4.0

func (ExposedMonopodArgsOutput) Identity added in v0.4.0

func (ExposedMonopodArgsOutput) IngressLabels added in v0.4.0

func (ExposedMonopodArgsOutput) IngressNamespace added in v0.4.0

func (o ExposedMonopodArgsOutput) IngressNamespace() pulumi.StringOutput

func (ExposedMonopodArgsOutput) Label added in v0.4.0

func (ExposedMonopodArgsOutput) ToExposedMonopodArgsOutput added in v0.4.0

func (o ExposedMonopodArgsOutput) ToExposedMonopodArgsOutput() ExposedMonopodArgsOutput

func (ExposedMonopodArgsOutput) ToExposedMonopodArgsOutputWithContext added in v0.4.0

func (o ExposedMonopodArgsOutput) ToExposedMonopodArgsOutputWithContext(_ context.Context) ExposedMonopodArgsOutput

type ExposedMonopodArgsRaw added in v0.4.0

type ExposedMonopodArgsRaw struct {
	Identity         string            `pulumi:"identity"`
	Label            *string           `pulumi:"label"`
	Hostname         string            `pulumi:"hostname"`
	Container        Container         `pulumi:"container"`
	FromCIDR         string            `pulumi:"fromCIDR"`
	IngressNamespace string            `pulumi:"ingressNamespace"`
	IngressLabels    map[string]string `pulumi:"ingressLabels"`
}

type ExposedMultipod added in v0.4.0

type ExposedMultipod struct {
	pulumi.ResourceState

	// URLs is a map of URL exposed by a container, identified by its name.
	URLs pulumi.StringMapMapOutput
	// contains filtered or unexported fields
}

func NewExposedMultipod added in v0.4.0

func NewExposedMultipod(ctx *pulumi.Context, name string, args *ExposedMultipodArgs, opts ...pulumi.ResourceOption) (*ExposedMultipod, error)

NewExposedMultipod builds the Kubernetes resources for an *ExposedMultipodArgsRaw. It fits the best cases of advanced web setups, cloud-based infrastructures, etc.

type ExposedMultipodArgs added in v0.4.0

type ExposedMultipodArgs struct {
	Identity         pulumi.StringInput    `pulumi:"identity"`
	Label            pulumi.StringPtrInput `pulumi:"label"`
	Hostname         pulumi.StringInput    `pulumi:"hostname"`
	Containers       ContainerMapInput     `pulumi:"containers"`
	Rules            RuleArrayInput        `pulumi:"rules"`
	FromCIDR         pulumi.StringInput    `pulumi:"fromCIDR"`
	IngressNamespace pulumi.StringInput    `pulumi:"ingressNamespace"`
	IngressLabels    pulumi.StringMapInput `pulumi:"ingressLabels"`
}

func (ExposedMultipodArgs) ElementType added in v0.4.0

func (ExposedMultipodArgs) ElementType() reflect.Type

func (ExposedMultipodArgs) ToExposedMultipodArgsOutput added in v0.4.0

func (i ExposedMultipodArgs) ToExposedMultipodArgsOutput() ExposedMultipodArgsOutput

func (ExposedMultipodArgs) ToExposedMultipodArgsOutputWithContext added in v0.4.0

func (i ExposedMultipodArgs) ToExposedMultipodArgsOutputWithContext(ctx context.Context) ExposedMultipodArgsOutput

type ExposedMultipodArgsInput added in v0.4.0

type ExposedMultipodArgsInput interface {
	pulumi.Input

	ToExposedMultipodArgsOutput() ExposedMultipodArgsOutput
	ToExposedMultipodArgsOutputWithContext(context.Context) ExposedMultipodArgsOutput
}

type ExposedMultipodArgsOutput added in v0.4.0

type ExposedMultipodArgsOutput struct{ *pulumi.OutputState }

func (ExposedMultipodArgsOutput) Containers added in v0.4.0

func (ExposedMultipodArgsOutput) ElementType added in v0.4.0

func (ExposedMultipodArgsOutput) ElementType() reflect.Type

func (ExposedMultipodArgsOutput) FromCIDR added in v0.4.0

func (ExposedMultipodArgsOutput) Hostname added in v0.4.0

func (ExposedMultipodArgsOutput) Identity added in v0.4.0

func (ExposedMultipodArgsOutput) IngressLabels added in v0.4.0

func (ExposedMultipodArgsOutput) IngressNamespace added in v0.4.0

func (o ExposedMultipodArgsOutput) IngressNamespace() pulumi.StringOutput

func (ExposedMultipodArgsOutput) Label added in v0.4.0

func (ExposedMultipodArgsOutput) Rules added in v0.4.0

func (ExposedMultipodArgsOutput) ToExposedMultipodArgsOutput added in v0.4.0

func (o ExposedMultipodArgsOutput) ToExposedMultipodArgsOutput() ExposedMultipodArgsOutput

func (ExposedMultipodArgsOutput) ToExposedMultipodArgsOutputWithContext added in v0.4.0

func (o ExposedMultipodArgsOutput) ToExposedMultipodArgsOutputWithContext(_ context.Context) ExposedMultipodArgsOutput

type ExposedMultipodArgsRaw added in v0.4.0

type ExposedMultipodArgsRaw struct {
	Identity         string               `pulumi:"identity"`
	Label            *string              `pulumi:"label"`
	Hostname         string               `pulumi:"hostname"`
	Containers       map[string]Container `pulumi:"containers"`
	Rules            []Rule               `pulumi:"rules"`
	FromCIDR         string               `pulumi:"fromCIDR"`
	IngressNamespace string               `pulumi:"ingressNamespace"`
	IngressLabels    map[string]string    `pulumi:"ingressLabels"`
}

type IngressMapMap added in v0.4.0

type IngressMapMap map[string]map[string]*netwv1.Ingress

func (IngressMapMap) ElementType added in v0.4.0

func (IngressMapMap) ElementType() reflect.Type

func (IngressMapMap) ToIngressMapMapOutput added in v0.4.0

func (i IngressMapMap) ToIngressMapMapOutput() IngressMapMapOutput

func (IngressMapMap) ToIngressMapMapOutputWithContext added in v0.4.0

func (i IngressMapMap) ToIngressMapMapOutputWithContext(ctx context.Context) IngressMapMapOutput

type IngressMapMapInput added in v0.4.0

type IngressMapMapInput interface {
	pulumi.Input

	ToIngressMapMapOutput() IngressMapMapOutput
	ToIngressMapMapOutputWithContext(context.Context) IngressMapMapOutput
}

type IngressMapMapOutput added in v0.4.0

type IngressMapMapOutput struct{ *pulumi.OutputState }

func (IngressMapMapOutput) ElementType added in v0.4.0

func (IngressMapMapOutput) ElementType() reflect.Type

func (IngressMapMapOutput) MapIndex added in v0.4.0

func (IngressMapMapOutput) ToIngressMapMapOutput added in v0.4.0

func (o IngressMapMapOutput) ToIngressMapMapOutput() IngressMapMapOutput

func (IngressMapMapOutput) ToIngressMapMapOutputWithContext added in v0.4.0

func (o IngressMapMapOutput) ToIngressMapMapOutputWithContext(_ context.Context) IngressMapMapOutput

type IngressSpecMap added in v0.4.0

type IngressSpecMap map[string]netwv1.IngressSpecInput

func (IngressSpecMap) ElementType added in v0.4.0

func (IngressSpecMap) ElementType() reflect.Type

func (IngressSpecMap) ToIngressSpecMapOutput added in v0.4.0

func (i IngressSpecMap) ToIngressSpecMapOutput() IngressSpecMapOutput

func (IngressSpecMap) ToIngressSpecMapOutputWithContext added in v0.4.0

func (i IngressSpecMap) ToIngressSpecMapOutputWithContext(ctx context.Context) IngressSpecMapOutput

type IngressSpecMapInput added in v0.4.0

type IngressSpecMapInput interface {
	pulumi.Input

	ToIngressSpecMapOutput() IngressSpecMapOutput
	ToIngressSpecMapOutputWithContext(context.Context) IngressSpecMapOutput
}

type IngressSpecMapMap added in v0.4.0

type IngressSpecMapMap map[string]map[string]netwv1.IngressSpec

func (IngressSpecMapMap) ElementType added in v0.4.0

func (IngressSpecMapMap) ElementType() reflect.Type

func (IngressSpecMapMap) ToIngressSpecMapMapOutput added in v0.4.0

func (i IngressSpecMapMap) ToIngressSpecMapMapOutput() IngressSpecMapMapOutput

func (IngressSpecMapMap) ToIngressSpecMapMapOutputWithContext added in v0.4.0

func (i IngressSpecMapMap) ToIngressSpecMapMapOutputWithContext(ctx context.Context) IngressSpecMapMapOutput

type IngressSpecMapMapInput added in v0.4.0

type IngressSpecMapMapInput interface {
	pulumi.Input

	ToIngressSpecMapMapOutput() IngressSpecMapMapOutput
	ToIngressSpecMapMapOutputWithContext(context.Context) IngressSpecMapMapOutput
}

type IngressSpecMapMapOutput added in v0.4.0

type IngressSpecMapMapOutput struct{ *pulumi.OutputState }

func (IngressSpecMapMapOutput) ElementType added in v0.4.0

func (IngressSpecMapMapOutput) ElementType() reflect.Type

func (IngressSpecMapMapOutput) MapIndex added in v0.4.0

func (IngressSpecMapMapOutput) ToIngressSpecMapMapOutput added in v0.4.0

func (o IngressSpecMapMapOutput) ToIngressSpecMapMapOutput() IngressSpecMapMapOutput

func (IngressSpecMapMapOutput) ToIngressSpecMapMapOutputWithContext added in v0.4.0

func (o IngressSpecMapMapOutput) ToIngressSpecMapMapOutputWithContext(_ context.Context) IngressSpecMapMapOutput

type IngressSpecMapOutput added in v0.4.0

type IngressSpecMapOutput struct{ *pulumi.OutputState }

func (IngressSpecMapOutput) ElementType added in v0.4.0

func (IngressSpecMapOutput) ElementType() reflect.Type

func (IngressSpecMapOutput) MapIndex added in v0.4.0

func (IngressSpecMapOutput) ToIngressSpecMapOutput added in v0.4.0

func (o IngressSpecMapOutput) ToIngressSpecMapOutput() IngressSpecMapOutput

func (IngressSpecMapOutput) ToIngressSpecMapOutputWithContext added in v0.4.0

func (o IngressSpecMapOutput) ToIngressSpecMapOutputWithContext(_ context.Context) IngressSpecMapOutput

type Kompose added in v0.4.0

type Kompose struct {
	pulumi.ResourceState

	URLs pulumi.StringMapMapOutput
	// contains filtered or unexported fields
}

func NewKompose added in v0.4.0

func NewKompose(ctx *pulumi.Context, name string, args *KomposeArgs, opts ...pulumi.ResourceOption) (*Kompose, error)

NewKompose deploys a docker compose manifest on Kubernetes, using Kompose. It creates a namespace per instance, and isolate it from the others.

WARNING: does not support [env_file].

type KomposeArgs added in v0.4.0

type KomposeArgs struct {
	Identity pulumi.StringInput    `pulumi:"identity"`
	Label    pulumi.StringPtrInput `pulumi:"label"`
	Hostname pulumi.StringInput    `pulumi:"hostname"`

	// YAML content of a docker-compose.yaml file.
	YAML pulumi.StringInput `pulumi:"yaml"`

	// Ports define the binding per each image for how to expose
	// the containers.
	// Nonetheless, as per Kompose behavior, it creates 1 Service
	// for all ports, so the underlying Service type will be driven
	// by the latest NodePort or LoadBalancer defined in the array.
	// See #905 for more context.
	Ports PortBindingMapArrayInput `pulumi:"ports"`

	FromCIDR         pulumi.StringInput    `pulumi:"fromCIDR"`
	IngressNamespace pulumi.StringInput    `pulumi:"ingressNamespace"`
	IngressLabels    pulumi.StringMapInput `pulumi:"ingressLabels"`
}

func (KomposeArgs) ElementType added in v0.4.0

func (KomposeArgs) ElementType() reflect.Type

func (KomposeArgs) ToKomposeArgsOutput added in v0.4.0

func (i KomposeArgs) ToKomposeArgsOutput() KomposeArgsOutput

func (KomposeArgs) ToKomposeArgsOutputWithContext added in v0.4.0

func (i KomposeArgs) ToKomposeArgsOutputWithContext(ctx context.Context) KomposeArgsOutput

type KomposeArgsInput added in v0.4.0

type KomposeArgsInput interface {
	pulumi.Input

	ToKomposeArgsOutput() KomposeArgsOutput
	ToKomposeArgsOutputWithContext(context.Context) KomposeArgsOutput
}

type KomposeArgsOutput added in v0.4.0

type KomposeArgsOutput struct{ *pulumi.OutputState }

func (KomposeArgsOutput) ElementType added in v0.4.0

func (KomposeArgsOutput) ElementType() reflect.Type

func (KomposeArgsOutput) FromCIDR added in v0.4.0

func (o KomposeArgsOutput) FromCIDR() pulumi.StringOutput

func (KomposeArgsOutput) Hostname added in v0.4.0

func (o KomposeArgsOutput) Hostname() pulumi.StringOutput

func (KomposeArgsOutput) Identity added in v0.4.0

func (o KomposeArgsOutput) Identity() pulumi.StringOutput

func (KomposeArgsOutput) IngressLabels added in v0.4.0

func (o KomposeArgsOutput) IngressLabels() pulumi.StringMapOutput

func (KomposeArgsOutput) IngressNamespace added in v0.4.0

func (o KomposeArgsOutput) IngressNamespace() pulumi.StringOutput

func (KomposeArgsOutput) Label added in v0.4.0

func (KomposeArgsOutput) Ports added in v0.4.0

func (KomposeArgsOutput) YAML added in v0.4.0

type KomposeArgsRaw added in v0.4.0

type KomposeArgsRaw struct {
	Identity string  `pulumi:"identity"`
	Label    *string `pulumi:"label"`
	Hostname string  `pulumi:"hostname"`

	// YAML content of a docker-compose.yaml file.
	YAML string `pulumi:"yaml"`

	Ports map[string][]PortBinding `pulumi:"ports"`

	FromCIDR         string            `pulumi:"fromCIDR"`
	IngressNamespace string            `pulumi:"ingressNamespace"`
	IngressLabels    map[string]string `pulumi:"ingressLabels"`
}

type Node added in v0.4.0

type Node[T Resource] struct {
	Res          T
	Dependencies []string
	Dependents   []string
}

Node represents a resource

type ObjectMetaArray added in v0.4.0

type ObjectMetaArray map[string]metav1.ObjectMetaInput

func (ObjectMetaArray) ElementType added in v0.4.0

func (ObjectMetaArray) ElementType() reflect.Type

func (ObjectMetaArray) ToObjectMetaArrayOutput added in v0.4.0

func (i ObjectMetaArray) ToObjectMetaArrayOutput() ObjectMetaArrayOutput

func (ObjectMetaArray) ToObjectMetaArrayOutputWithContext added in v0.4.0

func (i ObjectMetaArray) ToObjectMetaArrayOutputWithContext(ctx context.Context) ObjectMetaArrayOutput

type ObjectMetaArrayInput added in v0.4.0

type ObjectMetaArrayInput interface {
	pulumi.Input

	ToObjectMetaArrayOutput() ObjectMetaArrayOutput
	ToObjectMetaArrayOutputWithContext(context.Context) ObjectMetaArrayOutput
}

type ObjectMetaArrayOutput added in v0.4.0

type ObjectMetaArrayOutput struct{ *pulumi.OutputState }

func (ObjectMetaArrayOutput) ElementType added in v0.4.0

func (ObjectMetaArrayOutput) ElementType() reflect.Type

func (ObjectMetaArrayOutput) Index added in v0.4.0

func (ObjectMetaArrayOutput) ToObjectMetaArrayOutput added in v0.4.0

func (o ObjectMetaArrayOutput) ToObjectMetaArrayOutput() ObjectMetaArrayOutput

func (ObjectMetaArrayOutput) ToObjectMetaArrayOutputWithContext added in v0.4.0

func (o ObjectMetaArrayOutput) ToObjectMetaArrayOutputWithContext(_ context.Context) ObjectMetaArrayOutput

type ObjectMetaMap added in v0.4.0

type ObjectMetaMap map[string]metav1.ObjectMetaInput

func (ObjectMetaMap) ElementType added in v0.4.0

func (ObjectMetaMap) ElementType() reflect.Type

func (ObjectMetaMap) ToObjectMetaMapOutput added in v0.4.0

func (i ObjectMetaMap) ToObjectMetaMapOutput() ObjectMetaMapOutput

func (ObjectMetaMap) ToObjectMetaMapOutputWithContext added in v0.4.0

func (i ObjectMetaMap) ToObjectMetaMapOutputWithContext(ctx context.Context) ObjectMetaMapOutput

type ObjectMetaMapInput added in v0.4.0

type ObjectMetaMapInput interface {
	pulumi.Input

	ToObjectMetaMapOutput() ObjectMetaMapOutput
	ToObjectMetaMapOutputWithContext(context.Context) ObjectMetaMapOutput
}

type ObjectMetaMapMap added in v0.4.0

type ObjectMetaMapMap map[string]map[string]metav1.ObjectMeta

func (ObjectMetaMapMap) ElementType added in v0.4.0

func (ObjectMetaMapMap) ElementType() reflect.Type

func (ObjectMetaMapMap) ToObjectMetaMapMapOutput added in v0.4.0

func (i ObjectMetaMapMap) ToObjectMetaMapMapOutput() ObjectMetaMapMapOutput

func (ObjectMetaMapMap) ToObjectMetaMapMapOutputWithContext added in v0.4.0

func (i ObjectMetaMapMap) ToObjectMetaMapMapOutputWithContext(ctx context.Context) ObjectMetaMapMapOutput

type ObjectMetaMapMapInput added in v0.4.0

type ObjectMetaMapMapInput interface {
	pulumi.Input

	ToObjectMetaMapMapOutput() ObjectMetaMapMapOutput
	ToObjectMetaMapMapOutputWithContext(context.Context) ObjectMetaMapMapOutput
}

type ObjectMetaMapMapOutput added in v0.4.0

type ObjectMetaMapMapOutput struct{ *pulumi.OutputState }

func (ObjectMetaMapMapOutput) ElementType added in v0.4.0

func (ObjectMetaMapMapOutput) ElementType() reflect.Type

func (ObjectMetaMapMapOutput) MapIndex added in v0.4.0

func (ObjectMetaMapMapOutput) ToObjectMetaMapMapOutput added in v0.4.0

func (o ObjectMetaMapMapOutput) ToObjectMetaMapMapOutput() ObjectMetaMapMapOutput

func (ObjectMetaMapMapOutput) ToObjectMetaMapMapOutputWithContext added in v0.4.0

func (o ObjectMetaMapMapOutput) ToObjectMetaMapMapOutputWithContext(_ context.Context) ObjectMetaMapMapOutput

type ObjectMetaMapOutput added in v0.4.0

type ObjectMetaMapOutput struct{ *pulumi.OutputState }

func (ObjectMetaMapOutput) ElementType added in v0.4.0

func (ObjectMetaMapOutput) ElementType() reflect.Type

func (ObjectMetaMapOutput) MapIndex added in v0.4.0

func (ObjectMetaMapOutput) ToObjectMetaMapOutput added in v0.4.0

func (o ObjectMetaMapOutput) ToObjectMetaMapOutput() ObjectMetaMapOutput

func (ObjectMetaMapOutput) ToObjectMetaMapOutputWithContext added in v0.4.0

func (o ObjectMetaMapOutput) ToObjectMetaMapOutputWithContext(_ context.Context) ObjectMetaMapOutput

type PortBinding added in v0.4.0

type PortBinding struct {
	// Port the [Container] listens on.
	Port int `pulumi:"port"`

	// Protocol to comunicate with the port.
	// Defaults to TCP.
	Protocol string `pulumi:"protocol"`

	// ExposeType is the [ExposeType] strategy to expose the port.
	ExposeType ExposeType `pulumi:"exposeType"`

	// Annotations is an optional k=v map of annotations to set on
	// the exposing resource (i.e. service or ingress) that exposes the container
	// on this port.
	//
	// For instance, if the ExposeType=ExposeIngress, then the Annotations are
	// passed to the Ingress resource.
	// That could be a place to define pulumi.com/skipAwait=true if needed
	// References:
	// - https://www.pulumi.com/blog/improving-kubernetes-management-with-pulumis-await-logic/
	// - https://github.com/pulumi/pulumi-kubernetes/issues/1812
	Annotations map[string]string `pulumi:"annotations"`
}

PortBinding represents the exposure of a Container on a <port,protocol>.

func (PortBinding) Check added in v0.4.0

func (pb PortBinding) Check() (err error)

Check ensures the PortBinding configuration is good.

type PortBindingArgs added in v0.4.0

type PortBindingArgs struct {
	// Port the [Container] listens on.
	Port pulumi.IntInput `pulumi:"port"`

	// Protocol to comunicate with the port.
	// Defaults to TCP.
	Protocol pulumi.StringInput `pulumi:"protocol"`

	// ExposeType is the [ExposeType] strategy to expose the port.
	ExposeType ExposeTypeInput `pulumi:"exposeType"`

	// Annotations is an optional k=v map of annotations to set on
	// the exposing resource (i.e. service or ingress) that exposes the container
	// on this port.
	//
	// For instance, if the ExposeType=ExposeIngress, then the Annotations are
	// passed to the Ingress resource.
	// That could be a place to define pulumi.com/skipAwait=true if needed
	// References:
	// - https://www.pulumi.com/blog/improving-kubernetes-management-with-pulumis-await-logic/
	// - https://github.com/pulumi/pulumi-kubernetes/issues/1812
	Annotations pulumi.StringMapInput `pulumi:"annotations"`
}

PortBindingArgs is the input of PortBinding, i.e. represents the exposure of a Container on a <port,protocol>.

func (PortBindingArgs) ElementType added in v0.4.0

func (PortBindingArgs) ElementType() reflect.Type

func (PortBindingArgs) ToPortBindingOutput added in v0.4.0

func (i PortBindingArgs) ToPortBindingOutput() PortBindingOutput

func (PortBindingArgs) ToPortBindingOutputWithContext added in v0.4.0

func (i PortBindingArgs) ToPortBindingOutputWithContext(ctx context.Context) PortBindingOutput

type PortBindingArray added in v0.4.0

type PortBindingArray []PortBindingInput

func (PortBindingArray) ElementType added in v0.4.0

func (PortBindingArray) ElementType() reflect.Type

func (PortBindingArray) ToPortBindingArrayOutput added in v0.4.0

func (i PortBindingArray) ToPortBindingArrayOutput() PortBindingArrayOutput

func (PortBindingArray) ToPortBindingArrayOutputWithContext added in v0.4.0

func (i PortBindingArray) ToPortBindingArrayOutputWithContext(ctx context.Context) PortBindingArrayOutput

type PortBindingArrayInput added in v0.4.0

type PortBindingArrayInput interface {
	pulumi.Input

	ToPortBindingArrayOutput() PortBindingArrayOutput
	ToPortBindingArrayOutputWithContext(context.Context) PortBindingArrayOutput
}

type PortBindingArrayOutput added in v0.4.0

type PortBindingArrayOutput struct{ *pulumi.OutputState }

func (PortBindingArrayOutput) ElementType added in v0.4.0

func (PortBindingArrayOutput) ElementType() reflect.Type

func (PortBindingArrayOutput) Index added in v0.4.0

func (PortBindingArrayOutput) Len added in v0.4.0

func (o PortBindingArrayOutput) Len() int

Len is a synchronous helper that returns the length of the array.

func (PortBindingArrayOutput) ToPortBindingArrayOutput added in v0.4.0

func (o PortBindingArrayOutput) ToPortBindingArrayOutput() PortBindingArrayOutput

func (PortBindingArrayOutput) ToPortBindingArrayOutputWithContext added in v0.4.0

func (o PortBindingArrayOutput) ToPortBindingArrayOutputWithContext(_ context.Context) PortBindingArrayOutput

type PortBindingInput added in v0.4.0

type PortBindingInput interface {
	pulumi.Input

	ToPortBindingOutput() PortBindingOutput
	ToPortBindingOutputWithContext(context.Context) PortBindingOutput
}

type PortBindingMapArray added in v0.4.0

type PortBindingMapArray map[string]PortBindingArray

func (PortBindingMapArray) ElementType added in v0.4.0

func (PortBindingMapArray) ElementType() reflect.Type

func (PortBindingMapArray) ToPortBindingMapArrayOutput added in v0.4.0

func (i PortBindingMapArray) ToPortBindingMapArrayOutput() PortBindingMapArrayOutput

func (PortBindingMapArray) ToPortBindingMapArrayOutputWithContext added in v0.4.0

func (i PortBindingMapArray) ToPortBindingMapArrayOutputWithContext(ctx context.Context) PortBindingMapArrayOutput

type PortBindingMapArrayInput added in v0.4.0

type PortBindingMapArrayInput interface {
	pulumi.Input

	ToPortBindingMapArrayOutput() PortBindingMapArrayOutput
	ToPortBindingMapArrayOutputWithContext(context.Context) PortBindingMapArrayOutput
}

type PortBindingMapArrayOutput added in v0.4.0

type PortBindingMapArrayOutput struct{ *pulumi.OutputState }

func (PortBindingMapArrayOutput) ElementType added in v0.4.0

func (PortBindingMapArrayOutput) ElementType() reflect.Type

func (PortBindingMapArrayOutput) MapIndex added in v0.4.0

func (PortBindingMapArrayOutput) ToPortBindingMapArrayOutput added in v0.4.0

func (o PortBindingMapArrayOutput) ToPortBindingMapArrayOutput() PortBindingMapArrayOutput

func (PortBindingMapArrayOutput) ToPortBindingMapArrayOutputWithContext added in v0.4.0

func (o PortBindingMapArrayOutput) ToPortBindingMapArrayOutputWithContext(_ context.Context) PortBindingMapArrayOutput

type PortBindingOutput added in v0.4.0

type PortBindingOutput struct{ *pulumi.OutputState }

func (PortBindingOutput) Annotations added in v0.5.2

func (o PortBindingOutput) Annotations() pulumi.StringMapOutput

func (PortBindingOutput) ElementType added in v0.4.0

func (PortBindingOutput) ElementType() reflect.Type

func (PortBindingOutput) ExposeType added in v0.4.0

func (o PortBindingOutput) ExposeType() ExposeTypeOutput

ExposeType is the ExposeType strategy to expose the port.

func (PortBindingOutput) Port added in v0.4.0

Port the Container listens on.

func (PortBindingOutput) Protocol added in v0.4.0

func (o PortBindingOutput) Protocol() pulumi.StringOutput

Protocol to comunicate with the port. Defaults to TCP.

func (PortBindingOutput) ToPortBindingOutput added in v0.4.0

func (o PortBindingOutput) ToPortBindingOutput() PortBindingOutput

func (PortBindingOutput) ToPortBindingOutputWithContext added in v0.4.0

func (o PortBindingOutput) ToPortBindingOutputWithContext(_ context.Context) PortBindingOutput

type Printer added in v0.4.0

type Printer struct {
	// Fmt is the format of the string to output.
	Fmt string `pulumi:"fmt"`

	// Services are formatted as <service>[:<port>[/<protocol>]].
	// It defaults protocol to TCP, and if there is only 1 port,
	// defaults to it.
	Services []string `pulumi:"services"`
}

Printer is a triggerable formatter. By defining services as the containers name and port binding (if many ports are defined, else optional) such that the service name to reach will be dynamically provided.

type PrinterArgs added in v0.4.0

type PrinterArgs struct {
	// Fmt is the format of the string to output.
	Fmt pulumi.StringInput `pulumi:"fmt"`

	// Services are formatted as <service>[:<port>[/<protocol>]].
	// It defaults protocol to TCP, and if there is only 1 port,
	// defaults to it.
	Services pulumi.StringArrayInput `pulumi:"services"`
}

PrinterArgs is the input of Printer, e.g. is a triggerable formatter. By defining services as the containers name and port binding (if many ports are defined, else optional) such that the service name to reach will be dynamically provided.

func NewPrinter added in v0.4.0

func NewPrinter(fmt string, services ...string) PrinterArgs

NewPrinter is a helper that transforms native strings to pulumi strings, easing the writing of a scenario. Example:

NewPrinter("http://%s", "a")

func (PrinterArgs) ElementType added in v0.4.0

func (PrinterArgs) ElementType() reflect.Type

func (PrinterArgs) ToPrinterOutput added in v0.4.0

func (i PrinterArgs) ToPrinterOutput() PrinterOutput

func (PrinterArgs) ToPrinterOutputWithContext added in v0.4.0

func (i PrinterArgs) ToPrinterOutputWithContext(ctx context.Context) PrinterOutput

type PrinterInput added in v0.4.0

type PrinterInput interface {
	pulumi.Input

	ToPrinterOutput() PrinterOutput
	ToPrinterOutputWithContext(context.Context) PrinterOutput
}

type PrinterMap added in v0.4.0

type PrinterMap map[string]PrinterInput

func (PrinterMap) ElementType added in v0.4.0

func (PrinterMap) ElementType() reflect.Type

func (PrinterMap) ToPrinterMapOutput added in v0.4.0

func (i PrinterMap) ToPrinterMapOutput() PrinterMapOutput

func (PrinterMap) ToPrinterMapOutputWithContext added in v0.4.0

func (i PrinterMap) ToPrinterMapOutputWithContext(ctx context.Context) PrinterMapOutput

type PrinterMapInput added in v0.4.0

type PrinterMapInput interface {
	pulumi.Input

	ToPrinterMapOutput() PrinterMapOutput
	ToPrinterMapOutputWithContext(context.Context) PrinterMapOutput
}

type PrinterMapOutput added in v0.4.0

type PrinterMapOutput struct{ *pulumi.OutputState }

func (PrinterMapOutput) ElementType added in v0.4.0

func (PrinterMapOutput) ElementType() reflect.Type

func (PrinterMapOutput) MapIndex added in v0.4.0

func (PrinterMapOutput) Print added in v0.4.0

Print triggers the formatters using the service object metas to resolve dependencies.

func (PrinterMapOutput) ToPrinterMapOutput added in v0.4.0

func (o PrinterMapOutput) ToPrinterMapOutput() PrinterMapOutput

func (PrinterMapOutput) ToPrinterMapOutputWithContext added in v0.4.0

func (o PrinterMapOutput) ToPrinterMapOutputWithContext(_ context.Context) PrinterMapOutput

type PrinterOutput added in v0.4.0

type PrinterOutput struct{ *pulumi.OutputState }

func ToPrinter added in v0.4.0

func ToPrinter(in pulumi.StringInput) PrinterOutput

ToPrinter is a helper that transforms a pulumi.StringInput to a PrinterOutput, by using the string as the formatter and no services. Example:

ToPrinter(pulumi.String("..."))

func (PrinterOutput) ElementType added in v0.4.0

func (PrinterOutput) ElementType() reflect.Type

func (PrinterOutput) Fmt added in v0.4.0

Fmt is the format of the string to output.

func (PrinterOutput) Services added in v0.4.0

func (o PrinterOutput) Services() pulumi.StringArrayOutput

Services are formatted as <service>[:<port>[/<protocol>]]. It defaults protocol to TCP, and if there is only 1 port, defaults to it.

func (PrinterOutput) ToPrinterOutput added in v0.4.0

func (o PrinterOutput) ToPrinterOutput() PrinterOutput

func (PrinterOutput) ToPrinterOutputWithContext added in v0.4.0

func (o PrinterOutput) ToPrinterOutputWithContext(_ context.Context) PrinterOutput

type Resource added in v0.4.0

type Resource interface {
	GetID() string
	GetDependencies() []string
}

type Rule added in v0.4.0

type Rule struct {
	// From which [Container].
	From string `pulumi:"from"`

	// To which [Container].
	To string `pulumi:"to"`

	// On which port.
	On int `pulumi:"on"`

	// Protocol to communicate with.
	// Defaults to TCP.
	Protocol string `pulumi:"protocol"`
}

Rule represents a networking rule between Container. It is transformed into a Kubernetes NetworkPolicy.

type RuleArgs added in v0.4.0

type RuleArgs struct {
	// From which [Container].
	From pulumi.StringInput `pulumi:"from"`

	// To which [Container].
	To pulumi.StringInput `pulumi:"to"`

	// On which port.
	On pulumi.IntInput `pulumi:"on"`

	// Protocol to communicate with.
	// Defaults to TCP.
	Protocol pulumi.StringInput `pulumi:"protocol"`
}

RuleArgs is the input of Rule, i.e. represents a networking rule between Container. It is transformed into a Kubernetes NetworkPolicy.

func (RuleArgs) ElementType added in v0.4.0

func (RuleArgs) ElementType() reflect.Type

func (RuleArgs) ToRuleOutput added in v0.4.0

func (i RuleArgs) ToRuleOutput() RuleOutput

func (RuleArgs) ToRuleOutputWithContext added in v0.4.0

func (i RuleArgs) ToRuleOutputWithContext(ctx context.Context) RuleOutput

type RuleArray added in v0.4.0

type RuleArray []RuleInput

func (RuleArray) ElementType added in v0.4.0

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput added in v0.4.0

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext added in v0.4.0

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput added in v0.4.0

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

type RuleArrayOutput added in v0.4.0

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType added in v0.4.0

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index added in v0.4.0

func (RuleArrayOutput) ToRuleArrayOutput added in v0.4.0

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext added in v0.4.0

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(_ context.Context) RuleArrayOutput

type RuleInput added in v0.4.0

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(context.Context) RuleOutput
}

type RuleOutput added in v0.4.0

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) ElementType added in v0.4.0

func (o RuleOutput) ElementType() reflect.Type

func (RuleOutput) From added in v0.4.0

func (o RuleOutput) From() pulumi.StringOutput

From which Container.

func (RuleOutput) On added in v0.4.0

func (o RuleOutput) On() pulumi.IntOutput

On which port.

func (RuleOutput) Protocol added in v0.4.0

func (o RuleOutput) Protocol() pulumi.StringOutput

Protocol to communicate with. Defaults to TCP.

func (RuleOutput) To added in v0.4.0

To which Container.

func (RuleOutput) ToContainerOutput added in v0.4.0

func (o RuleOutput) ToContainerOutput() RuleOutput

func (RuleOutput) ToContainerOutputWithContext added in v0.4.0

func (o RuleOutput) ToContainerOutputWithContext(_ context.Context) RuleOutput

type ServiceMapMap added in v0.4.0

type ServiceMapMap map[string]map[string]*corev1.Service

func (ServiceMapMap) ElementType added in v0.4.0

func (ServiceMapMap) ElementType() reflect.Type

func (ServiceMapMap) ToServiceMapMapOutput added in v0.4.0

func (i ServiceMapMap) ToServiceMapMapOutput() ServiceMapMapOutput

func (ServiceMapMap) ToServiceMapMapOutputWithContext added in v0.4.0

func (i ServiceMapMap) ToServiceMapMapOutputWithContext(ctx context.Context) ServiceMapMapOutput

type ServiceMapMapInput added in v0.4.0

type ServiceMapMapInput interface {
	pulumi.Input

	ToServiceMapMapOutput() ServiceMapMapOutput
	ToServiceMapMapOutputWithContext(context.Context) ServiceMapMapOutput
}

type ServiceMapMapOutput added in v0.4.0

type ServiceMapMapOutput struct{ *pulumi.OutputState }

func (ServiceMapMapOutput) ElementType added in v0.4.0

func (ServiceMapMapOutput) ElementType() reflect.Type

func (ServiceMapMapOutput) MapIndex added in v0.4.0

func (ServiceMapMapOutput) ToServiceMapMapOutput added in v0.4.0

func (o ServiceMapMapOutput) ToServiceMapMapOutput() ServiceMapMapOutput

func (ServiceMapMapOutput) ToServiceMapMapOutputWithContext added in v0.4.0

func (o ServiceMapMapOutput) ToServiceMapMapOutputWithContext(_ context.Context) ServiceMapMapOutput

type ServiceSpecMap added in v0.4.0

type ServiceSpecMap map[string]corev1.ServiceSpecInput

func (ServiceSpecMap) ElementType added in v0.4.0

func (ServiceSpecMap) ElementType() reflect.Type

func (ServiceSpecMap) ToServiceSpecMapOutput added in v0.4.0

func (i ServiceSpecMap) ToServiceSpecMapOutput() ServiceSpecMapOutput

func (ServiceSpecMap) ToServiceSpecMapOutputWithContext added in v0.4.0

func (i ServiceSpecMap) ToServiceSpecMapOutputWithContext(ctx context.Context) ServiceSpecMapOutput

type ServiceSpecMapInput added in v0.4.0

type ServiceSpecMapInput interface {
	pulumi.Input

	ToServiceSpecMapOutput() ServiceSpecMapOutput
	ToServiceSpecMapOutputWithContext(context.Context) ServiceSpecMapOutput
}

type ServiceSpecMapMap added in v0.4.0

type ServiceSpecMapMap map[string]map[string]corev1.ServiceSpec

func (ServiceSpecMapMap) ElementType added in v0.4.0

func (ServiceSpecMapMap) ElementType() reflect.Type

func (ServiceSpecMapMap) ToServiceSpecMapMapOutput added in v0.4.0

func (i ServiceSpecMapMap) ToServiceSpecMapMapOutput() ServiceSpecMapMapOutput

func (ServiceSpecMapMap) ToServiceSpecMapMapOutputWithContext added in v0.4.0

func (i ServiceSpecMapMap) ToServiceSpecMapMapOutputWithContext(ctx context.Context) ServiceSpecMapMapOutput

type ServiceSpecMapMapInput added in v0.4.0

type ServiceSpecMapMapInput interface {
	pulumi.Input

	ToServiceSpecMapMapOutput() ServiceSpecMapMapOutput
	ToServiceSpecMapMapOutputWithContext(context.Context) ServiceSpecMapMapOutput
}

type ServiceSpecMapMapOutput added in v0.4.0

type ServiceSpecMapMapOutput struct{ *pulumi.OutputState }

func (ServiceSpecMapMapOutput) ElementType added in v0.4.0

func (ServiceSpecMapMapOutput) ElementType() reflect.Type

func (ServiceSpecMapMapOutput) MapIndex added in v0.4.0

func (ServiceSpecMapMapOutput) ToServiceSpecMapMapOutput added in v0.4.0

func (o ServiceSpecMapMapOutput) ToServiceSpecMapMapOutput() ServiceSpecMapMapOutput

func (ServiceSpecMapMapOutput) ToServiceSpecMapMapOutputWithContext added in v0.4.0

func (o ServiceSpecMapMapOutput) ToServiceSpecMapMapOutputWithContext(_ context.Context) ServiceSpecMapMapOutput

type ServiceSpecMapOutput added in v0.4.0

type ServiceSpecMapOutput struct{ *pulumi.OutputState }

func (ServiceSpecMapOutput) ElementType added in v0.4.0

func (ServiceSpecMapOutput) ElementType() reflect.Type

func (ServiceSpecMapOutput) MapIndex added in v0.4.0

func (ServiceSpecMapOutput) ToServiceSpecMapOutput added in v0.4.0

func (o ServiceSpecMapOutput) ToServiceSpecMapOutput() ServiceSpecMapOutput

func (ServiceSpecMapOutput) ToServiceSpecMapOutputWithContext added in v0.4.0

func (o ServiceSpecMapOutput) ToServiceSpecMapOutputWithContext(_ context.Context) ServiceSpecMapOutput

Jump to

Keyboard shortcuts

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