resource

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: 26 Imported by: 0

Documentation

Overview

Package resource is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdateVendor string
)

Functions

This section is empty.

Types

type Creator

type Creator interface {
	CreateFromYAML(context.Context, []byte, bool, v1.Object, string, string, map[string]string, string, string) error
}

func NewCreator

func NewCreator(
	kubeClient clients.ClientsInterface,
	metricsClient metrics.Metrics,
	pollActions poll.PollActions,
	kernelData kernel.KernelData,
	scheme *runtime.Scheme,
	lc lifecycle.Lifecycle,
	proxyAPI proxy.ProxyAPI,
	resHelper resourcehelper.Helper,
) Creator

type MockCreator

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

MockCreator is a mock of Creator interface.

func NewMockCreator

func NewMockCreator(ctrl *gomock.Controller) *MockCreator

NewMockCreator creates a new mock instance.

func (*MockCreator) CreateFromYAML

func (m *MockCreator) CreateFromYAML(arg0 context.Context, arg1 []byte, arg2 bool, arg3 v1.Object, arg4, arg5 string, arg6 map[string]string, arg7, arg8 string) error

CreateFromYAML mocks base method.

func (*MockCreator) EXPECT

func (m *MockCreator) EXPECT() *MockCreatorMockRecorder

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

type MockCreatorMockRecorder

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

MockCreatorMockRecorder is the mock recorder for MockCreator.

func (*MockCreatorMockRecorder) CreateFromYAML

func (mr *MockCreatorMockRecorder) CreateFromYAML(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 interface{}) *gomock.Call

CreateFromYAML indicates an expected call of CreateFromYAML.

Jump to

Keyboard shortcuts

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