Documentation ¶
Index ¶
- type Client
- func (c *Client) ConfigMapsClient(namespace string) typedv1.ConfigMapInterface
- func (c *Client) PodsClient(namespace string) typedv1.PodInterface
- func (c *Client) RunsClient(namespace string) etoktyped.RunInterface
- func (c *Client) SecretsClient(namespace string) typedv1.SecretInterface
- func (c *Client) ServiceAccountsClient(namespace string) typedv1.ServiceAccountInterface
- func (c *Client) WorkspacesClient(namespace string) etoktyped.WorkspaceInterface
- type ClientCreator
- type FakeClientCreator
- type RuntimeClient
- type RuntimeClientCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Client config Config *rest.Config // Kubernetes built-in client KubeClient kubernetes.Interface // etok generated client EtokClient etokclient.Interface // Controller-runtime client RuntimeClient runtimeclient.Client }
Client is a collection of kubernetes clients along with some convenience methods.
func (*Client) ConfigMapsClient ¶
func (c *Client) ConfigMapsClient(namespace string) typedv1.ConfigMapInterface
func (*Client) PodsClient ¶
func (c *Client) PodsClient(namespace string) typedv1.PodInterface
func (*Client) RunsClient ¶
func (c *Client) RunsClient(namespace string) etoktyped.RunInterface
func (*Client) SecretsClient ¶
func (c *Client) SecretsClient(namespace string) typedv1.SecretInterface
func (*Client) ServiceAccountsClient ¶
func (c *Client) ServiceAccountsClient(namespace string) typedv1.ServiceAccountInterface
func (*Client) WorkspacesClient ¶
func (c *Client) WorkspacesClient(namespace string) etoktyped.WorkspaceInterface
type ClientCreator ¶
ClientCreator impls are objs for deferred creation of kubernetes clients
func NewClientCreator ¶
func NewClientCreator() ClientCreator
func NewFakeClientCreator ¶
func NewFakeClientCreator(objs ...runtime.Object) ClientCreator
type FakeClientCreator ¶
type FakeClientCreator struct {
// contains filtered or unexported fields
}
Implements ClientCreator
func (*FakeClientCreator) Create ¶
func (f *FakeClientCreator) Create(kubeCtx string) (*Client, error)
func (*FakeClientCreator) PrependReactor ¶
func (f *FakeClientCreator) PrependReactor(verb, resource string, reaction testing.ReactionFunc)
Add a reactor to the list of reactors to be prepended.
type RuntimeClient ¶ added in v0.0.6
type RuntimeClient struct { // K8s client config Config *rest.Config // Controller-runtime client runtimeclient.Client }
RuntimeClient is a collection of kubernetes clients along with some convenience methods.
type RuntimeClientCreator ¶ added in v0.0.6
RuntimeClientCreator impls are objs for deferred creation of kubernetes clients
func NewRuntimeClientCreator ¶ added in v0.0.6
func NewRuntimeClientCreator() RuntimeClientCreator
Click to show internal directories.
Click to hide internal directories.