Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CancelJob(ctx context.Context, job *v1.Job, namespace string) error 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.
Click to show internal directories.
Click to hide internal directories.