mockservices

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPodServiceInterface

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

Mock of PodServiceInterface interface

func NewMockPodServiceInterface

func NewMockPodServiceInterface(ctrl *gomock.Controller) *MockPodServiceInterface

func (*MockPodServiceInterface) DeletePodAndPorts

func (_m *MockPodServiceInterface) DeletePodAndPorts(_param0 string, _param1 string) error

func (*MockPodServiceInterface) EXPECT

func (_m *MockPodServiceInterface) EXPECT() *_MockPodServiceInterfaceRecorder

func (*MockPodServiceInterface) Get

func (_m *MockPodServiceInterface) Get(_param0 string, _param1 string) (*services.Pod, error)

func (*MockPodServiceInterface) NewPodFromK8sPod

func (_m *MockPodServiceInterface) NewPodFromK8sPod(_param0 *v1.Pod) (*services.Pod, error)

func (*MockPodServiceInterface) Save

func (_m *MockPodServiceInterface) Save(_param0 *services.Pod) error

type MockPortServiceInterface

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

Mock of PortServiceInterface interface

func NewMockPortServiceInterface

func NewMockPortServiceInterface(ctrl *gomock.Controller) *MockPortServiceInterface

func (*MockPortServiceInterface) DeleteBulkPorts

func (_m *MockPortServiceInterface) DeleteBulkPorts(_param0 string, _param1 []string) error

func (*MockPortServiceInterface) EXPECT

func (_m *MockPortServiceInterface) EXPECT() *_MockPortServiceInterfaceRecorder

func (*MockPortServiceInterface) NewPortsWithEagerAttrAndLazyAttr

func (_m *MockPortServiceInterface) NewPortsWithEagerAttrAndLazyAttr(_param0 *services.PodForCreatPort, _param1 *jason.Object) ([]*services.Port, error)

func (*MockPortServiceInterface) NewPortsWithEagerAttrFromK8s

func (_m *MockPortServiceInterface) NewPortsWithEagerAttrFromK8s(_param0 *services.PodForCreatPort, _param1 *jason.Object) ([]*services.Port, error)

Jump to

Keyboard shortcuts

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