symbiosis

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

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 Cluster

type Cluster struct {
	pulumi.CustomResourceState

	CaCertificate pulumi.StringOutput `pulumi:"caCertificate"`
	Certificate   pulumi.StringOutput `pulumi:"certificate"`
	// Cluster API server endpoint
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// When set to true it will deploy a highly available control plane with multiple replicas for redundancy.
	IsHighlyAvailable pulumi.BoolPtrOutput `pulumi:"isHighlyAvailable"`
	// Kubernetes version, see symbiosis.host for valid values or "latest" for the most recent supported version.
	KubeVersion pulumi.StringPtrOutput `pulumi:"kubeVersion"`
	// Cluster name. Changing the name forces re-creation.
	Name       pulumi.StringOutput `pulumi:"name"`
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	Region     pulumi.StringOutput `pulumi:"region"`
}

Manages Kubernetes clusters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/symbiosis-cloud/pulumi-symbiosis/sdk/go/symbiosis"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := symbiosis.NewCluster(ctx, "example", &symbiosis.ClusterArgs{
			Region: pulumi.String("germany-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// When set to true it will deploy a highly available control plane with multiple replicas for redundancy.
	IsHighlyAvailable pulumi.BoolPtrInput
	// Kubernetes version, see symbiosis.host for valid values or "latest" for the most recent supported version.
	KubeVersion pulumi.StringPtrInput
	// Cluster name. Changing the name forces re-creation.
	Name   pulumi.StringPtrInput
	Region pulumi.StringInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

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 ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) CaCertificate

func (o ClusterOutput) CaCertificate() pulumi.StringOutput

func (ClusterOutput) Certificate

func (o ClusterOutput) Certificate() pulumi.StringOutput

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) Endpoint

func (o ClusterOutput) Endpoint() pulumi.StringOutput

Cluster API server endpoint

func (ClusterOutput) IsHighlyAvailable

func (o ClusterOutput) IsHighlyAvailable() pulumi.BoolPtrOutput

When set to true it will deploy a highly available control plane with multiple replicas for redundancy.

func (ClusterOutput) KubeVersion

func (o ClusterOutput) KubeVersion() pulumi.StringPtrOutput

Kubernetes version, see symbiosis.host for valid values or "latest" for the most recent supported version.

func (ClusterOutput) Name

Cluster name. Changing the name forces re-creation.

func (ClusterOutput) PrivateKey

func (o ClusterOutput) PrivateKey() pulumi.StringOutput

func (ClusterOutput) Region

func (o ClusterOutput) Region() pulumi.StringOutput

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

type ClusterServiceAccount

type ClusterServiceAccount struct {
	pulumi.CustomResourceState

	// Cluster CA certificate
	ClusterCaCertificate pulumi.StringOutput `pulumi:"clusterCaCertificate"`
	// Cluster name. Changing the name forces re-creation.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// Service account token
	Token pulumi.StringOutput `pulumi:"token"`
}

Manages Kubernetes clusters service accounts.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/symbiosis-cloud/pulumi-symbiosis/sdk/go/symbiosis"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := symbiosis.NewClusterServiceAccount(ctx, "example", &symbiosis.ClusterServiceAccountArgs{
			ClusterName: pulumi.Any(symbiosis_cluster.Example.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetClusterServiceAccount

func GetClusterServiceAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterServiceAccountState, opts ...pulumi.ResourceOption) (*ClusterServiceAccount, error)

GetClusterServiceAccount gets an existing ClusterServiceAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewClusterServiceAccount

func NewClusterServiceAccount(ctx *pulumi.Context,
	name string, args *ClusterServiceAccountArgs, opts ...pulumi.ResourceOption) (*ClusterServiceAccount, error)

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

func (*ClusterServiceAccount) ElementType

func (*ClusterServiceAccount) ElementType() reflect.Type

func (*ClusterServiceAccount) ToClusterServiceAccountOutput

func (i *ClusterServiceAccount) ToClusterServiceAccountOutput() ClusterServiceAccountOutput

