Documentation
¶
Index ¶
- type ClusterSetManager
- func (_m *ClusterSetManager) CreateClusterSet(ctx context.Context, clustersetName string, sslMode v1.ClusterSetSSLMode) error
- func (_m *ClusterSetManager) ForcePrimaryCluster(ctx context.Context, clusterName string) error
- func (_m *ClusterSetManager) Status(ctx context.Context) (clusterset.Status, error)
- type EventRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSetManager ¶
ClusterSetManager is an autogenerated mock type for the ClusterSetManager type
func NewClusterSetManager ¶
func NewClusterSetManager(t interface {
mock.TestingT
Cleanup(func())
}) *ClusterSetManager
NewClusterSetManager creates a new instance of ClusterSetManager. 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 (*ClusterSetManager) CreateClusterSet ¶
func (_m *ClusterSetManager) CreateClusterSet(ctx context.Context, clustersetName string, sslMode v1.ClusterSetSSLMode) error
CreateClusterSet provides a mock function with given fields: ctx, clustersetName, sslMode
func (*ClusterSetManager) ForcePrimaryCluster ¶
func (_m *ClusterSetManager) ForcePrimaryCluster(ctx context.Context, clusterName string) error
ForcePrimaryCluster provides a mock function with given fields: ctx, clusterName
func (*ClusterSetManager) Status ¶
func (_m *ClusterSetManager) Status(ctx context.Context) (clusterset.Status, error)
Status provides a mock function with given fields: ctx
type EventRecorder ¶
EventRecorder is an autogenerated mock type for the EventRecorder type
func NewEventRecorder ¶
func NewEventRecorder(t interface {
mock.TestingT
Cleanup(func())
}) *EventRecorder
NewEventRecorder creates a new instance of EventRecorder. 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 (*EventRecorder) Eventf ¶
func (_m *EventRecorder) Eventf(regarding runtime.Object, related runtime.Object, eventtype string, reason string, action string, note string, args ...interface{})
Eventf provides a mock function with given fields: regarding, related, eventtype, reason, action, note, args