workload

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretKeyGoogleApplicationCredentials = "config"
	MembershipSecretName                  = "fleet-membership-operator-gcp-membership"
	DefaultMembershipDataNamespace        = "giantswarm"
)
View Source
const KeyWorkloadClusterConfig = "value"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func NewCluster

func NewCluster(config *rest.Config) (*Cluster, error)

func (*Cluster) GetOIDCJWKS

func (c *Cluster) GetOIDCJWKS() ([]byte, error)

func (*Cluster) SaveMembershipData

func (c *Cluster) SaveMembershipData(ctx context.Context, namespace string, membership types.MembershipData) error

type ClusterConfigs

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

func NewClusterConfigs

func NewClusterConfigs(client client.Client) *ClusterConfigs

func (*ClusterConfigs) Get

func (c *ClusterConfigs) Get(ctx context.Context, cluster *capg.GCPCluster) (*rest.Config, error)

Jump to

Keyboard shortcuts

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