kubectl

package
v0.0.13-rc11-z5nctl3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 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

type Cli struct {
	KubeOptions []string
}

Cli ...

func (*Cli) ApplyDashboardToCluster

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

ApplyDashboardToCluster ...

func (*Cli) PortForward

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

PortForward ...

func (*Cli) PortForwardDashboardToLocal

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

PortForwardDashboardToLocal ...

func (*Cli) Version

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

Version ...

type CliInterface

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

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

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

Jump to

Keyboard shortcuts

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