mockcorev1

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockcorev1 implements the mock client for corev1.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of CoreV1Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) ComponentStatuses

func (m *MockInterface) ComponentStatuses() v1.ComponentStatusInterface

ComponentStatuses mocks base method

func (*MockInterface) ConfigMaps

func (m *MockInterface) ConfigMaps(namespace string) v1.ConfigMapInterface

ConfigMaps mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) Endpoints

func (m *MockInterface) Endpoints(namespace string) v1.EndpointsInterface

Endpoints mocks base method

func (*MockInterface) Events

func (m *MockInterface) Events(namespace string) v1.EventInterface

Events mocks base method

func (*MockInterface) LimitRanges

func (m *MockInterface) LimitRanges(namespace string) v1.LimitRangeInterface

LimitRanges mocks base method

func (*MockInterface) Namespaces

func (m *MockInterface) Namespaces() v1.NamespaceInterface

Namespaces mocks base method

func (*MockInterface) Nodes

func (m *MockInterface) Nodes() v1.NodeInterface

Nodes mocks base method

func (*MockInterface) PersistentVolumeClaims

func (m *MockInterface) PersistentVolumeClaims(namespace string) v1.PersistentVolumeClaimInterface

PersistentVolumeClaims mocks base method

func (*MockInterface) PersistentVolumes

func (m *MockInterface) PersistentVolumes() v1.PersistentVolumeInterface

PersistentVolumes mocks base method

func (*MockInterface) PodTemplates

func (m *MockInterface) PodTemplates(namespace string) v1.PodTemplateInterface

PodTemplates mocks base method

func (*MockInterface) Pods

func (m *MockInterface) Pods(namespace string) v1.PodInterface

Pods mocks base method

func (*MockInterface) RESTClient

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

RESTClient mocks base method

func (*MockInterface) ReplicationControllers

func (m *MockInterface) ReplicationControllers(namespace string) v1.ReplicationControllerInterface

ReplicationControllers mocks base method

func (*MockInterface) ResourceQuotas

func (m *MockInterface) ResourceQuotas(namespace string) v1.ResourceQuotaInterface

ResourceQuotas mocks base method

func (*MockInterface) Secrets

func (m *MockInterface) Secrets(namespace string) v1.SecretInterface

Secrets mocks base method

func (*MockInterface) ServiceAccounts

func (m *MockInterface) ServiceAccounts(namespace string) v1.ServiceAccountInterface

ServiceAccounts mocks base method

func (*MockInterface) Services

func (m *MockInterface) Services(namespace string) v1.ServiceInterface

Services mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) ComponentStatuses

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

ComponentStatuses indicates an expected call of ComponentStatuses

func (*MockInterfaceMockRecorder) ConfigMaps

func (mr *MockInterfaceMockRecorder) ConfigMaps(namespace interface{}) *gomock.Call

ConfigMaps indicates an expected call of ConfigMaps

func (*MockInterfaceMockRecorder) Endpoints

func (mr *MockInterfaceMockRecorder) Endpoints(namespace interface{}) *gomock.Call

Endpoints indicates an expected call of Endpoints

func (*MockInterfaceMockRecorder) Events

func (mr *MockInterfaceMockRecorder) Events(namespace interface{}) *gomock.Call

Events indicates an expected call of Events

func (*MockInterfaceMockRecorder) LimitRanges

func (mr *MockInterfaceMockRecorder) LimitRanges(namespace interface{}) *gomock.Call

LimitRanges indicates an expected call of LimitRanges

func (*MockInterfaceMockRecorder) Namespaces

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

Namespaces indicates an expected call of Namespaces

func (*MockInterfaceMockRecorder) Nodes

func (mr *MockInterfaceMockRecorder) Nodes() *gomock.Call

Nodes indicates an expected call of Nodes

func (*MockInterfaceMockRecorder) PersistentVolumeClaims

func (mr *MockInterfaceMockRecorder) PersistentVolumeClaims(namespace interface{}) *gomock.Call

PersistentVolumeClaims indicates an expected call of PersistentVolumeClaims

func (*MockInterfaceMockRecorder) PersistentVolumes

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

PersistentVolumes indicates an expected call of PersistentVolumes

func (*MockInterfaceMockRecorder) PodTemplates

func (mr *MockInterfaceMockRecorder) PodTemplates(namespace interface{}) *gomock.Call

PodTemplates indicates an expected call of PodTemplates

func (*MockInterfaceMockRecorder) Pods

func (mr *MockInterfaceMockRecorder) Pods(namespace interface{}) *gomock.Call

Pods indicates an expected call of Pods

func (*MockInterfaceMockRecorder) RESTClient

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

RESTClient indicates an expected call of RESTClient

func (*MockInterfaceMockRecorder) ReplicationControllers

func (mr *MockInterfaceMockRecorder) ReplicationControllers(namespace interface{}) *gomock.Call

ReplicationControllers indicates an expected call of ReplicationControllers

func (*MockInterfaceMockRecorder) ResourceQuotas

func (mr *MockInterfaceMockRecorder) ResourceQuotas(namespace interface{}) *gomock.Call

ResourceQuotas indicates an expected call of ResourceQuotas

func (*MockInterfaceMockRecorder) Secrets

func (mr *MockInterfaceMockRecorder) Secrets(namespace interface{}) *gomock.Call

Secrets indicates an expected call of Secrets

func (*MockInterfaceMockRecorder) ServiceAccounts

func (mr *MockInterfaceMockRecorder) ServiceAccounts(namespace interface{}) *gomock.Call

ServiceAccounts indicates an expected call of ServiceAccounts

func (*MockInterfaceMockRecorder) Services

func (mr *MockInterfaceMockRecorder) Services(namespace interface{}) *gomock.Call

Services indicates an expected call of Services

Jump to

Keyboard shortcuts

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