credentials

package
v0.0.0-...-336479b Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package credentials is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Init(ctx context.Context, paramsJSON, releaseName, credentialsPath string) (credential *api.GKECredentials, err error)
	GetCredentialsByName(c []api.GKECredentials, credentialName string) *api.GKECredentials
}

func NewClient

func NewClient(ctx context.Context) (Client, error)

NewClient returns a new gcp.Client

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetCredentialsByName

func (m *MockClient) GetCredentialsByName(c []api.GKECredentials, credentialName string) *api.GKECredentials

GetCredentialsByName mocks base method.

func (*MockClient) Init

func (m *MockClient) Init(ctx context.Context, paramsJSON, releaseName, credentialsPath string) (*api.GKECredentials, error)

Init mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetCredentialsByName

func (mr *MockClientMockRecorder) GetCredentialsByName(c, credentialName interface{}) *gomock.Call

GetCredentialsByName indicates an expected call of GetCredentialsByName.

func (*MockClientMockRecorder) Init

func (mr *MockClientMockRecorder) Init(ctx, paramsJSON, releaseName, credentialsPath interface{}) *gomock.Call

Init indicates an expected call of Init.

Jump to

Keyboard shortcuts

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