mocks

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 63 Imported by: 0

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloud

type MockCloud struct {
	// contains filtered or unexported fields
}

MockCloud is a mock of Cloud interface.

func NewMockCloud

func NewMockCloud(ctrl *gomock.Controller) *MockCloud

NewMockCloud creates a new mock instance.

func (*MockCloud) CreateFileSystem

func (m *MockCloud) CreateFileSystem(arg0 context.Context, arg1 string, arg2 *cloud.FileSystemOptions) (*cloud.FileSystem, error)

CreateFileSystem mocks base method.

func (*MockCloud) DeleteFileSystem

func (m *MockCloud) DeleteFileSystem(arg0 context.Context, arg1 string) error

DeleteFileSystem mocks base method.

func (*MockCloud) DescribeFileSystem

func (m *MockCloud) DescribeFileSystem(arg0 context.Context, arg1 string) (*cloud.FileSystem, error)

DescribeFileSystem mocks base method.

func (*MockCloud) EXPECT

func (m *MockCloud) EXPECT() *MockCloudMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCloud) ResizeFileSystem

func (m *MockCloud) ResizeFileSystem(arg0 context.Context, arg1 string, arg2 int64) (int64, error)

ResizeFileSystem mocks base method.

func (*MockCloud) WaitForFileSystemAvailable

func (m *MockCloud) WaitForFileSystemAvailable(arg0 context.Context, arg1 string) error

WaitForFileSystemAvailable mocks base method.

func (*MockCloud) WaitForFileSystemResize

func (m *MockCloud) WaitForFileSystemResize(arg0 context.Context, arg1 string, arg2 int64) error

WaitForFileSystemResize mocks base method.

type MockCloudMockRecorder

type MockCloudMockRecorder struct {
	// contains filtered or unexported fields
}

MockCloudMockRecorder is the mock recorder for MockCloud.

func (*MockCloudMockRecorder) CreateFileSystem

func (mr *MockCloudMockRecorder) CreateFileSystem(arg0, arg1, arg2 interface{}) *gomock.Call

CreateFileSystem indicates an expected call of CreateFileSystem.

func (*MockCloudMockRecorder) DeleteFileSystem

func (mr *MockCloudMockRecorder) DeleteFileSystem(arg0, arg1 interface{}) *gomock.Call

DeleteFileSystem indicates an expected call of DeleteFileSystem.

func (*MockCloudMockRecorder) DescribeFileSystem

func (mr *MockCloudMockRecorder) DescribeFileSystem(arg0, arg1 interface{}) *gomock.Call

DescribeFileSystem indicates an expected call of DescribeFileSystem.

func (*MockCloudMockRecorder) ResizeFileSystem

func (mr *MockCloudMockRecorder) ResizeFileSystem(arg0, arg1, arg2 interface{}) *gomock.Call

ResizeFileSystem indicates an expected call of ResizeFileSystem.

func (*MockCloudMockRecorder) WaitForFileSystemAvailable

func (mr *MockCloudMockRecorder) WaitForFileSystemAvailable(arg0, arg1 interface{}) *gomock.Call

WaitForFileSystemAvailable indicates an expected call of WaitForFileSystemAvailable.

func (*MockCloudMockRecorder) WaitForFileSystemResize

func (mr *MockCloudMockRecorder) WaitForFileSystemResize(arg0, arg1, arg2 interface{}) *gomock.Call

WaitForFileSystemResize indicates an expected call of WaitForFileSystemResize.

type MockCoreV1Interface added in v0.10.0

type MockCoreV1Interface struct {
	// contains filtered or unexported fields
}

MockCoreV1Interface is a mock of CoreV1Interface interface.

func NewMockCoreV1Interface added in v0.10.0

func NewMockCoreV1Interface(ctrl *gomock.Controller) *MockCoreV1Interface

NewMockCoreV1Interface creates a new mock instance.

func (*MockCoreV1Interface) ComponentStatuses added in v0.10.0

func (m *MockCoreV1Interface) ComponentStatuses() v12.ComponentStatusInterface

ComponentStatuses mocks base method.

func (*MockCoreV1Interface) ConfigMaps added in v0.10.0

func (m *MockCoreV1Interface) ConfigMaps(arg0 string) v12.ConfigMapInterface

ConfigMaps mocks base method.

func (*MockCoreV1Interface) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCoreV1Interface) Endpoints added in v0.10.0

func (m *MockCoreV1Interface) Endpoints(arg0 string) v12.EndpointsInterface

Endpoints mocks base method.

