Documentation ¶
Index ¶
- Constants
- func GetPropsParams(reader *content.ContentReader, properties string) (propsParams services.PropsParams)
- type AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) CommandName() string
- func (atcc *AccessTokenCreateCommand) Response() ([]byte, error)
- func (atcc *AccessTokenCreateCommand) Run() error
- func (atcc *AccessTokenCreateCommand) ServerDetails() (*config.ServerDetails, error)
- func (atcc *AccessTokenCreateCommand) SetAudience(audience string) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetExpiry(expiry int) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetGrantAdmin(grantAdmin bool) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetGroups(groups string) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetRefreshable(refreshable bool) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *AccessTokenCreateCommand
- func (atcc *AccessTokenCreateCommand) SetUserName(userName string) *AccessTokenCreateCommand
- type CopyCommand
- type DeleteCommand
- func (dc *DeleteCommand) CommandName() string
- func (dc *DeleteCommand) DeleteFiles(reader *content.ContentReader) (successCount, failedCount int, err error)
- func (dc *DeleteCommand) GetPathsToDelete() (contentReader *content.ContentReader, err error)
- func (dc *DeleteCommand) Run() (err error)
- func (dc *DeleteCommand) SetThreads(threads int) *DeleteCommand
- func (dc *DeleteCommand) Threads() int
- type DeletePropsCommand
- type DownloadCommand
- func (dc *DownloadCommand) CommandName() string
- func (dc *DownloadCommand) Configuration() *utils.DownloadConfiguration
- func (dc *DownloadCommand) Run() error
- func (dc *DownloadCommand) SetBuildConfiguration(buildConfiguration *build.BuildConfiguration) *DownloadCommand
- func (dc *DownloadCommand) SetConfiguration(configuration *utils.DownloadConfiguration) *DownloadCommand
- func (dc *DownloadCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (dc *DownloadCommand) ShouldPrompt() bool
- type GenericCommand
- func (gc *GenericCommand) AqlInclue() []string
- func (gc *GenericCommand) DetailedSummary() bool
- func (gc *GenericCommand) DryRun() bool
- func (gc *GenericCommand) Quiet() bool
- func (gc *GenericCommand) Result() *commandsutils.Result
- func (gc *GenericCommand) Retries() int
- func (gc *GenericCommand) ServerDetails() (*config.ServerDetails, error)
- func (gc *GenericCommand) SetAqlInclude(include []string) *GenericCommand
- func (gc *GenericCommand) SetDetailedSummary(detailedSummary bool) *GenericCommand
- func (gc *GenericCommand) SetDryRun(dryRun bool) *GenericCommand
- func (gc *GenericCommand) SetQuiet(quiet bool) *GenericCommand
- func (gc *GenericCommand) SetRetries(retries int) *GenericCommand
- func (gc *GenericCommand) SetRetryWaitMilliSecs(retryWaitMilliSecs int) *GenericCommand
- func (gc *GenericCommand) SetServerDetails(serverDetails *config.ServerDetails) *GenericCommand
- func (gc *GenericCommand) SetSpec(spec *spec.SpecFiles) *GenericCommand
- func (gc *GenericCommand) SetSyncDeletesPath(syncDeletes string) *GenericCommand
- func (gc *GenericCommand) Spec() *spec.SpecFiles
- func (gc *GenericCommand) SyncDeletesPath() string
- type GitLfsCleanConfiguration
- type GitLfsCommand
- type MoveCommand
- type PingCommand
- func (pc *PingCommand) CommandName() string
- func (pc *PingCommand) Ping() ([]byte, error)
- func (pc *PingCommand) Response() []byte
- func (pc *PingCommand) Run() error
- func (pc *PingCommand) ServerDetails() (*config.ServerDetails, error)
- func (pc *PingCommand) SetServerDetails(serverDetails *config.ServerDetails) *PingCommand
- type PropsCommand
- type SearchCommand
- type SetPropsCommand
- type UploadCommand
- func (uc *UploadCommand) CommandName() string
- func (uc *UploadCommand) Run() error
- func (uc *UploadCommand) SetBuildConfiguration(buildConfiguration *build.BuildConfiguration) *UploadCommand
- func (uc *UploadCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (uc *UploadCommand) SetUploadConfiguration(uploadConfiguration *utils.UploadConfiguration) *UploadCommand
- func (uc *UploadCommand) ShouldPrompt() bool
- func (uc *UploadCommand) UploadConfiguration() *utils.UploadConfiguration
Constants ¶
View Source
const ( GroupsPrefix = "member-of-groups:" UserScopedNotation = "*" AdminPrivilegesSuffix = ":admin" )
Variables ¶
This section is empty.
Functions ¶
func GetPropsParams ¶
func GetPropsParams(reader *content.ContentReader, properties string) (propsParams services.PropsParams)
Types ¶
type AccessTokenCreateCommand ¶
type AccessTokenCreateCommand struct {
// contains filtered or unexported fields
}
func NewAccessTokenCreateCommand ¶
func NewAccessTokenCreateCommand() *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) CommandName ¶
func (atcc *AccessTokenCreateCommand) CommandName() string
func (*AccessTokenCreateCommand) Response ¶
func (atcc *AccessTokenCreateCommand) Response() ([]byte, error)
func (*AccessTokenCreateCommand) Run ¶
func (atcc *AccessTokenCreateCommand) Run() error
func (*AccessTokenCreateCommand) ServerDetails ¶
func (atcc *AccessTokenCreateCommand) ServerDetails() (*config.ServerDetails, error)
func (*AccessTokenCreateCommand) SetAudience ¶
func (atcc *AccessTokenCreateCommand) SetAudience(audience string) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetExpiry ¶
func (atcc *AccessTokenCreateCommand) SetExpiry(expiry int) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetGrantAdmin ¶
func (atcc *AccessTokenCreateCommand) SetGrantAdmin(grantAdmin bool) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetGroups ¶
func (atcc *AccessTokenCreateCommand) SetGroups(groups string) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetRefreshable ¶
func (atcc *AccessTokenCreateCommand) SetRefreshable(refreshable bool) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetServerDetails ¶
func (atcc *AccessTokenCreateCommand) SetServerDetails(serverDetails *config.ServerDetails) *AccessTokenCreateCommand
func (*AccessTokenCreateCommand) SetUserName ¶
func (atcc *AccessTokenCreateCommand) SetUserName(userName string) *AccessTokenCreateCommand
type CopyCommand ¶
type CopyCommand struct { GenericCommand // contains filtered or unexported fields }
func NewCopyCommand ¶
func NewCopyCommand() *CopyCommand
func (*CopyCommand) CommandName ¶
func (cc *CopyCommand) CommandName() string
func (*CopyCommand) Run ¶
func (cc *CopyCommand) Run() error
Copies the artifacts using the specified move pattern.
func (*CopyCommand) SetThreads ¶
func (cc *CopyCommand) SetThreads(threads int) *CopyCommand
func (*CopyCommand) Threads ¶
func (cc *CopyCommand) Threads() int
type DeleteCommand ¶
type DeleteCommand struct { GenericCommand // contains filtered or unexported fields }
func NewDeleteCommand ¶
func NewDeleteCommand() *DeleteCommand
func (*DeleteCommand) CommandName ¶
func (dc *DeleteCommand) CommandName() string
func (*DeleteCommand) DeleteFiles ¶
func (dc *DeleteCommand) DeleteFiles(reader *content.ContentReader) (successCount, failedCount int, err error)
func (*DeleteCommand) GetPathsToDelete ¶
func (dc *DeleteCommand) GetPathsToDelete() (contentReader *content.ContentReader, err error)
func (*DeleteCommand) Run ¶
func (dc *DeleteCommand) Run() (err error)
func (*DeleteCommand) SetThreads ¶
func (dc *DeleteCommand) SetThreads(threads int) *DeleteCommand
func (*DeleteCommand) Threads ¶
func (dc *DeleteCommand) Threads() int
type DeletePropsCommand ¶
type DeletePropsCommand struct {
PropsCommand
}
func NewDeletePropsCommand ¶
func NewDeletePropsCommand() *DeletePropsCommand
func (*DeletePropsCommand) CommandName ¶
func (dp *DeletePropsCommand) CommandName() string
func (*DeletePropsCommand) DeletePropsCommand ¶
func (dp *DeletePropsCommand) DeletePropsCommand(command PropsCommand) *DeletePropsCommand
func (*DeletePropsCommand) Run ¶
func (dp *DeletePropsCommand) Run() error
type DownloadCommand ¶
type DownloadCommand struct { GenericCommand // contains filtered or unexported fields }
func NewDownloadCommand ¶
func NewDownloadCommand() *DownloadCommand
func (*DownloadCommand) CommandName ¶
func (dc *DownloadCommand) CommandName() string
func (*DownloadCommand) Configuration ¶
func (dc *DownloadCommand) Configuration() *utils.DownloadConfiguration
func (*DownloadCommand) Run ¶
func (dc *DownloadCommand) Run() error
func (*DownloadCommand) SetBuildConfiguration ¶
func (dc *DownloadCommand) SetBuildConfiguration(buildConfiguration *build.BuildConfiguration) *DownloadCommand
func (*DownloadCommand) SetConfiguration ¶
func (dc *DownloadCommand) SetConfiguration(configuration *utils.DownloadConfiguration) *DownloadCommand
func (*DownloadCommand) SetProgress ¶
func (dc *DownloadCommand) SetProgress(progress ioUtils.ProgressMgr)
func (*DownloadCommand) ShouldPrompt ¶
func (dc *DownloadCommand) ShouldPrompt() bool
type GenericCommand ¶
type GenericCommand struct {
// contains filtered or unexported fields
}
func NewGenericCommand ¶
func NewGenericCommand() *GenericCommand
func (*GenericCommand) AqlInclue ¶ added in v2.36.0
func (gc *GenericCommand) AqlInclue() []string
func (*GenericCommand) DetailedSummary ¶
func (gc *GenericCommand) DetailedSummary() bool
func (*GenericCommand) DryRun ¶
func (gc *GenericCommand) DryRun() bool
func (*GenericCommand) Quiet ¶
func (gc *GenericCommand) Quiet() bool
func (*GenericCommand) Result ¶
func (gc *GenericCommand) Result() *commandsutils.Result
func (*GenericCommand) Retries ¶
func (gc *GenericCommand) Retries() int
func (*GenericCommand) ServerDetails ¶
func (gc *GenericCommand) ServerDetails() (*config.ServerDetails, error)
func (*GenericCommand) SetAqlInclude ¶ added in v2.36.0
func (gc *GenericCommand) SetAqlInclude(include []string) *GenericCommand
func (*GenericCommand) SetDetailedSummary ¶
func (gc *GenericCommand) SetDetailedSummary(detailedSummary bool) *GenericCommand
func (*GenericCommand) SetDryRun ¶
func (gc *GenericCommand) SetDryRun(dryRun bool) *GenericCommand
func (*GenericCommand) SetQuiet ¶
func (gc *GenericCommand) SetQuiet(quiet bool) *GenericCommand
func (*GenericCommand) SetRetries ¶
func (gc *GenericCommand) SetRetries(retries int) *GenericCommand
func (*GenericCommand) SetRetryWaitMilliSecs ¶ added in v2.8.0
func (gc *GenericCommand) SetRetryWaitMilliSecs(retryWaitMilliSecs int) *GenericCommand
func (*GenericCommand) SetServerDetails ¶
func (gc *GenericCommand) SetServerDetails(serverDetails *config.ServerDetails) *GenericCommand
func (*GenericCommand) SetSpec ¶
func (gc *GenericCommand) SetSpec(spec *spec.SpecFiles) *GenericCommand
func (*GenericCommand) SetSyncDeletesPath ¶
func (gc *GenericCommand) SetSyncDeletesPath(syncDeletes string) *GenericCommand
func (*GenericCommand) Spec ¶
func (gc *GenericCommand) Spec() *spec.SpecFiles
func (*GenericCommand) SyncDeletesPath ¶
func (gc *GenericCommand) SyncDeletesPath() string
type GitLfsCommand ¶
type GitLfsCommand struct { GenericCommand // contains filtered or unexported fields }
func NewGitLfsCommand ¶
func NewGitLfsCommand() *GitLfsCommand
func (*GitLfsCommand) CommandName ¶
func (glc *GitLfsCommand) CommandName() string
func (*GitLfsCommand) Configuration ¶
func (glc *GitLfsCommand) Configuration() *GitLfsCleanConfiguration
func (*GitLfsCommand) Run ¶
func (glc *GitLfsCommand) Run() error
func (*GitLfsCommand) SetConfiguration ¶
func (glc *GitLfsCommand) SetConfiguration(configuration *GitLfsCleanConfiguration) *GitLfsCommand
type MoveCommand ¶
type MoveCommand struct { GenericCommand // contains filtered or unexported fields }
func NewMoveCommand ¶
func NewMoveCommand() *MoveCommand
func (*MoveCommand) CommandName ¶
func (mc *MoveCommand) CommandName() string
func (*MoveCommand) Run ¶
func (mc *MoveCommand) Run() error
Moves the artifacts using the specified move pattern.
func (*MoveCommand) SetThreads ¶
func (mc *MoveCommand) SetThreads(threads int) *MoveCommand
func (*MoveCommand) Threads ¶
func (mc *MoveCommand) Threads() int
type PingCommand ¶
type PingCommand struct {
// contains filtered or unexported fields
}
func NewPingCommand ¶
func NewPingCommand() *PingCommand
func (*PingCommand) CommandName ¶
func (pc *PingCommand) CommandName() string
func (*PingCommand) Ping ¶
func (pc *PingCommand) Ping() ([]byte, error)
func (*PingCommand) Response ¶
func (pc *PingCommand) Response() []byte
func (*PingCommand) Run ¶
func (pc *PingCommand) Run() error
func (*PingCommand) ServerDetails ¶
func (pc *PingCommand) ServerDetails() (*config.ServerDetails, error)
func (*PingCommand) SetServerDetails ¶
func (pc *PingCommand) SetServerDetails(serverDetails *config.ServerDetails) *PingCommand
type PropsCommand ¶
type PropsCommand struct { GenericCommand // contains filtered or unexported fields }
func NewPropsCommand ¶
func NewPropsCommand() *PropsCommand
func (*PropsCommand) Props ¶
func (pc *PropsCommand) Props() string
func (*PropsCommand) SetProps ¶
func (pc *PropsCommand) SetProps(props string) *PropsCommand
func (*PropsCommand) SetThreads ¶
func (pc *PropsCommand) SetThreads(threads int) *PropsCommand
func (*PropsCommand) Threads ¶
func (pc *PropsCommand) Threads() int
type SearchCommand ¶
type SearchCommand struct {
GenericCommand
}
func NewSearchCommand ¶
func NewSearchCommand() *SearchCommand
func (*SearchCommand) CommandName ¶
func (sc *SearchCommand) CommandName() string
func (*SearchCommand) Run ¶
func (sc *SearchCommand) Run() error
func (*SearchCommand) Search ¶
func (sc *SearchCommand) Search() (*content.ContentReader, error)
type SetPropsCommand ¶
type SetPropsCommand struct {
PropsCommand
}
func NewSetPropsCommand ¶
func NewSetPropsCommand() *SetPropsCommand
func (*SetPropsCommand) CommandName ¶
func (setProps *SetPropsCommand) CommandName() string
func (*SetPropsCommand) Run ¶
func (setProps *SetPropsCommand) Run() (err error)
func (*SetPropsCommand) SetPropsCommand ¶
func (setProps *SetPropsCommand) SetPropsCommand(command PropsCommand) *SetPropsCommand
type UploadCommand ¶
type UploadCommand struct { GenericCommand // contains filtered or unexported fields }
func NewUploadCommand ¶
func NewUploadCommand() *UploadCommand
func (*UploadCommand) CommandName ¶
func (uc *UploadCommand) CommandName() string
func (*UploadCommand) Run ¶
func (uc *UploadCommand) Run() error
func (*UploadCommand) SetBuildConfiguration ¶
func (uc *UploadCommand) SetBuildConfiguration(buildConfiguration *build.BuildConfiguration) *UploadCommand
func (*UploadCommand) SetProgress ¶
func (uc *UploadCommand) SetProgress(progress ioUtils.ProgressMgr)
func (*UploadCommand) SetUploadConfiguration ¶
func (uc *UploadCommand) SetUploadConfiguration(uploadConfiguration *utils.UploadConfiguration) *UploadCommand
func (*UploadCommand) ShouldPrompt ¶
func (uc *UploadCommand) ShouldPrompt() bool
func (*UploadCommand) UploadConfiguration ¶
func (uc *UploadCommand) UploadConfiguration() *utils.UploadConfiguration
Click to show internal directories.
Click to hide internal directories.