Documentation ¶
Index ¶
- type SDKClient
- func (_m *SDKClient) ArtifactDownload(request cidsdk.ArtifactDownloadRequest) error
- func (_m *SDKClient) ArtifactDownloadByteArray(request cidsdk.ArtifactDownloadByteArrayRequest) ([]byte, error)
- func (_m *SDKClient) ArtifactList(request cidsdk.ArtifactListRequest) (*[]cidsdk.ActionArtifact, error)
- func (_m *SDKClient) ArtifactUpload(request cidsdk.ArtifactUploadRequest) error
- func (_m *SDKClient) CurrentConfig() (*cidsdk.CurrentConfig, error)
- func (_m *SDKClient) CurrentModule() (*cidsdk.ProjectModule, error)
- func (_m *SDKClient) Env() (map[string]string, error)
- func (_m *SDKClient) ExecuteCommand(req cidsdk.ExecuteCommandRequest) (*cidsdk.ExecuteCommandResponse, error)
- func (_m *SDKClient) FileExists(file string) bool
- func (_m *SDKClient) FileList(req cidsdk.FileRequest) ([]cidsdk.File, error)
- func (_m *SDKClient) FileRead(file string) (string, error)
- func (_m *SDKClient) FileRemove(file string) error
- func (_m *SDKClient) FileRename(old string, new string) error
- func (_m *SDKClient) FileWrite(file string, content []byte) error
- func (_m *SDKClient) Health() (*cidsdk.HealthcheckResponse, error)
- func (_m *SDKClient) Log(req cidsdk.LogMessageRequest) error
- func (_m *SDKClient) ModuleAction(cfg interface{}) (cidsdk.ModuleActionData, error)
- func (_m *SDKClient) Modules() (*[]cidsdk.ProjectModule, error)
- func (_m *SDKClient) ProjectAction(cfg interface{}) (cidsdk.ProjectActionData, error)
- func (_m *SDKClient) TARCreate(inputDirectory string, archiveFile string) error
- func (_m *SDKClient) TARExtract(archiveFile string, outputDirectory string) error
- func (_m *SDKClient) UUID() string
- func (_m *SDKClient) VCSCommitByHash(request cidsdk.VCSCommitByHashRequest) (*cidsdk.VCSCommit, error)
- func (_m *SDKClient) VCSCommits(request cidsdk.VCSCommitsRequest) (*[]cidsdk.VCSCommit, error)
- func (_m *SDKClient) VCSDiff(request cidsdk.VCSDiffRequest) (*[]cidsdk.VCSDiff, error)
- func (_m *SDKClient) VCSReleases(request cidsdk.VCSReleasesRequest) (*[]cidsdk.VCSRelease, error)
- func (_m *SDKClient) VCSTags() (*[]cidsdk.VCSTag, error)
- func (_m *SDKClient) ZIPCreate(inputDirectory string, archiveFile string) error
- func (_m *SDKClient) ZIPExtract(archiveFile string, outputDirectory string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDKClient ¶
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) ExecuteCommand ¶
func (_m *SDKClient) ExecuteCommand(req cidsdk.ExecuteCommandRequest) (*cidsdk.ExecuteCommandResponse, error)
ExecuteCommand provides a mock function with given fields: req
func (*SDKClient) FileExists ¶
FileExists provides a mock function with given fields: file
func (*SDKClient) FileRemove ¶
FileRemove provides a mock function with given fields: file
func (*SDKClient) FileRename ¶
FileRename provides a mock function with given fields: old, new
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 ¶
TARCreate provides a mock function with given fields: inputDirectory, archiveFile
func (*SDKClient) TARExtract ¶
TARExtract provides a mock function with given fields: archiveFile, outputDirectory
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 ¶
VCSCommits 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