Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockGKEClusterService
- func (m *MockGKEClusterService) ClusterCreate(ctx context.Context, parent string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) ClusterDelete(ctx context.Context, name string) (*container.Operation, error)
- func (m *MockGKEClusterService) ClusterGet(ctx context.Context, name string) (*container.Cluster, error)
- func (m *MockGKEClusterService) ClusterList(ctx context.Context, parent string) (*container.ListClustersResponse, error)
- func (m *MockGKEClusterService) ClusterUpdate(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) EXPECT() *MockGKEClusterServiceMockRecorder
- func (m *MockGKEClusterService) NodePoolCreate(ctx context.Context, parent string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) NodePoolDelete(ctx context.Context, name string) (*container.Operation, error)
- func (m *MockGKEClusterService) NodePoolGet(ctx context.Context, name string) (*container.NodePool, error)
- func (m *MockGKEClusterService) NodePoolList(ctx context.Context, parent string) (*container.ListNodePoolsResponse, error)
- func (m *MockGKEClusterService) NodePoolUpdate(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetAutoscaling(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetMaintenancePolicy(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetManagement(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetNetworkPolicy(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetResourceLabels(ctx context.Context, name string, ...) (*container.Operation, error)
- func (m *MockGKEClusterService) SetSize(ctx context.Context, name string, ...) (*container.Operation, error)
- type MockGKEClusterServiceMockRecorder
- func (mr *MockGKEClusterServiceMockRecorder) ClusterCreate(ctx, parent, createclusterrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) ClusterDelete(ctx, name interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) ClusterGet(ctx, name interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) ClusterList(ctx, parent interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) ClusterUpdate(ctx, name, updateclusterrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) NodePoolCreate(ctx, parent, createnodepoolrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) NodePoolDelete(ctx, name interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) NodePoolGet(ctx, name interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) NodePoolList(ctx, parent interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) NodePoolUpdate(ctx, name, updatenodepoolrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetAutoscaling(ctx, name, setnodepoolautoscalingrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetMaintenancePolicy(ctx, name, maintenancepolicyrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetManagement(ctx, name, setnodepoolmanagementrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetNetworkPolicy(ctx, name, networkpolicyrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetResourceLabels(ctx, name, resourcelabelsrequest interface{}) *gomock.Call
- func (mr *MockGKEClusterServiceMockRecorder) SetSize(ctx, name, setnodepoolsizerequest interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGKEClusterService ¶
type MockGKEClusterService struct {
// contains filtered or unexported fields
}
MockGKEClusterService is a mock of GKEClusterService interface.
func NewMockGKEClusterService ¶
func NewMockGKEClusterService(ctrl *gomock.Controller) *MockGKEClusterService
NewMockGKEClusterService creates a new mock instance.
func (*MockGKEClusterService) ClusterCreate ¶ added in v1.2.0
func (m *MockGKEClusterService) ClusterCreate(ctx context.Context, parent string, createclusterrequest *container.CreateClusterRequest) (*container.Operation, error)
ClusterCreate mocks base method.
func (*MockGKEClusterService) ClusterDelete ¶ added in v1.2.0
func (m *MockGKEClusterService) ClusterDelete(ctx context.Context, name string) (*container.Operation, error)
ClusterDelete mocks base method.
func (*MockGKEClusterService) ClusterGet ¶ added in v1.2.0
func (m *MockGKEClusterService) ClusterGet(ctx context.Context, name string) (*container.Cluster, error)
ClusterGet mocks base method.
func (*MockGKEClusterService) ClusterList ¶ added in v1.2.0
func (m *MockGKEClusterService) ClusterList(ctx context.Context, parent string) (*container.ListClustersResponse, error)
ClusterList mocks base method.
func (*MockGKEClusterService) ClusterUpdate ¶ added in v1.2.0
func (m *MockGKEClusterService) ClusterUpdate(ctx context.Context, name string, updateclusterrequest *container.UpdateClusterRequest) (*container.Operation, error)
ClusterUpdate mocks base method.
func (*MockGKEClusterService) EXPECT ¶
func (m *MockGKEClusterService) EXPECT() *MockGKEClusterServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGKEClusterService) NodePoolCreate ¶ added in v1.2.0
func (m *MockGKEClusterService) NodePoolCreate(ctx context.Context, parent string, createnodepoolrequest *container.CreateNodePoolRequest) (*container.Operation, error)
NodePoolCreate mocks base method.
func (*MockGKEClusterService) NodePoolDelete ¶ added in v1.2.0
func (m *MockGKEClusterService) NodePoolDelete(ctx context.Context, name string) (*container.Operation, error)
NodePoolDelete mocks base method.
func (*MockGKEClusterService) NodePoolGet ¶ added in v1.2.0
func (m *MockGKEClusterService) NodePoolGet(ctx context.Context, name string) (*container.NodePool, error)
NodePoolGet mocks base method.
func (*MockGKEClusterService) NodePoolList ¶ added in v1.2.0
func (m *MockGKEClusterService) NodePoolList(ctx context.Context, parent string) (*container.ListNodePoolsResponse, error)
NodePoolList mocks base method.
func (*MockGKEClusterService) NodePoolUpdate ¶ added in v1.2.0
func (m *MockGKEClusterService) NodePoolUpdate(ctx context.Context, name string, updatenodepoolrequest *container.UpdateNodePoolRequest) (*container.Operation, error)
NodePoolUpdate mocks base method.
func (*MockGKEClusterService) SetAutoscaling ¶ added in v1.2.0
func (m *MockGKEClusterService) SetAutoscaling(ctx context.Context, name string, setnodepoolautoscalingrequest *container.SetNodePoolAutoscalingRequest) (*container.Operation, error)
SetAutoscaling mocks base method.
func (*MockGKEClusterService) SetMaintenancePolicy ¶
func (m *MockGKEClusterService) SetMaintenancePolicy(ctx context.Context, name string, maintenancepolicyrequest *container.SetMaintenancePolicyRequest) (*container.Operation, error)
SetMaintenancePolicy mocks base method.
func (*MockGKEClusterService) SetManagement ¶ added in v1.2.0
func (m *MockGKEClusterService) SetManagement(ctx context.Context, name string, setnodepoolmanagementrequest *container.SetNodePoolManagementRequest) (*container.Operation, error)
SetManagement mocks base method.
func (*MockGKEClusterService) SetNetworkPolicy ¶
func (m *MockGKEClusterService) SetNetworkPolicy(ctx context.Context, name string, networkpolicyrequest *container.SetNetworkPolicyRequest) (*container.Operation, error)
SetNetworkPolicy mocks base method.
func (*MockGKEClusterService) SetResourceLabels ¶
func (m *MockGKEClusterService) SetResourceLabels(ctx context.Context, name string, resourcelabelsrequest *container.SetLabelsRequest) (*container.Operation, error)
SetResourceLabels mocks base method.
type MockGKEClusterServiceMockRecorder ¶
type MockGKEClusterServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockGKEClusterServiceMockRecorder is the mock recorder for MockGKEClusterService.
func (*MockGKEClusterServiceMockRecorder) ClusterCreate ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) ClusterCreate(ctx, parent, createclusterrequest interface{}) *gomock.Call
ClusterCreate indicates an expected call of ClusterCreate.
func (*MockGKEClusterServiceMockRecorder) ClusterDelete ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) ClusterDelete(ctx, name interface{}) *gomock.Call
ClusterDelete indicates an expected call of ClusterDelete.
func (*MockGKEClusterServiceMockRecorder) ClusterGet ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) ClusterGet(ctx, name interface{}) *gomock.Call
ClusterGet indicates an expected call of ClusterGet.
func (*MockGKEClusterServiceMockRecorder) ClusterList ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) ClusterList(ctx, parent interface{}) *gomock.Call
ClusterList indicates an expected call of ClusterList.
func (*MockGKEClusterServiceMockRecorder) ClusterUpdate ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) ClusterUpdate(ctx, name, updateclusterrequest interface{}) *gomock.Call
ClusterUpdate indicates an expected call of ClusterUpdate.
func (*MockGKEClusterServiceMockRecorder) NodePoolCreate ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) NodePoolCreate(ctx, parent, createnodepoolrequest interface{}) *gomock.Call
NodePoolCreate indicates an expected call of NodePoolCreate.
func (*MockGKEClusterServiceMockRecorder) NodePoolDelete ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) NodePoolDelete(ctx, name interface{}) *gomock.Call
NodePoolDelete indicates an expected call of NodePoolDelete.
func (*MockGKEClusterServiceMockRecorder) NodePoolGet ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) NodePoolGet(ctx, name interface{}) *gomock.Call
NodePoolGet indicates an expected call of NodePoolGet.
func (*MockGKEClusterServiceMockRecorder) NodePoolList ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) NodePoolList(ctx, parent interface{}) *gomock.Call
NodePoolList indicates an expected call of NodePoolList.
func (*MockGKEClusterServiceMockRecorder) NodePoolUpdate ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) NodePoolUpdate(ctx, name, updatenodepoolrequest interface{}) *gomock.Call
NodePoolUpdate indicates an expected call of NodePoolUpdate.
func (*MockGKEClusterServiceMockRecorder) SetAutoscaling ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) SetAutoscaling(ctx, name, setnodepoolautoscalingrequest interface{}) *gomock.Call
SetAutoscaling indicates an expected call of SetAutoscaling.
func (*MockGKEClusterServiceMockRecorder) SetMaintenancePolicy ¶
func (mr *MockGKEClusterServiceMockRecorder) SetMaintenancePolicy(ctx, name, maintenancepolicyrequest interface{}) *gomock.Call
SetMaintenancePolicy indicates an expected call of SetMaintenancePolicy.
func (*MockGKEClusterServiceMockRecorder) SetManagement ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) SetManagement(ctx, name, setnodepoolmanagementrequest interface{}) *gomock.Call
SetManagement indicates an expected call of SetManagement.
func (*MockGKEClusterServiceMockRecorder) SetNetworkPolicy ¶
func (mr *MockGKEClusterServiceMockRecorder) SetNetworkPolicy(ctx, name, networkpolicyrequest interface{}) *gomock.Call
SetNetworkPolicy indicates an expected call of SetNetworkPolicy.
func (*MockGKEClusterServiceMockRecorder) SetResourceLabels ¶
func (mr *MockGKEClusterServiceMockRecorder) SetResourceLabels(ctx, name, resourcelabelsrequest interface{}) *gomock.Call
SetResourceLabels indicates an expected call of SetResourceLabels.
func (*MockGKEClusterServiceMockRecorder) SetSize ¶ added in v1.2.0
func (mr *MockGKEClusterServiceMockRecorder) SetSize(ctx, name, setnodepoolsizerequest interface{}) *gomock.Call
SetSize indicates an expected call of SetSize.