Versions in this module Expand all Collapse all v0 v0.3.61 Jan 17, 2024 Changes in this version + var ErrConfigDataMissing = errors.New("config data not found") + func New(getApplication application.GetterFunc) *application.Provisioner + type Client struct + func NewClient(client kubernetes.Interface) *Client + func (c *Client) ClientConfig(ctx context.Context, namespace string, external bool) (*clientcmdapi.Config, error) + func (c *Client) GetSecret(ctx context.Context, namespace, name string) (*corev1.Secret, error) + func (c *Client) Kubeconfig(ctx context.Context, namespace string, external bool) (string, error) + func (c *Client) RESTConfig(ctx context.Context, namespace string, external bool) (*rest.Config, error) + type ConfigGetter interface + GetSecret func(ctx context.Context, namespace, name string) (*corev1.Secret, error) + type ControllerRuntimeClient struct + func NewControllerRuntimeClient() *ControllerRuntimeClient + func (c *ControllerRuntimeClient) Client(ctx context.Context, namespace string, external bool) (client.Client, error) + func (c *ControllerRuntimeClient) ClientConfig(ctx context.Context, namespace string, external bool) (*clientcmdapi.Config, error) + func (c *ControllerRuntimeClient) GetSecret(ctx context.Context, namespace, name string) (*corev1.Secret, error) + func (c *ControllerRuntimeClient) Kubeconfig(ctx context.Context, namespace string, external bool) (string, error) + func (c *ControllerRuntimeClient) RESTConfig(ctx context.Context, namespace string, external bool) (*rest.Config, error) + type RemoteCluster struct + func NewRemoteCluster(namespace string, labeller coreunikornv1.ResourceLabeller) *RemoteCluster + func (g *RemoteCluster) Config(ctx context.Context) (*clientcmdapi.Config, error) + func (g *RemoteCluster) ID() *cd.ResourceIdentifier + type VCluster interface + ClientConfig func(ctx context.Context, namespace string, external bool) (*clientcmdapi.Config, error) + Kubeconfig func(ctx context.Context, namespace string, external bool) (string, error) + RESTConfig func(ctx context.Context, namespace string, external bool) (*rest.Config, error)