Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockKubeConfigClient
- func (m *MockKubeConfigClient) BaseClient() clients.ResourceClient
- func (m *MockKubeConfigClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockKubeConfigClient) EXPECT() *MockKubeConfigClientMockRecorder
- func (m *MockKubeConfigClient) List(namespace string, opts clients.ListOpts) (v1.KubeConfigList, error)
- func (m *MockKubeConfigClient) Read(namespace, name string, opts clients.ReadOpts) (*v1.KubeConfig, error)
- func (m *MockKubeConfigClient) Register() error
- func (m *MockKubeConfigClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.KubeConfigList, <-chan error, error)
- func (m *MockKubeConfigClient) Write(resource *v1.KubeConfig, opts clients.WriteOpts) (*v1.KubeConfig, error)
- type MockKubeConfigClientMockRecorder
- func (mr *MockKubeConfigClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) Register() *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeConfigClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockKubeConfigReconciler
- type MockKubeConfigReconcilerMockRecorder
- type MockKubeConfigWatcher
- type MockKubeConfigWatcherMockRecorder
- type MockKubeconfigsEmitter
- func (m *MockKubeconfigsEmitter) EXPECT() *MockKubeconfigsEmitterMockRecorder
- func (m *MockKubeconfigsEmitter) KubeConfig() v1.KubeConfigClient
- func (m *MockKubeconfigsEmitter) Register() error
- func (m *MockKubeconfigsEmitter) Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *v1.KubeconfigsSnapshot, <-chan error, error)
- type MockKubeconfigsEmitterMockRecorder
- type MockKubeconfigsSimpleEmitter
- type MockKubeconfigsSimpleEmitterMockRecorder
- type MockKubeconfigsSnapshotEmitter
- type MockKubeconfigsSnapshotEmitterMockRecorder
- type MockKubeconfigsSyncer
- type MockKubeconfigsSyncerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKubeConfigClient ¶ added in v0.29.1
type MockKubeConfigClient struct {
// contains filtered or unexported fields
}
MockKubeConfigClient is a mock of KubeConfigClient interface
func NewMockKubeConfigClient ¶ added in v0.29.1
func NewMockKubeConfigClient(ctrl *gomock.Controller) *MockKubeConfigClient
NewMockKubeConfigClient creates a new mock instance
func (*MockKubeConfigClient) BaseClient ¶ added in v0.29.1
func (m *MockKubeConfigClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockKubeConfigClient) Delete ¶ added in v0.29.1
func (m *MockKubeConfigClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockKubeConfigClient) EXPECT ¶ added in v0.29.1
func (m *MockKubeConfigClient) EXPECT() *MockKubeConfigClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeConfigClient) List ¶ added in v0.29.1
func (m *MockKubeConfigClient) List(namespace string, opts clients.ListOpts) (v1.KubeConfigList, error)
List mocks base method
func (*MockKubeConfigClient) Read ¶ added in v0.29.1
func (m *MockKubeConfigClient) Read(namespace, name string, opts clients.ReadOpts) (*v1.KubeConfig, error)
Read mocks base method
func (*MockKubeConfigClient) Register ¶ added in v0.29.1
func (m *MockKubeConfigClient) Register() error
Register mocks base method
func (*MockKubeConfigClient) Watch ¶ added in v0.29.1
func (m *MockKubeConfigClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.KubeConfigList, <-chan error, error)
Watch mocks base method
func (*MockKubeConfigClient) Write ¶ added in v0.29.1
func (m *MockKubeConfigClient) Write(resource *v1.KubeConfig, opts clients.WriteOpts) (*v1.KubeConfig, error)
Write mocks base method
type MockKubeConfigClientMockRecorder ¶ added in v0.29.1
type MockKubeConfigClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeConfigClientMockRecorder is the mock recorder for MockKubeConfigClient
func (*MockKubeConfigClientMockRecorder) BaseClient ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockKubeConfigClientMockRecorder) Delete ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockKubeConfigClientMockRecorder) List ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockKubeConfigClientMockRecorder) Read ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockKubeConfigClientMockRecorder) Register ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockKubeConfigClientMockRecorder) Watch ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockKubeConfigClientMockRecorder) Write ¶ added in v0.29.1
func (mr *MockKubeConfigClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockKubeConfigReconciler ¶ added in v0.29.1
type MockKubeConfigReconciler struct {
// contains filtered or unexported fields
}
MockKubeConfigReconciler is a mock of KubeConfigReconciler interface
func NewMockKubeConfigReconciler ¶ added in v0.29.1
func NewMockKubeConfigReconciler(ctrl *gomock.Controller) *MockKubeConfigReconciler
NewMockKubeConfigReconciler creates a new mock instance
func (*MockKubeConfigReconciler) EXPECT ¶ added in v0.29.1
func (m *MockKubeConfigReconciler) EXPECT() *MockKubeConfigReconcilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeConfigReconciler) Reconcile ¶ added in v0.29.1
func (m *MockKubeConfigReconciler) Reconcile(namespace string, desiredResources v1.KubeConfigList, transition v1.TransitionKubeConfigFunc, opts clients.ListOpts) error
Reconcile mocks base method
type MockKubeConfigReconcilerMockRecorder ¶ added in v0.29.1
type MockKubeConfigReconcilerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeConfigReconcilerMockRecorder is the mock recorder for MockKubeConfigReconciler
func (*MockKubeConfigReconcilerMockRecorder) Reconcile ¶ added in v0.29.1
func (mr *MockKubeConfigReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile
type MockKubeConfigWatcher ¶ added in v0.29.1
type MockKubeConfigWatcher struct {
// contains filtered or unexported fields
}
MockKubeConfigWatcher is a mock of KubeConfigWatcher interface
func NewMockKubeConfigWatcher ¶ added in v0.29.1
func NewMockKubeConfigWatcher(ctrl *gomock.Controller) *MockKubeConfigWatcher
NewMockKubeConfigWatcher creates a new mock instance
func (*MockKubeConfigWatcher) EXPECT ¶ added in v0.29.1
func (m *MockKubeConfigWatcher) EXPECT() *MockKubeConfigWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeConfigWatcher) Watch ¶ added in v0.29.1
func (m *MockKubeConfigWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1.KubeConfigList, <-chan error, error)
Watch mocks base method
type MockKubeConfigWatcherMockRecorder ¶ added in v0.29.1
type MockKubeConfigWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeConfigWatcherMockRecorder is the mock recorder for MockKubeConfigWatcher
func (*MockKubeConfigWatcherMockRecorder) Watch ¶ added in v0.29.1
func (mr *MockKubeConfigWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockKubeconfigsEmitter ¶ added in v0.29.1
type MockKubeconfigsEmitter struct {
// contains filtered or unexported fields
}
MockKubeconfigsEmitter is a mock of KubeconfigsEmitter interface
func NewMockKubeconfigsEmitter ¶ added in v0.29.1
func NewMockKubeconfigsEmitter(ctrl *gomock.Controller) *MockKubeconfigsEmitter
NewMockKubeconfigsEmitter creates a new mock instance
func (*MockKubeconfigsEmitter) EXPECT ¶ added in v0.29.1
func (m *MockKubeconfigsEmitter) EXPECT() *MockKubeconfigsEmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeconfigsEmitter) KubeConfig ¶ added in v0.29.1
func (m *MockKubeconfigsEmitter) KubeConfig() v1.KubeConfigClient
KubeConfig mocks base method
func (*MockKubeconfigsEmitter) Register ¶ added in v0.29.1
func (m *MockKubeconfigsEmitter) Register() error
Register mocks base method
func (*MockKubeconfigsEmitter) Snapshots ¶ added in v0.29.1
func (m *MockKubeconfigsEmitter) Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *v1.KubeconfigsSnapshot, <-chan error, error)
Snapshots mocks base method
type MockKubeconfigsEmitterMockRecorder ¶ added in v0.29.1
type MockKubeconfigsEmitterMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigsEmitterMockRecorder is the mock recorder for MockKubeconfigsEmitter
func (*MockKubeconfigsEmitterMockRecorder) KubeConfig ¶ added in v0.29.1
func (mr *MockKubeconfigsEmitterMockRecorder) KubeConfig() *gomock.Call
KubeConfig indicates an expected call of KubeConfig
func (*MockKubeconfigsEmitterMockRecorder) Register ¶ added in v0.29.1
func (mr *MockKubeconfigsEmitterMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockKubeconfigsEmitterMockRecorder) Snapshots ¶ added in v0.29.1
func (mr *MockKubeconfigsEmitterMockRecorder) Snapshots(watchNamespaces, opts interface{}) *gomock.Call
Snapshots indicates an expected call of Snapshots
type MockKubeconfigsSimpleEmitter ¶ added in v0.29.1
type MockKubeconfigsSimpleEmitter struct {
// contains filtered or unexported fields
}
MockKubeconfigsSimpleEmitter is a mock of KubeconfigsSimpleEmitter interface
func NewMockKubeconfigsSimpleEmitter ¶ added in v0.29.1
func NewMockKubeconfigsSimpleEmitter(ctrl *gomock.Controller) *MockKubeconfigsSimpleEmitter
NewMockKubeconfigsSimpleEmitter creates a new mock instance
func (*MockKubeconfigsSimpleEmitter) EXPECT ¶ added in v0.29.1
func (m *MockKubeconfigsSimpleEmitter) EXPECT() *MockKubeconfigsSimpleEmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeconfigsSimpleEmitter) Snapshots ¶ added in v0.29.1
func (m *MockKubeconfigsSimpleEmitter) Snapshots(ctx context.Context) (<-chan *v1.KubeconfigsSnapshot, <-chan error, error)
Snapshots mocks base method
type MockKubeconfigsSimpleEmitterMockRecorder ¶ added in v0.29.1
type MockKubeconfigsSimpleEmitterMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigsSimpleEmitterMockRecorder is the mock recorder for MockKubeconfigsSimpleEmitter
func (*MockKubeconfigsSimpleEmitterMockRecorder) Snapshots ¶ added in v0.29.1
func (mr *MockKubeconfigsSimpleEmitterMockRecorder) Snapshots(ctx interface{}) *gomock.Call
Snapshots indicates an expected call of Snapshots
type MockKubeconfigsSnapshotEmitter ¶ added in v0.29.1
type MockKubeconfigsSnapshotEmitter struct {
// contains filtered or unexported fields
}
MockKubeconfigsSnapshotEmitter is a mock of KubeconfigsSnapshotEmitter interface
func NewMockKubeconfigsSnapshotEmitter ¶ added in v0.29.1
func NewMockKubeconfigsSnapshotEmitter(ctrl *gomock.Controller) *MockKubeconfigsSnapshotEmitter
NewMockKubeconfigsSnapshotEmitter creates a new mock instance
func (*MockKubeconfigsSnapshotEmitter) EXPECT ¶ added in v0.29.1
func (m *MockKubeconfigsSnapshotEmitter) EXPECT() *MockKubeconfigsSnapshotEmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeconfigsSnapshotEmitter) Snapshots ¶ added in v0.29.1
func (m *MockKubeconfigsSnapshotEmitter) Snapshots(watchNamespaces []string, opts clients.WatchOpts) (<-chan *v1.KubeconfigsSnapshot, <-chan error, error)
Snapshots mocks base method
type MockKubeconfigsSnapshotEmitterMockRecorder ¶ added in v0.29.1
type MockKubeconfigsSnapshotEmitterMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigsSnapshotEmitterMockRecorder is the mock recorder for MockKubeconfigsSnapshotEmitter
func (*MockKubeconfigsSnapshotEmitterMockRecorder) Snapshots ¶ added in v0.29.1
func (mr *MockKubeconfigsSnapshotEmitterMockRecorder) Snapshots(watchNamespaces, opts interface{}) *gomock.Call
Snapshots indicates an expected call of Snapshots
type MockKubeconfigsSyncer ¶
type MockKubeconfigsSyncer struct {
// contains filtered or unexported fields
}
MockKubeconfigsSyncer is a mock of KubeconfigsSyncer interface
func NewMockKubeconfigsSyncer ¶
func NewMockKubeconfigsSyncer(ctrl *gomock.Controller) *MockKubeconfigsSyncer
NewMockKubeconfigsSyncer creates a new mock instance
func (*MockKubeconfigsSyncer) EXPECT ¶
func (m *MockKubeconfigsSyncer) EXPECT() *MockKubeconfigsSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubeconfigsSyncer) Sync ¶
func (m *MockKubeconfigsSyncer) Sync(arg0 context.Context, arg1 *v1.KubeconfigsSnapshot) error
Sync mocks base method
type MockKubeconfigsSyncerMockRecorder ¶
type MockKubeconfigsSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeconfigsSyncerMockRecorder is the mock recorder for MockKubeconfigsSyncer
func (*MockKubeconfigsSyncerMockRecorder) Sync ¶
func (mr *MockKubeconfigsSyncerMockRecorder) Sync(arg0, arg1 interface{}) *gomock.Call
Sync indicates an expected call of Sync