mock_gke

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_gke is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) GetCluster

func (m *MockClient) GetCluster(ctx context.Context) (*gke.Cluster, error)

GetCluster mocks base method

func (*MockClient) GetNode

func (m *MockClient) GetNode(nodeName string) (*gke.Node, error)

GetNode mocks base method

func (*MockClient) GetNodeList

func (m *MockClient) GetNodeList() ([]*gke.Node, error)

GetNodeList mocks base method

func (*MockClient) GetNodePool

func (m *MockClient) GetNodePool(ctx context.Context, nodePoolName string) (*gke.NodePool, error)

GetNodePool mocks base method

func (*MockClient) GetNodePoolList

func (m *MockClient) GetNodePoolList(ctx context.Context) ([]*gke.NodePool, error)

GetNodePoolList mocks base method

func (*MockClient) GetPod

func (m *MockClient) GetPod(podName string) (*gke.Pod, error)

GetPod mocks base method

func (*MockClient) GetPodListByNodeName

func (m *MockClient) GetPodListByNodeName(nodeName string) ([]*gke.Pod, error)

GetPodListByNodeName mocks base method

func (*MockClient) RefreshNode

func (m *MockClient) RefreshNode(ctx context.Context, nodeName string) ([]*gke.Pod, error)

RefreshNode mocks base method

func (*MockClient) RefreshNodes

func (m *MockClient) RefreshNodes(ctx context.Context, nodeNames []string) ([]*gke.Pod, error)

RefreshNodes mocks base method

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) GetCluster

func (mr *MockClientMockRecorder) GetCluster(ctx interface{}) *gomock.Call

GetCluster indicates an expected call of GetCluster

func (*MockClientMockRecorder) GetNode

func (mr *MockClientMockRecorder) GetNode(nodeName interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

func (*MockClientMockRecorder) GetNodeList

func (mr *MockClientMockRecorder) GetNodeList() *gomock.Call

GetNodeList indicates an expected call of GetNodeList

func (*MockClientMockRecorder) GetNodePool

func (mr *MockClientMockRecorder) GetNodePool(ctx, nodePoolName interface{}) *gomock.Call

GetNodePool indicates an expected call of GetNodePool

func (*MockClientMockRecorder) GetNodePoolList

func (mr *MockClientMockRecorder) GetNodePoolList(ctx interface{}) *gomock.Call

GetNodePoolList indicates an expected call of GetNodePoolList

func (*MockClientMockRecorder) GetPod

func (mr *MockClientMockRecorder) GetPod(podName interface{}) *gomock.Call

GetPod indicates an expected call of GetPod

func (*MockClientMockRecorder) GetPodListByNodeName

func (mr *MockClientMockRecorder) GetPodListByNodeName(nodeName interface{}) *gomock.Call

GetPodListByNodeName indicates an expected call of GetPodListByNodeName

func (*MockClientMockRecorder) RefreshNode

func (mr *MockClientMockRecorder) RefreshNode(ctx, nodeName interface{}) *gomock.Call

RefreshNode indicates an expected call of RefreshNode

func (*MockClientMockRecorder) RefreshNodes

func (mr *MockClientMockRecorder) RefreshNodes(ctx, nodeNames interface{}) *gomock.Call

RefreshNodes indicates an expected call of RefreshNodes

Jump to

Keyboard shortcuts

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