k8s

package
v0.195.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 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 Client

type Client interface {
	CreateSecret(ctx context.Context, name, namespace string, data map[string][]byte) error
	CreateConfigMap(ctx context.Context, name, namespace string, data map[string][]byte) error
}

Client is a client to mange worker Kubernetes resources.

type ClientFactory

type ClientFactory interface {
	NewClient(env auth.AssignedKubernetesEnv, token string) (Client, error)
}

ClientFactory is a factory to create a Client.

func NewClientFactory

func NewClientFactory(endpoint string) ClientFactory

NewClientFactory creates a new ClientFactory.

Jump to

Keyboard shortcuts

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