func (*MockCoreV1Interface) Events added in v0.10.0

func (m *MockCoreV1Interface) Events(arg0 string) v12.EventInterface

Events mocks base method.

func (*MockCoreV1Interface) LimitRanges added in v0.10.0

func (m *MockCoreV1Interface) LimitRanges(arg0 string) v12.LimitRangeInterface

LimitRanges mocks base method.

func (*MockCoreV1Interface) Namespaces added in v0.10.0

func (m *MockCoreV1Interface) Namespaces() v12.NamespaceInterface

Namespaces mocks base method.

func (*MockCoreV1Interface) Nodes added in v0.10.0

Nodes mocks base method.

func (*MockCoreV1Interface) PersistentVolumeClaims added in v0.10.0

func (m *MockCoreV1Interface) PersistentVolumeClaims(arg0 string) v12.PersistentVolumeClaimInterface

PersistentVolumeClaims mocks base method.

func (*MockCoreV1Interface) PersistentVolumes added in v0.10.0

func (m *MockCoreV1Interface) PersistentVolumes() v12.PersistentVolumeInterface

PersistentVolumes mocks base method.

func (*MockCoreV1Interface) PodTemplates added in v0.10.0

func (m *MockCoreV1Interface) PodTemplates(arg0 string) v12.PodTemplateInterface

PodTemplates mocks base method.

func (*MockCoreV1Interface) Pods added in v0.10.0

Pods mocks base method.

func (*MockCoreV1Interface) RESTClient added in v0.10.0

func (m *MockCoreV1Interface) RESTClient() rest.Interface

RESTClient mocks base method.

func (*MockCoreV1Interface) ReplicationControllers added in v0.10.0

func (m *MockCoreV1Interface) ReplicationControllers(arg0 string) v12.ReplicationControllerInterface

ReplicationControllers mocks base method.

func (*MockCoreV1Interface) ResourceQuotas added in v0.10.0

func (m *MockCoreV1Interface) ResourceQuotas(arg0 string) v12.ResourceQuotaInterface

ResourceQuotas mocks base method.

func (*MockCoreV1Interface) Secrets added in v0.10.0

func (m *MockCoreV1Interface) Secrets(arg0 string) v12.SecretInterface

Secrets mocks base method.

func (*MockCoreV1Interface) ServiceAccounts added in v0.10.0

func (m *MockCoreV1Interface) ServiceAccounts(arg0 string) v12.ServiceAccountInterface

ServiceAccounts mocks base method.

func (*MockCoreV1Interface) Services added in v0.10.0

func (m *MockCoreV1Interface) Services(arg0 string) v12.ServiceInterface

Services mocks base method.

type MockCoreV1InterfaceMockRecorder added in v0.10.0

type MockCoreV1InterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCoreV1InterfaceMockRecorder is the mock recorder for MockCoreV1Interface.

func (*MockCoreV1InterfaceMockRecorder) ComponentStatuses added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) ComponentStatuses() *gomock.Call

ComponentStatuses indicates an expected call of ComponentStatuses.

func (*MockCoreV1InterfaceMockRecorder) ConfigMaps added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) ConfigMaps(arg0 interface{}) *gomock.Call

ConfigMaps indicates an expected call of ConfigMaps.

func (*MockCoreV1InterfaceMockRecorder) Endpoints added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Endpoints(arg0 interface{}) *gomock.Call

Endpoints indicates an expected call of Endpoints.

func (*MockCoreV1InterfaceMockRecorder) Events added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Events(arg0 interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockCoreV1InterfaceMockRecorder) LimitRanges added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) LimitRanges(arg0 interface{}) *gomock.Call

LimitRanges indicates an expected call of LimitRanges.

func (*MockCoreV1InterfaceMockRecorder) Namespaces added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Namespaces() *gomock.Call

Namespaces indicates an expected call of Namespaces.

func (*MockCoreV1InterfaceMockRecorder) Nodes added in v0.10.0

Nodes indicates an expected call of Nodes.

func (*MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumeClaims(arg0 interface{}) *gomock.Call

PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims.

func (*MockCoreV1InterfaceMockRecorder) PersistentVolumes added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) PersistentVolumes() *gomock.Call

PersistentVolumes indicates an expected call of PersistentVolumes.

func (*MockCoreV1InterfaceMockRecorder) PodTemplates added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) PodTemplates(arg0 interface{}) *gomock.Call

PodTemplates indicates an expected call of PodTemplates.

