mocks

package
v0.0.0-...-c193d83 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDKClient

type SDKClient struct {
	mock.Mock
}

SDKClient is an autogenerated mock type for the SDKClient type

func NewSDKClient

func NewSDKClient(t mockConstructorTestingTNewSDKClient) *SDKClient

NewSDKClient creates a new instance of SDKClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SDKClient) ArtifactDownload

func (_m *SDKClient) ArtifactDownload(request cidsdk.ArtifactDownloadRequest) error

ArtifactDownload provides a mock function with given fields: request

func (*SDKClient) ArtifactDownloadByteArray

func (_m *SDKClient) ArtifactDownloadByteArray(request cidsdk.ArtifactDownloadByteArrayRequest) ([]byte, error)

ArtifactDownloadByteArray provides a mock function with given fields: request

func (*SDKClient) ArtifactList

func (_m *SDKClient) ArtifactList(request cidsdk.ArtifactListRequest) (*[]cidsdk.ActionArtifact, error)

ArtifactList provides a mock function with given fields: request

func (*SDKClient) ArtifactUpload

func (_m *SDKClient) ArtifactUpload(request cidsdk.ArtifactUploadRequest) error

ArtifactUpload provides a mock function with given fields: request

func (*SDKClient) CurrentConfig

func (_m *SDKClient) CurrentConfig() (*cidsdk.CurrentConfig, error)

CurrentConfig provides a mock function with given fields:

func (*SDKClient) CurrentModule

func (_m *SDKClient) CurrentModule() (*cidsdk.ProjectModule, error)

CurrentModule provides a mock function with given fields:

func (*SDKClient) Env

func (_m *SDKClient) Env() (map[string]string, error)

Env provides a mock function with given fields:

func (*SDKClient) ExecuteCommand

ExecuteCommand provides a mock function with given fields: req

func (*SDKClient) FileExists

func (_m *SDKClient) FileExists(file string) bool

FileExists provides a mock function with given fields: file

func (*SDKClient) FileList

func (_m *SDKClient) FileList(req cidsdk.FileRequest) ([]cidsdk.File, error)

FileList provides a mock function with given fields: req

func (*SDKClient) FileRead

func (_m *SDKClient) FileRead(file string) (string, error)

FileRead provides a mock function with given fields: file

func (*SDKClient) FileRemove

func (_m *SDKClient) FileRemove(file string) error

FileRemove provides a mock function with given fields: file

func (*SDKClient) FileRename

func (_m *SDKClient) FileRename(old string, new string) error

FileRename provides a mock function with given fields: old, new

func (*SDKClient) FileWrite

func (_m *SDKClient) FileWrite(file string, content []byte) error

FileWrite provides a mock function with given fields: file, content

func (*SDKClient) Health

func (_m *SDKClient) Health() (*cidsdk.HealthcheckResponse, error)

Health provides a mock function with given fields:

func (*SDKClient) Log

func (_m *SDKClient) Log(req cidsdk.LogMessageRequest) error

Log provides a mock function with given fields: req

func (*SDKClient) ModuleAction

func (_m *SDKClient) ModuleAction(cfg interface{}) (cidsdk.ModuleActionData, error)

ModuleAction provides a mock function with given fields: cfg

func (*SDKClient) Modules

func (_m *SDKClient) Modules() (*[]cidsdk.ProjectModule, error)

Modules provides a mock function with given fields:

func (*SDKClient) ProjectAction

func (_m *SDKClient) ProjectAction(cfg interface{}) (cidsdk.ProjectActionData, error)

ProjectAction provides a mock function with given fields: cfg

func (*SDKClient) TARCreate

func (_m *SDKClient) TARCreate(inputDirectory string, archiveFile string) error

TARCreate provides a mock function with given fields: inputDirectory, archiveFile

func (*SDKClient) TARExtract

func (_m *SDKClient) TARExtract(archiveFile string, outputDirectory string) error

TARExtract provides a mock function with given fields: archiveFile, outputDirectory

func (*SDKClient) UUID

func (_m *SDKClient) UUID() string

UUID provides a mock function with given fields:

func (*SDKClient) VCSCommitByHash

func (_m *SDKClient) VCSCommitByHash(request cidsdk.VCSCommitByHashRequest) (*cidsdk.VCSCommit, error)

VCSCommitByHash provides a mock function with given fields: request

func (*SDKClient) VCSCommits

func (_m *SDKClient) VCSCommits(request cidsdk.VCSCommitsRequest) (*[]cidsdk.VCSCommit, error)

VCSCommits provides a mock function with given fields: request

func (*SDKClient) VCSDiff

func (_m *SDKClient) VCSDiff(request cidsdk.VCSDiffRequest) (*[]cidsdk.VCSDiff, error)

VCSDiff provides a mock function with given fields: request

func (*SDKClient) VCSReleases

func (_m *SDKClient) VCSReleases(request cidsdk.VCSReleasesRequest) (*[]cidsdk.VCSRelease, error)

VCSReleases provides a mock function with given fields: request

func (*SDKClient) VCSTags

func (_m *SDKClient) VCSTags() (*[]cidsdk.VCSTag, error)

VCSTags provides a mock function with given fields:

func (*SDKClient) ZIPCreate

func (_m *SDKClient) ZIPCreate(inputDirectory string, archiveFile string) error

ZIPCreate provides a mock function with given fields: inputDirectory, archiveFile

func (*SDKClient) ZIPExtract

func (_m *SDKClient) ZIPExtract(archiveFile string, outputDirectory string) error

ZIPExtract provides a mock function with given fields: archiveFile, outputDirectory

Jump to

Keyboard shortcuts

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