mock_cloud

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_cloud is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEksClient

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

MockEksClient is a mock of EksClient interface

func NewMockEksClient

func NewMockEksClient(ctrl *gomock.Controller) *MockEksClient

NewMockEksClient creates a new mock instance

func (*MockEksClient) DescribeCluster

func (m *MockEksClient) DescribeCluster(ctx context.Context, name string) (*eks.Cluster, error)

DescribeCluster mocks base method

func (*MockEksClient) EXPECT

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

func (*MockEksClient) ListClusters

func (m *MockEksClient) ListClusters(ctx context.Context, input *eks.ListClustersInput) (*eks.ListClustersOutput, error)

ListClusters mocks base method

func (*MockEksClient) Token

func (m *MockEksClient) Token(ctx context.Context, name string) (token.Token, error)

Token mocks base method

type MockEksClientMockRecorder

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

MockEksClientMockRecorder is the mock recorder for MockEksClient

func (*MockEksClientMockRecorder) DescribeCluster

func (mr *MockEksClientMockRecorder) DescribeCluster(ctx, name interface{}) *gomock.Call

DescribeCluster indicates an expected call of DescribeCluster

func (*MockEksClientMockRecorder) ListClusters

func (mr *MockEksClientMockRecorder) ListClusters(ctx, input interface{}) *gomock.Call

ListClusters indicates an expected call of ListClusters

func (*MockEksClientMockRecorder) Token

func (mr *MockEksClientMockRecorder) Token(ctx, name interface{}) *gomock.Call

Token indicates an expected call of Token

type MockGkeClient

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

MockGkeClient is a mock of GkeClient interface

func NewMockGkeClient

func NewMockGkeClient(ctrl *gomock.Controller) *MockGkeClient

NewMockGkeClient creates a new mock instance

func (*MockGkeClient) EXPECT

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

func (*MockGkeClient) ListClusters

func (m *MockGkeClient) ListClusters(ctx context.Context) ([]*container.Cluster, error)

ListClusters mocks base method

func (*MockGkeClient) Token

func (m *MockGkeClient) Token(ctx context.Context) (*oauth2.Token, error)

Token mocks base method

type MockGkeClientMockRecorder

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

MockGkeClientMockRecorder is the mock recorder for MockGkeClient

func (*MockGkeClientMockRecorder) ListClusters

func (mr *MockGkeClientMockRecorder) ListClusters(ctx interface{}) *gomock.Call

ListClusters indicates an expected call of ListClusters

func (*MockGkeClientMockRecorder) Token

func (mr *MockGkeClientMockRecorder) Token(ctx interface{}) *gomock.Call

Token indicates an expected call of Token

Jump to

Keyboard shortcuts

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