func (*MockCoreV1InterfaceMockRecorder) Pods added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Pods(arg0 interface{}) *gomock.Call

Pods indicates an expected call of Pods.

func (*MockCoreV1InterfaceMockRecorder) RESTClient added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) RESTClient() *gomock.Call

RESTClient indicates an expected call of RESTClient.

func (*MockCoreV1InterfaceMockRecorder) ReplicationControllers added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) ReplicationControllers(arg0 interface{}) *gomock.Call

ReplicationControllers indicates an expected call of ReplicationControllers.

func (*MockCoreV1InterfaceMockRecorder) ResourceQuotas added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) ResourceQuotas(arg0 interface{}) *gomock.Call

ResourceQuotas indicates an expected call of ResourceQuotas.

func (*MockCoreV1InterfaceMockRecorder) Secrets added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Secrets(arg0 interface{}) *gomock.Call

Secrets indicates an expected call of Secrets.

func (*MockCoreV1InterfaceMockRecorder) ServiceAccounts added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call

ServiceAccounts indicates an expected call of ServiceAccounts.

func (*MockCoreV1InterfaceMockRecorder) Services added in v0.10.0

func (mr *MockCoreV1InterfaceMockRecorder) Services(arg0 interface{}) *gomock.Call

Services indicates an expected call of Services.

type MockKubernetesClient added in v0.10.0

type MockKubernetesClient struct {
	// contains filtered or unexported fields
}

MockKubernetesClient is a mock of Interface interface.

func NewMockKubernetesClient added in v0.10.0

func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient

NewMockKubernetesClient creates a new mock instance.

func (*MockKubernetesClient) AdmissionregistrationV1 added in v0.10.0

func (m *MockKubernetesClient) AdmissionregistrationV1() v1.AdmissionregistrationV1Interface

AdmissionregistrationV1 mocks base method.

func (*MockKubernetesClient) AdmissionregistrationV1alpha1 added in v0.10.0

func (m *MockKubernetesClient) AdmissionregistrationV1alpha1() v1alpha1.AdmissionregistrationV1alpha1Interface

AdmissionregistrationV1alpha1 mocks base method.

func (*MockKubernetesClient) AdmissionregistrationV1beta1 added in v0.10.0

func (m *MockKubernetesClient) AdmissionregistrationV1beta1() v1beta1.AdmissionregistrationV1beta1Interface

AdmissionregistrationV1beta1 mocks base method.

func (*MockKubernetesClient) AppsV1 added in v0.10.0

AppsV1 mocks base method.

func (*MockKubernetesClient) AppsV1beta1 added in v0.10.0

AppsV1beta1 mocks base method.

func (*MockKubernetesClient) AppsV1beta2 added in v0.10.0

AppsV1beta2 mocks base method.

func (*MockKubernetesClient) AuthenticationV1 added in v0.10.0

func (m *MockKubernetesClient) AuthenticationV1() v11.AuthenticationV1Interface

AuthenticationV1 mocks base method.

func (*MockKubernetesClient) AuthenticationV1alpha1 added in v0.10.0

AuthenticationV1alpha1 mocks base method.

func (*MockKubernetesClient) AuthenticationV1beta1 added in v0.10.0

AuthenticationV1beta1 mocks base method.

func (*MockKubernetesClient) AuthorizationV1 added in v0.10.0

func (m *MockKubernetesClient) AuthorizationV1() v12.AuthorizationV1Interface

AuthorizationV1 mocks base method.

func (*MockKubernetesClient) AuthorizationV1beta1 added in v0.10.0

AuthorizationV1beta1 mocks base method.

func (*MockKubernetesClient) AutoscalingV1 added in v0.10.0

func (m *MockKubernetesClient) AutoscalingV1() v13.AutoscalingV1Interface

AutoscalingV1 mocks base method.

func (*MockKubernetesClient) AutoscalingV2 added in v0.10.0

func (m *MockKubernetesClient) AutoscalingV2() v2.AutoscalingV2Interface

AutoscalingV2 mocks base method.

func (*MockKubernetesClient) AutoscalingV2beta1 added in v0.10.0

AutoscalingV2beta1 mocks base method.

func (*MockKubernetesClient) AutoscalingV2beta2 added in v0.10.0

AutoscalingV2beta2 mocks base method.

func (*MockKubernetesClient) BatchV1 added in v0.10.0

BatchV1 mocks base method.

func (*MockKubernetesClient) BatchV1beta1 added in v0.10.0

BatchV1beta1 mocks base method.

func (*MockKubernetesClient) CertificatesV1 added in v0.10.0

