Documentation ¶
Overview ¶
Package kubectl is a generated GoMock package.
Index ¶
- type MockCliInterface
- func (m *MockCliInterface) ApplyDashboardToCluster() *exec.Cmd
- func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
- func (m *MockCliInterface) PortForward(namespace, resource string, remotePort int) *exec.Cmd
- func (m *MockCliInterface) PortForwardDashboardToLocal(port string) *exec.Cmd
- func (m *MockCliInterface) Version() *exec.Cmd
- type MockCliInterfaceMockRecorder
- func (mr *MockCliInterfaceMockRecorder) ApplyDashboardToCluster() *gomock.Call
- func (mr *MockCliInterfaceMockRecorder) PortForward(namespace, resource, remotePort interface{}) *gomock.Call
- func (mr *MockCliInterfaceMockRecorder) PortForwardDashboardToLocal(port interface{}) *gomock.Call
- func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCliInterface ¶
type MockCliInterface struct {
// contains filtered or unexported fields
}
MockCliInterface is a mock of CliInterface interface
func NewMockCliInterface ¶
func NewMockCliInterface(ctrl *gomock.Controller) *MockCliInterface
NewMockCliInterface creates a new mock instance
func (*MockCliInterface) ApplyDashboardToCluster ¶
func (m *MockCliInterface) ApplyDashboardToCluster() *exec.Cmd
ApplyDashboardToCluster mocks base method
func (*MockCliInterface) EXPECT ¶
func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCliInterface) PortForward ¶
func (m *MockCliInterface) PortForward(namespace, resource string, remotePort int) *exec.Cmd
PortForward mocks base method
func (*MockCliInterface) PortForwardDashboardToLocal ¶
func (m *MockCliInterface) PortForwardDashboardToLocal(port string) *exec.Cmd
PortForwardDashboardToLocal mocks base method
func (*MockCliInterface) Version ¶
func (m *MockCliInterface) Version() *exec.Cmd
Version mocks base method
type MockCliInterfaceMockRecorder ¶
type MockCliInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface
func (*MockCliInterfaceMockRecorder) ApplyDashboardToCluster ¶
func (mr *MockCliInterfaceMockRecorder) ApplyDashboardToCluster() *gomock.Call
ApplyDashboardToCluster indicates an expected call of ApplyDashboardToCluster
func (*MockCliInterfaceMockRecorder) PortForward ¶
func (mr *MockCliInterfaceMockRecorder) PortForward(namespace, resource, remotePort interface{}) *gomock.Call
PortForward indicates an expected call of PortForward
func (*MockCliInterfaceMockRecorder) PortForwardDashboardToLocal ¶
func (mr *MockCliInterfaceMockRecorder) PortForwardDashboardToLocal(port interface{}) *gomock.Call
PortForwardDashboardToLocal indicates an expected call of PortForwardDashboardToLocal
func (*MockCliInterfaceMockRecorder) Version ¶
func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version