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 }
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.
Click to show internal directories.
Click to hide internal directories.