Documentation ¶
Overview ¶
Package mock_containerengine is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateCluster(ctx context.Context, request containerengine.CreateClusterRequest) (containerengine.CreateClusterResponse, error)
- func (m *MockClient) CreateKubeconfig(ctx context.Context, request containerengine.CreateKubeconfigRequest) (containerengine.CreateKubeconfigResponse, error)
- func (m *MockClient) CreateNodePool(ctx context.Context, request containerengine.CreateNodePoolRequest) (containerengine.CreateNodePoolResponse, error)
- func (m *MockClient) CreateVirtualNodePool(ctx context.Context, request containerengine.CreateVirtualNodePoolRequest) (containerengine.CreateVirtualNodePoolResponse, error)
- func (m *MockClient) DeleteCluster(ctx context.Context, request containerengine.DeleteClusterRequest) (containerengine.DeleteClusterResponse, error)
- func (m *MockClient) DeleteNodePool(ctx context.Context, request containerengine.DeleteNodePoolRequest) (containerengine.DeleteNodePoolResponse, error)
- func (m *MockClient) DeleteVirtualNodePool(ctx context.Context, request containerengine.DeleteVirtualNodePoolRequest) (containerengine.DeleteVirtualNodePoolResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetCluster(ctx context.Context, request containerengine.GetClusterRequest) (containerengine.GetClusterResponse, error)
- func (m *MockClient) GetNodePool(ctx context.Context, request containerengine.GetNodePoolRequest) (containerengine.GetNodePoolResponse, error)
- func (m *MockClient) GetNodePoolOptions(ctx context.Context, request containerengine.GetNodePoolOptionsRequest) (containerengine.GetNodePoolOptionsResponse, error)
- func (m *MockClient) GetVirtualNodePool(ctx context.Context, request containerengine.GetVirtualNodePoolRequest) (containerengine.GetVirtualNodePoolResponse, error)
- func (m *MockClient) GetWorkRequest(ctx context.Context, request containerengine.GetWorkRequestRequest) (containerengine.GetWorkRequestResponse, error)
- func (m *MockClient) ListClusters(ctx context.Context, request containerengine.ListClustersRequest) (containerengine.ListClustersResponse, error)
- func (m *MockClient) ListNodePools(ctx context.Context, request containerengine.ListNodePoolsRequest) (containerengine.ListNodePoolsResponse, error)
- func (m *MockClient) ListVirtualNodePools(ctx context.Context, request containerengine.ListVirtualNodePoolsRequest) (containerengine.ListVirtualNodePoolsResponse, error)
- func (m *MockClient) ListVirtualNodes(ctx context.Context, request containerengine.ListVirtualNodesRequest) (containerengine.ListVirtualNodesResponse, error)
- func (m *MockClient) UpdateCluster(ctx context.Context, request containerengine.UpdateClusterRequest) (containerengine.UpdateClusterResponse, error)
- func (m *MockClient) UpdateNodePool(ctx context.Context, request containerengine.UpdateNodePoolRequest) (containerengine.UpdateNodePoolResponse, error)
- func (m *MockClient) UpdateVirtualNodePool(ctx context.Context, request containerengine.UpdateVirtualNodePoolRequest) (containerengine.UpdateVirtualNodePoolResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateKubeconfig(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateVirtualNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteVirtualNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetNodePoolOptions(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetVirtualNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetWorkRequest(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListClusters(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListNodePools(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListVirtualNodePools(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListVirtualNodes(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateNodePool(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateVirtualNodePool(ctx, request interface{}) *gomock.Call
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) CreateCluster ¶
func (m *MockClient) CreateCluster(ctx context.Context, request containerengine.CreateClusterRequest) (containerengine.CreateClusterResponse, error)
CreateCluster mocks base method.
func (*MockClient) CreateKubeconfig ¶
func (m *MockClient) CreateKubeconfig(ctx context.Context, request containerengine.CreateKubeconfigRequest) (containerengine.CreateKubeconfigResponse, error)
CreateKubeconfig mocks base method.
func (*MockClient) CreateNodePool ¶
func (m *MockClient) CreateNodePool(ctx context.Context, request containerengine.CreateNodePoolRequest) (containerengine.CreateNodePoolResponse, error)
CreateNodePool mocks base method.
func (*MockClient) CreateVirtualNodePool ¶ added in v0.10.0
func (m *MockClient) CreateVirtualNodePool(ctx context.Context, request containerengine.CreateVirtualNodePoolRequest) (containerengine.CreateVirtualNodePoolResponse, error)
CreateVirtualNodePool mocks base method.
func (*MockClient) DeleteCluster ¶
func (m *MockClient) DeleteCluster(ctx context.Context, request containerengine.DeleteClusterRequest) (containerengine.DeleteClusterResponse, error)
DeleteCluster mocks base method.
func (*MockClient) DeleteNodePool ¶
func (m *MockClient) DeleteNodePool(ctx context.Context, request containerengine.DeleteNodePoolRequest) (containerengine.DeleteNodePoolResponse, error)
DeleteNodePool mocks base method.
func (*MockClient) DeleteVirtualNodePool ¶ added in v0.10.0
func (m *MockClient) DeleteVirtualNodePool(ctx context.Context, request containerengine.DeleteVirtualNodePoolRequest) (containerengine.DeleteVirtualNodePoolResponse, error)
DeleteVirtualNodePool mocks base method.
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, request containerengine.GetClusterRequest) (containerengine.GetClusterResponse, error)
GetCluster mocks base method.
func (*MockClient) GetNodePool ¶
func (m *MockClient) GetNodePool(ctx context.Context, request containerengine.GetNodePoolRequest) (containerengine.GetNodePoolResponse, error)
GetNodePool mocks base method.
func (*MockClient) GetNodePoolOptions ¶ added in v0.8.0
func (m *MockClient) GetNodePoolOptions(ctx context.Context, request containerengine.GetNodePoolOptionsRequest) (containerengine.GetNodePoolOptionsResponse, error)
GetNodePoolOptions mocks base method.
func (*MockClient) GetVirtualNodePool ¶ added in v0.10.0
func (m *MockClient) GetVirtualNodePool(ctx context.Context, request containerengine.GetVirtualNodePoolRequest) (containerengine.GetVirtualNodePoolResponse, error)
GetVirtualNodePool mocks base method.
func (*MockClient) GetWorkRequest ¶
func (m *MockClient) GetWorkRequest(ctx context.Context, request containerengine.GetWorkRequestRequest) (containerengine.GetWorkRequestResponse, error)
GetWorkRequest mocks base method.
func (*MockClient) ListClusters ¶
func (m *MockClient) ListClusters(ctx context.Context, request containerengine.ListClustersRequest) (containerengine.ListClustersResponse, error)
ListClusters mocks base method.
func (*MockClient) ListNodePools ¶
func (m *MockClient) ListNodePools(ctx context.Context, request containerengine.ListNodePoolsRequest) (containerengine.ListNodePoolsResponse, error)
ListNodePools mocks base method.
func (*MockClient) ListVirtualNodePools ¶ added in v0.10.0
func (m *MockClient) ListVirtualNodePools(ctx context.Context, request containerengine.ListVirtualNodePoolsRequest) (containerengine.ListVirtualNodePoolsResponse, error)
ListVirtualNodePools mocks base method.
func (*MockClient) ListVirtualNodes ¶ added in v0.10.0
func (m *MockClient) ListVirtualNodes(ctx context.Context, request containerengine.ListVirtualNodesRequest) (containerengine.ListVirtualNodesResponse, error)
ListVirtualNodes mocks base method.
func (*MockClient) UpdateCluster ¶
func (m *MockClient) UpdateCluster(ctx context.Context, request containerengine.UpdateClusterRequest) (containerengine.UpdateClusterResponse, error)
UpdateCluster mocks base method.
func (*MockClient) UpdateNodePool ¶
func (m *MockClient) UpdateNodePool(ctx context.Context, request containerengine.UpdateNodePoolRequest) (containerengine.UpdateNodePoolResponse, error)
UpdateNodePool mocks base method.
func (*MockClient) UpdateVirtualNodePool ¶ added in v0.10.0
func (m *MockClient) UpdateVirtualNodePool(ctx context.Context, request containerengine.UpdateVirtualNodePoolRequest) (containerengine.UpdateVirtualNodePoolResponse, error)
UpdateVirtualNodePool mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateCluster ¶
func (mr *MockClientMockRecorder) CreateCluster(ctx, request interface{}) *gomock.Call
CreateCluster indicates an expected call of CreateCluster.
func (*MockClientMockRecorder) CreateKubeconfig ¶
func (mr *MockClientMockRecorder) CreateKubeconfig(ctx, request interface{}) *gomock.Call
CreateKubeconfig indicates an expected call of CreateKubeconfig.
func (*MockClientMockRecorder) CreateNodePool ¶
func (mr *MockClientMockRecorder) CreateNodePool(ctx, request interface{}) *gomock.Call
CreateNodePool indicates an expected call of CreateNodePool.
func (*MockClientMockRecorder) CreateVirtualNodePool ¶ added in v0.10.0
func (mr *MockClientMockRecorder) CreateVirtualNodePool(ctx, request interface{}) *gomock.Call
CreateVirtualNodePool indicates an expected call of CreateVirtualNodePool.
func (*MockClientMockRecorder) DeleteCluster ¶
func (mr *MockClientMockRecorder) DeleteCluster(ctx, request interface{}) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockClientMockRecorder) DeleteNodePool ¶
func (mr *MockClientMockRecorder) DeleteNodePool(ctx, request interface{}) *gomock.Call
DeleteNodePool indicates an expected call of DeleteNodePool.
func (*MockClientMockRecorder) DeleteVirtualNodePool ¶ added in v0.10.0
func (mr *MockClientMockRecorder) DeleteVirtualNodePool(ctx, request interface{}) *gomock.Call
DeleteVirtualNodePool indicates an expected call of DeleteVirtualNodePool.
func (*MockClientMockRecorder) GetCluster ¶
func (mr *MockClientMockRecorder) GetCluster(ctx, request interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockClientMockRecorder) GetNodePool ¶
func (mr *MockClientMockRecorder) GetNodePool(ctx, request interface{}) *gomock.Call
GetNodePool indicates an expected call of GetNodePool.
func (*MockClientMockRecorder) GetNodePoolOptions ¶ added in v0.8.0
func (mr *MockClientMockRecorder) GetNodePoolOptions(ctx, request interface{}) *gomock.Call
GetNodePoolOptions indicates an expected call of GetNodePoolOptions.
func (*MockClientMockRecorder) GetVirtualNodePool ¶ added in v0.10.0
func (mr *MockClientMockRecorder) GetVirtualNodePool(ctx, request interface{}) *gomock.Call
GetVirtualNodePool indicates an expected call of GetVirtualNodePool.
func (*MockClientMockRecorder) GetWorkRequest ¶
func (mr *MockClientMockRecorder) GetWorkRequest(ctx, request interface{}) *gomock.Call
GetWorkRequest indicates an expected call of GetWorkRequest.
func (*MockClientMockRecorder) ListClusters ¶
func (mr *MockClientMockRecorder) ListClusters(ctx, request interface{}) *gomock.Call
ListClusters indicates an expected call of ListClusters.
func (*MockClientMockRecorder) ListNodePools ¶
func (mr *MockClientMockRecorder) ListNodePools(ctx, request interface{}) *gomock.Call
ListNodePools indicates an expected call of ListNodePools.
func (*MockClientMockRecorder) ListVirtualNodePools ¶ added in v0.10.0
func (mr *MockClientMockRecorder) ListVirtualNodePools(ctx, request interface{}) *gomock.Call
ListVirtualNodePools indicates an expected call of ListVirtualNodePools.
func (*MockClientMockRecorder) ListVirtualNodes ¶ added in v0.10.0
func (mr *MockClientMockRecorder) ListVirtualNodes(ctx, request interface{}) *gomock.Call
ListVirtualNodes indicates an expected call of ListVirtualNodes.
func (*MockClientMockRecorder) UpdateCluster ¶
func (mr *MockClientMockRecorder) UpdateCluster(ctx, request interface{}) *gomock.Call
UpdateCluster indicates an expected call of UpdateCluster.
func (*MockClientMockRecorder) UpdateNodePool ¶
func (mr *MockClientMockRecorder) UpdateNodePool(ctx, request interface{}) *gomock.Call
UpdateNodePool indicates an expected call of UpdateNodePool.
func (*MockClientMockRecorder) UpdateVirtualNodePool ¶ added in v0.10.0
func (mr *MockClientMockRecorder) UpdateVirtualNodePool(ctx, request interface{}) *gomock.Call
UpdateVirtualNodePool indicates an expected call of UpdateVirtualNodePool.