Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CurrentUser(arg0 context.Context) (string, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) FindShoot(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.Shoot, error)
- func (m *MockClient) GetCloudProfile(arg0 context.Context, arg1 v1beta1.CloudProfileReference) (*garden.CloudProfileUnion, error)
- func (m *MockClient) GetConfigMap(arg0 context.Context, arg1, arg2 string) (*v1.ConfigMap, error)
- func (m *MockClient) GetCredentialsBinding(arg0 context.Context, arg1, arg2 string) (*v1alpha10.CredentialsBinding, error)
- func (m *MockClient) GetNamespace(arg0 context.Context, arg1 string) (*v1.Namespace, error)
- func (m *MockClient) GetProject(arg0 context.Context, arg1 string) (*v1beta1.Project, error)
- func (m *MockClient) GetProjectByNamespace(arg0 context.Context, arg1 string) (*v1beta1.Project, error)
- func (m *MockClient) GetSecret(arg0 context.Context, arg1, arg2 string) (*v1.Secret, error)
- func (m *MockClient) GetSecretBinding(arg0 context.Context, arg1, arg2 string) (*v1beta1.SecretBinding, error)
- func (m *MockClient) GetSeed(arg0 context.Context, arg1 string) (*v1beta1.Seed, error)
- func (m *MockClient) GetSeedClientConfig(arg0 context.Context, arg1 string) (clientcmd.ClientConfig, error)
- func (m *MockClient) GetShoot(arg0 context.Context, arg1, arg2 string) (*v1beta1.Shoot, error)
- func (m *MockClient) GetShootClientConfig(arg0 context.Context, arg1, arg2 string) (clientcmd.ClientConfig, error)
- func (m *MockClient) GetShootOfManagedSeed(arg0 context.Context, arg1 string) (*v1alpha11.Shoot, error)
- func (m *MockClient) ListBastions(arg0 context.Context, arg1 ...client.ListOption) (*v1alpha1.BastionList, error)
- func (m *MockClient) ListProjects(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.ProjectList, error)
- func (m *MockClient) ListSeeds(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.SeedList, error)
- func (m *MockClient) ListShoots(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.ShootList, error)
- func (m *MockClient) PatchBastion(arg0 context.Context, arg1, arg2 *v1alpha1.Bastion) error
- func (m *MockClient) RuntimeClient() client.Client
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CurrentUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) FindShoot(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCloudProfile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConfigMap(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCredentialsBinding(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProjectByNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSecretBinding(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSeedClientConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetShoot(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetShootClientConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetShootOfManagedSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListBastions(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListProjects(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListSeeds(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListShoots(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PatchBastion(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RuntimeClient() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CurrentUser ¶
func (m *MockClient) CurrentUser(arg0 context.Context) (string, error)
CurrentUser mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) FindShoot ¶
func (m *MockClient) FindShoot(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.Shoot, error)
FindShoot mocks base method.
func (*MockClient) GetCloudProfile ¶
func (m *MockClient) GetCloudProfile(arg0 context.Context, arg1 v1beta1.CloudProfileReference) (*garden.CloudProfileUnion, error)
GetCloudProfile mocks base method.
func (*MockClient) GetConfigMap ¶
GetConfigMap mocks base method.
func (*MockClient) GetCredentialsBinding ¶
func (m *MockClient) GetCredentialsBinding(arg0 context.Context, arg1, arg2 string) (*v1alpha10.CredentialsBinding, error)
GetCredentialsBinding mocks base method.
func (*MockClient) GetNamespace ¶
GetNamespace mocks base method.
func (*MockClient) GetProject ¶
GetProject mocks base method.
func (*MockClient) GetProjectByNamespace ¶
func (m *MockClient) GetProjectByNamespace(arg0 context.Context, arg1 string) (*v1beta1.Project, error)
GetProjectByNamespace mocks base method.
func (*MockClient) GetSecretBinding ¶
func (m *MockClient) GetSecretBinding(arg0 context.Context, arg1, arg2 string) (*v1beta1.SecretBinding, error)
GetSecretBinding mocks base method.
func (*MockClient) GetSeedClientConfig ¶
func (m *MockClient) GetSeedClientConfig(arg0 context.Context, arg1 string) (clientcmd.ClientConfig, error)
GetSeedClientConfig mocks base method.
func (*MockClient) GetShootClientConfig ¶
func (m *MockClient) GetShootClientConfig(arg0 context.Context, arg1, arg2 string) (clientcmd.ClientConfig, error)
GetShootClientConfig mocks base method.
func (*MockClient) GetShootOfManagedSeed ¶
func (m *MockClient) GetShootOfManagedSeed(arg0 context.Context, arg1 string) (*v1alpha11.Shoot, error)
GetShootOfManagedSeed mocks base method.
func (*MockClient) ListBastions ¶
func (m *MockClient) ListBastions(arg0 context.Context, arg1 ...client.ListOption) (*v1alpha1.BastionList, error)
ListBastions mocks base method.
func (*MockClient) ListProjects ¶
func (m *MockClient) ListProjects(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.ProjectList, error)
ListProjects mocks base method.
func (*MockClient) ListSeeds ¶
func (m *MockClient) ListSeeds(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.SeedList, error)
ListSeeds mocks base method.
func (*MockClient) ListShoots ¶
func (m *MockClient) ListShoots(arg0 context.Context, arg1 ...client.ListOption) (*v1beta1.ShootList, error)
ListShoots mocks base method.
func (*MockClient) PatchBastion ¶
PatchBastion mocks base method.
func (*MockClient) RuntimeClient ¶
func (m *MockClient) RuntimeClient() client.Client
RuntimeClient mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CurrentUser ¶
func (mr *MockClientMockRecorder) CurrentUser(arg0 interface{}) *gomock.Call
CurrentUser indicates an expected call of CurrentUser.
func (*MockClientMockRecorder) FindShoot ¶
func (mr *MockClientMockRecorder) FindShoot(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FindShoot indicates an expected call of FindShoot.
func (*MockClientMockRecorder) GetCloudProfile ¶
func (mr *MockClientMockRecorder) GetCloudProfile(arg0, arg1 interface{}) *gomock.Call
GetCloudProfile indicates an expected call of GetCloudProfile.
func (*MockClientMockRecorder) GetConfigMap ¶
func (mr *MockClientMockRecorder) GetConfigMap(arg0, arg1, arg2 interface{}) *gomock.Call
GetConfigMap indicates an expected call of GetConfigMap.
func (*MockClientMockRecorder) GetCredentialsBinding ¶
func (mr *MockClientMockRecorder) GetCredentialsBinding(arg0, arg1, arg2 interface{}) *gomock.Call
GetCredentialsBinding indicates an expected call of GetCredentialsBinding.
func (*MockClientMockRecorder) GetNamespace ¶
func (mr *MockClientMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockClientMockRecorder) GetProject ¶
func (mr *MockClientMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockClientMockRecorder) GetProjectByNamespace ¶
func (mr *MockClientMockRecorder) GetProjectByNamespace(arg0, arg1 interface{}) *gomock.Call
GetProjectByNamespace indicates an expected call of GetProjectByNamespace.
func (*MockClientMockRecorder) GetSecret ¶
func (mr *MockClientMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockClientMockRecorder) GetSecretBinding ¶
func (mr *MockClientMockRecorder) GetSecretBinding(arg0, arg1, arg2 interface{}) *gomock.Call
GetSecretBinding indicates an expected call of GetSecretBinding.
func (*MockClientMockRecorder) GetSeed ¶
func (mr *MockClientMockRecorder) GetSeed(arg0, arg1 interface{}) *gomock.Call
GetSeed indicates an expected call of GetSeed.
func (*MockClientMockRecorder) GetSeedClientConfig ¶
func (mr *MockClientMockRecorder) GetSeedClientConfig(arg0, arg1 interface{}) *gomock.Call
GetSeedClientConfig indicates an expected call of GetSeedClientConfig.
func (*MockClientMockRecorder) GetShoot ¶
func (mr *MockClientMockRecorder) GetShoot(arg0, arg1, arg2 interface{}) *gomock.Call
GetShoot indicates an expected call of GetShoot.
func (*MockClientMockRecorder) GetShootClientConfig ¶
func (mr *MockClientMockRecorder) GetShootClientConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetShootClientConfig indicates an expected call of GetShootClientConfig.
func (*MockClientMockRecorder) GetShootOfManagedSeed ¶
func (mr *MockClientMockRecorder) GetShootOfManagedSeed(arg0, arg1 interface{}) *gomock.Call
GetShootOfManagedSeed indicates an expected call of GetShootOfManagedSeed.
func (*MockClientMockRecorder) ListBastions ¶
func (mr *MockClientMockRecorder) ListBastions(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListBastions indicates an expected call of ListBastions.
func (*MockClientMockRecorder) ListProjects ¶
func (mr *MockClientMockRecorder) ListProjects(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockClientMockRecorder) ListSeeds ¶
func (mr *MockClientMockRecorder) ListSeeds(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListSeeds indicates an expected call of ListSeeds.
func (*MockClientMockRecorder) ListShoots ¶
func (mr *MockClientMockRecorder) ListShoots(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListShoots indicates an expected call of ListShoots.
func (*MockClientMockRecorder) PatchBastion ¶
func (mr *MockClientMockRecorder) PatchBastion(arg0, arg1, arg2 interface{}) *gomock.Call
PatchBastion indicates an expected call of PatchBastion.
func (*MockClientMockRecorder) RuntimeClient ¶
func (mr *MockClientMockRecorder) RuntimeClient() *gomock.Call
RuntimeClient indicates an expected call of RuntimeClient.