Documentation ¶
Overview ¶
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Package cmd is a generated GoMock package.
Index ¶
- type MockConfigReader
- type MockConfigReaderMockRecorder
- type MockHistoryWriter
- type MockHistoryWriterMockRecorder
- type MockKubeconfigReader
- type MockKubeconfigReaderMockRecorder
- type MockKubeconfigWriter
- type MockKubeconfigWriterMockRecorder
- type MockTargetInterface
- func (m *MockTargetInterface) EXPECT() *MockTargetInterfaceMockRecorder
- func (m *MockTargetInterface) GardenerClient() (versioned.Interface, error)
- func (m *MockTargetInterface) K8SClient() (kubernetes.Interface, error)
- func (m *MockTargetInterface) K8SClientToKind(arg0 cmd.TargetKind) (kubernetes.Interface, error)
- func (m *MockTargetInterface) Kind() (cmd.TargetKind, error)
- func (m *MockTargetInterface) SetStack(arg0 []cmd.TargetMeta)
- func (m *MockTargetInterface) Stack() []cmd.TargetMeta
- type MockTargetInterfaceMockRecorder
- func (mr *MockTargetInterfaceMockRecorder) GardenerClient() *gomock.Call
- func (mr *MockTargetInterfaceMockRecorder) K8SClient() *gomock.Call
- func (mr *MockTargetInterfaceMockRecorder) K8SClientToKind(arg0 interface{}) *gomock.Call
- func (mr *MockTargetInterfaceMockRecorder) Kind() *gomock.Call
- func (mr *MockTargetInterfaceMockRecorder) SetStack(arg0 interface{}) *gomock.Call
- func (mr *MockTargetInterfaceMockRecorder) Stack() *gomock.Call
- type MockTargetReader
- type MockTargetReaderMockRecorder
- type MockTargetWriter
- type MockTargetWriterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigReader ¶
type MockConfigReader struct {
// contains filtered or unexported fields
}
MockConfigReader is a mock of ConfigReader interface
func NewMockConfigReader ¶
func NewMockConfigReader(ctrl *gomock.Controller) *MockConfigReader
NewMockConfigReader creates a new mock instance
func (*MockConfigReader) EXPECT ¶
func (m *MockConfigReader) EXPECT() *MockConfigReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfigReader) ReadConfig ¶
func (m *MockConfigReader) ReadConfig(arg0 string) *cmd.GardenConfig
ReadConfig mocks base method
type MockConfigReaderMockRecorder ¶
type MockConfigReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigReaderMockRecorder is the mock recorder for MockConfigReader
func (*MockConfigReaderMockRecorder) ReadConfig ¶
func (mr *MockConfigReaderMockRecorder) ReadConfig(arg0 interface{}) *gomock.Call
ReadConfig indicates an expected call of ReadConfig
type MockHistoryWriter ¶ added in v0.24.3
type MockHistoryWriter struct {
// contains filtered or unexported fields
}
MockHistoryWriter is a mock of HistoryWriter interface.
func NewMockHistoryWriter ¶ added in v0.24.3
func NewMockHistoryWriter(ctrl *gomock.Controller) *MockHistoryWriter
NewMockHistoryWriter creates a new mock instance.
func (*MockHistoryWriter) EXPECT ¶ added in v0.24.3
func (m *MockHistoryWriter) EXPECT() *MockHistoryWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHistoryWriter) WriteStringln ¶ added in v0.24.3
func (m *MockHistoryWriter) WriteStringln(arg0 string, arg1 interface{}) error
WriteStringln mocks base method.
type MockHistoryWriterMockRecorder ¶ added in v0.24.3
type MockHistoryWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockHistoryWriterMockRecorder is the mock recorder for MockHistoryWriter.
func (*MockHistoryWriterMockRecorder) WriteStringln ¶ added in v0.24.3
func (mr *MockHistoryWriterMockRecorder) WriteStringln(arg0, arg1 interface{}) *gomock.Call
WriteStringln indicates an expected call of WriteStringln.
type MockKubeconfigReader ¶
type MockKubeconfigReader struct {
// contains filtered or unexported fields
}
MockKubeconfigReader is a mock of KubeconfigReader interface
func NewMockKubeconfigReader ¶
func NewMockKubeconfigReader(ctrl *gomock.Controller) *MockKubeconfigReader
NewMockKubeconfigReader creates a new mock instance
func (*MockKubeconfigReader) EXPECT ¶
func (m *MockKubeconfigReader) EXPECT() *MockKubeconfigReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeconfigReader) ReadKubeconfig ¶
func (m *MockKubeconfigReader) ReadKubeconfig(arg0 string) ([]byte, error)
ReadKubeconfig mocks base method
type MockKubeconfigReaderMockRecorder ¶
type MockKubeconfigReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigReaderMockRecorder is the mock recorder for MockKubeconfigReader
func (*MockKubeconfigReaderMockRecorder) ReadKubeconfig ¶
func (mr *MockKubeconfigReaderMockRecorder) ReadKubeconfig(arg0 interface{}) *gomock.Call
ReadKubeconfig indicates an expected call of ReadKubeconfig
type MockKubeconfigWriter ¶
type MockKubeconfigWriter struct {
// contains filtered or unexported fields
}
MockKubeconfigWriter is a mock of KubeconfigWriter interface
func NewMockKubeconfigWriter ¶
func NewMockKubeconfigWriter(ctrl *gomock.Controller) *MockKubeconfigWriter
NewMockKubeconfigWriter creates a new mock instance
func (*MockKubeconfigWriter) EXPECT ¶
func (m *MockKubeconfigWriter) EXPECT() *MockKubeconfigWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockKubeconfigWriterMockRecorder ¶
type MockKubeconfigWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigWriterMockRecorder is the mock recorder for MockKubeconfigWriter
func (*MockKubeconfigWriterMockRecorder) Write ¶
func (mr *MockKubeconfigWriterMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write
type MockTargetInterface ¶
type MockTargetInterface struct {
// contains filtered or unexported fields
}
MockTargetInterface is a mock of TargetInterface interface
func NewMockTargetInterface ¶
func NewMockTargetInterface(ctrl *gomock.Controller) *MockTargetInterface
NewMockTargetInterface creates a new mock instance
func (*MockTargetInterface) EXPECT ¶
func (m *MockTargetInterface) EXPECT() *MockTargetInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTargetInterface) GardenerClient ¶
func (m *MockTargetInterface) GardenerClient() (versioned.Interface, error)
GardenerClient mocks base method
func (*MockTargetInterface) K8SClient ¶
func (m *MockTargetInterface) K8SClient() (kubernetes.Interface, error)
K8SClient mocks base method
func (*MockTargetInterface) K8SClientToKind ¶
func (m *MockTargetInterface) K8SClientToKind(arg0 cmd.TargetKind) (kubernetes.Interface, error)
K8SClientToKind mocks base method
func (*MockTargetInterface) Kind ¶
func (m *MockTargetInterface) Kind() (cmd.TargetKind, error)
Kind mocks base method
func (*MockTargetInterface) SetStack ¶
func (m *MockTargetInterface) SetStack(arg0 []cmd.TargetMeta)
SetStack mocks base method
func (*MockTargetInterface) Stack ¶
func (m *MockTargetInterface) Stack() []cmd.TargetMeta
Stack mocks base method
type MockTargetInterfaceMockRecorder ¶
type MockTargetInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetInterfaceMockRecorder is the mock recorder for MockTargetInterface
func (*MockTargetInterfaceMockRecorder) GardenerClient ¶
func (mr *MockTargetInterfaceMockRecorder) GardenerClient() *gomock.Call
GardenerClient indicates an expected call of GardenerClient
func (*MockTargetInterfaceMockRecorder) K8SClient ¶
func (mr *MockTargetInterfaceMockRecorder) K8SClient() *gomock.Call
K8SClient indicates an expected call of K8SClient
func (*MockTargetInterfaceMockRecorder) K8SClientToKind ¶
func (mr *MockTargetInterfaceMockRecorder) K8SClientToKind(arg0 interface{}) *gomock.Call
K8SClientToKind indicates an expected call of K8SClientToKind
func (*MockTargetInterfaceMockRecorder) Kind ¶
func (mr *MockTargetInterfaceMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind
func (*MockTargetInterfaceMockRecorder) SetStack ¶
func (mr *MockTargetInterfaceMockRecorder) SetStack(arg0 interface{}) *gomock.Call
SetStack indicates an expected call of SetStack
func (*MockTargetInterfaceMockRecorder) Stack ¶
func (mr *MockTargetInterfaceMockRecorder) Stack() *gomock.Call
Stack indicates an expected call of Stack
type MockTargetReader ¶
type MockTargetReader struct {
// contains filtered or unexported fields
}
MockTargetReader is a mock of TargetReader interface
func NewMockTargetReader ¶
func NewMockTargetReader(ctrl *gomock.Controller) *MockTargetReader
NewMockTargetReader creates a new mock instance
func (*MockTargetReader) EXPECT ¶
func (m *MockTargetReader) EXPECT() *MockTargetReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTargetReader) ReadTarget ¶
func (m *MockTargetReader) ReadTarget(arg0 string) cmd.TargetInterface
ReadTarget mocks base method
type MockTargetReaderMockRecorder ¶
type MockTargetReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetReaderMockRecorder is the mock recorder for MockTargetReader
func (*MockTargetReaderMockRecorder) ReadTarget ¶
func (mr *MockTargetReaderMockRecorder) ReadTarget(arg0 interface{}) *gomock.Call
ReadTarget indicates an expected call of ReadTarget
type MockTargetWriter ¶
type MockTargetWriter struct {
// contains filtered or unexported fields
}
MockTargetWriter is a mock of TargetWriter interface
func NewMockTargetWriter ¶
func NewMockTargetWriter(ctrl *gomock.Controller) *MockTargetWriter
NewMockTargetWriter creates a new mock instance
func (*MockTargetWriter) EXPECT ¶
func (m *MockTargetWriter) EXPECT() *MockTargetWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTargetWriter) WriteTarget ¶
func (m *MockTargetWriter) WriteTarget(arg0 string, arg1 cmd.TargetInterface) error
WriteTarget mocks base method
type MockTargetWriterMockRecorder ¶
type MockTargetWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetWriterMockRecorder is the mock recorder for MockTargetWriter
func (*MockTargetWriterMockRecorder) WriteTarget ¶
func (mr *MockTargetWriterMockRecorder) WriteTarget(arg0, arg1 interface{}) *gomock.Call
WriteTarget indicates an expected call of WriteTarget