func (*ClusterServiceAccount) ToClusterServiceAccountOutputWithContext

func (i *ClusterServiceAccount) ToClusterServiceAccountOutputWithContext(ctx context.Context) ClusterServiceAccountOutput

type ClusterServiceAccountArgs

type ClusterServiceAccountArgs struct {
	// Cluster name. Changing the name forces re-creation.
	ClusterName pulumi.StringInput
}

The set of arguments for constructing a ClusterServiceAccount resource.

func (ClusterServiceAccountArgs) ElementType

func (ClusterServiceAccountArgs) ElementType() reflect.Type

type ClusterServiceAccountArray

type ClusterServiceAccountArray []ClusterServiceAccountInput

func (ClusterServiceAccountArray) ElementType

func (ClusterServiceAccountArray) ElementType() reflect.Type

func (ClusterServiceAccountArray) ToClusterServiceAccountArrayOutput

func (i ClusterServiceAccountArray) ToClusterServiceAccountArrayOutput() ClusterServiceAccountArrayOutput

func (ClusterServiceAccountArray) ToClusterServiceAccountArrayOutputWithContext

func (i ClusterServiceAccountArray) ToClusterServiceAccountArrayOutputWithContext(ctx context.Context) ClusterServiceAccountArrayOutput

type ClusterServiceAccountArrayInput

type ClusterServiceAccountArrayInput interface {
	pulumi.Input

	ToClusterServiceAccountArrayOutput() ClusterServiceAccountArrayOutput
	ToClusterServiceAccountArrayOutputWithContext(context.Context) ClusterServiceAccountArrayOutput
}

ClusterServiceAccountArrayInput is an input type that accepts ClusterServiceAccountArray and ClusterServiceAccountArrayOutput values. You can construct a concrete instance of `ClusterServiceAccountArrayInput` via:

ClusterServiceAccountArray{ ClusterServiceAccountArgs{...} }

type ClusterServiceAccountArrayOutput

type ClusterServiceAccountArrayOutput struct{ *pulumi.OutputState }

func (ClusterServiceAccountArrayOutput) ElementType

func (ClusterServiceAccountArrayOutput) Index

func (ClusterServiceAccountArrayOutput) ToClusterServiceAccountArrayOutput

func (o ClusterServiceAccountArrayOutput) ToClusterServiceAccountArrayOutput() ClusterServiceAccountArrayOutput

func (ClusterServiceAccountArrayOutput) ToClusterServiceAccountArrayOutputWithContext

func (o ClusterServiceAccountArrayOutput) ToClusterServiceAccountArrayOutputWithContext(ctx context.Context) ClusterServiceAccountArrayOutput

type ClusterServiceAccountInput

type ClusterServiceAccountInput interface {
	pulumi.Input

	ToClusterServiceAccountOutput() ClusterServiceAccountOutput
	ToClusterServiceAccountOutputWithContext(ctx context.Context) ClusterServiceAccountOutput
}

type ClusterServiceAccountMap

type ClusterServiceAccountMap map[string]ClusterServiceAccountInput

func (ClusterServiceAccountMap) ElementType

func (ClusterServiceAccountMap) ElementType() reflect.Type

func (ClusterServiceAccountMap) ToClusterServiceAccountMapOutput

func (i ClusterServiceAccountMap) ToClusterServiceAccountMapOutput() ClusterServiceAccountMapOutput

func (ClusterServiceAccountMap) ToClusterServiceAccountMapOutputWithContext

func (i ClusterServiceAccountMap) ToClusterServiceAccountMapOutputWithContext(ctx context.Context) ClusterServiceAccountMapOutput

type ClusterServiceAccountMapInput

type ClusterServiceAccountMapInput interface {
	pulumi.Input

	ToClusterServiceAccountMapOutput() ClusterServiceAccountMapOutput
	ToClusterServiceAccountMapOutputWithContext(context.Context) ClusterServiceAccountMapOutput
}

