Help us shape the future of Go! Take the 2026 Go Developer Survey

k8sclient

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package k8sclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK8sClient

func NewK8sClient(client client.Client) *k8sClient

Types

type K8sClient

type K8sClient interface {
	Get(ctx context.Context, key client.ObjectKey, obj client.Object) error
}

type MockK8sClient

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

MockK8sClient is a mock of K8sClient interface.

func NewMockK8sClient

func NewMockK8sClient(ctrl *gomock.Controller) *MockK8sClient

NewMockK8sClient creates a new mock instance.

func (*MockK8sClient) EXPECT

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

func (*MockK8sClient) Get

Get mocks base method.

type MockK8sClientMockRecorder

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

MockK8sClientMockRecorder is the mock recorder for MockK8sClient.

func (*MockK8sClientMockRecorder) Get

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

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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