Documentation ¶
Overview ¶
Package mock_local is a generated GoMock package.
Index ¶
- type MockBuilder
- func (m *MockBuilder) AddCluster(cluster string)
- func (m *MockBuilder) AddSecrets(secrets ...*v1.Secret)
- func (m *MockBuilder) BuildLabelPartitionedSnapshot(labelKey string) (local.Snapshot, error)
- func (m *MockBuilder) BuildSinglePartitionedSnapshot(snapshotLabels map[string]string) (local.Snapshot, error)
- func (m *MockBuilder) Clone() local.Builder
- func (m *MockBuilder) Clusters() []string
- func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
- func (m *MockBuilder) GetSecrets() v1sets.SecretSet
- func (m *MockBuilder) Merge(other local.Builder)
- type MockBuilderMockRecorder
- func (mr *MockBuilderMockRecorder) AddCluster(cluster interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) AddSecrets(secrets ...interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) BuildLabelPartitionedSnapshot(labelKey interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) BuildSinglePartitionedSnapshot(snapshotLabels interface{}) *gomock.Call
- func (mr *MockBuilderMockRecorder) Clone() *gomock.Call
- func (mr *MockBuilderMockRecorder) Clusters() *gomock.Call
- func (mr *MockBuilderMockRecorder) GetSecrets() *gomock.Call
- func (mr *MockBuilderMockRecorder) Merge(other interface{}) *gomock.Call
- type MockLabeledSecretSet
- type MockLabeledSecretSetMockRecorder
- type MockSnapshot
- func (m *MockSnapshot) ApplyLocalCluster(ctx context.Context, clusterClient client.Client, ...)
- func (m *MockSnapshot) ApplyMultiCluster(ctx context.Context, multiClusterClient multicluster.Client, ...)
- func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
- func (m *MockSnapshot) MarshalJSON() ([]byte, error)
- func (m *MockSnapshot) Secrets() []local.LabeledSecretSet
- type MockSnapshotMockRecorder
- func (mr *MockSnapshotMockRecorder) ApplyLocalCluster(ctx, clusterClient, errHandler interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) ApplyMultiCluster(ctx, multiClusterClient, errHandler interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Secrets() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBuilder ¶
type MockBuilder struct {
// contains filtered or unexported fields
}
MockBuilder is a mock of Builder interface
func NewMockBuilder ¶
func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder
NewMockBuilder creates a new mock instance
func (*MockBuilder) AddCluster ¶
func (m *MockBuilder) AddCluster(cluster string)
AddCluster mocks base method
func (*MockBuilder) AddSecrets ¶
func (m *MockBuilder) AddSecrets(secrets ...*v1.Secret)
AddSecrets mocks base method
func (*MockBuilder) BuildLabelPartitionedSnapshot ¶
func (m *MockBuilder) BuildLabelPartitionedSnapshot(labelKey string) (local.Snapshot, error)
BuildLabelPartitionedSnapshot mocks base method
func (*MockBuilder) BuildSinglePartitionedSnapshot ¶
func (m *MockBuilder) BuildSinglePartitionedSnapshot(snapshotLabels map[string]string) (local.Snapshot, error)
BuildSinglePartitionedSnapshot mocks base method
func (*MockBuilder) EXPECT ¶
func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBuilder) GetSecrets ¶
func (m *MockBuilder) GetSecrets() v1sets.SecretSet
GetSecrets mocks base method
func (*MockBuilder) Merge ¶
func (m *MockBuilder) Merge(other local.Builder)
Merge mocks base method
type MockBuilderMockRecorder ¶
type MockBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockBuilderMockRecorder is the mock recorder for MockBuilder
func (*MockBuilderMockRecorder) AddCluster ¶
func (mr *MockBuilderMockRecorder) AddCluster(cluster interface{}) *gomock.Call
AddCluster indicates an expected call of AddCluster
func (*MockBuilderMockRecorder) AddSecrets ¶
func (mr *MockBuilderMockRecorder) AddSecrets(secrets ...interface{}) *gomock.Call
AddSecrets indicates an expected call of AddSecrets
func (*MockBuilderMockRecorder) BuildLabelPartitionedSnapshot ¶
func (mr *MockBuilderMockRecorder) BuildLabelPartitionedSnapshot(labelKey interface{}) *gomock.Call
BuildLabelPartitionedSnapshot indicates an expected call of BuildLabelPartitionedSnapshot
func (*MockBuilderMockRecorder) BuildSinglePartitionedSnapshot ¶
func (mr *MockBuilderMockRecorder) BuildSinglePartitionedSnapshot(snapshotLabels interface{}) *gomock.Call
BuildSinglePartitionedSnapshot indicates an expected call of BuildSinglePartitionedSnapshot
func (*MockBuilderMockRecorder) Clone ¶
func (mr *MockBuilderMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone
func (*MockBuilderMockRecorder) Clusters ¶
func (mr *MockBuilderMockRecorder) Clusters() *gomock.Call
Clusters indicates an expected call of Clusters
func (*MockBuilderMockRecorder) GetSecrets ¶
func (mr *MockBuilderMockRecorder) GetSecrets() *gomock.Call
GetSecrets indicates an expected call of GetSecrets
func (*MockBuilderMockRecorder) Merge ¶
func (mr *MockBuilderMockRecorder) Merge(other interface{}) *gomock.Call
Merge indicates an expected call of Merge
type MockLabeledSecretSet ¶
type MockLabeledSecretSet struct {
// contains filtered or unexported fields
}
MockLabeledSecretSet is a mock of LabeledSecretSet interface
func NewMockLabeledSecretSet ¶
func NewMockLabeledSecretSet(ctrl *gomock.Controller) *MockLabeledSecretSet
NewMockLabeledSecretSet creates a new mock instance
func (*MockLabeledSecretSet) EXPECT ¶
func (m *MockLabeledSecretSet) EXPECT() *MockLabeledSecretSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLabeledSecretSet) Generic ¶
func (m *MockLabeledSecretSet) Generic() output.ResourceList
Generic mocks base method
func (*MockLabeledSecretSet) Labels ¶
func (m *MockLabeledSecretSet) Labels() map[string]string
Labels mocks base method
func (*MockLabeledSecretSet) Set ¶
func (m *MockLabeledSecretSet) Set() v1sets.SecretSet
Set mocks base method
type MockLabeledSecretSetMockRecorder ¶
type MockLabeledSecretSetMockRecorder struct {
// contains filtered or unexported fields
}
MockLabeledSecretSetMockRecorder is the mock recorder for MockLabeledSecretSet
func (*MockLabeledSecretSetMockRecorder) Generic ¶
func (mr *MockLabeledSecretSetMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic
func (*MockLabeledSecretSetMockRecorder) Labels ¶
func (mr *MockLabeledSecretSetMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels
func (*MockLabeledSecretSetMockRecorder) Set ¶
func (mr *MockLabeledSecretSetMockRecorder) Set() *gomock.Call
Set indicates an expected call of Set
type MockSnapshot ¶
type MockSnapshot struct {
// contains filtered or unexported fields
}
MockSnapshot is a mock of Snapshot interface
func NewMockSnapshot ¶
func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot
NewMockSnapshot creates a new mock instance
func (*MockSnapshot) ApplyLocalCluster ¶
func (m *MockSnapshot) ApplyLocalCluster(ctx context.Context, clusterClient client.Client, errHandler output.ErrorHandler)
ApplyLocalCluster mocks base method
func (*MockSnapshot) ApplyMultiCluster ¶
func (m *MockSnapshot) ApplyMultiCluster(ctx context.Context, multiClusterClient multicluster.Client, errHandler output.ErrorHandler)
ApplyMultiCluster mocks base method
func (*MockSnapshot) EXPECT ¶
func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSnapshot) MarshalJSON ¶
func (m *MockSnapshot) MarshalJSON() ([]byte, error)
MarshalJSON mocks base method
func (*MockSnapshot) Secrets ¶
func (m *MockSnapshot) Secrets() []local.LabeledSecretSet
Secrets mocks base method
type MockSnapshotMockRecorder ¶
type MockSnapshotMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotMockRecorder is the mock recorder for MockSnapshot
func (*MockSnapshotMockRecorder) ApplyLocalCluster ¶
func (mr *MockSnapshotMockRecorder) ApplyLocalCluster(ctx, clusterClient, errHandler interface{}) *gomock.Call
ApplyLocalCluster indicates an expected call of ApplyLocalCluster
func (*MockSnapshotMockRecorder) ApplyMultiCluster ¶
func (mr *MockSnapshotMockRecorder) ApplyMultiCluster(ctx, multiClusterClient, errHandler interface{}) *gomock.Call
ApplyMultiCluster indicates an expected call of ApplyMultiCluster
func (*MockSnapshotMockRecorder) MarshalJSON ¶
func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON
func (*MockSnapshotMockRecorder) Secrets ¶
func (mr *MockSnapshotMockRecorder) Secrets() *gomock.Call
Secrets indicates an expected call of Secrets