Documentation ¶
Overview ¶
Package core is a generated GoMock package.
Index ¶
- type MockCoreV1Interface
- func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
- func (m *MockCoreV1Interface) ConfigMaps(namespace string) v12.ConfigMapInterface
- func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
- func (m *MockCoreV1Interface) Endpoints(namespace string) v12.EndpointsInterface
- func (m *MockCoreV1Interface) Events(namespace string) v12.EventInterface
- func (m *MockCoreV1Interface) LimitRanges(namespace string) v12.LimitRangeInterface
- func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
- func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
- func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
- func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
- func (m *MockCoreV1Interface) PodTemplates(namespace string) v12.PodTemplateInterface
- func (m *MockCoreV1Interface) Pods(namespace string) v12.PodInterface
- func (m *MockCoreV1Interface) RESTClient() rest.Interface
- func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v12.ReplicationControllerInterface
- func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
- func (m *MockCoreV1Interface) Secrets(namespace string) v12.SecretInterface
- func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v12.ServiceAccountInterface
- func (m *MockCoreV1Interface) Services(namespace string) v12.ServiceInterface
- type MockCoreV1InterfaceMockRecorder
- func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *gomock.Call
- func (mr *MockCoreV1InterfaceMockRecorder) Services(namespace any) *gomock.Call
- type MockSecretInterface
- func (m *MockSecretInterface) Apply(ctx context.Context, secret *v11.SecretApplyConfiguration, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v10.CreateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
- func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
- func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
- func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) List(ctx context.Context, opts v10.ListOptions) (*v1.SecretList, error)
- func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Secret, error)
- func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v10.UpdateOptions) (*v1.Secret, error)
- func (m *MockSecretInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
- type MockSecretInterfaceMockRecorder
- func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Update(ctx, secret, opts any) *gomock.Call
- func (mr *MockSecretInterfaceMockRecorder) Watch(ctx, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreV1Interface ¶
type MockCoreV1Interface struct {
// contains filtered or unexported fields
}
MockCoreV1Interface is a mock of CoreV1Interface interface.
func NewMockCoreV1Interface ¶
func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface
NewMockCoreV1Interface creates a new mock instance.
func (*MockCoreV1Interface) ComponentStatuses ¶
func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface
ComponentStatuses mocks base method.
func (*MockCoreV1Interface) ConfigMaps ¶
func (m *MockCoreV1Interface) ConfigMaps(namespace string) v12.ConfigMapInterface
ConfigMaps mocks base method.
func (*MockCoreV1Interface) EXPECT ¶
func (m *MockCoreV1Interface) EXPECT() *MockCoreV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoreV1Interface) Endpoints ¶
func (m *MockCoreV1Interface) Endpoints(namespace string) v12.EndpointsInterface
Endpoints mocks base method.
func (*MockCoreV1Interface) Events ¶
func (m *MockCoreV1Interface) Events(namespace string) v12.EventInterface
Events mocks base method.
func (*MockCoreV1Interface) LimitRanges ¶
func (m *MockCoreV1Interface) LimitRanges(namespace string) v12.LimitRangeInterface
LimitRanges mocks base method.
func (*MockCoreV1Interface) Namespaces ¶
func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface
Namespaces mocks base method.
func (*MockCoreV1Interface) Nodes ¶
func (m *MockCoreV1Interface) Nodes() v12.NodeInterface
Nodes mocks base method.
func (*MockCoreV1Interface) PersistentVolumeClaims ¶
func (m *MockCoreV1Interface) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
PersistentVolumeClaims mocks base method.
func (*MockCoreV1Interface) PersistentVolumes ¶
func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface
PersistentVolumes mocks base method.
func (*MockCoreV1Interface) PodTemplates ¶
func (m *MockCoreV1Interface) PodTemplates(namespace string) v12.PodTemplateInterface
PodTemplates mocks base method.
func (*MockCoreV1Interface) Pods ¶
func (m *MockCoreV1Interface) Pods(namespace string) v12.PodInterface
Pods mocks base method.
func (*MockCoreV1Interface) RESTClient ¶
func (m *MockCoreV1Interface) RESTClient() rest.Interface
RESTClient mocks base method.
func (*MockCoreV1Interface) ReplicationControllers ¶
func (m *MockCoreV1Interface) ReplicationControllers(namespace string) v12.ReplicationControllerInterface
ReplicationControllers mocks base method.
func (*MockCoreV1Interface) ResourceQuotas ¶
func (m *MockCoreV1Interface) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
ResourceQuotas mocks base method.
func (*MockCoreV1Interface) Secrets ¶
func (m *MockCoreV1Interface) Secrets(namespace string) v12.SecretInterface
Secrets mocks base method.
func (*MockCoreV1Interface) ServiceAccounts ¶
func (m *MockCoreV1Interface) ServiceAccounts(namespace string) v12.ServiceAccountInterface
ServiceAccounts mocks base method.
func (*MockCoreV1Interface) Services ¶
func (m *MockCoreV1Interface) Services(namespace string) v12.ServiceInterface
Services mocks base method.
type MockCoreV1InterfaceMockRecorder ¶
type MockCoreV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface.
func (*MockCoreV1InterfaceMockRecorder) ComponentStatuses ¶
func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call
ComponentStatuses indicates an expected call of ComponentStatuses.
func (*MockCoreV1InterfaceMockRecorder) ConfigMaps ¶
func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(namespace any) *gomock.Call
ConfigMaps indicates an expected call of ConfigMaps.
func (*MockCoreV1InterfaceMockRecorder) Endpoints ¶
func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(namespace any) *gomock.Call
Endpoints indicates an expected call of Endpoints.
func (*MockCoreV1InterfaceMockRecorder) Events ¶
func (mr *MockCoreV1InterfaceMockRecorder) Events(namespace any) *gomock.Call
Events indicates an expected call of Events.
func (*MockCoreV1InterfaceMockRecorder) LimitRanges ¶
func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(namespace any) *gomock.Call
LimitRanges indicates an expected call of LimitRanges.
func (*MockCoreV1InterfaceMockRecorder) Namespaces ¶
func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call
Namespaces indicates an expected call of Namespaces.
func (*MockCoreV1InterfaceMockRecorder) Nodes ¶
func (mr *MockCoreV1InterfaceMockRecorder) Nodes() *gomock.Call
Nodes indicates an expected call of Nodes.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(namespace any) *gomock.Call
PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims.
func (*MockCoreV1InterfaceMockRecorder) PersistentVolumes ¶
func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call
PersistentVolumes indicates an expected call of PersistentVolumes.
func (*MockCoreV1InterfaceMockRecorder) PodTemplates ¶
func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(namespace any) *gomock.Call
PodTemplates indicates an expected call of PodTemplates.
func (*MockCoreV1InterfaceMockRecorder) Pods ¶
func (mr *MockCoreV1InterfaceMockRecorder) Pods(namespace any) *gomock.Call
Pods indicates an expected call of Pods.
func (*MockCoreV1InterfaceMockRecorder) RESTClient ¶
func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call
RESTClient indicates an expected call of RESTClient.
func (*MockCoreV1InterfaceMockRecorder) ReplicationControllers ¶
func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(namespace any) *gomock.Call
ReplicationControllers indicates an expected call of ReplicationControllers.
func (*MockCoreV1InterfaceMockRecorder) ResourceQuotas ¶
func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(namespace any) *gomock.Call
ResourceQuotas indicates an expected call of ResourceQuotas.
func (*MockCoreV1InterfaceMockRecorder) Secrets ¶
func (mr *MockCoreV1InterfaceMockRecorder) Secrets(namespace any) *gomock.Call
Secrets indicates an expected call of Secrets.
func (*MockCoreV1InterfaceMockRecorder) ServiceAccounts ¶
func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(namespace any) *gomock.Call
ServiceAccounts indicates an expected call of ServiceAccounts.
type MockSecretInterface ¶
type MockSecretInterface struct {
// contains filtered or unexported fields
}
MockSecretInterface is a mock of SecretInterface interface.
func NewMockSecretInterface ¶
func NewMockSecretInterface(ctrl *gomock.Controller) *MockSecretInterface
NewMockSecretInterface creates a new mock instance.
func (*MockSecretInterface) Apply ¶
func (m *MockSecretInterface) Apply(ctx context.Context, secret *v11.SecretApplyConfiguration, opts v10.ApplyOptions) (*v1.Secret, error)
Apply mocks base method.
func (*MockSecretInterface) Create ¶
func (m *MockSecretInterface) Create(ctx context.Context, secret *v1.Secret, opts v10.CreateOptions) (*v1.Secret, error)
Create mocks base method.
func (*MockSecretInterface) Delete ¶
func (m *MockSecretInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error
Delete mocks base method.
func (*MockSecretInterface) DeleteCollection ¶
func (m *MockSecretInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error
DeleteCollection mocks base method.
func (*MockSecretInterface) EXPECT ¶
func (m *MockSecretInterface) EXPECT() *MockSecretInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretInterface) Get ¶
func (m *MockSecretInterface) Get(ctx context.Context, name string, opts v10.GetOptions) (*v1.Secret, error)
Get mocks base method.
func (*MockSecretInterface) List ¶
func (m *MockSecretInterface) List(ctx context.Context, opts v10.ListOptions) (*v1.SecretList, error)
List mocks base method.
func (*MockSecretInterface) Patch ¶
func (m *MockSecretInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string) (*v1.Secret, error)
Patch mocks base method.
func (*MockSecretInterface) Update ¶
func (m *MockSecretInterface) Update(ctx context.Context, secret *v1.Secret, opts v10.UpdateOptions) (*v1.Secret, error)
Update mocks base method.
func (*MockSecretInterface) Watch ¶
func (m *MockSecretInterface) Watch(ctx context.Context, opts v10.ListOptions) (watch.Interface, error)
Watch mocks base method.
type MockSecretInterfaceMockRecorder ¶
type MockSecretInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretInterfaceMockRecorder is the mock recorder for MockSecretInterface.
func (*MockSecretInterfaceMockRecorder) Apply ¶
func (mr *MockSecretInterfaceMockRecorder) Apply(ctx, secret, opts any) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockSecretInterfaceMockRecorder) Create ¶
func (mr *MockSecretInterfaceMockRecorder) Create(ctx, secret, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockSecretInterfaceMockRecorder) Delete ¶
func (mr *MockSecretInterfaceMockRecorder) Delete(ctx, name, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSecretInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockSecretInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection.
func (*MockSecretInterfaceMockRecorder) Get ¶
func (mr *MockSecretInterfaceMockRecorder) Get(ctx, name, opts any) *gomock.Call
Get indicates an expected call of Get.
func (*MockSecretInterfaceMockRecorder) List ¶
func (mr *MockSecretInterfaceMockRecorder) List(ctx, opts any) *gomock.Call
List indicates an expected call of List.
func (*MockSecretInterfaceMockRecorder) Patch ¶
func (mr *MockSecretInterfaceMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call
Patch indicates an expected call of Patch.