Documentation
¶
Overview ¶
Package k8s is a generated GoMock package.
Index ¶
- Constants
- Variables
- type Client
- func (k *Client) CheckConnection() bool
- func (k *Client) CreateConfigMapWatcher(ctx context.Context) (watch.Interface, error)
- func (k *Client) CreateKDLProjectCR(ctx context.Context, projectID string) error
- func (k *Client) CreateKDLUserToolsCR(ctx context.Context, username string, data UserToolsData) error
- func (k *Client) CreateSecret(ctx context.Context, name string, values, labels map[string]string) error
- func (k *Client) CreateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
- func (k *Client) CreateUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
- func (k *Client) DeleteKDLProjectCR(ctx context.Context, projectID string) error
- func (k *Client) DeleteUserServiceAccount(ctx context.Context, usernameSlug string) error
- func (k *Client) DeleteUserToolsCR(ctx context.Context, username string) error
- func (k Client) GetCapabilitiesIDFromUserTools(ctx context.Context, username string) (string, error)
- func (k *Client) GetConfigMap(ctx context.Context, name string) (*v1.ConfigMap, error)
- func (k *Client) GetConfigMapTemplateNameKDLProject() string
- func (k *Client) GetConfigMapTemplateNameKDLUserTools() string
- func (k *Client) GetKDLProjectCR(ctx context.Context, name string) (*unstructured.Unstructured, error)
- func (k *Client) GetKDLUserToolsCR(ctx context.Context, resourceName string) (*unstructured.Unstructured, error)
- func (k Client) GetRuntimeIDFromUserTools(ctx context.Context, username string) (string, error)
- func (k *Client) GetSecret(ctx context.Context, name string) (map[string][]byte, error)
- func (k *Client) GetUserKubeconfig(ctx context.Context, usernameSlug string) ([]byte, error)
- func (k *Client) GetUserSSHKeyPublic(ctx context.Context, usernameSlug string) ([]byte, error)
- func (k *Client) GetUserSSHKeySecret(ctx context.Context, usernameSlug string) ([]byte, error)
- func (k *Client) GetUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
- func (k Client) GetUserToolsPodStatus(ctx context.Context, username string) (entity.PodStatus, error)
- func (k Client) IsUserToolPODRunning(ctx context.Context, username string) (bool, error)
- func (k *Client) ListKDLProjectsNameCR(ctx context.Context) ([]string, error)
- func (k *Client) ListKDLUserToolsCR(ctx context.Context) ([]unstructured.Unstructured, error)
- func (k *Client) UpdateKDLProjectsCR(ctx context.Context, projectID string, crd *map[string]interface{}) error
- func (k *Client) UpdateKDLUserToolsCR(ctx context.Context, resourceName string, data UserToolsData, ...) error
- func (k *Client) UpdateSecret(ctx context.Context, name string, values, labels map[string]string) error
- func (k *Client) UpdateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
- type ClientInterface
- type MockClientInterface
- func (m *MockClientInterface) CheckConnection() bool
- func (m *MockClientInterface) CreateConfigMapWatcher(ctx context.Context) (watch.Interface, error)
- func (m *MockClientInterface) CreateKDLProjectCR(ctx context.Context, projectID string) error
- func (m *MockClientInterface) CreateKDLUserToolsCR(ctx context.Context, username string, data UserToolsData) error
- func (m *MockClientInterface) CreateSecret(ctx context.Context, name string, values, labels map[string]string) error
- func (m *MockClientInterface) CreateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
- func (m *MockClientInterface) CreateUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
- func (m *MockClientInterface) DeleteKDLProjectCR(ctx context.Context, projectID string) error
- func (m *MockClientInterface) DeleteUserServiceAccount(ctx context.Context, usernameSlug string) error
- func (m *MockClientInterface) DeleteUserToolsCR(ctx context.Context, username string) error
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetCapabilitiesIDFromUserTools(ctx context.Context, username string) (string, error)
- func (m *MockClientInterface) GetConfigMap(ctx context.Context, name string) (*v1.ConfigMap, error)
- func (m *MockClientInterface) GetConfigMapTemplateNameKDLProject() string
- func (m *MockClientInterface) GetConfigMapTemplateNameKDLUserTools() string
- func (m *MockClientInterface) GetKDLProjectCR(ctx context.Context, name string) (*unstructured.Unstructured, error)
- func (m *MockClientInterface) GetKDLUserToolsCR(ctx context.Context, username string) (*unstructured.Unstructured, error)
- func (m *MockClientInterface) GetRuntimeIDFromUserTools(ctx context.Context, username string) (string, error)
- func (m *MockClientInterface) GetSecret(ctx context.Context, name string) (map[string][]byte, error)
- func (m *MockClientInterface) GetUserKubeconfig(ctx context.Context, usernameSlug string) ([]byte, error)
- func (m *MockClientInterface) GetUserSSHKeyPublic(ctx context.Context, usernameSlug string) ([]byte, error)
- func (m *MockClientInterface) GetUserSSHKeySecret(ctx context.Context, usernameSlug string) ([]byte, error)
- func (m *MockClientInterface) GetUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
- func (m *MockClientInterface) GetUserToolsPodStatus(ctx context.Context, username string) (entity.PodStatus, error)
- func (m *MockClientInterface) IsUserToolPODRunning(ctx context.Context, username string) (bool, error)
- func (m *MockClientInterface) ListKDLProjectsNameCR(ctx context.Context) ([]string, error)
- func (m *MockClientInterface) ListKDLUserToolsCR(ctx context.Context) ([]unstructured.Unstructured, error)
- func (m *MockClientInterface) UpdateKDLProjectsCR(ctx context.Context, projectID string, crd *map[string]interface{}) error
- func (m *MockClientInterface) UpdateKDLUserToolsCR(ctx context.Context, resourceName string, data UserToolsData, ...) error
- func (m *MockClientInterface) UpdateSecret(ctx context.Context, name string, values, labels map[string]string) error
- func (m *MockClientInterface) UpdateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) CheckConnection() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateConfigMapWatcher(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateKDLProjectCR(ctx, projectID interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateKDLUserToolsCR(ctx, username, data interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateSecret(ctx, name, values, labels interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateUserSSHKeySecret(ctx, user, public, private interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CreateUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) DeleteKDLProjectCR(ctx, projectID interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) DeleteUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) DeleteUserToolsCR(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetCapabilitiesIDFromUserTools(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetConfigMap(ctx, name interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLProject() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLUserTools() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetKDLProjectCR(ctx, name interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetKDLUserToolsCR(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetRuntimeIDFromUserTools(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetSecret(ctx, name interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserKubeconfig(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserSSHKeyPublic(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserSSHKeySecret(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetUserToolsPodStatus(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) IsUserToolPODRunning(ctx, username interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListKDLProjectsNameCR(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListKDLUserToolsCR(ctx interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UpdateKDLProjectsCR(ctx, projectID, crd interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UpdateKDLUserToolsCR(ctx, resourceName, data, crd interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UpdateSecret(ctx, name, values, labels interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) UpdateUserSSHKeySecret(ctx, user, public, private interface{}) *gomock.Call
- type UserToolsData
Constants ¶
const ( KdlUserPrivateSSHKey = "KDL_USER_PRIVATE_SSH_KEY" KdlUserPublicSSHKey = "KDL_USER_PUBLIC_SSH_KEY" )
Variables ¶
var ( ErrNoSecretInServiceAccount = errors.New("no secrets found in the serviceAccount") ErrReadingSecretInServiceAccount = errors.New("error reading secret in in the serviceAccount") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger logr.Logger, cfg config.Config, clientset *kubernetes.Clientset, kdlUserToolsRes, kdlProjectRes dynamic.NamespaceableResourceInterface) *Client
func (*Client) CheckConnection ¶
func (*Client) CreateConfigMapWatcher ¶
func (*Client) CreateKDLProjectCR ¶
func (*Client) CreateKDLUserToolsCR ¶
func (k *Client) CreateKDLUserToolsCR( ctx context.Context, username string, data UserToolsData, ) error
CreateKDLUserToolsCR creates the user tools Custom Resource in Kubernetes.
func (*Client) CreateSecret ¶
func (k *Client) CreateSecret(ctx context.Context, name string, values, labels map[string]string) error
CreateSecret creates a new k8s secret.
func (*Client) CreateUserSSHKeySecret ¶
func (k *Client) CreateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
CreateUserSSHKeySecret creates the user SSH keys secret in k8s.
func (*Client) CreateUserServiceAccount ¶
func (k *Client) CreateUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
CreateUserServiceAccount creates a new k8s serviceAccount for a user.
func (*Client) DeleteKDLProjectCR ¶
func (*Client) DeleteUserServiceAccount ¶
DeleteUserServiceAccount delete a serviceAccount.
func (*Client) DeleteUserToolsCR ¶
DeleteUserToolsCR removes a given user tools custom resource from Kubernetes.
func (Client) GetCapabilitiesIDFromUserTools ¶
func (k Client) GetCapabilitiesIDFromUserTools(ctx context.Context, username string) (string, error)
GetCapabilitiesIDFromUserTools returns the capabilityId that the user tools runtime POD is using.
func (*Client) GetConfigMap ¶
func (*Client) GetConfigMapTemplateNameKDLProject ¶
func (*Client) GetConfigMapTemplateNameKDLUserTools ¶
func (*Client) GetKDLProjectCR ¶
func (k *Client) GetKDLProjectCR(ctx context.Context, name string) (*unstructured.Unstructured, error)
func (*Client) GetKDLUserToolsCR ¶
func (k *Client) GetKDLUserToolsCR(ctx context.Context, resourceName string) (*unstructured.Unstructured, error)
func (Client) GetRuntimeIDFromUserTools ¶
GetRuntimeIDFromUserTools returns the runtimeId that the user tools runtime POD is using.
func (*Client) GetUserKubeconfig ¶
GetUserKubeconfig get a user kubeconfig string in k8s.
func (*Client) GetUserSSHKeyPublic ¶
GetUserSSHKeyPublic returns public SSH key for the given user.
func (*Client) GetUserSSHKeySecret ¶
GetUserSSHKeySecret returns private SSH key for the given user.
func (*Client) GetUserServiceAccount ¶
func (k *Client) GetUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
GetUserServiceAccount returns the serviceAccount for the given user.
func (Client) GetUserToolsPodStatus ¶
func (k Client) GetUserToolsPodStatus(ctx context.Context, username string) (entity.PodStatus, error)
GetUserToolsPodStatus returns the status of the UserTools POD.
func (Client) IsUserToolPODRunning ¶
IsUserToolPODRunning checks if the there is a user tool POD running for the given username. NOTE: in this context, running means POD is started, but not that POD is ready to use.
func (*Client) ListKDLProjectsNameCR ¶
func (*Client) ListKDLUserToolsCR ¶
func (k *Client) ListKDLUserToolsCR(ctx context.Context) ([]unstructured.Unstructured, error)
func (*Client) UpdateKDLProjectsCR ¶
func (*Client) UpdateKDLUserToolsCR ¶
type ClientInterface ¶
type ClientInterface interface { CheckConnection() bool CreateSecret(ctx context.Context, name string, values, labels map[string]string) error UpdateSecret(ctx context.Context, name string, values, labels map[string]string) error GetSecret(ctx context.Context, name string) (map[string][]byte, error) CreateKDLUserToolsCR(ctx context.Context, username string, data UserToolsData) error DeleteUserToolsCR(ctx context.Context, username string) error UpdateKDLUserToolsCR(ctx context.Context, resourceName string, data UserToolsData, crd *map[string]interface{}) error ListKDLUserToolsCR(ctx context.Context) ([]unstructured.Unstructured, error) GetKDLUserToolsCR(ctx context.Context, username string) (*unstructured.Unstructured, error) GetUserToolsPodStatus(ctx context.Context, username string) (entity.PodStatus, error) IsUserToolPODRunning(ctx context.Context, username string) (bool, error) GetRuntimeIDFromUserTools(ctx context.Context, username string) (string, error) GetCapabilitiesIDFromUserTools(ctx context.Context, username string) (string, error) CreateKDLProjectCR(ctx context.Context, projectID string) error DeleteKDLProjectCR(ctx context.Context, projectID string) error UpdateKDLProjectsCR(ctx context.Context, projectID string, crd *map[string]interface{}) error ListKDLProjectsNameCR(ctx context.Context) ([]string, error) GetKDLProjectCR(ctx context.Context, name string) (*unstructured.Unstructured, error) CreateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error UpdateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error GetUserSSHKeySecret(ctx context.Context, usernameSlug string) ([]byte, error) GetUserSSHKeyPublic(ctx context.Context, usernameSlug string) ([]byte, error) CreateUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error) DeleteUserServiceAccount(ctx context.Context, usernameSlug string) error GetUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error) GetUserKubeconfig(ctx context.Context, usernameSlug string) ([]byte, error) GetConfigMap(ctx context.Context, name string) (*v1.ConfigMap, error) GetConfigMapTemplateNameKDLProject() string GetConfigMapTemplateNameKDLUserTools() string CreateConfigMapWatcher(ctx context.Context) (watch.Interface, error) }
ClientInterface defines all operation related to Kubernetes.
func NewK8sClient ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) CheckConnection ¶
func (m *MockClientInterface) CheckConnection() bool
CheckConnection mocks base method.
func (*MockClientInterface) CreateConfigMapWatcher ¶
CreateConfigMapWatcher mocks base method.
func (*MockClientInterface) CreateKDLProjectCR ¶
func (m *MockClientInterface) CreateKDLProjectCR(ctx context.Context, projectID string) error
CreateKDLProjectCR mocks base method.
func (*MockClientInterface) CreateKDLUserToolsCR ¶
func (m *MockClientInterface) CreateKDLUserToolsCR(ctx context.Context, username string, data UserToolsData) error
CreateKDLUserToolsCR mocks base method.
func (*MockClientInterface) CreateSecret ¶
func (m *MockClientInterface) CreateSecret(ctx context.Context, name string, values, labels map[string]string) error
CreateSecret mocks base method.
func (*MockClientInterface) CreateUserSSHKeySecret ¶
func (m *MockClientInterface) CreateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
CreateUserSSHKeySecret mocks base method.
func (*MockClientInterface) CreateUserServiceAccount ¶
func (m *MockClientInterface) CreateUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
CreateUserServiceAccount mocks base method.
func (*MockClientInterface) DeleteKDLProjectCR ¶
func (m *MockClientInterface) DeleteKDLProjectCR(ctx context.Context, projectID string) error
DeleteKDLProjectCR mocks base method.
func (*MockClientInterface) DeleteUserServiceAccount ¶
func (m *MockClientInterface) DeleteUserServiceAccount(ctx context.Context, usernameSlug string) error
DeleteUserServiceAccount mocks base method.
func (*MockClientInterface) DeleteUserToolsCR ¶
func (m *MockClientInterface) DeleteUserToolsCR(ctx context.Context, username string) error
DeleteUserToolsCR mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) GetCapabilitiesIDFromUserTools ¶
func (m *MockClientInterface) GetCapabilitiesIDFromUserTools(ctx context.Context, username string) (string, error)
GetCapabilitiesIDFromUserTools mocks base method.
func (*MockClientInterface) GetConfigMap ¶
GetConfigMap mocks base method.
func (*MockClientInterface) GetConfigMapTemplateNameKDLProject ¶
func (m *MockClientInterface) GetConfigMapTemplateNameKDLProject() string
GetConfigMapTemplateNameKDLProject mocks base method.
func (*MockClientInterface) GetConfigMapTemplateNameKDLUserTools ¶
func (m *MockClientInterface) GetConfigMapTemplateNameKDLUserTools() string
GetConfigMapTemplateNameKDLUserTools mocks base method.
func (*MockClientInterface) GetKDLProjectCR ¶
func (m *MockClientInterface) GetKDLProjectCR(ctx context.Context, name string) (*unstructured.Unstructured, error)
GetKDLProjectCR mocks base method.
func (*MockClientInterface) GetKDLUserToolsCR ¶
func (m *MockClientInterface) GetKDLUserToolsCR(ctx context.Context, username string) (*unstructured.Unstructured, error)
GetKDLUserToolsCR mocks base method.
func (*MockClientInterface) GetRuntimeIDFromUserTools ¶
func (m *MockClientInterface) GetRuntimeIDFromUserTools(ctx context.Context, username string) (string, error)
GetRuntimeIDFromUserTools mocks base method.
func (*MockClientInterface) GetSecret ¶
func (m *MockClientInterface) GetSecret(ctx context.Context, name string) (map[string][]byte, error)
GetSecret mocks base method.
func (*MockClientInterface) GetUserKubeconfig ¶
func (m *MockClientInterface) GetUserKubeconfig(ctx context.Context, usernameSlug string) ([]byte, error)
GetUserKubeconfig mocks base method.
func (*MockClientInterface) GetUserSSHKeyPublic ¶
func (m *MockClientInterface) GetUserSSHKeyPublic(ctx context.Context, usernameSlug string) ([]byte, error)
GetUserSSHKeyPublic mocks base method.
func (*MockClientInterface) GetUserSSHKeySecret ¶
func (m *MockClientInterface) GetUserSSHKeySecret(ctx context.Context, usernameSlug string) ([]byte, error)
GetUserSSHKeySecret mocks base method.
func (*MockClientInterface) GetUserServiceAccount ¶
func (m *MockClientInterface) GetUserServiceAccount(ctx context.Context, usernameSlug string) (*v1.ServiceAccount, error)
GetUserServiceAccount mocks base method.
func (*MockClientInterface) GetUserToolsPodStatus ¶
func (m *MockClientInterface) GetUserToolsPodStatus(ctx context.Context, username string) (entity.PodStatus, error)
GetUserToolsPodStatus mocks base method.
func (*MockClientInterface) IsUserToolPODRunning ¶
func (m *MockClientInterface) IsUserToolPODRunning(ctx context.Context, username string) (bool, error)
IsUserToolPODRunning mocks base method.
func (*MockClientInterface) ListKDLProjectsNameCR ¶
func (m *MockClientInterface) ListKDLProjectsNameCR(ctx context.Context) ([]string, error)
ListKDLProjectsNameCR mocks base method.
func (*MockClientInterface) ListKDLUserToolsCR ¶
func (m *MockClientInterface) ListKDLUserToolsCR(ctx context.Context) ([]unstructured.Unstructured, error)
ListKDLUserToolsCR mocks base method.
func (*MockClientInterface) UpdateKDLProjectsCR ¶
func (m *MockClientInterface) UpdateKDLProjectsCR(ctx context.Context, projectID string, crd *map[string]interface{}) error
UpdateKDLProjectsCR mocks base method.
func (*MockClientInterface) UpdateKDLUserToolsCR ¶
func (m *MockClientInterface) UpdateKDLUserToolsCR(ctx context.Context, resourceName string, data UserToolsData, crd *map[string]interface{}) error
UpdateKDLUserToolsCR mocks base method.
func (*MockClientInterface) UpdateSecret ¶
func (m *MockClientInterface) UpdateSecret(ctx context.Context, name string, values, labels map[string]string) error
UpdateSecret mocks base method.
func (*MockClientInterface) UpdateUserSSHKeySecret ¶
func (m *MockClientInterface) UpdateUserSSHKeySecret(ctx context.Context, user entity.User, public, private string) error
UpdateUserSSHKeySecret mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) CheckConnection ¶
func (mr *MockClientInterfaceMockRecorder) CheckConnection() *gomock.Call
CheckConnection indicates an expected call of CheckConnection.
func (*MockClientInterfaceMockRecorder) CreateConfigMapWatcher ¶
func (mr *MockClientInterfaceMockRecorder) CreateConfigMapWatcher(ctx interface{}) *gomock.Call
CreateConfigMapWatcher indicates an expected call of CreateConfigMapWatcher.
func (*MockClientInterfaceMockRecorder) CreateKDLProjectCR ¶
func (mr *MockClientInterfaceMockRecorder) CreateKDLProjectCR(ctx, projectID interface{}) *gomock.Call
CreateKDLProjectCR indicates an expected call of CreateKDLProjectCR.
func (*MockClientInterfaceMockRecorder) CreateKDLUserToolsCR ¶
func (mr *MockClientInterfaceMockRecorder) CreateKDLUserToolsCR(ctx, username, data interface{}) *gomock.Call
CreateKDLUserToolsCR indicates an expected call of CreateKDLUserToolsCR.
func (*MockClientInterfaceMockRecorder) CreateSecret ¶
func (mr *MockClientInterfaceMockRecorder) CreateSecret(ctx, name, values, labels interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret.
func (*MockClientInterfaceMockRecorder) CreateUserSSHKeySecret ¶
func (mr *MockClientInterfaceMockRecorder) CreateUserSSHKeySecret(ctx, user, public, private interface{}) *gomock.Call
CreateUserSSHKeySecret indicates an expected call of CreateUserSSHKeySecret.
func (*MockClientInterfaceMockRecorder) CreateUserServiceAccount ¶
func (mr *MockClientInterfaceMockRecorder) CreateUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
CreateUserServiceAccount indicates an expected call of CreateUserServiceAccount.
func (*MockClientInterfaceMockRecorder) DeleteKDLProjectCR ¶
func (mr *MockClientInterfaceMockRecorder) DeleteKDLProjectCR(ctx, projectID interface{}) *gomock.Call
DeleteKDLProjectCR indicates an expected call of DeleteKDLProjectCR.
func (*MockClientInterfaceMockRecorder) DeleteUserServiceAccount ¶
func (mr *MockClientInterfaceMockRecorder) DeleteUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
DeleteUserServiceAccount indicates an expected call of DeleteUserServiceAccount.
func (*MockClientInterfaceMockRecorder) DeleteUserToolsCR ¶
func (mr *MockClientInterfaceMockRecorder) DeleteUserToolsCR(ctx, username interface{}) *gomock.Call
DeleteUserToolsCR indicates an expected call of DeleteUserToolsCR.
func (*MockClientInterfaceMockRecorder) GetCapabilitiesIDFromUserTools ¶
func (mr *MockClientInterfaceMockRecorder) GetCapabilitiesIDFromUserTools(ctx, username interface{}) *gomock.Call
GetCapabilitiesIDFromUserTools indicates an expected call of GetCapabilitiesIDFromUserTools.
func (*MockClientInterfaceMockRecorder) GetConfigMap ¶
func (mr *MockClientInterfaceMockRecorder) GetConfigMap(ctx, name interface{}) *gomock.Call
GetConfigMap indicates an expected call of GetConfigMap.
func (*MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLProject ¶
func (mr *MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLProject() *gomock.Call
GetConfigMapTemplateNameKDLProject indicates an expected call of GetConfigMapTemplateNameKDLProject.
func (*MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLUserTools ¶
func (mr *MockClientInterfaceMockRecorder) GetConfigMapTemplateNameKDLUserTools() *gomock.Call
GetConfigMapTemplateNameKDLUserTools indicates an expected call of GetConfigMapTemplateNameKDLUserTools.
func (*MockClientInterfaceMockRecorder) GetKDLProjectCR ¶
func (mr *MockClientInterfaceMockRecorder) GetKDLProjectCR(ctx, name interface{}) *gomock.Call
GetKDLProjectCR indicates an expected call of GetKDLProjectCR.
func (*MockClientInterfaceMockRecorder) GetKDLUserToolsCR ¶
func (mr *MockClientInterfaceMockRecorder) GetKDLUserToolsCR(ctx, username interface{}) *gomock.Call
GetKDLUserToolsCR indicates an expected call of GetKDLUserToolsCR.
func (*MockClientInterfaceMockRecorder) GetRuntimeIDFromUserTools ¶
func (mr *MockClientInterfaceMockRecorder) GetRuntimeIDFromUserTools(ctx, username interface{}) *gomock.Call
GetRuntimeIDFromUserTools indicates an expected call of GetRuntimeIDFromUserTools.
func (*MockClientInterfaceMockRecorder) GetSecret ¶
func (mr *MockClientInterfaceMockRecorder) GetSecret(ctx, name interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockClientInterfaceMockRecorder) GetUserKubeconfig ¶
func (mr *MockClientInterfaceMockRecorder) GetUserKubeconfig(ctx, usernameSlug interface{}) *gomock.Call
GetUserKubeconfig indicates an expected call of GetUserKubeconfig.
func (*MockClientInterfaceMockRecorder) GetUserSSHKeyPublic ¶
func (mr *MockClientInterfaceMockRecorder) GetUserSSHKeyPublic(ctx, usernameSlug interface{}) *gomock.Call
GetUserSSHKeyPublic indicates an expected call of GetUserSSHKeyPublic.
func (*MockClientInterfaceMockRecorder) GetUserSSHKeySecret ¶
func (mr *MockClientInterfaceMockRecorder) GetUserSSHKeySecret(ctx, usernameSlug interface{}) *gomock.Call
GetUserSSHKeySecret indicates an expected call of GetUserSSHKeySecret.
func (*MockClientInterfaceMockRecorder) GetUserServiceAccount ¶
func (mr *MockClientInterfaceMockRecorder) GetUserServiceAccount(ctx, usernameSlug interface{}) *gomock.Call
GetUserServiceAccount indicates an expected call of GetUserServiceAccount.
func (*MockClientInterfaceMockRecorder) GetUserToolsPodStatus ¶
func (mr *MockClientInterfaceMockRecorder) GetUserToolsPodStatus(ctx, username interface{}) *gomock.Call
GetUserToolsPodStatus indicates an expected call of GetUserToolsPodStatus.
func (*MockClientInterfaceMockRecorder) IsUserToolPODRunning ¶
func (mr *MockClientInterfaceMockRecorder) IsUserToolPODRunning(ctx, username interface{}) *gomock.Call
IsUserToolPODRunning indicates an expected call of IsUserToolPODRunning.
func (*MockClientInterfaceMockRecorder) ListKDLProjectsNameCR ¶
func (mr *MockClientInterfaceMockRecorder) ListKDLProjectsNameCR(ctx interface{}) *gomock.Call
ListKDLProjectsNameCR indicates an expected call of ListKDLProjectsNameCR.
func (*MockClientInterfaceMockRecorder) ListKDLUserToolsCR ¶
func (mr *MockClientInterfaceMockRecorder) ListKDLUserToolsCR(ctx interface{}) *gomock.Call
ListKDLUserToolsCR indicates an expected call of ListKDLUserToolsCR.
func (*MockClientInterfaceMockRecorder) UpdateKDLProjectsCR ¶
func (mr *MockClientInterfaceMockRecorder) UpdateKDLProjectsCR(ctx, projectID, crd interface{}) *gomock.Call
UpdateKDLProjectsCR indicates an expected call of UpdateKDLProjectsCR.
func (*MockClientInterfaceMockRecorder) UpdateKDLUserToolsCR ¶
func (mr *MockClientInterfaceMockRecorder) UpdateKDLUserToolsCR(ctx, resourceName, data, crd interface{}) *gomock.Call
UpdateKDLUserToolsCR indicates an expected call of UpdateKDLUserToolsCR.
func (*MockClientInterfaceMockRecorder) UpdateSecret ¶
func (mr *MockClientInterfaceMockRecorder) UpdateSecret(ctx, name, values, labels interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.
func (*MockClientInterfaceMockRecorder) UpdateUserSSHKeySecret ¶
func (mr *MockClientInterfaceMockRecorder) UpdateUserSSHKeySecret(ctx, user, public, private interface{}) *gomock.Call
UpdateUserSSHKeySecret indicates an expected call of UpdateUserSSHKeySecret.
type UserToolsData ¶
type UserToolsData struct { RuntimeID string RuntimeImage string RuntimeTag string Capabilities entity.Capabilities }