kubectl

package
v0.1.2-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package kubectl is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
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

func (k *Cli) ApplyDashboardToCluster() *exec.Cmd

ApplyDashboardToCluster ...

func (*Cli) PortForward added in v0.1.1

func (k *Cli) PortForward(namespace, resource string, remotePort, localPort int) *exec.Cmd

PortForward ...

func (*Cli) PortForwardDashboardToLocal added in v0.1.0

func (k *Cli) PortForwardDashboardToLocal(port string) *exec.Cmd

PortForwardDashboardToLocal ...

func (*Cli) Version added in v0.1.0

func (k *Cli) Version() *exec.Cmd

Version ...

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, 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

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.

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, 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.

func (*MockCliInterfaceMockRecorder) Version added in v0.1.0

func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL