membership

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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubernetesIssuer = "https://kubernetes.default.svc.cluster.local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(client *gkehub.GkeHubMembershipClient) *Client

func (*Client) Register

func (c *Client) Register(ctx context.Context, cluster *capg.GCPCluster, oidcJwks []byte) (types.MembershipData, error)

func (*Client) Unregister

func (c *Client) Unregister(ctx context.Context, cluster *capg.GCPCluster) error

Jump to

Keyboard shortcuts

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