func (m *MockKubernetesClient) CertificatesV1() v15.CertificatesV1Interface

CertificatesV1 mocks base method.

func (*MockKubernetesClient) CertificatesV1alpha1 added in v0.10.0

CertificatesV1alpha1 mocks base method.

func (*MockKubernetesClient) CertificatesV1beta1 added in v0.10.0

CertificatesV1beta1 mocks base method.

func (*MockKubernetesClient) CoordinationV1 added in v0.10.0

func (m *MockKubernetesClient) CoordinationV1() v16.CoordinationV1Interface

CoordinationV1 mocks base method.

func (*MockKubernetesClient) CoordinationV1beta1 added in v0.10.0

CoordinationV1beta1 mocks base method.

func (*MockKubernetesClient) CoreV1 added in v0.10.0

CoreV1 mocks base method.

func (*MockKubernetesClient) Discovery added in v0.10.0

Discovery mocks base method.

func (*MockKubernetesClient) DiscoveryV1 added in v0.10.0

DiscoveryV1 mocks base method.

func (*MockKubernetesClient) DiscoveryV1beta1 added in v0.10.0

DiscoveryV1beta1 mocks base method.

func (*MockKubernetesClient) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKubernetesClient) EventsV1 added in v0.10.0

EventsV1 mocks base method.

func (*MockKubernetesClient) EventsV1beta1 added in v0.10.0

EventsV1beta1 mocks base method.

func (*MockKubernetesClient) ExtensionsV1beta1 added in v0.10.0

ExtensionsV1beta1 mocks base method.

func (*MockKubernetesClient) FlowcontrolV1 added in v1.2.0

FlowcontrolV1 mocks base method.

func (*MockKubernetesClient) FlowcontrolV1beta1 added in v0.10.0

FlowcontrolV1beta1 mocks base method.

func (*MockKubernetesClient) FlowcontrolV1beta2 added in v0.10.0

FlowcontrolV1beta2 mocks base method.

func (*MockKubernetesClient) FlowcontrolV1beta3 added in v0.10.0

FlowcontrolV1beta3 mocks base method.

func (*MockKubernetesClient) InternalV1alpha1 added in v0.10.0

InternalV1alpha1 mocks base method.

func (*MockKubernetesClient) NetworkingV1 added in v0.10.0

NetworkingV1 mocks base method.

func (*MockKubernetesClient) NetworkingV1alpha1 added in v0.10.0

NetworkingV1alpha1 mocks base method.

func (*MockKubernetesClient) NetworkingV1beta1 added in v0.10.0

NetworkingV1beta1 mocks base method.

func (*MockKubernetesClient) NodeV1 added in v0.10.0

NodeV1 mocks base method.

func (*MockKubernetesClient) NodeV1alpha1 added in v0.10.0

NodeV1alpha1 mocks base method.

func (*MockKubernetesClient) NodeV1beta1 added in v0.10.0

NodeV1beta1 mocks base method.

func (*MockKubernetesClient) PolicyV1 added in v0.10.0

PolicyV1 mocks base method.

func (*MockKubernetesClient) PolicyV1beta1 added in v0.10.0

PolicyV1beta1 mocks base method.

func (*MockKubernetesClient) RbacV1 added in v0.10.0

RbacV1 mocks base method.

func (*MockKubernetesClient) RbacV1alpha1 added in v0.10.0

RbacV1alpha1 mocks base method.

func (*MockKubernetesClient) RbacV1beta1 added in v0.10.0

RbacV1beta1 mocks base method.

func (*MockKubernetesClient) ResourceV1alpha2 added in v0.10.0

ResourceV1alpha2 mocks base method.

func (*MockKubernetesClient) SchedulingV1 added in v0.10.0

SchedulingV1 mocks base method.

func (*MockKubernetesClient) SchedulingV1alpha1 added in v0.10.0

SchedulingV1alpha1 mocks base method.

func (*MockKubernetesClient) SchedulingV1beta1 added in v0.10.0

SchedulingV1beta1 mocks base method.

func (*MockKubernetesClient) StorageV1 added in v0.10.0

StorageV1 mocks base method.

func (*MockKubernetesClient) StorageV1alpha1 added in v0.10.0

StorageV1alpha1 mocks base method.

func (*MockKubernetesClient) StorageV1beta1 added in v0.10.0

StorageV1beta1 mocks base method.

type MockKubernetesClientMockRecorder added in v0.10.0

type MockKubernetesClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient.