ClusterServiceAccountMapInput is an input type that accepts ClusterServiceAccountMap and ClusterServiceAccountMapOutput values. You can construct a concrete instance of `ClusterServiceAccountMapInput` via:

ClusterServiceAccountMap{ "key": ClusterServiceAccountArgs{...} }

type ClusterServiceAccountMapOutput

type ClusterServiceAccountMapOutput struct{ *pulumi.OutputState }

func (ClusterServiceAccountMapOutput) ElementType

func (ClusterServiceAccountMapOutput) MapIndex

func (ClusterServiceAccountMapOutput) ToClusterServiceAccountMapOutput

func (o ClusterServiceAccountMapOutput) ToClusterServiceAccountMapOutput() ClusterServiceAccountMapOutput

func (ClusterServiceAccountMapOutput) ToClusterServiceAccountMapOutputWithContext

func (o ClusterServiceAccountMapOutput) ToClusterServiceAccountMapOutputWithContext(ctx context.Context) ClusterServiceAccountMapOutput

type ClusterServiceAccountOutput

type ClusterServiceAccountOutput struct{ *pulumi.OutputState }

func (ClusterServiceAccountOutput) ClusterCaCertificate

func (o ClusterServiceAccountOutput) ClusterCaCertificate() pulumi.StringOutput

Cluster CA certificate

func (ClusterServiceAccountOutput) ClusterName

Cluster name. Changing the name forces re-creation.

func (ClusterServiceAccountOutput) ElementType

func (ClusterServiceAccountOutput) ToClusterServiceAccountOutput

func (o ClusterServiceAccountOutput) ToClusterServiceAccountOutput() ClusterServiceAccountOutput

func (ClusterServiceAccountOutput) ToClusterServiceAccountOutputWithContext

func (o ClusterServiceAccountOutput) ToClusterServiceAccountOutputWithContext(ctx context.Context) ClusterServiceAccountOutput

func (ClusterServiceAccountOutput) Token

Service account token

type ClusterServiceAccountState

type ClusterServiceAccountState struct {
	// Cluster CA certificate
	ClusterCaCertificate pulumi.StringPtrInput
	// Cluster name. Changing the name forces re-creation.
	ClusterName pulumi.StringPtrInput
	// Service account token
	Token pulumi.StringPtrInput
}

func (ClusterServiceAccountState) ElementType

func (ClusterServiceAccountState) ElementType() reflect.Type

type ClusterState

