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) DisableAddon(ctx context.Context, request containerengine.DisableAddonRequest) (containerengine.DisableAddonResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetAddon(ctx context.Context, request containerengine.GetAddonRequest) (containerengine.GetAddonResponse, error)
- 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) InstallAddon(ctx context.Context, request containerengine.InstallAddonRequest) (containerengine.InstallAddonResponse, error)
- func (m *MockClient) ListAddons(ctx context.Context, request containerengine.ListAddonsRequest) (containerengine.ListAddonsResponse, 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) UpdateAddon(ctx context.Context, request containerengine.UpdateAddonRequest) (containerengine.UpdateAddonResponse, 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) DisableAddon(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetAddon(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) InstallAddon(ctx, request interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAddons(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) UpdateAddon(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) DisableAddon ¶ added in v0.11.0
func (m *MockClient) DisableAddon(ctx context.Context, request containerengine.DisableAddonRequest) (containerengine.DisableAddonResponse, error)
DisableAddon 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) GetAddon ¶ added in v0.11.0
func (m *MockClient) GetAddon(ctx context.Context, request containerengine.GetAddonRequest) (containerengine.GetAddonResponse, error)
GetAddon mocks base method.
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) InstallAddon ¶ added in v0.11.0
func (m *MockClient) InstallAddon(ctx context.Context, request containerengine.InstallAddonRequest) (containerengine.InstallAddonResponse, error)
InstallAddon mocks base method.
func (*MockClient) ListAddons ¶ added in v0.11.0
func (m *MockClient) ListAddons(ctx context.Context, request containerengine.ListAddonsRequest) (containerengine.ListAddonsResponse, error)
ListAddons 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) UpdateAddon ¶ added in v0.11.0
func (m *MockClient) UpdateAddon(ctx context.Context, request containerengine.UpdateAddonRequest) (containerengine.UpdateAddonResponse, error)
UpdateAddon 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) DisableAddon ¶ added in v0.11.0
func (mr *MockClientMockRecorder) DisableAddon(ctx, request interface{}) *gomock.Call
DisableAddon indicates an expected call of DisableAddon.
func (*MockClientMockRecorder) GetAddon ¶ added in v0.11.0
func (mr *MockClientMockRecorder) GetAddon(ctx, request interface{}) *gomock.Call
GetAddon indicates an expected call of GetAddon.
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) InstallAddon ¶ added in v0.11.0
func (mr *MockClientMockRecorder) InstallAddon(ctx, request interface{}) *gomock.Call
InstallAddon indicates an expected call of InstallAddon.
func (*MockClientMockRecorder) ListAddons ¶ added in v0.11.0
func (mr *MockClientMockRecorder) ListAddons(ctx, request interface{}) *gomock.Call
ListAddons indicates an expected call of ListAddons.
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) UpdateAddon ¶ added in v0.11.0
func (mr *MockClientMockRecorder) UpdateAddon(ctx, request interface{}) *gomock.Call
UpdateAddon indicates an expected call of UpdateAddon.
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.