func (*MockKubernetesClientMockRecorder) AdmissionregistrationV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AdmissionregistrationV1() *gomock.Call

AdmissionregistrationV1 indicates an expected call of AdmissionregistrationV1.

func (*MockKubernetesClientMockRecorder) AdmissionregistrationV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AdmissionregistrationV1alpha1() *gomock.Call

AdmissionregistrationV1alpha1 indicates an expected call of AdmissionregistrationV1alpha1.

func (*MockKubernetesClientMockRecorder) AdmissionregistrationV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AdmissionregistrationV1beta1() *gomock.Call

AdmissionregistrationV1beta1 indicates an expected call of AdmissionregistrationV1beta1.

func (*MockKubernetesClientMockRecorder) AppsV1 added in v0.10.0

AppsV1 indicates an expected call of AppsV1.

func (*MockKubernetesClientMockRecorder) AppsV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AppsV1beta1() *gomock.Call

AppsV1beta1 indicates an expected call of AppsV1beta1.

func (*MockKubernetesClientMockRecorder) AppsV1beta2 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AppsV1beta2() *gomock.Call

AppsV1beta2 indicates an expected call of AppsV1beta2.

func (*MockKubernetesClientMockRecorder) AuthenticationV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AuthenticationV1() *gomock.Call

AuthenticationV1 indicates an expected call of AuthenticationV1.

func (*MockKubernetesClientMockRecorder) AuthenticationV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AuthenticationV1alpha1() *gomock.Call

AuthenticationV1alpha1 indicates an expected call of AuthenticationV1alpha1.

func (*MockKubernetesClientMockRecorder) AuthenticationV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AuthenticationV1beta1() *gomock.Call

AuthenticationV1beta1 indicates an expected call of AuthenticationV1beta1.

func (*MockKubernetesClientMockRecorder) AuthorizationV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AuthorizationV1() *gomock.Call

AuthorizationV1 indicates an expected call of AuthorizationV1.

func (*MockKubernetesClientMockRecorder) AuthorizationV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AuthorizationV1beta1() *gomock.Call

AuthorizationV1beta1 indicates an expected call of AuthorizationV1beta1.

func (*MockKubernetesClientMockRecorder) AutoscalingV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AutoscalingV1() *gomock.Call

AutoscalingV1 indicates an expected call of AutoscalingV1.

func (*MockKubernetesClientMockRecorder) AutoscalingV2 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AutoscalingV2() *gomock.Call

AutoscalingV2 indicates an expected call of AutoscalingV2.

func (*MockKubernetesClientMockRecorder) AutoscalingV2beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AutoscalingV2beta1() *gomock.Call

AutoscalingV2beta1 indicates an expected call of AutoscalingV2beta1.

func (*MockKubernetesClientMockRecorder) AutoscalingV2beta2 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) AutoscalingV2beta2() *gomock.Call

AutoscalingV2beta2 indicates an expected call of AutoscalingV2beta2.

func (*MockKubernetesClientMockRecorder) BatchV1 added in v0.10.0

BatchV1 indicates an expected call of BatchV1.

func (*MockKubernetesClientMockRecorder) BatchV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) BatchV1beta1() *gomock.Call

BatchV1beta1 indicates an expected call of BatchV1beta1.

func (*MockKubernetesClientMockRecorder) CertificatesV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) CertificatesV1() *gomock.Call

CertificatesV1 indicates an expected call of CertificatesV1.

func (*MockKubernetesClientMockRecorder) CertificatesV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) CertificatesV1alpha1() *gomock.Call

CertificatesV1alpha1 indicates an expected call of CertificatesV1alpha1.

func (*MockKubernetesClientMockRecorder) CertificatesV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) CertificatesV1beta1() *gomock.Call

CertificatesV1beta1 indicates an expected call of CertificatesV1beta1.

func (*MockKubernetesClientMockRecorder) CoordinationV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) CoordinationV1() *gomock.Call

CoordinationV1 indicates an expected call of CoordinationV1.

func (*MockKubernetesClientMockRecorder) CoordinationV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) CoordinationV1beta1() *gomock.Call

CoordinationV1beta1 indicates an expected call of CoordinationV1beta1.

func (*MockKubernetesClientMockRecorder) CoreV1 added in v0.10.0

CoreV1 indicates an expected call of CoreV1.

func (*MockKubernetesClientMockRecorder) Discovery added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) Discovery() *gomock.Call

Discovery indicates an expected call of Discovery.

func (*MockKubernetesClientMockRecorder) DiscoveryV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) DiscoveryV1() *gomock.Call