type ClusterState struct {
	CaCertificate pulumi.StringPtrInput
	Certificate   pulumi.StringPtrInput
	// Cluster API server endpoint
	Endpoint pulumi.StringPtrInput
	// When set to true it will deploy a highly available control plane with multiple replicas for redundancy.
	IsHighlyAvailable pulumi.BoolPtrInput
	// Kubernetes version, see symbiosis.host for valid values or "latest" for the most recent supported version.
	KubeVersion pulumi.StringPtrInput
	// Cluster name. Changing the name forces re-creation.
	Name       pulumi.StringPtrInput
	PrivateKey pulumi.StringPtrInput
	Region     pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type NodePool

type NodePool struct {
	pulumi.CustomResourceState

	// Name of cluster to create node pool in.
	Cluster pulumi.StringOutput `pulumi:"cluster"`
	// Node labels to be applied to the nodes
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Name of node pool
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of nodes for this specific pool, see docs.
	NodeType pulumi.StringOutput `pulumi:"nodeType"`
	// Desired number of nodes for specific pool.
	Quantity pulumi.IntOutput `pulumi:"quantity"`
	// Node taints to be applied to the nodes
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
}

Creates node pools for Kubernetes clusters in Symbiosis.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/symbiosis-cloud/pulumi-symbiosis/sdk/go/symbiosis"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleCluster, err := symbiosis.NewCluster(ctx, "exampleCluster", &symbiosis.ClusterArgs{
			Region: pulumi.String("germany-1"),
		})
		if err != nil {
			return err
		}
		_, err = symbiosis.NewNodePool(ctx, "exampleNodePool", &symbiosis.NodePoolArgs{
			Cluster:  exampleCluster.Name,
			NodeType: pulumi.String("general-1"),
			Quantity: pulumi.Int(6),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetNodePool

func GetNodePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodePoolState, opts ...pulumi.ResourceOption) (*NodePool, error)

GetNodePool gets an existing NodePool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNodePool

func NewNodePool(ctx *pulumi.Context,
	name string, args *NodePoolArgs, opts ...pulumi.ResourceOption) (*NodePool, error)

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

func (*NodePool) ElementType

func (*NodePool) ElementType() reflect.Type

func (*NodePool) ToNodePoolOutput

func (i *NodePool) ToNodePoolOutput() NodePoolOutput

func (*NodePool) ToNodePoolOutputWithContext

func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

type NodePoolArgs

type NodePoolArgs struct {
	// Name of cluster to create node pool in.
	Cluster pulumi.StringInput
	// Node labels to be applied to the nodes
	Labels pulumi.StringMapInput
	// Name of node pool
	Name pulumi.StringPtrInput
	// Type of nodes for this specific pool, see docs.
	NodeType pulumi.StringInput
	// Desired number of nodes for specific pool.
	Quantity pulumi.IntInput
	// Node taints to be applied to the nodes
	Taints NodePoolTaintArrayInput
}

The set of arguments for constructing a NodePool resource.

func (NodePoolArgs) ElementType

func (NodePoolArgs) ElementType() reflect.Type

type NodePoolArray

type NodePoolArray []NodePoolInput

func (NodePoolArray) ElementType

func (NodePoolArray) ElementType() reflect.Type

func (NodePoolArray) ToNodePoolArrayOutput

func (i NodePoolArray) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArray) ToNodePoolArrayOutputWithContext

func (i NodePoolArray) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolArrayInput

type NodePoolArrayInput interface {
	pulumi.Input

	ToNodePoolArrayOutput() NodePoolArrayOutput
	ToNodePoolArrayOutputWithContext(context.Context) NodePoolArrayOutput
}

NodePoolArrayInput is an input type that accepts NodePoolArray and NodePoolArrayOutput values. You can construct a concrete instance of `NodePoolArrayInput` via:

NodePoolArray{ NodePoolArgs{...} }

type NodePoolArrayOutput

type NodePoolArrayOutput struct{ *pulumi.OutputState }

func (NodePoolArrayOutput) ElementType

func (NodePoolArrayOutput) ElementType() reflect.Type

func (NodePoolArrayOutput) Index

func (NodePoolArrayOutput) ToNodePoolArrayOutput

func (o NodePoolArrayOutput) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArrayOutput) ToNodePoolArrayOutputWithContext

func (o NodePoolArrayOutput) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolInput

type NodePoolInput interface {
	pulumi.Input

	ToNodePoolOutput() NodePoolOutput
	ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
}

type NodePoolMap

type NodePoolMap map[string]NodePoolInput

func (NodePoolMap) ElementType

func (NodePoolMap) ElementType() reflect.Type

func (NodePoolMap) ToNodePoolMapOutput

func (i NodePoolMap) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMap) ToNodePoolMapOutputWithContext

func (i NodePoolMap) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolMapInput

type NodePoolMapInput interface {
	pulumi.Input

	ToNodePoolMapOutput() NodePoolMapOutput
	ToNodePoolMapOutputWithContext(context.Context) NodePoolMapOutput
}

NodePoolMapInput is an input type that accepts NodePoolMap and NodePoolMapOutput values. You can construct a concrete instance of `NodePoolMapInput` via:

NodePoolMap{ "key": NodePoolArgs{...} }

type NodePoolMapOutput

type NodePoolMapOutput struct{ *pulumi.OutputState }

func (NodePoolMapOutput) ElementType

func (NodePoolMapOutput) ElementType() reflect.Type

func (NodePoolMapOutput) MapIndex

func (NodePoolMapOutput) ToNodePoolMapOutput

func (o NodePoolMapOutput) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMapOutput) ToNodePoolMapOutputWithContext

