lifecycle

package
v0.0.0-...-5e97683 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package lifecycle is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lifecycle

type Lifecycle interface {
	GetPodFromDaemonSet(context.Context, types.NamespacedName) *v1.PodList
	GetPodFromDeployment(context.Context, types.NamespacedName) *v1.PodList
	UpdateDaemonSetPods(context.Context, client.Object) error
}

func New

func New(kubeClient clients.ClientsInterface, storage storage.Storage) Lifecycle

type MockLifecycle

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

MockLifecycle is a mock of Lifecycle interface.

func NewMockLifecycle

func NewMockLifecycle(ctrl *gomock.Controller) *MockLifecycle

NewMockLifecycle creates a new mock instance.

func (*MockLifecycle) EXPECT

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

func (*MockLifecycle) GetPodFromDaemonSet

func (m *MockLifecycle) GetPodFromDaemonSet(arg0 context.Context, arg1 types.NamespacedName) *v1.PodList

GetPodFromDaemonSet mocks base method.

func (*MockLifecycle) GetPodFromDeployment

func (m *MockLifecycle) GetPodFromDeployment(arg0 context.Context, arg1 types.NamespacedName) *v1.PodList

GetPodFromDeployment mocks base method.

func (*MockLifecycle) UpdateDaemonSetPods

func (m *MockLifecycle) UpdateDaemonSetPods(arg0 context.Context, arg1 client.Object) error

UpdateDaemonSetPods mocks base method.

type MockLifecycleMockRecorder

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

MockLifecycleMockRecorder is the mock recorder for MockLifecycle.

func (*MockLifecycleMockRecorder) GetPodFromDaemonSet

func (mr *MockLifecycleMockRecorder) GetPodFromDaemonSet(arg0, arg1 interface{}) *gomock.Call

GetPodFromDaemonSet indicates an expected call of GetPodFromDaemonSet.

func (*MockLifecycleMockRecorder) GetPodFromDeployment

func (mr *MockLifecycleMockRecorder) GetPodFromDeployment(arg0, arg1 interface{}) *gomock.Call

GetPodFromDeployment indicates an expected call of GetPodFromDeployment.

func (*MockLifecycleMockRecorder) UpdateDaemonSetPods

func (mr *MockLifecycleMockRecorder) UpdateDaemonSetPods(arg0, arg1 interface{}) *gomock.Call

UpdateDaemonSetPods indicates an expected call of UpdateDaemonSetPods.

Jump to

Keyboard shortcuts

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