gkehub

package
v5.5.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Membership

type Membership struct {
	pulumi.CustomResourceState

	// Authority encodes how Google will recognize identities from this Membership.
	// See the workload identity documentation for more details:
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	// Structure is documented below.
	Authority MembershipAuthorityPtrOutput `pulumi:"authority"`
	// The name of this entity type to be displayed on the console.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	Endpoint MembershipEndpointPtrOutput `pulumi:"endpoint"`
	// Labels to apply to this membership.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The client-provided identifier of the membership.
	MembershipId pulumi.StringOutput `pulumi:"membershipId"`
	// The unique identifier of the membership.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

## Import

Membership can be imported using any of these accepted formats

```sh

$ pulumi import gcp:gkehub/membership:Membership default {{name}}

```

func GetMembership

func GetMembership(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MembershipState, opts ...pulumi.ResourceOption) (*Membership, error)

GetMembership gets an existing Membership 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 NewMembership

func NewMembership(ctx *pulumi.Context,
	name string, args *MembershipArgs, opts ...pulumi.ResourceOption) (*Membership, error)

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

func (*Membership) ElementType

func (*Membership) ElementType() reflect.Type

func (*Membership) ToMembershipOutput

func (i *Membership) ToMembershipOutput() MembershipOutput

func (*Membership) ToMembershipOutputWithContext

func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput

func (*Membership) ToMembershipPtrOutput

func (i *Membership) ToMembershipPtrOutput() MembershipPtrOutput

func (*Membership) ToMembershipPtrOutputWithContext

func (i *Membership) ToMembershipPtrOutputWithContext(ctx context.Context) MembershipPtrOutput

type MembershipArgs

type MembershipArgs struct {
	// Authority encodes how Google will recognize identities from this Membership.
	// See the workload identity documentation for more details:
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	// Structure is documented below.
	Authority MembershipAuthorityPtrInput
	// The name of this entity type to be displayed on the console.
	Description pulumi.StringPtrInput
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	Endpoint MembershipEndpointPtrInput
	// Labels to apply to this membership.
	Labels pulumi.StringMapInput
	// The client-provided identifier of the membership.
	MembershipId pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Membership resource.

func (MembershipArgs) ElementType

func (MembershipArgs) ElementType() reflect.Type

type MembershipArray

type MembershipArray []MembershipInput

func (MembershipArray) ElementType

func (MembershipArray) ElementType() reflect.Type

func (MembershipArray) ToMembershipArrayOutput

func (i MembershipArray) ToMembershipArrayOutput() MembershipArrayOutput

func (MembershipArray) ToMembershipArrayOutputWithContext

func (i MembershipArray) ToMembershipArrayOutputWithContext(ctx context.Context) MembershipArrayOutput

type MembershipArrayInput

type MembershipArrayInput interface {
	pulumi.Input

	ToMembershipArrayOutput() MembershipArrayOutput
	ToMembershipArrayOutputWithContext(context.Context) MembershipArrayOutput
}

MembershipArrayInput is an input type that accepts MembershipArray and MembershipArrayOutput values. You can construct a concrete instance of `MembershipArrayInput` via:

MembershipArray{ MembershipArgs{...} }

type MembershipArrayOutput

type MembershipArrayOutput struct{ *pulumi.OutputState }

func (MembershipArrayOutput) ElementType

func (MembershipArrayOutput) ElementType() reflect.Type

func (MembershipArrayOutput) Index

func (MembershipArrayOutput) ToMembershipArrayOutput

func (o MembershipArrayOutput) ToMembershipArrayOutput() MembershipArrayOutput

func (MembershipArrayOutput) ToMembershipArrayOutputWithContext

func (o MembershipArrayOutput) ToMembershipArrayOutputWithContext(ctx context.Context) MembershipArrayOutput

type MembershipAuthority

type MembershipAuthority struct {
	// A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and // be a valid
	// with length <2000 characters.
	Issuer string `pulumi:"issuer"`
}

type MembershipAuthorityArgs

type MembershipAuthorityArgs struct {
	// A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and // be a valid
	// with length <2000 characters.
	Issuer pulumi.StringInput `pulumi:"issuer"`
}

func (MembershipAuthorityArgs) ElementType

func (MembershipAuthorityArgs) ElementType() reflect.Type

func (MembershipAuthorityArgs) ToMembershipAuthorityOutput

func (i MembershipAuthorityArgs) ToMembershipAuthorityOutput() MembershipAuthorityOutput

func (MembershipAuthorityArgs) ToMembershipAuthorityOutputWithContext

func (i MembershipAuthorityArgs) ToMembershipAuthorityOutputWithContext(ctx context.Context) MembershipAuthorityOutput

func (MembershipAuthorityArgs) ToMembershipAuthorityPtrOutput

func (i MembershipAuthorityArgs) ToMembershipAuthorityPtrOutput() MembershipAuthorityPtrOutput

func (MembershipAuthorityArgs) ToMembershipAuthorityPtrOutputWithContext

func (i MembershipAuthorityArgs) ToMembershipAuthorityPtrOutputWithContext(ctx context.Context) MembershipAuthorityPtrOutput

type MembershipAuthorityInput

type MembershipAuthorityInput interface {
	pulumi.Input

	ToMembershipAuthorityOutput() MembershipAuthorityOutput
	ToMembershipAuthorityOutputWithContext(context.Context) MembershipAuthorityOutput
}

MembershipAuthorityInput is an input type that accepts MembershipAuthorityArgs and MembershipAuthorityOutput values. You can construct a concrete instance of `MembershipAuthorityInput` via:

MembershipAuthorityArgs{...}

type MembershipAuthorityOutput

type MembershipAuthorityOutput struct{ *pulumi.OutputState }

func (MembershipAuthorityOutput) ElementType

func (MembershipAuthorityOutput) ElementType() reflect.Type

func (MembershipAuthorityOutput) Issuer

A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and // be a valid with length <2000 characters.

func (MembershipAuthorityOutput) ToMembershipAuthorityOutput

func (o MembershipAuthorityOutput) ToMembershipAuthorityOutput() MembershipAuthorityOutput

func (MembershipAuthorityOutput) ToMembershipAuthorityOutputWithContext

func (o MembershipAuthorityOutput) ToMembershipAuthorityOutputWithContext(ctx context.Context) MembershipAuthorityOutput

func (MembershipAuthorityOutput) ToMembershipAuthorityPtrOutput

func (o MembershipAuthorityOutput) ToMembershipAuthorityPtrOutput() MembershipAuthorityPtrOutput

func (MembershipAuthorityOutput) ToMembershipAuthorityPtrOutputWithContext

func (o MembershipAuthorityOutput) ToMembershipAuthorityPtrOutputWithContext(ctx context.Context) MembershipAuthorityPtrOutput

type MembershipAuthorityPtrInput

type MembershipAuthorityPtrInput interface {
	pulumi.Input

	ToMembershipAuthorityPtrOutput() MembershipAuthorityPtrOutput
	ToMembershipAuthorityPtrOutputWithContext(context.Context) MembershipAuthorityPtrOutput
}

MembershipAuthorityPtrInput is an input type that accepts MembershipAuthorityArgs, MembershipAuthorityPtr and MembershipAuthorityPtrOutput values. You can construct a concrete instance of `MembershipAuthorityPtrInput` via:

        MembershipAuthorityArgs{...}

or:

        nil

type MembershipAuthorityPtrOutput

type MembershipAuthorityPtrOutput struct{ *pulumi.OutputState }

func (MembershipAuthorityPtrOutput) Elem

func (MembershipAuthorityPtrOutput) ElementType

func (MembershipAuthorityPtrOutput) Issuer

A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and // be a valid with length <2000 characters.

func (MembershipAuthorityPtrOutput) ToMembershipAuthorityPtrOutput

func (o MembershipAuthorityPtrOutput) ToMembershipAuthorityPtrOutput() MembershipAuthorityPtrOutput

func (MembershipAuthorityPtrOutput) ToMembershipAuthorityPtrOutputWithContext

func (o MembershipAuthorityPtrOutput) ToMembershipAuthorityPtrOutputWithContext(ctx context.Context) MembershipAuthorityPtrOutput

type MembershipEndpoint

type MembershipEndpoint struct {
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	GkeCluster *MembershipEndpointGkeCluster `pulumi:"gkeCluster"`
}

type MembershipEndpointArgs

type MembershipEndpointArgs struct {
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	GkeCluster MembershipEndpointGkeClusterPtrInput `pulumi:"gkeCluster"`
}

func (MembershipEndpointArgs) ElementType

func (MembershipEndpointArgs) ElementType() reflect.Type

func (MembershipEndpointArgs) ToMembershipEndpointOutput

func (i MembershipEndpointArgs) ToMembershipEndpointOutput() MembershipEndpointOutput

func (MembershipEndpointArgs) ToMembershipEndpointOutputWithContext

func (i MembershipEndpointArgs) ToMembershipEndpointOutputWithContext(ctx context.Context) MembershipEndpointOutput

func (MembershipEndpointArgs) ToMembershipEndpointPtrOutput

func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput

func (MembershipEndpointArgs) ToMembershipEndpointPtrOutputWithContext

func (i MembershipEndpointArgs) ToMembershipEndpointPtrOutputWithContext(ctx context.Context) MembershipEndpointPtrOutput

type MembershipEndpointGkeCluster

type MembershipEndpointGkeCluster struct {
	ResourceLink string `pulumi:"resourceLink"`
}

type MembershipEndpointGkeClusterArgs

type MembershipEndpointGkeClusterArgs struct {
	ResourceLink pulumi.StringInput `pulumi:"resourceLink"`
}

func (MembershipEndpointGkeClusterArgs) ElementType

func (MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterOutput

func (i MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterOutput() MembershipEndpointGkeClusterOutput

func (MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterOutputWithContext

func (i MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterOutputWithContext(ctx context.Context) MembershipEndpointGkeClusterOutput

func (MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterPtrOutput

func (i MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterPtrOutput() MembershipEndpointGkeClusterPtrOutput

func (MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterPtrOutputWithContext

func (i MembershipEndpointGkeClusterArgs) ToMembershipEndpointGkeClusterPtrOutputWithContext(ctx context.Context) MembershipEndpointGkeClusterPtrOutput

type MembershipEndpointGkeClusterInput

type MembershipEndpointGkeClusterInput interface {
	pulumi.Input

	ToMembershipEndpointGkeClusterOutput() MembershipEndpointGkeClusterOutput
	ToMembershipEndpointGkeClusterOutputWithContext(context.Context) MembershipEndpointGkeClusterOutput
}

MembershipEndpointGkeClusterInput is an input type that accepts MembershipEndpointGkeClusterArgs and MembershipEndpointGkeClusterOutput values. You can construct a concrete instance of `MembershipEndpointGkeClusterInput` via:

MembershipEndpointGkeClusterArgs{...}

type MembershipEndpointGkeClusterOutput

type MembershipEndpointGkeClusterOutput struct{ *pulumi.OutputState }

func (MembershipEndpointGkeClusterOutput) ElementType

func (MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterOutput

func (o MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterOutput() MembershipEndpointGkeClusterOutput

func (MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterOutputWithContext

func (o MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterOutputWithContext(ctx context.Context) MembershipEndpointGkeClusterOutput

func (MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterPtrOutput

func (o MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterPtrOutput() MembershipEndpointGkeClusterPtrOutput

func (MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterPtrOutputWithContext

func (o MembershipEndpointGkeClusterOutput) ToMembershipEndpointGkeClusterPtrOutputWithContext(ctx context.Context) MembershipEndpointGkeClusterPtrOutput

type MembershipEndpointGkeClusterPtrInput

type MembershipEndpointGkeClusterPtrInput interface {
	pulumi.Input

	ToMembershipEndpointGkeClusterPtrOutput() MembershipEndpointGkeClusterPtrOutput
	ToMembershipEndpointGkeClusterPtrOutputWithContext(context.Context) MembershipEndpointGkeClusterPtrOutput
}

MembershipEndpointGkeClusterPtrInput is an input type that accepts MembershipEndpointGkeClusterArgs, MembershipEndpointGkeClusterPtr and MembershipEndpointGkeClusterPtrOutput values. You can construct a concrete instance of `MembershipEndpointGkeClusterPtrInput` via:

        MembershipEndpointGkeClusterArgs{...}

or:

        nil

type MembershipEndpointGkeClusterPtrOutput

type MembershipEndpointGkeClusterPtrOutput struct{ *pulumi.OutputState }

func (MembershipEndpointGkeClusterPtrOutput) Elem

func (MembershipEndpointGkeClusterPtrOutput) ElementType

func (MembershipEndpointGkeClusterPtrOutput) ToMembershipEndpointGkeClusterPtrOutput

func (o MembershipEndpointGkeClusterPtrOutput) ToMembershipEndpointGkeClusterPtrOutput() MembershipEndpointGkeClusterPtrOutput

func (MembershipEndpointGkeClusterPtrOutput) ToMembershipEndpointGkeClusterPtrOutputWithContext

func (o MembershipEndpointGkeClusterPtrOutput) ToMembershipEndpointGkeClusterPtrOutputWithContext(ctx context.Context) MembershipEndpointGkeClusterPtrOutput

type MembershipEndpointInput

type MembershipEndpointInput interface {
	pulumi.Input

	ToMembershipEndpointOutput() MembershipEndpointOutput
	ToMembershipEndpointOutputWithContext(context.Context) MembershipEndpointOutput
}

MembershipEndpointInput is an input type that accepts MembershipEndpointArgs and MembershipEndpointOutput values. You can construct a concrete instance of `MembershipEndpointInput` via:

MembershipEndpointArgs{...}

type MembershipEndpointOutput

type MembershipEndpointOutput struct{ *pulumi.OutputState }

func (MembershipEndpointOutput) ElementType

func (MembershipEndpointOutput) ElementType() reflect.Type

func (MembershipEndpointOutput) GkeCluster

If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource. Structure is documented below.

func (MembershipEndpointOutput) ToMembershipEndpointOutput

func (o MembershipEndpointOutput) ToMembershipEndpointOutput() MembershipEndpointOutput

func (MembershipEndpointOutput) ToMembershipEndpointOutputWithContext

func (o MembershipEndpointOutput) ToMembershipEndpointOutputWithContext(ctx context.Context) MembershipEndpointOutput

func (MembershipEndpointOutput) ToMembershipEndpointPtrOutput

func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput

func (MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext

func (o MembershipEndpointOutput) ToMembershipEndpointPtrOutputWithContext(ctx context.Context) MembershipEndpointPtrOutput

type MembershipEndpointPtrInput

type MembershipEndpointPtrInput interface {
	pulumi.Input

	ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput
	ToMembershipEndpointPtrOutputWithContext(context.Context) MembershipEndpointPtrOutput
}

MembershipEndpointPtrInput is an input type that accepts MembershipEndpointArgs, MembershipEndpointPtr and MembershipEndpointPtrOutput values. You can construct a concrete instance of `MembershipEndpointPtrInput` via:

        MembershipEndpointArgs{...}

or:

        nil

type MembershipEndpointPtrOutput

type MembershipEndpointPtrOutput struct{ *pulumi.OutputState }

func (MembershipEndpointPtrOutput) Elem

func (MembershipEndpointPtrOutput) ElementType

func (MembershipEndpointPtrOutput) GkeCluster

If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource. Structure is documented below.

func (MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutput

func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutput() MembershipEndpointPtrOutput

func (MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext

func (o MembershipEndpointPtrOutput) ToMembershipEndpointPtrOutputWithContext(ctx context.Context) MembershipEndpointPtrOutput

type MembershipInput

type MembershipInput interface {
	pulumi.Input

	ToMembershipOutput() MembershipOutput
	ToMembershipOutputWithContext(ctx context.Context) MembershipOutput
}

type MembershipMap

type MembershipMap map[string]MembershipInput

func (MembershipMap) ElementType

func (MembershipMap) ElementType() reflect.Type

func (MembershipMap) ToMembershipMapOutput

func (i MembershipMap) ToMembershipMapOutput() MembershipMapOutput

func (MembershipMap) ToMembershipMapOutputWithContext

func (i MembershipMap) ToMembershipMapOutputWithContext(ctx context.Context) MembershipMapOutput

type MembershipMapInput

type MembershipMapInput interface {
	pulumi.Input

	ToMembershipMapOutput() MembershipMapOutput
	ToMembershipMapOutputWithContext(context.Context) MembershipMapOutput
}

MembershipMapInput is an input type that accepts MembershipMap and MembershipMapOutput values. You can construct a concrete instance of `MembershipMapInput` via:

MembershipMap{ "key": MembershipArgs{...} }

type MembershipMapOutput

type MembershipMapOutput struct{ *pulumi.OutputState }

func (MembershipMapOutput) ElementType

func (MembershipMapOutput) ElementType() reflect.Type

func (MembershipMapOutput) MapIndex

func (MembershipMapOutput) ToMembershipMapOutput

func (o MembershipMapOutput) ToMembershipMapOutput() MembershipMapOutput

func (MembershipMapOutput) ToMembershipMapOutputWithContext

func (o MembershipMapOutput) ToMembershipMapOutputWithContext(ctx context.Context) MembershipMapOutput

type MembershipOutput

type MembershipOutput struct {
	*pulumi.OutputState
}

func (MembershipOutput) ElementType

func (MembershipOutput) ElementType() reflect.Type

func (MembershipOutput) ToMembershipOutput

func (o MembershipOutput) ToMembershipOutput() MembershipOutput

func (MembershipOutput) ToMembershipOutputWithContext

func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput

func (MembershipOutput) ToMembershipPtrOutput

func (o MembershipOutput) ToMembershipPtrOutput() MembershipPtrOutput

func (MembershipOutput) ToMembershipPtrOutputWithContext

func (o MembershipOutput) ToMembershipPtrOutputWithContext(ctx context.Context) MembershipPtrOutput

type MembershipPtrInput

type MembershipPtrInput interface {
	pulumi.Input

	ToMembershipPtrOutput() MembershipPtrOutput
	ToMembershipPtrOutputWithContext(ctx context.Context) MembershipPtrOutput
}

type MembershipPtrOutput

type MembershipPtrOutput struct {
	*pulumi.OutputState
}

func (MembershipPtrOutput) ElementType

func (MembershipPtrOutput) ElementType() reflect.Type

func (MembershipPtrOutput) ToMembershipPtrOutput

func (o MembershipPtrOutput) ToMembershipPtrOutput() MembershipPtrOutput

func (MembershipPtrOutput) ToMembershipPtrOutputWithContext

func (o MembershipPtrOutput) ToMembershipPtrOutputWithContext(ctx context.Context) MembershipPtrOutput

type MembershipState

type MembershipState struct {
	// Authority encodes how Google will recognize identities from this Membership.
	// See the workload identity documentation for more details:
	// https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
	// Structure is documented below.
	Authority MembershipAuthorityPtrInput
	// The name of this entity type to be displayed on the console.
	Description pulumi.StringPtrInput
	// If this Membership is a Kubernetes API server hosted on GKE, this is a self link to its GCP resource.
	// Structure is documented below.
	Endpoint MembershipEndpointPtrInput
	// Labels to apply to this membership.
	Labels pulumi.StringMapInput
	// The client-provided identifier of the membership.
	MembershipId pulumi.StringPtrInput
	// The unique identifier of the membership.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (MembershipState) ElementType

func (MembershipState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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