func (o NodePoolMapOutput) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolOutput

type NodePoolOutput struct{ *pulumi.OutputState }

func (NodePoolOutput) Cluster

func (o NodePoolOutput) Cluster() pulumi.StringOutput

Name of cluster to create node pool in.

func (NodePoolOutput) ElementType

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) Labels

Node labels to be applied to the nodes

func (NodePoolOutput) Name

Name of node pool

func (NodePoolOutput) NodeType

func (o NodePoolOutput) NodeType() pulumi.StringOutput

Type of nodes for this specific pool, see docs.

func (NodePoolOutput) Quantity

func (o NodePoolOutput) Quantity() pulumi.IntOutput

Desired number of nodes for specific pool.

func (NodePoolOutput) Taints

Node taints to be applied to the nodes

func (NodePoolOutput) ToNodePoolOutput

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext

func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

type NodePoolState

type NodePoolState struct {
	// Name of cluster to create node pool in.
	Cluster pulumi.StringPtrInput
	// Node labels to be applied to the nodes
	Labels pulumi.StringMapInput
	// Name of node pool
	Name pulumi.StringPtrInput
	// Type of nodes for this specific pool, see docs.
	NodeType pulumi.StringPtrInput
	// Desired number of nodes for specific pool.
	Quantity pulumi.IntPtrInput
	// Node taints to be applied to the nodes
	Taints NodePoolTaintArrayInput
}

func (NodePoolState) ElementType

func (NodePoolState) ElementType() reflect.Type

type NodePoolTaint

type NodePoolTaint struct {
	// Taint effect. Can be either NoSchedule, PreferNoSchedule or NoExecute. See: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
	Effect string `pulumi:"effect"`
	Key    string `pulumi:"key"`
	Value  string `pulumi:"value"`
}

type NodePoolTaintArgs

type NodePoolTaintArgs struct {
	// Taint effect. Can be either NoSchedule, PreferNoSchedule or NoExecute. See: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
	Effect pulumi.StringInput `pulumi:"effect"`
	Key    pulumi.StringInput `pulumi:"key"`
	Value  pulumi.StringInput `pulumi:"value"`
}

func (NodePoolTaintArgs) ElementType

func (NodePoolTaintArgs) ElementType() reflect.Type

func (NodePoolTaintArgs) ToNodePoolTaintOutput

func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext

func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

type NodePoolTaintArray

type NodePoolTaintArray []NodePoolTaintInput

func (NodePoolTaintArray) ElementType

func (NodePoolTaintArray) ElementType() reflect.Type

func (NodePoolTaintArray) ToNodePoolTaintArrayOutput

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintArrayInput

type NodePoolTaintArrayInput interface {
	pulumi.Input

	ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
	ToNodePoolTaintArrayOutputWithContext(context.Context) NodePoolTaintArrayOutput
}

NodePoolTaintArrayInput is an input type that accepts NodePoolTaintArray and NodePoolTaintArrayOutput values. You can construct a concrete instance of `NodePoolTaintArrayInput` via:

NodePoolTaintArray{ NodePoolTaintArgs{...} }

type NodePoolTaintArrayOutput

type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (NodePoolTaintArrayOutput) ElementType

func (NodePoolTaintArrayOutput) ElementType() reflect.Type

func (NodePoolTaintArrayOutput) Index

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintInput

type NodePoolTaintInput interface {
	pulumi.Input

	ToNodePoolTaintOutput() NodePoolTaintOutput
	ToNodePoolTaintOutputWithContext(context.Context) NodePoolTaintOutput
}

NodePoolTaintInput is an input type that accepts NodePoolTaintArgs and NodePoolTaintOutput values. You can construct a concrete instance of `NodePoolTaintInput` via:

NodePoolTaintArgs{...}

type NodePoolTaintOutput

type NodePoolTaintOutput struct{ *pulumi.OutputState }

func (NodePoolTaintOutput) Effect

Taint effect. Can be either NoSchedule, PreferNoSchedule or NoExecute. See: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

