Documentation ¶
Overview ¶
Package kubectl is a generated GoMock package.
Index ¶
- Variables
- type Cli
- type CliInterface
- 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 ¶
var KUBECTL = "kubectl"
KUBECTL the path to kubectl
Functions ¶
This section is empty.
Types ¶
type Cli ¶ added in v0.1.0
type Cli struct {
KubeOptions []string
}
Cli ...
func (*Cli) ApplyDashboardToCluster ¶ added in v0.1.0
ApplyDashboardToCluster ...
func (*Cli) PortForward ¶ added in v0.1.1
PortForward ...
func (*Cli) PortForwardDashboardToLocal ¶ added in v0.1.0
PortForwardDashboardToLocal ...
type CliInterface ¶ added in v0.1.0
type CliInterface interface { Version() *exec.Cmd ApplyDashboardToCluster() *exec.Cmd PortForwardDashboardToLocal(port string) *exec.Cmd PortForward(namespace, resource string, remotePort int) *exec.Cmd }
CliInterface ...
type MockCliInterface ¶ added in v0.1.0
type MockCliInterface struct {
// contains filtered or unexported fields
}
MockCliInterface is a mock of CliInterface interface
func NewMockCliInterface ¶ added in v0.1.0
func NewMockCliInterface(ctrl *gomock.Controller) *MockCliInterface
NewMockCliInterface creates a new mock instance
func (*MockCliInterface) ApplyDashboardToCluster ¶ added in v0.1.0
func (m *MockCliInterface) ApplyDashboardToCluster() *exec.Cmd
ApplyDashboardToCluster mocks base method
func (*MockCliInterface) EXPECT ¶ added in v0.1.0
func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCliInterface) PortForward ¶ added in v0.1.1
func (m *MockCliInterface) PortForward(namespace, resource string, remotePort int) *exec.Cmd
PortForward mocks base method
func (*MockCliInterface) PortForwardDashboardToLocal ¶ added in v0.1.0
func (m *MockCliInterface) PortForwardDashboardToLocal(port string) *exec.Cmd
PortForwardDashboardToLocal mocks base method
func (*MockCliInterface) Version ¶ added in v0.1.0
func (m *MockCliInterface) Version() *exec.Cmd
Version mocks base method
type MockCliInterfaceMockRecorder ¶ added in v0.1.0
type MockCliInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface
func (*MockCliInterfaceMockRecorder) ApplyDashboardToCluster ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) ApplyDashboardToCluster() *gomock.Call
ApplyDashboardToCluster indicates an expected call of ApplyDashboardToCluster
func (*MockCliInterfaceMockRecorder) PortForward ¶ added in v0.1.1
func (mr *MockCliInterfaceMockRecorder) PortForward(namespace, resource, remotePort interface{}) *gomock.Call
PortForward indicates an expected call of PortForward
func (*MockCliInterfaceMockRecorder) PortForwardDashboardToLocal ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) PortForwardDashboardToLocal(port interface{}) *gomock.Call
PortForwardDashboardToLocal indicates an expected call of PortForwardDashboardToLocal
func (*MockCliInterfaceMockRecorder) Version ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version