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, localPort int) *exec.Cmd
- func (m *MockCliInterface) PortForwardDashboardToLocal(port string) *exec.Cmd
- type MockCliInterfaceMockRecorder
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 ...
type CliInterface ¶ added in v0.1.0
type CliInterface interface { ApplyDashboardToCluster() *exec.Cmd PortForwardDashboardToLocal(port string) *exec.Cmd PortForward(namespace, resource string, remotePort, localPort 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, localPort 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.
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, localPort 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.