DiscoveryV1 indicates an expected call of DiscoveryV1.

func (*MockKubernetesClientMockRecorder) DiscoveryV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) DiscoveryV1beta1() *gomock.Call

DiscoveryV1beta1 indicates an expected call of DiscoveryV1beta1.

func (*MockKubernetesClientMockRecorder) EventsV1 added in v0.10.0

EventsV1 indicates an expected call of EventsV1.

func (*MockKubernetesClientMockRecorder) EventsV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) EventsV1beta1() *gomock.Call

EventsV1beta1 indicates an expected call of EventsV1beta1.

func (*MockKubernetesClientMockRecorder) ExtensionsV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) ExtensionsV1beta1() *gomock.Call

ExtensionsV1beta1 indicates an expected call of ExtensionsV1beta1.

func (*MockKubernetesClientMockRecorder) FlowcontrolV1 added in v1.2.0

func (mr *MockKubernetesClientMockRecorder) FlowcontrolV1() *gomock.Call

FlowcontrolV1 indicates an expected call of FlowcontrolV1.

func (*MockKubernetesClientMockRecorder) FlowcontrolV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) FlowcontrolV1beta1() *gomock.Call

FlowcontrolV1beta1 indicates an expected call of FlowcontrolV1beta1.

func (*MockKubernetesClientMockRecorder) FlowcontrolV1beta2 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) FlowcontrolV1beta2() *gomock.Call

FlowcontrolV1beta2 indicates an expected call of FlowcontrolV1beta2.

func (*MockKubernetesClientMockRecorder) FlowcontrolV1beta3 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) FlowcontrolV1beta3() *gomock.Call

FlowcontrolV1beta3 indicates an expected call of FlowcontrolV1beta3.

func (*MockKubernetesClientMockRecorder) InternalV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) InternalV1alpha1() *gomock.Call

InternalV1alpha1 indicates an expected call of InternalV1alpha1.

func (*MockKubernetesClientMockRecorder) NetworkingV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) NetworkingV1() *gomock.Call

NetworkingV1 indicates an expected call of NetworkingV1.

func (*MockKubernetesClientMockRecorder) NetworkingV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) NetworkingV1alpha1() *gomock.Call

NetworkingV1alpha1 indicates an expected call of NetworkingV1alpha1.

func (*MockKubernetesClientMockRecorder) NetworkingV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) NetworkingV1beta1() *gomock.Call

NetworkingV1beta1 indicates an expected call of NetworkingV1beta1.

func (*MockKubernetesClientMockRecorder) NodeV1 added in v0.10.0

NodeV1 indicates an expected call of NodeV1.

func (*MockKubernetesClientMockRecorder) NodeV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) NodeV1alpha1() *gomock.Call

NodeV1alpha1 indicates an expected call of NodeV1alpha1.

func (*MockKubernetesClientMockRecorder) NodeV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) NodeV1beta1() *gomock.Call

NodeV1beta1 indicates an expected call of NodeV1beta1.

func (*MockKubernetesClientMockRecorder) PolicyV1 added in v0.10.0

PolicyV1 indicates an expected call of PolicyV1.

func (*MockKubernetesClientMockRecorder) PolicyV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) PolicyV1beta1() *gomock.Call

PolicyV1beta1 indicates an expected call of PolicyV1beta1.

func (*MockKubernetesClientMockRecorder) RbacV1 added in v0.10.0

RbacV1 indicates an expected call of RbacV1.

func (*MockKubernetesClientMockRecorder) RbacV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) RbacV1alpha1() *gomock.Call

RbacV1alpha1 indicates an expected call of RbacV1alpha1.

func (*MockKubernetesClientMockRecorder) RbacV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) RbacV1beta1() *gomock.Call

RbacV1beta1 indicates an expected call of RbacV1beta1.

func (*MockKubernetesClientMockRecorder) ResourceV1alpha2 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) ResourceV1alpha2() *gomock.Call

ResourceV1alpha2 indicates an expected call of ResourceV1alpha2.

func (*MockKubernetesClientMockRecorder) SchedulingV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) SchedulingV1() *gomock.Call

SchedulingV1 indicates an expected call of SchedulingV1.

func (*MockKubernetesClientMockRecorder) SchedulingV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) SchedulingV1alpha1() *gomock.Call

SchedulingV1alpha1 indicates an expected call of SchedulingV1alpha1.

func (*MockKubernetesClientMockRecorder) SchedulingV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) SchedulingV1beta1() *gomock.Call

