Documentation ¶
Overview ¶
Package mock_cloud is a generated GoMock package.
Index ¶
- type MockEksClient
- func (m *MockEksClient) DescribeCluster(ctx context.Context, name string) (*eks.Cluster, error)
- func (m *MockEksClient) EXPECT() *MockEksClientMockRecorder
- func (m *MockEksClient) ListClusters(ctx context.Context, fn func(*eks.ListClustersOutput)) error
- func (m *MockEksClient) Token(ctx context.Context, name string) (token.Token, error)
- type MockEksClientMockRecorder
- type MockGkeClient
- type MockGkeClientMockRecorder
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 ¶
DescribeCluster mocks base method
func (*MockEksClient) EXPECT ¶
func (m *MockEksClient) EXPECT() *MockEksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEksClient) ListClusters ¶
func (m *MockEksClient) ListClusters(ctx context.Context, fn func(*eks.ListClustersOutput)) error
ListClusters 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, fn 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 ¶
func (m *MockGkeClient) EXPECT() *MockGkeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGkeClient) ListClusters ¶
ListClusters 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