Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) ClientConfig(arg0 context.Context, arg1 target.Target) (clientcmd.ClientConfig, error)
- func (m *MockManager) Configuration() *config.Config
- func (m *MockManager) CurrentTarget() (target.Target, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GardenClient(arg0 string) (garden.Client, error)
- func (m *MockManager) GardenNames() ([]string, error)
- func (m *MockManager) ProjectNames(arg0 context.Context) ([]string, error)
- func (m *MockManager) SeedClient(arg0 context.Context, arg1 target.Target) (client.Client, error)
- func (m *MockManager) SeedNames(arg0 context.Context) ([]string, error)
- func (m *MockManager) SessionDir() string
- func (m *MockManager) ShootClient(arg0 context.Context, arg1 target.Target) (client.Client, error)
- func (m *MockManager) ShootNames(arg0 context.Context) ([]string, error)
- func (m *MockManager) TargetControlPlane(arg0 context.Context) error
- func (m *MockManager) TargetGarden(arg0 context.Context, arg1 string) error
- func (m *MockManager) TargetMatchPattern(arg0 context.Context, arg1 target.TargetFlags, arg2 string) error
- func (m *MockManager) TargetProject(arg0 context.Context, arg1 string) error
- func (m *MockManager) TargetSeed(arg0 context.Context, arg1 string) error
- func (m *MockManager) TargetShoot(arg0 context.Context, arg1 string) error
- func (m *MockManager) UnsetTargetControlPlane(arg0 context.Context) error
- func (m *MockManager) UnsetTargetGarden(arg0 context.Context) (string, error)
- func (m *MockManager) UnsetTargetProject(arg0 context.Context) (string, error)
- func (m *MockManager) UnsetTargetSeed(arg0 context.Context) (string, error)
- func (m *MockManager) UnsetTargetShoot(arg0 context.Context) (string, error)
- func (m *MockManager) WriteClientConfig(arg0 clientcmd.ClientConfig) (string, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) ClientConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Configuration() *gomock.Call
- func (mr *MockManagerMockRecorder) CurrentTarget() *gomock.Call
- func (mr *MockManagerMockRecorder) GardenClient(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GardenNames() *gomock.Call
- func (mr *MockManagerMockRecorder) ProjectNames(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SeedClient(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SeedNames(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SessionDir() *gomock.Call
- func (mr *MockManagerMockRecorder) ShootClient(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ShootNames(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetControlPlane(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetGarden(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetMatchPattern(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) TargetShoot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UnsetTargetControlPlane(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UnsetTargetGarden(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UnsetTargetProject(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UnsetTargetSeed(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) UnsetTargetShoot(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) WriteClientConfig(arg0 interface{}) *gomock.Call
- type MockTargetProvider
- type MockTargetProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) ClientConfig ¶
func (m *MockManager) ClientConfig(arg0 context.Context, arg1 target.Target) (clientcmd.ClientConfig, error)
ClientConfig mocks base method.
func (*MockManager) Configuration ¶
func (m *MockManager) Configuration() *config.Config
Configuration mocks base method.
func (*MockManager) CurrentTarget ¶
func (m *MockManager) CurrentTarget() (target.Target, error)
CurrentTarget mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GardenClient ¶
func (m *MockManager) GardenClient(arg0 string) (garden.Client, error)
GardenClient mocks base method.
func (*MockManager) GardenNames ¶
func (m *MockManager) GardenNames() ([]string, error)
GardenNames mocks base method.
func (*MockManager) ProjectNames ¶
func (m *MockManager) ProjectNames(arg0 context.Context) ([]string, error)
ProjectNames mocks base method.
func (*MockManager) SeedClient ¶
SeedClient mocks base method.
func (*MockManager) SeedNames ¶
func (m *MockManager) SeedNames(arg0 context.Context) ([]string, error)
SeedNames mocks base method.
func (*MockManager) SessionDir ¶
func (m *MockManager) SessionDir() string
SessionDir mocks base method.
func (*MockManager) ShootClient ¶
ShootClient mocks base method.
func (*MockManager) ShootNames ¶
func (m *MockManager) ShootNames(arg0 context.Context) ([]string, error)
ShootNames mocks base method.
func (*MockManager) TargetControlPlane ¶
func (m *MockManager) TargetControlPlane(arg0 context.Context) error
TargetControlPlane mocks base method.
func (*MockManager) TargetGarden ¶
func (m *MockManager) TargetGarden(arg0 context.Context, arg1 string) error
TargetGarden mocks base method.
func (*MockManager) TargetMatchPattern ¶
func (m *MockManager) TargetMatchPattern(arg0 context.Context, arg1 target.TargetFlags, arg2 string) error
TargetMatchPattern mocks base method.
func (*MockManager) TargetProject ¶
func (m *MockManager) TargetProject(arg0 context.Context, arg1 string) error
TargetProject mocks base method.
func (*MockManager) TargetSeed ¶
func (m *MockManager) TargetSeed(arg0 context.Context, arg1 string) error
TargetSeed mocks base method.
func (*MockManager) TargetShoot ¶
func (m *MockManager) TargetShoot(arg0 context.Context, arg1 string) error
TargetShoot mocks base method.
func (*MockManager) UnsetTargetControlPlane ¶
func (m *MockManager) UnsetTargetControlPlane(arg0 context.Context) error
UnsetTargetControlPlane mocks base method.
func (*MockManager) UnsetTargetGarden ¶
func (m *MockManager) UnsetTargetGarden(arg0 context.Context) (string, error)
UnsetTargetGarden mocks base method.
func (*MockManager) UnsetTargetProject ¶
func (m *MockManager) UnsetTargetProject(arg0 context.Context) (string, error)
UnsetTargetProject mocks base method.
func (*MockManager) UnsetTargetSeed ¶
func (m *MockManager) UnsetTargetSeed(arg0 context.Context) (string, error)
UnsetTargetSeed mocks base method.
func (*MockManager) UnsetTargetShoot ¶
func (m *MockManager) UnsetTargetShoot(arg0 context.Context) (string, error)
UnsetTargetShoot mocks base method.
func (*MockManager) WriteClientConfig ¶
func (m *MockManager) WriteClientConfig(arg0 clientcmd.ClientConfig) (string, error)
WriteClientConfig mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) ClientConfig ¶
func (mr *MockManagerMockRecorder) ClientConfig(arg0, arg1 interface{}) *gomock.Call
ClientConfig indicates an expected call of ClientConfig.
func (*MockManagerMockRecorder) Configuration ¶
func (mr *MockManagerMockRecorder) Configuration() *gomock.Call
Configuration indicates an expected call of Configuration.
func (*MockManagerMockRecorder) CurrentTarget ¶
func (mr *MockManagerMockRecorder) CurrentTarget() *gomock.Call
CurrentTarget indicates an expected call of CurrentTarget.
func (*MockManagerMockRecorder) GardenClient ¶
func (mr *MockManagerMockRecorder) GardenClient(arg0 interface{}) *gomock.Call
GardenClient indicates an expected call of GardenClient.
func (*MockManagerMockRecorder) GardenNames ¶
func (mr *MockManagerMockRecorder) GardenNames() *gomock.Call
GardenNames indicates an expected call of GardenNames.
func (*MockManagerMockRecorder) ProjectNames ¶
func (mr *MockManagerMockRecorder) ProjectNames(arg0 interface{}) *gomock.Call
ProjectNames indicates an expected call of ProjectNames.
func (*MockManagerMockRecorder) SeedClient ¶
func (mr *MockManagerMockRecorder) SeedClient(arg0, arg1 interface{}) *gomock.Call
SeedClient indicates an expected call of SeedClient.
func (*MockManagerMockRecorder) SeedNames ¶
func (mr *MockManagerMockRecorder) SeedNames(arg0 interface{}) *gomock.Call
SeedNames indicates an expected call of SeedNames.
func (*MockManagerMockRecorder) SessionDir ¶
func (mr *MockManagerMockRecorder) SessionDir() *gomock.Call
SessionDir indicates an expected call of SessionDir.
func (*MockManagerMockRecorder) ShootClient ¶
func (mr *MockManagerMockRecorder) ShootClient(arg0, arg1 interface{}) *gomock.Call
ShootClient indicates an expected call of ShootClient.
func (*MockManagerMockRecorder) ShootNames ¶
func (mr *MockManagerMockRecorder) ShootNames(arg0 interface{}) *gomock.Call
ShootNames indicates an expected call of ShootNames.
func (*MockManagerMockRecorder) TargetControlPlane ¶
func (mr *MockManagerMockRecorder) TargetControlPlane(arg0 interface{}) *gomock.Call
TargetControlPlane indicates an expected call of TargetControlPlane.
func (*MockManagerMockRecorder) TargetGarden ¶
func (mr *MockManagerMockRecorder) TargetGarden(arg0, arg1 interface{}) *gomock.Call
TargetGarden indicates an expected call of TargetGarden.
func (*MockManagerMockRecorder) TargetMatchPattern ¶
func (mr *MockManagerMockRecorder) TargetMatchPattern(arg0, arg1, arg2 interface{}) *gomock.Call
TargetMatchPattern indicates an expected call of TargetMatchPattern.
func (*MockManagerMockRecorder) TargetProject ¶
func (mr *MockManagerMockRecorder) TargetProject(arg0, arg1 interface{}) *gomock.Call
TargetProject indicates an expected call of TargetProject.
func (*MockManagerMockRecorder) TargetSeed ¶
func (mr *MockManagerMockRecorder) TargetSeed(arg0, arg1 interface{}) *gomock.Call
TargetSeed indicates an expected call of TargetSeed.
func (*MockManagerMockRecorder) TargetShoot ¶
func (mr *MockManagerMockRecorder) TargetShoot(arg0, arg1 interface{}) *gomock.Call
TargetShoot indicates an expected call of TargetShoot.
func (*MockManagerMockRecorder) UnsetTargetControlPlane ¶
func (mr *MockManagerMockRecorder) UnsetTargetControlPlane(arg0 interface{}) *gomock.Call
UnsetTargetControlPlane indicates an expected call of UnsetTargetControlPlane.
func (*MockManagerMockRecorder) UnsetTargetGarden ¶
func (mr *MockManagerMockRecorder) UnsetTargetGarden(arg0 interface{}) *gomock.Call
UnsetTargetGarden indicates an expected call of UnsetTargetGarden.
func (*MockManagerMockRecorder) UnsetTargetProject ¶
func (mr *MockManagerMockRecorder) UnsetTargetProject(arg0 interface{}) *gomock.Call
UnsetTargetProject indicates an expected call of UnsetTargetProject.
func (*MockManagerMockRecorder) UnsetTargetSeed ¶
func (mr *MockManagerMockRecorder) UnsetTargetSeed(arg0 interface{}) *gomock.Call
UnsetTargetSeed indicates an expected call of UnsetTargetSeed.
func (*MockManagerMockRecorder) UnsetTargetShoot ¶
func (mr *MockManagerMockRecorder) UnsetTargetShoot(arg0 interface{}) *gomock.Call
UnsetTargetShoot indicates an expected call of UnsetTargetShoot.
func (*MockManagerMockRecorder) WriteClientConfig ¶
func (mr *MockManagerMockRecorder) WriteClientConfig(arg0 interface{}) *gomock.Call
WriteClientConfig indicates an expected call of WriteClientConfig.
type MockTargetProvider ¶
type MockTargetProvider struct {
// contains filtered or unexported fields
}
MockTargetProvider is a mock of TargetProvider interface.
func NewMockTargetProvider ¶
func NewMockTargetProvider(ctrl *gomock.Controller) *MockTargetProvider
NewMockTargetProvider creates a new mock instance.
func (*MockTargetProvider) EXPECT ¶
func (m *MockTargetProvider) EXPECT() *MockTargetProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTargetProviderMockRecorder ¶
type MockTargetProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetProviderMockRecorder is the mock recorder for MockTargetProvider.
func (*MockTargetProviderMockRecorder) Read ¶
func (mr *MockTargetProviderMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.
func (*MockTargetProviderMockRecorder) Write ¶
func (mr *MockTargetProviderMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.