SchedulingV1beta1 indicates an expected call of SchedulingV1beta1.

func (*MockKubernetesClientMockRecorder) StorageV1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) StorageV1() *gomock.Call

StorageV1 indicates an expected call of StorageV1.

func (*MockKubernetesClientMockRecorder) StorageV1alpha1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) StorageV1alpha1() *gomock.Call

StorageV1alpha1 indicates an expected call of StorageV1alpha1.

func (*MockKubernetesClientMockRecorder) StorageV1beta1 added in v0.10.0

func (mr *MockKubernetesClientMockRecorder) StorageV1beta1() *gomock.Call

StorageV1beta1 indicates an expected call of StorageV1beta1.

type MockMounter

type MockMounter struct {
	// contains filtered or unexported fields
}

MockMounter is a mock of Mounter interface.

func NewMockMounter

func NewMockMounter(ctrl *gomock.Controller) *MockMounter

NewMockMounter creates a new mock instance.

func (*MockMounter) CanSafelySkipMountPointCheck added in v0.10.0

func (m *MockMounter) CanSafelySkipMountPointCheck() bool

CanSafelySkipMountPointCheck mocks base method.

func (*MockMounter) EXPECT

func (m *MockMounter) EXPECT() *MockMounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMounter) GetMountRefs

func (m *MockMounter) GetMountRefs(arg0 string) ([]string, error)

GetMountRefs mocks base method.

func (*MockMounter) IsCorruptedMnt

func (m *MockMounter) IsCorruptedMnt(arg0 error) bool

IsCorruptedMnt mocks base method.

func (*MockMounter) IsLikelyNotMountPoint

func (m *MockMounter) IsLikelyNotMountPoint(arg0 string) (bool, error)

IsLikelyNotMountPoint mocks base method.

func (*MockMounter) IsMountPoint added in v0.10.0

func (m *MockMounter) IsMountPoint(arg0 string) (bool, error)

IsMountPoint mocks base method.

func (*MockMounter) List

func (m *MockMounter) List() ([]mount_utils.MountPoint, error)

List mocks base method.

func (*MockMounter) MakeDir

func (m *MockMounter) MakeDir(arg0 string) error

MakeDir mocks base method.

func (*MockMounter) Mount

func (m *MockMounter) Mount(arg0, arg1, arg2 string, arg3 []string) error

Mount mocks base method.

func (*MockMounter) MountSensitive

func (m *MockMounter) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error

MountSensitive mocks base method.

func (*MockMounter) MountSensitiveWithoutSystemd

func (m *MockMounter) MountSensitiveWithoutSystemd(arg0, arg1, arg2 string, arg3, arg4 []string) error

MountSensitiveWithoutSystemd mocks base method.

func (*MockMounter) MountSensitiveWithoutSystemdWithMountFlags

func (m *MockMounter) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2 string, arg3, arg4, arg5 []string) error

MountSensitiveWithoutSystemdWithMountFlags mocks base method.

func (*MockMounter) PathExists

func (m *MockMounter) PathExists(arg0 string) (bool, error)

PathExists mocks base method.

func (*MockMounter) Unmount

func (m *MockMounter) Unmount(arg0 string) error

Unmount mocks base method.

type MockMounterMockRecorder

type MockMounterMockRecorder struct {
	// contains filtered or unexported fields
}

MockMounterMockRecorder is the mock recorder for MockMounter.

func (*MockMounterMockRecorder) CanSafelySkipMountPointCheck added in v0.10.0

func (mr *MockMounterMockRecorder) CanSafelySkipMountPointCheck() *gomock.Call

CanSafelySkipMountPointCheck indicates an expected call of CanSafelySkipMountPointCheck.

func (*MockMounterMockRecorder) GetMountRefs