func (NodePoolTaintOutput) ElementType

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key

func (NodePoolTaintOutput) ToNodePoolTaintOutput

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext

func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

func (NodePoolTaintOutput) Value

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The ApiKey used to authenticate requests towards Symbiosis.
	ApiKey pulumi.StringOutput `pulumi:"apiKey"`
	// Endpoint for reaching the symbiosis API. Used for debugging or when accessed through a proxy.
	Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"`
}

The provider type for the symbiosis package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The ApiKey used to authenticate requests towards Symbiosis.
	ApiKey pulumi.StringInput
	// Endpoint for reaching the symbiosis API. Used for debugging or when accessed through a proxy.
	Endpoint pulumi.StringPtrInput
}

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) ApiKey

func (o ProviderOutput) ApiKey() pulumi.StringOutput

The ApiKey used to authenticate requests towards Symbiosis.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Endpoint

func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput

Endpoint for reaching the symbiosis API. Used for debugging or when accessed through a proxy.

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type TeamMember

type TeamMember struct {
	pulumi.CustomResourceState

	// Whether the user has accepted the invitation to the team.
	AcceptedInvitation pulumi.StringOutput `pulumi:"acceptedInvitation"`
	// User email to invite. Adding an team member will send the user an invitation. Deleting a team member will either delete the invitation or the user depending on whether the user has accepted the invitation.
	Email pulumi.StringOutput `pulumi:"email"`
	// User role. Valid values include [MEMBER, ADMIN].
	Role pulumi.StringOutput `pulumi:"role"`
}

Manages team membership and invitations.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/symbiosis-cloud/pulumi-symbiosis/sdk/go/symbiosis"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := symbiosis.NewTeamMember(ctx, "example", &symbiosis.TeamMemberArgs{
			Email: pulumi.String("my-user@email.com"),
			Role:  pulumi.String("MEMBER"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetTeamMember

func GetTeamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamMemberState, opts ...pulumi.ResourceOption) (*TeamMember, error)

GetTeamMember gets an existing TeamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeamMember

func NewTeamMember(ctx *pulumi.Context,
	name string, args *TeamMemberArgs, opts ...pulumi.ResourceOption) (*TeamMember, error)

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

func (*TeamMember) ElementType

func (*TeamMember) ElementType() reflect.Type

func (*TeamMember) ToTeamMemberOutput

func (i *TeamMember) ToTeamMemberOutput() TeamMemberOutput

func (*TeamMember) ToTeamMemberOutputWithContext

func (i *TeamMember) ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput

type TeamMemberArgs

type TeamMemberArgs struct {
	// User email to invite. Adding an team member will send the user an invitation. Deleting a team member will either delete the invitation or the user depending on whether the user has accepted the invitation.
	Email pulumi.StringInput
	// User role. Valid values include [MEMBER, ADMIN].
	Role pulumi.StringInput
}

The set of arguments for constructing a TeamMember resource.

func (TeamMemberArgs) ElementType

func (TeamMemberArgs) ElementType() reflect.Type

type TeamMemberArray

type TeamMemberArray []TeamMemberInput

func (TeamMemberArray) ElementType

func (TeamMemberArray) ElementType() reflect.Type

func (TeamMemberArray) ToTeamMemberArrayOutput

func (i TeamMemberArray) ToTeamMemberArrayOutput() TeamMemberArrayOutput

func (TeamMemberArray) ToTeamMemberArrayOutputWithContext

func (i TeamMemberArray) ToTeamMemberArrayOutputWithContext(ctx context.Context) TeamMemberArrayOutput

type TeamMemberArrayInput

type TeamMemberArrayInput interface {
	pulumi.Input

	ToTeamMemberArrayOutput() TeamMemberArrayOutput
	ToTeamMemberArrayOutputWithContext(context.Context) TeamMemberArrayOutput
}

TeamMemberArrayInput is an input type that accepts TeamMemberArray and TeamMemberArrayOutput values. You can construct a concrete instance of `TeamMemberArrayInput` via:

