k8sclient

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package k8sclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8SClient

type K8SClient interface {
	GetSecret(namespace, name string) (*corev1.Secret, error)
}

func NewK8SClient

func NewK8SClient() (K8SClient, 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) GetSecret

func (m *MockK8SClient) GetSecret(namespace, name string) (*v1.Secret, error)

GetSecret mocks base method.

type MockK8SClientMockRecorder

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

MockK8SClientMockRecorder is the mock recorder for MockK8SClient.

func (*MockK8SClientMockRecorder) GetSecret

func (mr *MockK8SClientMockRecorder) GetSecret(namespace, name any) *gomock.Call

GetSecret indicates an expected call of GetSecret.

Jump to

Keyboard shortcuts

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