func (mr *MockMounterMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call

GetMountRefs indicates an expected call of GetMountRefs.

func (*MockMounterMockRecorder) IsCorruptedMnt

func (mr *MockMounterMockRecorder) IsCorruptedMnt(arg0 interface{}) *gomock.Call

IsCorruptedMnt indicates an expected call of IsCorruptedMnt.

func (*MockMounterMockRecorder) IsLikelyNotMountPoint

func (mr *MockMounterMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call

IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.

func (*MockMounterMockRecorder) IsMountPoint added in v0.10.0

func (mr *MockMounterMockRecorder) IsMountPoint(arg0 interface{}) *gomock.Call

IsMountPoint indicates an expected call of IsMountPoint.

func (*MockMounterMockRecorder) List

func (mr *MockMounterMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockMounterMockRecorder) MakeDir

func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call

MakeDir indicates an expected call of MakeDir.

func (*MockMounterMockRecorder) Mount

func (mr *MockMounterMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Mount indicates an expected call of Mount.

func (*MockMounterMockRecorder) MountSensitive

func (mr *MockMounterMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

MountSensitive indicates an expected call of MountSensitive.

func (*MockMounterMockRecorder) MountSensitiveWithoutSystemd

func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemd(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

MountSensitiveWithoutSystemd indicates an expected call of MountSensitiveWithoutSystemd.

func (*MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags

func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

MountSensitiveWithoutSystemdWithMountFlags indicates an expected call of MountSensitiveWithoutSystemdWithMountFlags.

func (*MockMounterMockRecorder) PathExists

func (mr *MockMounterMockRecorder) PathExists(arg0 interface{}) *gomock.Call

PathExists indicates an expected call of PathExists.

func (*MockMounterMockRecorder) Unmount

func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call

Unmount indicates an expected call of Unmount.

type MockNodeInterface added in v0.10.0

type MockNodeInterface struct {
	// contains filtered or unexported fields
}

MockNodeInterface is a mock of NodeInterface interface.

func NewMockNodeInterface added in v0.10.0

func NewMockNodeInterface(ctrl *gomock.Controller) *MockNodeInterface

NewMockNodeInterface creates a new mock instance.

func (*MockNodeInterface) Apply added in v0.10.0

Apply mocks base method.

func (*MockNodeInterface) ApplyStatus added in v0.10.0

func (m *MockNodeInterface) ApplyStatus(arg0 context.Context, arg1 *v11.NodeApplyConfiguration, arg2 v10.ApplyOptions) (*v1.Node, error)

ApplyStatus mocks base method.

func (*MockNodeInterface) Create added in v0.10.0

func (m *MockNodeInterface) Create(arg0 context.Context, arg1 *v1.Node, arg2 v10.CreateOptions) (*v1.Node, error)

Create mocks base method.

func (*MockNodeInterface) Delete added in v0.10.0

func (m *MockNodeInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error

Delete mocks base method.

func (*MockNodeInterface) DeleteCollection added in v0.10.0

func (m *MockNodeInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error

DeleteCollection mocks base method.

func (*MockNodeInterface) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNodeInterface) Get added in v0.10.0

func (m *MockNodeInterface) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Node, error)

Get mocks base method.

func (*MockNodeInterface) List added in v0.10.0

func (m *MockNodeInterface) List(arg0 context.Context, arg1 v10.ListOptions) (*v1.NodeList, error)

List mocks base method.

func (*MockNodeInterface) Patch added in v0.10.0

func (m *MockNodeInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.Node, error)

Patch mocks base method.

func (*MockNodeInterface) PatchStatus added in v0.10.0

func (m *MockNodeInterface) PatchStatus(arg0 context.Context, arg1 string, arg2 []byte) (*v1.Node, error)

PatchStatus mocks base method.

func (*MockNodeInterface) Update added in v0.10.0

func (m *MockNodeInterface) Update(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)

Update mocks base method.

func (*MockNodeInterface) UpdateStatus added in v0.10.0

func (m *MockNodeInterface) UpdateStatus(arg0 context.Context, arg1 *v1.Node, arg2 v10.UpdateOptions) (*v1.Node, error)

UpdateStatus mocks base method.

func (*MockNodeInterface) Watch added in v0.10.0

Watch mocks base method.

type MockNodeInterfaceMockRecorder added in v0.10.0

type MockNodeInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNodeInterfaceMockRecorder is the mock recorder for MockNodeInterface.

func (*MockNodeInterfaceMockRecorder) Apply added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockNodeInterfaceMockRecorder) ApplyStatus added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) ApplyStatus(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyStatus indicates an expected call of ApplyStatus.

func (*MockNodeInterfaceMockRecorder) Create added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNodeInterfaceMockRecorder) Delete added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNodeInterfaceMockRecorder) DeleteCollection added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockNodeInterfaceMockRecorder) Get added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNodeInterfaceMockRecorder) List added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNodeInterfaceMockRecorder) Patch added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNodeInterfaceMockRecorder) PatchStatus added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call

PatchStatus indicates an expected call of PatchStatus.

func (*MockNodeInterfaceMockRecorder) Update added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNodeInterfaceMockRecorder) UpdateStatus added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNodeInterfaceMockRecorder) Watch added in v0.10.0

func (mr *MockNodeInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL