mocks

package
v2.14.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterServiceServer

type ClusterServiceServer struct {
	mock.Mock
}

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

Create provides a mock function with given fields: _a0, _a1

func (*ClusterServiceServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*ClusterServiceServer) Get

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

List provides a mock function with given fields: _a0, _a1

func (*ClusterServiceServer) RotateAuth added in v2.12.0

RotateAuth provides a mock function with given fields: _a0, _a1

func (*ClusterServiceServer) Update

Update provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL