mocks

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFunctionInterface

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

MockFunctionInterface is a mock of FunctionInterface interface.

func NewMockFunctionInterface

func NewMockFunctionInterface(ctrl *gomock.Controller) *MockFunctionInterface

NewMockFunctionInterface creates a new mock instance.

func (*MockFunctionInterface) CheckForShepherdAPI

func (m *MockFunctionInterface) CheckForShepherdAPI(ctx context.Context) (bool, error)

CheckForShepherdAPI mocks base method.

func (*MockFunctionInterface) CheckPrivileges

func (m *MockFunctionInterface) CheckPrivileges(ctx context.Context) (map[string]any, error)

CheckPrivileges mocks base method.

func (*MockFunctionInterface) DeleteRecord

func (m *MockFunctionInterface) DeleteRecord(ctx context.Context, guid string) (string, error)

DeleteRecord mocks base method.

func (*MockFunctionInterface) Do

Do mocks base method.

func (*MockFunctionInterface) EXPECT

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

func (*MockFunctionInterface) ExportCredential

func (m *MockFunctionInterface) ExportCredential(ctx context.Context, cred *conf.Credential) error

ExportCredential mocks base method.

func (*MockFunctionInterface) GetDownloadPresignedUrl

func (m *MockFunctionInterface) GetDownloadPresignedUrl(ctx context.Context, guid, protocolText string) (string, error)

GetDownloadPresignedUrl mocks base method.

func (*MockFunctionInterface) New

func (m *MockFunctionInterface) New(method, url string) *request.RequestBuilder

New mocks base method.

func (*MockFunctionInterface) NewAccessToken

func (m *MockFunctionInterface) NewAccessToken(ctx context.Context) error

NewAccessToken mocks base method.

type MockFunctionInterfaceMockRecorder

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

MockFunctionInterfaceMockRecorder is the mock recorder for MockFunctionInterface.

func (*MockFunctionInterfaceMockRecorder) CheckForShepherdAPI

func (mr *MockFunctionInterfaceMockRecorder) CheckForShepherdAPI(ctx any) *gomock.Call

CheckForShepherdAPI indicates an expected call of CheckForShepherdAPI.

func (*MockFunctionInterfaceMockRecorder) CheckPrivileges

func (mr *MockFunctionInterfaceMockRecorder) CheckPrivileges(ctx any) *gomock.Call

CheckPrivileges indicates an expected call of CheckPrivileges.

func (*MockFunctionInterfaceMockRecorder) DeleteRecord

func (mr *MockFunctionInterfaceMockRecorder) DeleteRecord(ctx, guid any) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockFunctionInterfaceMockRecorder) Do

Do indicates an expected call of Do.

func (*MockFunctionInterfaceMockRecorder) ExportCredential

func (mr *MockFunctionInterfaceMockRecorder) ExportCredential(ctx, cred any) *gomock.Call

ExportCredential indicates an expected call of ExportCredential.

func (*MockFunctionInterfaceMockRecorder) GetDownloadPresignedUrl

func (mr *MockFunctionInterfaceMockRecorder) GetDownloadPresignedUrl(ctx, guid, protocolText any) *gomock.Call

GetDownloadPresignedUrl indicates an expected call of GetDownloadPresignedUrl.

func (*MockFunctionInterfaceMockRecorder) New

func (mr *MockFunctionInterfaceMockRecorder) New(method, url any) *gomock.Call

New indicates an expected call of New.

func (*MockFunctionInterfaceMockRecorder) NewAccessToken

func (mr *MockFunctionInterfaceMockRecorder) NewAccessToken(ctx any) *gomock.Call

NewAccessToken indicates an expected call of NewAccessToken.

type MockManagerInterface

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

MockManagerInterface is a mock of ManagerInterface interface.

func NewMockManagerInterface

func NewMockManagerInterface(ctrl *gomock.Controller) *MockManagerInterface

NewMockManagerInterface creates a new mock instance.

func (*MockManagerInterface) EXPECT

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

func (*MockManagerInterface) EnsureExists

func (m *MockManagerInterface) EnsureExists() error

EnsureExists mocks base method.

func (*MockManagerInterface) Import

func (m *MockManagerInterface) Import(filePath, fenceToken string) (*conf.Credential, error)

Import mocks base method.

func (*MockManagerInterface) IsCredentialValid

func (m *MockManagerInterface) IsCredentialValid(arg0 *conf.Credential) (bool, error)

IsCredentialValid mocks base method.

func (*MockManagerInterface) IsTokenValid

func (m *MockManagerInterface) IsTokenValid(arg0 string) (bool, error)

IsTokenValid mocks base method.

func (*MockManagerInterface) Load

func (m *MockManagerInterface) Load(profile string) (*conf.Credential, error)

Load mocks base method.

func (*MockManagerInterface) Save

func (m *MockManagerInterface) Save(cred *conf.Credential) error

Save mocks base method.

type MockManagerInterfaceMockRecorder

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

MockManagerInterfaceMockRecorder is the mock recorder for MockManagerInterface.

func (*MockManagerInterfaceMockRecorder) EnsureExists

func (mr *MockManagerInterfaceMockRecorder) EnsureExists() *gomock.Call

EnsureExists indicates an expected call of EnsureExists.

func (*MockManagerInterfaceMockRecorder) Import

func (mr *MockManagerInterfaceMockRecorder) Import(filePath, fenceToken any) *gomock.Call

Import indicates an expected call of Import.

func (*MockManagerInterfaceMockRecorder) IsCredentialValid

func (mr *MockManagerInterfaceMockRecorder) IsCredentialValid(arg0 any) *gomock.Call

IsCredentialValid indicates an expected call of IsCredentialValid.

func (*MockManagerInterfaceMockRecorder) IsTokenValid

func (mr *MockManagerInterfaceMockRecorder) IsTokenValid(arg0 any) *gomock.Call

IsTokenValid indicates an expected call of IsTokenValid.

func (*MockManagerInterfaceMockRecorder) Load

func (mr *MockManagerInterfaceMockRecorder) Load(profile any) *gomock.Call

Load indicates an expected call of Load.

func (*MockManagerInterfaceMockRecorder) Save

Save indicates an expected call of Save.

type MockRequestInterface

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

MockRequestInterface is a mock of RequestInterface interface.

func NewMockRequestInterface

func NewMockRequestInterface(ctrl *gomock.Controller) *MockRequestInterface

NewMockRequestInterface creates a new mock instance.

func (*MockRequestInterface) Do

Do mocks base method.

func (*MockRequestInterface) EXPECT

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

func (*MockRequestInterface) New

func (m *MockRequestInterface) New(method, url string) *request.RequestBuilder

New mocks base method.

type MockRequestInterfaceMockRecorder

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

MockRequestInterfaceMockRecorder is the mock recorder for MockRequestInterface.

func (*MockRequestInterfaceMockRecorder) Do

func (mr *MockRequestInterfaceMockRecorder) Do(ctx, req any) *gomock.Call

Do indicates an expected call of Do.

func (*MockRequestInterfaceMockRecorder) New

func (mr *MockRequestInterfaceMockRecorder) New(method, url any) *gomock.Call

New indicates an expected call of New.

Jump to

Keyboard shortcuts

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