Documentation ¶
Overview ¶
Package mock_input is a generated GoMock package.
Package mock_input is a generated GoMock package.
Index ¶
- type MockBuilder
- type MockBuilderMockRecorder
- type MockSnapshot
- func (m *MockSnapshot) CertificateRequests() v1sets0.CertificateRequestSet
- func (m *MockSnapshot) Clone() input.Snapshot
- func (m *MockSnapshot) ConfigMaps() v1sets.ConfigMapSet
- func (m *MockSnapshot) EXPECT() *MockSnapshotMockRecorder
- func (m *MockSnapshot) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))
- func (m *MockSnapshot) Generic() resource.ClusterSnapshot
- func (m *MockSnapshot) IssuedCertificates() v1sets0.IssuedCertificateSet
- func (m *MockSnapshot) MarshalJSON() ([]byte, error)
- func (m *MockSnapshot) PodBounceDirectives() v1sets0.PodBounceDirectiveSet
- func (m *MockSnapshot) Pods() v1sets.PodSet
- func (m *MockSnapshot) Secrets() v1sets.SecretSet
- func (m *MockSnapshot) ServiceAccounts() v1sets.ServiceAccountSet
- func (m *MockSnapshot) SyncStatuses(ctx context.Context, c client.Client, opts input.SyncStatusOptions) error
- func (m *MockSnapshot) SyncStatusesMultiCluster(ctx context.Context, mcClient multicluster.Client, ...) error
- type MockSnapshotMockRecorder
- func (mr *MockSnapshotMockRecorder) CertificateRequests() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Clone() *gomock.Call
- func (mr *MockSnapshotMockRecorder) ConfigMaps() *gomock.Call
- func (mr *MockSnapshotMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) Generic() *gomock.Call
- func (mr *MockSnapshotMockRecorder) IssuedCertificates() *gomock.Call
- func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockSnapshotMockRecorder) PodBounceDirectives() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Pods() *gomock.Call
- func (mr *MockSnapshotMockRecorder) Secrets() *gomock.Call
- func (mr *MockSnapshotMockRecorder) ServiceAccounts() *gomock.Call
- func (mr *MockSnapshotMockRecorder) SyncStatuses(ctx, c, opts interface{}) *gomock.Call
- func (mr *MockSnapshotMockRecorder) SyncStatusesMultiCluster(ctx, mcClient, opts interface{}) *gomock.Call
- type MockmultiClusterReconciler
- func (m *MockmultiClusterReconciler) EXPECT() *MockmultiClusterReconcilerMockRecorder
- func (m *MockmultiClusterReconciler) ReconcileCertificateRequest(clusterName string, obj *v1.CertificateRequest) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileConfigMap(clusterName string, obj *v10.ConfigMap) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileIssuedCertificate(clusterName string, obj *v1.IssuedCertificate) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcilePod(clusterName string, obj *v10.Pod) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcilePodBounceDirective(clusterName string, obj *v1.PodBounceDirective) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileSecret(clusterName string, obj *v10.Secret) (reconcile.Result, error)
- func (m *MockmultiClusterReconciler) ReconcileServiceAccount(clusterName string, obj *v10.ServiceAccount) (reconcile.Result, error)
- type MockmultiClusterReconcilerMockRecorder
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileCertificateRequest(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePod(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePodBounceDirective(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileSecret(clusterName, obj interface{}) *gomock.Call
- func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileServiceAccount(clusterName, obj interface{}) *gomock.Call
- type MocksingleClusterReconciler
- func (m *MocksingleClusterReconciler) EXPECT() *MocksingleClusterReconcilerMockRecorder
- func (m *MocksingleClusterReconciler) ReconcileCertificateRequest(obj *v1.CertificateRequest) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileConfigMap(obj *v10.ConfigMap) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileIssuedCertificate(obj *v1.IssuedCertificate) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcilePod(obj *v10.Pod) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcilePodBounceDirective(obj *v1.PodBounceDirective) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileSecret(obj *v10.Secret) (reconcile.Result, error)
- func (m *MocksingleClusterReconciler) ReconcileServiceAccount(obj *v10.ServiceAccount) (reconcile.Result, error)
- type MocksingleClusterReconcilerMockRecorder
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileCertificateRequest(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePod(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePodBounceDirective(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileSecret(obj interface{}) *gomock.Call
- func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileServiceAccount(obj interface{}) *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) BuildSnapshot ¶
func (m *MockBuilder) BuildSnapshot(ctx context.Context, name string, opts input.BuildOptions) (input.Snapshot, error)
BuildSnapshot mocks base method.
func (*MockBuilder) EXPECT ¶
func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBuilderMockRecorder ¶
type MockBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockBuilderMockRecorder is the mock recorder for MockBuilder.
func (*MockBuilderMockRecorder) BuildSnapshot ¶
func (mr *MockBuilderMockRecorder) BuildSnapshot(ctx, name, opts interface{}) *gomock.Call
BuildSnapshot indicates an expected call of BuildSnapshot.
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) CertificateRequests ¶
func (m *MockSnapshot) CertificateRequests() v1sets0.CertificateRequestSet
CertificateRequests mocks base method.
func (*MockSnapshot) Clone ¶ added in v1.1.0
func (m *MockSnapshot) Clone() input.Snapshot
Clone mocks base method.
func (*MockSnapshot) ConfigMaps ¶ added in v0.12.6
func (m *MockSnapshot) ConfigMaps() v1sets.ConfigMapSet
ConfigMaps 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) ForEachObject ¶ added in v1.1.0
func (m *MockSnapshot) ForEachObject(handleObject func(string, schema.GroupVersionKind, resource.TypedObject))
ForEachObject mocks base method.
func (*MockSnapshot) Generic ¶ added in v1.1.0
func (m *MockSnapshot) Generic() resource.ClusterSnapshot
Generic mocks base method.
func (*MockSnapshot) IssuedCertificates ¶
func (m *MockSnapshot) IssuedCertificates() v1sets0.IssuedCertificateSet
IssuedCertificates mocks base method.
func (*MockSnapshot) MarshalJSON ¶
func (m *MockSnapshot) MarshalJSON() ([]byte, error)
MarshalJSON mocks base method.
func (*MockSnapshot) PodBounceDirectives ¶
func (m *MockSnapshot) PodBounceDirectives() v1sets0.PodBounceDirectiveSet
PodBounceDirectives mocks base method.
func (*MockSnapshot) Secrets ¶
func (m *MockSnapshot) Secrets() v1sets.SecretSet
Secrets mocks base method.
func (*MockSnapshot) ServiceAccounts ¶ added in v1.1.0
func (m *MockSnapshot) ServiceAccounts() v1sets.ServiceAccountSet
ServiceAccounts mocks base method.
func (*MockSnapshot) SyncStatuses ¶
func (m *MockSnapshot) SyncStatuses(ctx context.Context, c client.Client, opts input.SyncStatusOptions) error
SyncStatuses mocks base method.
func (*MockSnapshot) SyncStatusesMultiCluster ¶
func (m *MockSnapshot) SyncStatusesMultiCluster(ctx context.Context, mcClient multicluster.Client, opts input.SyncStatusOptions) error
SyncStatusesMultiCluster mocks base method.
type MockSnapshotMockRecorder ¶
type MockSnapshotMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotMockRecorder is the mock recorder for MockSnapshot.
func (*MockSnapshotMockRecorder) CertificateRequests ¶
func (mr *MockSnapshotMockRecorder) CertificateRequests() *gomock.Call
CertificateRequests indicates an expected call of CertificateRequests.
func (*MockSnapshotMockRecorder) Clone ¶ added in v1.1.0
func (mr *MockSnapshotMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
func (*MockSnapshotMockRecorder) ConfigMaps ¶ added in v0.12.6
func (mr *MockSnapshotMockRecorder) ConfigMaps() *gomock.Call
ConfigMaps indicates an expected call of ConfigMaps.
func (*MockSnapshotMockRecorder) ForEachObject ¶ added in v1.1.0
func (mr *MockSnapshotMockRecorder) ForEachObject(handleObject interface{}) *gomock.Call
ForEachObject indicates an expected call of ForEachObject.
func (*MockSnapshotMockRecorder) Generic ¶ added in v1.1.0
func (mr *MockSnapshotMockRecorder) Generic() *gomock.Call
Generic indicates an expected call of Generic.
func (*MockSnapshotMockRecorder) IssuedCertificates ¶
func (mr *MockSnapshotMockRecorder) IssuedCertificates() *gomock.Call
IssuedCertificates indicates an expected call of IssuedCertificates.
func (*MockSnapshotMockRecorder) MarshalJSON ¶
func (mr *MockSnapshotMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON.
func (*MockSnapshotMockRecorder) PodBounceDirectives ¶
func (mr *MockSnapshotMockRecorder) PodBounceDirectives() *gomock.Call
PodBounceDirectives indicates an expected call of PodBounceDirectives.
func (*MockSnapshotMockRecorder) Pods ¶
func (mr *MockSnapshotMockRecorder) Pods() *gomock.Call
Pods indicates an expected call of Pods.
func (*MockSnapshotMockRecorder) Secrets ¶
func (mr *MockSnapshotMockRecorder) Secrets() *gomock.Call
Secrets indicates an expected call of Secrets.
func (*MockSnapshotMockRecorder) ServiceAccounts ¶ added in v1.1.0
func (mr *MockSnapshotMockRecorder) ServiceAccounts() *gomock.Call
ServiceAccounts indicates an expected call of ServiceAccounts.
func (*MockSnapshotMockRecorder) SyncStatuses ¶
func (mr *MockSnapshotMockRecorder) SyncStatuses(ctx, c, opts interface{}) *gomock.Call
SyncStatuses indicates an expected call of SyncStatuses.
func (*MockSnapshotMockRecorder) SyncStatusesMultiCluster ¶
func (mr *MockSnapshotMockRecorder) SyncStatusesMultiCluster(ctx, mcClient, opts interface{}) *gomock.Call
SyncStatusesMultiCluster indicates an expected call of SyncStatusesMultiCluster.
type MockmultiClusterReconciler ¶
type MockmultiClusterReconciler struct {
// contains filtered or unexported fields
}
MockmultiClusterReconciler is a mock of multiClusterReconciler interface.
func NewMockmultiClusterReconciler ¶
func NewMockmultiClusterReconciler(ctrl *gomock.Controller) *MockmultiClusterReconciler
NewMockmultiClusterReconciler creates a new mock instance.
func (*MockmultiClusterReconciler) EXPECT ¶
func (m *MockmultiClusterReconciler) EXPECT() *MockmultiClusterReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockmultiClusterReconciler) ReconcileCertificateRequest ¶
func (m *MockmultiClusterReconciler) ReconcileCertificateRequest(clusterName string, obj *v1.CertificateRequest) (reconcile.Result, error)
ReconcileCertificateRequest mocks base method.
func (*MockmultiClusterReconciler) ReconcileConfigMap ¶ added in v0.12.6
func (m *MockmultiClusterReconciler) ReconcileConfigMap(clusterName string, obj *v10.ConfigMap) (reconcile.Result, error)
ReconcileConfigMap mocks base method.
func (*MockmultiClusterReconciler) ReconcileIssuedCertificate ¶
func (m *MockmultiClusterReconciler) ReconcileIssuedCertificate(clusterName string, obj *v1.IssuedCertificate) (reconcile.Result, error)
ReconcileIssuedCertificate mocks base method.
func (*MockmultiClusterReconciler) ReconcilePod ¶
func (m *MockmultiClusterReconciler) ReconcilePod(clusterName string, obj *v10.Pod) (reconcile.Result, error)
ReconcilePod mocks base method.
func (*MockmultiClusterReconciler) ReconcilePodBounceDirective ¶
func (m *MockmultiClusterReconciler) ReconcilePodBounceDirective(clusterName string, obj *v1.PodBounceDirective) (reconcile.Result, error)
ReconcilePodBounceDirective mocks base method.
func (*MockmultiClusterReconciler) ReconcileSecret ¶
func (m *MockmultiClusterReconciler) ReconcileSecret(clusterName string, obj *v10.Secret) (reconcile.Result, error)
ReconcileSecret mocks base method.
func (*MockmultiClusterReconciler) ReconcileServiceAccount ¶ added in v1.1.0
func (m *MockmultiClusterReconciler) ReconcileServiceAccount(clusterName string, obj *v10.ServiceAccount) (reconcile.Result, error)
ReconcileServiceAccount mocks base method.
type MockmultiClusterReconcilerMockRecorder ¶
type MockmultiClusterReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockmultiClusterReconcilerMockRecorder is the mock recorder for MockmultiClusterReconciler.
func (*MockmultiClusterReconcilerMockRecorder) ReconcileCertificateRequest ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileCertificateRequest(clusterName, obj interface{}) *gomock.Call
ReconcileCertificateRequest indicates an expected call of ReconcileCertificateRequest.
func (*MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap ¶ added in v0.12.6
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileConfigMap(clusterName, obj interface{}) *gomock.Call
ReconcileConfigMap indicates an expected call of ReconcileConfigMap.
func (*MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileIssuedCertificate(clusterName, obj interface{}) *gomock.Call
ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.
func (*MockmultiClusterReconcilerMockRecorder) ReconcilePod ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePod(clusterName, obj interface{}) *gomock.Call
ReconcilePod indicates an expected call of ReconcilePod.
func (*MockmultiClusterReconcilerMockRecorder) ReconcilePodBounceDirective ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcilePodBounceDirective(clusterName, obj interface{}) *gomock.Call
ReconcilePodBounceDirective indicates an expected call of ReconcilePodBounceDirective.
func (*MockmultiClusterReconcilerMockRecorder) ReconcileSecret ¶
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileSecret(clusterName, obj interface{}) *gomock.Call
ReconcileSecret indicates an expected call of ReconcileSecret.
func (*MockmultiClusterReconcilerMockRecorder) ReconcileServiceAccount ¶ added in v1.1.0
func (mr *MockmultiClusterReconcilerMockRecorder) ReconcileServiceAccount(clusterName, obj interface{}) *gomock.Call
ReconcileServiceAccount indicates an expected call of ReconcileServiceAccount.
type MocksingleClusterReconciler ¶
type MocksingleClusterReconciler struct {
// contains filtered or unexported fields
}
MocksingleClusterReconciler is a mock of singleClusterReconciler interface.
func NewMocksingleClusterReconciler ¶
func NewMocksingleClusterReconciler(ctrl *gomock.Controller) *MocksingleClusterReconciler
NewMocksingleClusterReconciler creates a new mock instance.
func (*MocksingleClusterReconciler) EXPECT ¶
func (m *MocksingleClusterReconciler) EXPECT() *MocksingleClusterReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocksingleClusterReconciler) ReconcileCertificateRequest ¶
func (m *MocksingleClusterReconciler) ReconcileCertificateRequest(obj *v1.CertificateRequest) (reconcile.Result, error)
ReconcileCertificateRequest mocks base method.
func (*MocksingleClusterReconciler) ReconcileConfigMap ¶ added in v0.12.6
func (m *MocksingleClusterReconciler) ReconcileConfigMap(obj *v10.ConfigMap) (reconcile.Result, error)
ReconcileConfigMap mocks base method.
func (*MocksingleClusterReconciler) ReconcileIssuedCertificate ¶
func (m *MocksingleClusterReconciler) ReconcileIssuedCertificate(obj *v1.IssuedCertificate) (reconcile.Result, error)
ReconcileIssuedCertificate mocks base method.
func (*MocksingleClusterReconciler) ReconcilePod ¶
ReconcilePod mocks base method.
func (*MocksingleClusterReconciler) ReconcilePodBounceDirective ¶
func (m *MocksingleClusterReconciler) ReconcilePodBounceDirective(obj *v1.PodBounceDirective) (reconcile.Result, error)
ReconcilePodBounceDirective mocks base method.
func (*MocksingleClusterReconciler) ReconcileSecret ¶
ReconcileSecret mocks base method.
func (*MocksingleClusterReconciler) ReconcileServiceAccount ¶ added in v1.1.0
func (m *MocksingleClusterReconciler) ReconcileServiceAccount(obj *v10.ServiceAccount) (reconcile.Result, error)
ReconcileServiceAccount mocks base method.
type MocksingleClusterReconcilerMockRecorder ¶
type MocksingleClusterReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MocksingleClusterReconcilerMockRecorder is the mock recorder for MocksingleClusterReconciler.
func (*MocksingleClusterReconcilerMockRecorder) ReconcileCertificateRequest ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileCertificateRequest(obj interface{}) *gomock.Call
ReconcileCertificateRequest indicates an expected call of ReconcileCertificateRequest.
func (*MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap ¶ added in v0.12.6
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileConfigMap(obj interface{}) *gomock.Call
ReconcileConfigMap indicates an expected call of ReconcileConfigMap.
func (*MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileIssuedCertificate(obj interface{}) *gomock.Call
ReconcileIssuedCertificate indicates an expected call of ReconcileIssuedCertificate.
func (*MocksingleClusterReconcilerMockRecorder) ReconcilePod ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePod(obj interface{}) *gomock.Call
ReconcilePod indicates an expected call of ReconcilePod.
func (*MocksingleClusterReconcilerMockRecorder) ReconcilePodBounceDirective ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcilePodBounceDirective(obj interface{}) *gomock.Call
ReconcilePodBounceDirective indicates an expected call of ReconcilePodBounceDirective.
func (*MocksingleClusterReconcilerMockRecorder) ReconcileSecret ¶
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileSecret(obj interface{}) *gomock.Call
ReconcileSecret indicates an expected call of ReconcileSecret.
func (*MocksingleClusterReconcilerMockRecorder) ReconcileServiceAccount ¶ added in v1.1.0
func (mr *MocksingleClusterReconcilerMockRecorder) ReconcileServiceAccount(obj interface{}) *gomock.Call
ReconcileServiceAccount indicates an expected call of ReconcileServiceAccount.