Documentation ¶
Index ¶
- type ClusterServiceServer
- func (_m *ClusterServiceServer) Create(_a0 context.Context, _a1 *cluster.ClusterCreateRequest) (*v1alpha1.Cluster, error)
- func (_m *ClusterServiceServer) Delete(_a0 context.Context, _a1 *cluster.ClusterQuery) (*cluster.ClusterResponse, error)
- func (_m *ClusterServiceServer) Get(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.Cluster, error)
- func (_m *ClusterServiceServer) InvalidateCache(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.Cluster, error)
- func (_m *ClusterServiceServer) List(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.ClusterList, error)
- func (_m *ClusterServiceServer) RotateAuth(_a0 context.Context, _a1 *cluster.ClusterQuery) (*cluster.ClusterResponse, error)
- func (_m *ClusterServiceServer) Update(_a0 context.Context, _a1 *cluster.ClusterUpdateRequest) (*v1alpha1.Cluster, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterServiceServer ¶
ClusterServiceServer is an autogenerated mock type for the ClusterServiceServer type
func NewClusterServiceServer ¶ added in v2.12.0
func NewClusterServiceServer(t interface { mock.TestingT Cleanup(func()) }) *ClusterServiceServer
NewClusterServiceServer creates a new instance of ClusterServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClusterServiceServer) Create ¶
func (_m *ClusterServiceServer) Create(_a0 context.Context, _a1 *cluster.ClusterCreateRequest) (*v1alpha1.Cluster, error)
Create provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Delete ¶
func (_m *ClusterServiceServer) Delete(_a0 context.Context, _a1 *cluster.ClusterQuery) (*cluster.ClusterResponse, error)
Delete provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Get ¶
func (_m *ClusterServiceServer) Get(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.Cluster, error)
Get provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) InvalidateCache ¶ added in v2.12.0
func (_m *ClusterServiceServer) InvalidateCache(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.Cluster, error)
InvalidateCache provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) List ¶
func (_m *ClusterServiceServer) List(_a0 context.Context, _a1 *cluster.ClusterQuery) (*v1alpha1.ClusterList, error)
List provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) RotateAuth ¶ added in v2.12.0
func (_m *ClusterServiceServer) RotateAuth(_a0 context.Context, _a1 *cluster.ClusterQuery) (*cluster.ClusterResponse, error)
RotateAuth provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Update ¶
func (_m *ClusterServiceServer) Update(_a0 context.Context, _a1 *cluster.ClusterUpdateRequest) (*v1alpha1.Cluster, error)
Update provides a mock function with given fields: _a0, _a1