membership

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Membership

type Membership struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MembershipSpec `json:"spec,omitempty"`
}

Membership is the object created by hub when a cluster is registered to hub.

func Get

func Get(ctx context.Context, client dynamic.Interface) (*Membership, error)

Get gets and returns the Membership named "membership" from the cluster.

type MembershipOwner

type MembershipOwner struct {
	ID string `json:"id,omitempty"`
}

type MembershipSpec

type MembershipSpec struct {
	Owner                MembershipOwner `json:"owner,omitempty"`
	WorkloadIdentityPool string          `json:"workload_identity_pool,omitempty"`
	IdentityProvider     string          `json:"identity_provider,omitempty"`
}

Jump to

Keyboard shortcuts

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