TeamMemberArray{ TeamMemberArgs{...} }

type TeamMemberArrayOutput

type TeamMemberArrayOutput struct{ *pulumi.OutputState }

func (TeamMemberArrayOutput) ElementType

func (TeamMemberArrayOutput) ElementType() reflect.Type

func (TeamMemberArrayOutput) Index

func (TeamMemberArrayOutput) ToTeamMemberArrayOutput

func (o TeamMemberArrayOutput) ToTeamMemberArrayOutput() TeamMemberArrayOutput

func (TeamMemberArrayOutput) ToTeamMemberArrayOutputWithContext

func (o TeamMemberArrayOutput) ToTeamMemberArrayOutputWithContext(ctx context.Context) TeamMemberArrayOutput

type TeamMemberInput

type TeamMemberInput interface {
	pulumi.Input

	ToTeamMemberOutput() TeamMemberOutput
	ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput
}

type TeamMemberMap

type TeamMemberMap map[string]TeamMemberInput

func (TeamMemberMap) ElementType

func (TeamMemberMap) ElementType() reflect.Type

func (TeamMemberMap) ToTeamMemberMapOutput

func (i TeamMemberMap) ToTeamMemberMapOutput() TeamMemberMapOutput

func (TeamMemberMap) ToTeamMemberMapOutputWithContext

func (i TeamMemberMap) ToTeamMemberMapOutputWithContext(ctx context.Context) TeamMemberMapOutput

type TeamMemberMapInput

type TeamMemberMapInput interface {
	pulumi.Input

	ToTeamMemberMapOutput() TeamMemberMapOutput
	ToTeamMemberMapOutputWithContext(context.Context) TeamMemberMapOutput
}

TeamMemberMapInput is an input type that accepts TeamMemberMap and TeamMemberMapOutput values. You can construct a concrete instance of `TeamMemberMapInput` via:

TeamMemberMap{ "key": TeamMemberArgs{...} }

type TeamMemberMapOutput

type TeamMemberMapOutput struct{ *pulumi.OutputState }

func (TeamMemberMapOutput) ElementType

func (TeamMemberMapOutput) ElementType() reflect.Type

func (TeamMemberMapOutput) MapIndex

func (TeamMemberMapOutput) ToTeamMemberMapOutput

func (o TeamMemberMapOutput) ToTeamMemberMapOutput() TeamMemberMapOutput

func (TeamMemberMapOutput) ToTeamMemberMapOutputWithContext

func (o TeamMemberMapOutput) ToTeamMemberMapOutputWithContext(ctx context.Context) TeamMemberMapOutput

type TeamMemberOutput

type TeamMemberOutput struct{ *pulumi.OutputState }

func (TeamMemberOutput) AcceptedInvitation

func (o TeamMemberOutput) AcceptedInvitation() pulumi.StringOutput

Whether the user has accepted the invitation to the team.

func (TeamMemberOutput) ElementType

func (TeamMemberOutput) ElementType() reflect.Type

func (TeamMemberOutput) Email

User email to invite. Adding an team member will send the user an invitation. Deleting a team member will either delete the invitation or the user depending on whether the user has accepted the invitation.

func (TeamMemberOutput) Role

User role. Valid values include [MEMBER, ADMIN].

func (TeamMemberOutput) ToTeamMemberOutput

func (o TeamMemberOutput) ToTeamMemberOutput() TeamMemberOutput

func (TeamMemberOutput) ToTeamMemberOutputWithContext

func (o TeamMemberOutput) ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput

type TeamMemberState

type TeamMemberState struct {
	// Whether the user has accepted the invitation to the team.
	AcceptedInvitation pulumi.StringPtrInput
	// User email to invite. Adding an team member will send the user an invitation. Deleting a team member will either delete the invitation or the user depending on whether the user has accepted the invitation.
	Email pulumi.StringPtrInput
	// User role. Valid values include [MEMBER, ADMIN].
	Role pulumi.StringPtrInput
}

func (TeamMemberState) ElementType

func (TeamMemberState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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