parameteroptions

package
v0.344.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChmodOptions added in v0.210.0

type ChmodOptions struct {
	// Set permissions using string like "u=rwx,g=r,o="
	PermissionsString string

	// Use sudo to perform changemod with root priviledges.
	UseSudo bool

	// Enable verbose output
	Verbose bool
}

func NewChmodOptions added in v0.210.0

func NewChmodOptions() (c *ChmodOptions)

func (*ChmodOptions) GetPermissionsString added in v0.210.0

func (c *ChmodOptions) GetPermissionsString() (permissionsString string, err error)

func (*ChmodOptions) GetUseSudo added in v0.210.0

func (c *ChmodOptions) GetUseSudo() (useSudo bool)

func (*ChmodOptions) GetVerbose added in v0.210.0

func (c *ChmodOptions) GetVerbose() (verbose bool)

func (*ChmodOptions) MustGetPermissionsString added in v0.210.0

func (c *ChmodOptions) MustGetPermissionsString() (permissionsString string)

func (*ChmodOptions) MustSetPermissionsString added in v0.210.0

func (c *ChmodOptions) MustSetPermissionsString(permissionsString string)

func (*ChmodOptions) SetPermissionsString added in v0.210.0

func (c *ChmodOptions) SetPermissionsString(permissionsString string) (err error)

func (*ChmodOptions) SetUseSudo added in v0.210.0

func (c *ChmodOptions) SetUseSudo(useSudo bool)

func (*ChmodOptions) SetVerbose added in v0.210.0

func (c *ChmodOptions) SetVerbose(verbose bool)

type ChownOptions added in v0.210.0

type ChownOptions struct {
	UserName  string
	GroupName string
	UseSudo   bool
	Verbose   bool
}

func NewChownOptions added in v0.210.0

func NewChownOptions() (c *ChownOptions)

func (*ChownOptions) GetGroupName added in v0.210.0

func (c *ChownOptions) GetGroupName() (GroupName string, err error)

func (*ChownOptions) GetUseSudo added in v0.210.0

func (c *ChownOptions) GetUseSudo() (useSudo bool)

func (*ChownOptions) GetUserAndOptionallyGroupForChownCommand added in v0.210.0

func (c *ChownOptions) GetUserAndOptionallyGroupForChownCommand() (userAndGroup string, err error)

func (*ChownOptions) GetUserName added in v0.210.0

func (c *ChownOptions) GetUserName() (userName string, err error)

func (*ChownOptions) GetVerbose added in v0.210.0

func (c *ChownOptions) GetVerbose() (verbose bool)

func (*ChownOptions) IsGroupNameSet added in v0.210.0

func (c *ChownOptions) IsGroupNameSet() (isSet bool)

func (*ChownOptions) MustGetGroupName added in v0.210.0

func (c *ChownOptions) MustGetGroupName() (GroupName string)

func (*ChownOptions) MustGetUserAndOptionallyGroupForChownCommand added in v0.210.0

func (c *ChownOptions) MustGetUserAndOptionallyGroupForChownCommand() (userAndGroup string)

func (*ChownOptions) MustGetUserName added in v0.210.0

func (c *ChownOptions) MustGetUserName() (userName string)

func (*ChownOptions) MustSetGroupName added in v0.210.0

func (c *ChownOptions) MustSetGroupName(GroupName string)

func (*ChownOptions) MustSetUserName added in v0.210.0

func (c *ChownOptions) MustSetUserName(userName string)

func (*ChownOptions) SetGroupName added in v0.210.0

func (c *ChownOptions) SetGroupName(GroupName string) (err error)

func (*ChownOptions) SetUseSudo added in v0.210.0

func (c *ChownOptions) SetUseSudo(useSudo bool)

func (*ChownOptions) SetUserName added in v0.210.0

func (c *ChownOptions) SetUserName(userName string) (err error)

func (*ChownOptions) SetVerbose added in v0.210.0

func (c *ChownOptions) SetVerbose(verbose bool)

type CreateBranchOptions added in v0.212.0

type CreateBranchOptions struct {
	// Name of the branch to create:
	Name string

	// Enable verbose output:
	Verbose bool
}

TODO: This should become the generic "CreateBranchOptions" to use everywhere. It then should replace GitlabCreateBranchOptions.

func NewCreateBranchOptions added in v0.212.0

func NewCreateBranchOptions() (c *CreateBranchOptions)

func (*CreateBranchOptions) GetName added in v0.212.0

func (c *CreateBranchOptions) GetName() (name string, err error)

func (*CreateBranchOptions) GetVerbose added in v0.212.0

func (c *CreateBranchOptions) GetVerbose() (verbose bool)

func (*CreateBranchOptions) MustGetName added in v0.212.0

func (c *CreateBranchOptions) MustGetName() (name string)

func (*CreateBranchOptions) MustSetName added in v0.212.0

func (c *CreateBranchOptions) MustSetName(name string)

func (*CreateBranchOptions) SetName added in v0.212.0

func (c *CreateBranchOptions) SetName(name string) (err error)

func (*CreateBranchOptions) SetVerbose added in v0.212.0

func (c *CreateBranchOptions) SetVerbose(verbose bool)

type CreateRepositoryOptions added in v0.213.0

type CreateRepositoryOptions struct {
	BareRepository            bool
	Verbose                   bool
	InitializeWithEmptyCommit bool

	// Set the default author for the repository to a default one.
	// Mainly usefull for testing since the author stays everywhere the same.
	InitializeWithDefaultAuthor bool
}

func NewCreateRepositoryOptions added in v0.213.0

func NewCreateRepositoryOptions() (c *CreateRepositoryOptions)

func (*CreateRepositoryOptions) GetBareRepository added in v0.213.0

func (c *CreateRepositoryOptions) GetBareRepository() (bareRepository bool)

func (*CreateRepositoryOptions) GetInitializeWithDefaultAuthor added in v0.213.0

func (c *CreateRepositoryOptions) GetInitializeWithDefaultAuthor() (initializeWithDefaultAuthor bool)

func (*CreateRepositoryOptions) GetInitializeWithEmptyCommit added in v0.213.0

func (c *CreateRepositoryOptions) GetInitializeWithEmptyCommit() (initializeWithEmptyCommit bool)

func (*CreateRepositoryOptions) GetVerbose added in v0.213.0

func (c *CreateRepositoryOptions) GetVerbose() (verbose bool)

func (*CreateRepositoryOptions) SetBareRepository added in v0.213.0

func (c *CreateRepositoryOptions) SetBareRepository(bareRepository bool)

func (*CreateRepositoryOptions) SetInitializeWithDefaultAuthor added in v0.213.0

func (c *CreateRepositoryOptions) SetInitializeWithDefaultAuthor(initializeWithDefaultAuthor bool)

func (*CreateRepositoryOptions) SetInitializeWithEmptyCommit added in v0.213.0

func (c *CreateRepositoryOptions) SetInitializeWithEmptyCommit(initializeWithEmptyCommit bool)

func (*CreateRepositoryOptions) SetVerbose added in v0.213.0

func (c *CreateRepositoryOptions) SetVerbose(verbose bool)

type GitCommitGetParentsOptions added in v0.213.0

type GitCommitGetParentsOptions struct {
	IncludeParentsOfParents bool
	Verbose                 bool
}

func NewGitCommitGetParentsOptions added in v0.213.0

func NewGitCommitGetParentsOptions() (g *GitCommitGetParentsOptions)

func (*GitCommitGetParentsOptions) GetIncludeParentsOfParents added in v0.213.0

func (g *GitCommitGetParentsOptions) GetIncludeParentsOfParents() (includeParentsOfParents bool)

func (*GitCommitGetParentsOptions) GetVerbose added in v0.213.0

func (g *GitCommitGetParentsOptions) GetVerbose() (verbose bool)

func (*GitCommitGetParentsOptions) SetIncludeParentsOfParents added in v0.213.0

func (g *GitCommitGetParentsOptions) SetIncludeParentsOfParents(includeParentsOfParents bool)

func (*GitCommitGetParentsOptions) SetVerbose added in v0.213.0

func (g *GitCommitGetParentsOptions) SetVerbose(verbose bool)

type GopassSecretOptions added in v0.223.0

type GopassSecretOptions struct {
	SecretPath string

	Overwrite bool
}

func NewGopassSecretOptions added in v0.223.0

func NewGopassSecretOptions() (g *GopassSecretOptions)

func (*GopassSecretOptions) GetBaseName added in v0.241.0

func (g *GopassSecretOptions) GetBaseName() (baseName string, err error)

func (*GopassSecretOptions) GetDeepCopy added in v0.223.0

func (g *GopassSecretOptions) GetDeepCopy() (copy *GopassSecretOptions)

func (*GopassSecretOptions) GetDirName added in v0.241.0

func (g *GopassSecretOptions) GetDirName() (dirName string, err error)

func (*GopassSecretOptions) GetOverwrite added in v0.223.0

func (g *GopassSecretOptions) GetOverwrite() (overwrite bool)

func (*GopassSecretOptions) GetSecretPath added in v0.241.0

func (g *GopassSecretOptions) GetSecretPath() (secretPath string, err error)

func (*GopassSecretOptions) MustGetBaseName added in v0.241.0

func (g *GopassSecretOptions) MustGetBaseName() (baseName string)

func (*GopassSecretOptions) MustGetDirName added in v0.241.0

func (g *GopassSecretOptions) MustGetDirName() (dirName string)

func (*GopassSecretOptions) MustGetSecretPath added in v0.241.0

func (g *GopassSecretOptions) MustGetSecretPath() (secretPath string)

func (*GopassSecretOptions) MustSetBaseName added in v0.241.0

func (g *GopassSecretOptions) MustSetBaseName(newBaseName string)

func (*GopassSecretOptions) MustSetSecretPath added in v0.241.0

func (g *GopassSecretOptions) MustSetSecretPath(secretPath string)

func (*GopassSecretOptions) SetBaseName added in v0.241.0

func (g *GopassSecretOptions) SetBaseName(newBaseName string) (err error)

func (*GopassSecretOptions) SetOverwrite added in v0.223.0

func (g *GopassSecretOptions) SetOverwrite(overwrite bool)

func (*GopassSecretOptions) SetSecretPath added in v0.241.0

func (g *GopassSecretOptions) SetSecretPath(secretPath string) (err error)

type InstallOptions added in v0.211.0

type InstallOptions struct {
	SourcePath            string
	BinaryName            string
	InstallationPath      string
	InstallBashCompletion bool
	UseSudoToInstall      bool
	Verbose               bool
}

func NewInstallOptions added in v0.211.0

func NewInstallOptions() (i *InstallOptions)

func (*InstallOptions) GetBinaryName added in v0.211.0

func (i *InstallOptions) GetBinaryName() (binaryName string, err error)

func (*InstallOptions) GetInstallBashCompletion added in v0.211.0

func (i *InstallOptions) GetInstallBashCompletion() (installBashCompletion bool)

func (*InstallOptions) GetInstallationPath added in v0.211.0

func (i *InstallOptions) GetInstallationPath() (installationPath string, err error)

func (*InstallOptions) GetInstallationPathOrDefaultIfUnset added in v0.211.0

func (i *InstallOptions) GetInstallationPathOrDefaultIfUnset() (installationPath string, err error)

func (*InstallOptions) GetSourcePath added in v0.211.0

func (i *InstallOptions) GetSourcePath() (sourcePath string, err error)

func (*InstallOptions) GetUseSudoToInstall added in v0.211.0

func (i *InstallOptions) GetUseSudoToInstall() (useSudoToInstall bool)

func (*InstallOptions) GetVerbose added in v0.211.0

func (i *InstallOptions) GetVerbose() (verbose bool)

func (*InstallOptions) MustGetBinaryName added in v0.211.0

func (i *InstallOptions) MustGetBinaryName() (binaryName string)

func (*InstallOptions) MustGetInstallationPath added in v0.211.0

func (i *InstallOptions) MustGetInstallationPath() (installationPath string)

func (*InstallOptions) MustGetInstallationPathOrDefaultIfUnset added in v0.211.0

func (i *InstallOptions) MustGetInstallationPathOrDefaultIfUnset() (installationPath string)

func (*InstallOptions) MustGetSourcePath added in v0.211.0

func (i *InstallOptions) MustGetSourcePath() (sourcePath string)

func (*InstallOptions) MustSetBinaryName added in v0.211.0

func (i *InstallOptions) MustSetBinaryName(binaryName string)

func (*InstallOptions) MustSetInstallationPath added in v0.211.0

func (i *InstallOptions) MustSetInstallationPath(installationPath string)

func (*InstallOptions) MustSetSourcePath added in v0.211.0

func (i *InstallOptions) MustSetSourcePath(sourcePath string)

func (*InstallOptions) SetBinaryName added in v0.211.0

func (i *InstallOptions) SetBinaryName(binaryName string) (err error)

func (*InstallOptions) SetInstallBashCompletion added in v0.211.0

func (i *InstallOptions) SetInstallBashCompletion(installBashCompletion bool)

func (*InstallOptions) SetInstallationPath added in v0.211.0

func (i *InstallOptions) SetInstallationPath(installationPath string) (err error)

func (*InstallOptions) SetSourcePath added in v0.211.0

func (i *InstallOptions) SetSourcePath(sourcePath string) (err error)

func (*InstallOptions) SetUseSudoToInstall added in v0.211.0

func (i *InstallOptions) SetUseSudoToInstall(useSudoToInstall bool)

func (*InstallOptions) SetVerbose added in v0.211.0

func (i *InstallOptions) SetVerbose(verbose bool)

type ListDirectoryOptions

type ListDirectoryOptions struct {
	// Enable recursive file and/or directory listing:
	Recursive bool

	// Return paths relative to the directory to list:
	ReturnRelativePaths bool

	// Enable verbose output
	Verbose bool
}

func NewListDirectoryOptions

func NewListDirectoryOptions() (l *ListDirectoryOptions)

func (*ListDirectoryOptions) GetRecursive

func (l *ListDirectoryOptions) GetRecursive() (recursive bool)

func (*ListDirectoryOptions) GetReturnRelativePaths

func (l *ListDirectoryOptions) GetReturnRelativePaths() (returnRelativePaths bool)

func (*ListDirectoryOptions) GetVerbose

func (l *ListDirectoryOptions) GetVerbose() (verbose bool)

func (*ListDirectoryOptions) SetRecursive

func (l *ListDirectoryOptions) SetRecursive(recursive bool)

func (*ListDirectoryOptions) SetReturnRelativePaths

func (l *ListDirectoryOptions) SetReturnRelativePaths(returnRelativePaths bool)

func (*ListDirectoryOptions) SetVerbose

func (l *ListDirectoryOptions) SetVerbose(verbose bool)

type ListFileOptions

type ListFileOptions struct {
	MatchBasenamePattern          []string
	ExcludeBasenamePattern        []string
	ExcludePatternWholepath       []string
	ReturnRelativePaths           bool
	OnlyFiles                     bool
	NonRecursive                  bool
	AllowEmptyListIfNoFileIsFound bool
}

func NewListFileOptions

func NewListFileOptions() (l *ListFileOptions)

func (*ListFileOptions) GetAllowEmptyListIfNoFileIsFound

func (l *ListFileOptions) GetAllowEmptyListIfNoFileIsFound() (allowEmptyListIfNoFileIsFound bool, err error)

func (*ListFileOptions) GetDeepCopy

func (o *ListFileOptions) GetDeepCopy() (deepCopy *ListFileOptions)

func (*ListFileOptions) GetExcludeBasenamePattern

func (l *ListFileOptions) GetExcludeBasenamePattern() (excludePattern []string, err error)

func (*ListFileOptions) GetExcludeBasenamePatternOrEmptySliceIfUnset

func (l *ListFileOptions) GetExcludeBasenamePatternOrEmptySliceIfUnset() (excludePattern []string)

func (*ListFileOptions) GetExcludePatternWholepath

func (l *ListFileOptions) GetExcludePatternWholepath() (excludePatternWholepath []string, err error)

func (*ListFileOptions) GetMatchBasenamePattern

func (l *ListFileOptions) GetMatchBasenamePattern() (matchPattern []string, err error)

func (*ListFileOptions) GetMatchBasenamePatternOrEmptySliceIfUnset

func (l *ListFileOptions) GetMatchBasenamePatternOrEmptySliceIfUnset() (excludePattern []string)

func (*ListFileOptions) GetNonRecursive

func (l *ListFileOptions) GetNonRecursive() (nonRecursive bool, err error)

func (*ListFileOptions) GetOnlyFiles

func (l *ListFileOptions) GetOnlyFiles() (onlyFiles bool, err error)

func (*ListFileOptions) GetReturnRelativePaths

func (l *ListFileOptions) GetReturnRelativePaths() (returnRelativePaths bool, err error)

func (*ListFileOptions) IsExcludeBasenamePatternSet

func (l *ListFileOptions) IsExcludeBasenamePatternSet() (isSet bool)

func (*ListFileOptions) IsExcludePatternWholepathSet

func (l *ListFileOptions) IsExcludePatternWholepathSet() (isSet bool)

func (*ListFileOptions) IsMatchBasenamePatternSet

func (l *ListFileOptions) IsMatchBasenamePatternSet() (isSet bool)

func (*ListFileOptions) MustGetAllowEmptyListIfNoFileIsFound

func (l *ListFileOptions) MustGetAllowEmptyListIfNoFileIsFound() (allowEmptyListIfNoFileIsFound bool)

func (*ListFileOptions) MustGetExcludeBasenamePattern

func (l *ListFileOptions) MustGetExcludeBasenamePattern() (excludePattern []string)

func (*ListFileOptions) MustGetExcludePatternWholepath

func (l *ListFileOptions) MustGetExcludePatternWholepath() (excludePatternWholepath []string)

func (*ListFileOptions) MustGetMatchBasenamePattern

func (l *ListFileOptions) MustGetMatchBasenamePattern() (matchPattern []string)

func (*ListFileOptions) MustGetNonRecursive

func (l *ListFileOptions) MustGetNonRecursive() (nonRecursive bool)

func (*ListFileOptions) MustGetOnlyFiles

func (l *ListFileOptions) MustGetOnlyFiles() (onlyFiles bool)

func (*ListFileOptions) MustGetReturnRelativePaths

func (l *ListFileOptions) MustGetReturnRelativePaths() (returnRelativePaths bool)

func (*ListFileOptions) MustSetAllowEmptyListIfNoFileIsFound

func (l *ListFileOptions) MustSetAllowEmptyListIfNoFileIsFound(allowEmptyListIfNoFileIsFound bool)

func (*ListFileOptions) MustSetExcludeBasenamePattern

func (l *ListFileOptions) MustSetExcludeBasenamePattern(excludeBasenamePattern []string)

func (*ListFileOptions) MustSetExcludePattern

func (l *ListFileOptions) MustSetExcludePattern(excludePattern []string)

func (*ListFileOptions) MustSetExcludePatternWholepath

func (l *ListFileOptions) MustSetExcludePatternWholepath(excludePatternWholepath []string)

func (*ListFileOptions) MustSetMatchBasenamePattern

func (l *ListFileOptions) MustSetMatchBasenamePattern(matchBasenamePattern []string)

func (*ListFileOptions) MustSetMatchPattern

func (l *ListFileOptions) MustSetMatchPattern(matchPattern []string)

func (*ListFileOptions) MustSetNonRecursive

func (l *ListFileOptions) MustSetNonRecursive(nonRecursive bool)

func (*ListFileOptions) MustSetOnlyFiles

func (l *ListFileOptions) MustSetOnlyFiles(onlyFiles bool)

func (*ListFileOptions) MustSetReturnRelativePaths

func (l *ListFileOptions) MustSetReturnRelativePaths(returnRelativePaths bool)

func (*ListFileOptions) SetAllowEmptyListIfNoFileIsFound

func (l *ListFileOptions) SetAllowEmptyListIfNoFileIsFound(allowEmptyListIfNoFileIsFound bool) (err error)

func (*ListFileOptions) SetExcludeBasenamePattern

func (l *ListFileOptions) SetExcludeBasenamePattern(excludeBasenamePattern []string) (err error)

func (*ListFileOptions) SetExcludePattern

func (l *ListFileOptions) SetExcludePattern(excludePattern []string) (err error)

func (*ListFileOptions) SetExcludePatternWholepath

func (l *ListFileOptions) SetExcludePatternWholepath(excludePatternWholepath []string) (err error)

func (*ListFileOptions) SetMatchBasenamePattern

func (l *ListFileOptions) SetMatchBasenamePattern(matchBasenamePattern []string) (err error)

func (*ListFileOptions) SetMatchPattern

func (l *ListFileOptions) SetMatchPattern(matchPattern []string) (err error)

func (*ListFileOptions) SetNonRecursive

func (l *ListFileOptions) SetNonRecursive(nonRecursive bool) (err error)

func (*ListFileOptions) SetOnlyFiles

func (l *ListFileOptions) SetOnlyFiles(onlyFiles bool) (err error)

func (*ListFileOptions) SetReturnRelativePaths

func (l *ListFileOptions) SetReturnRelativePaths(returnRelativePaths bool) (err error)

type ListKubernetesResourcesOptions added in v0.218.0

type ListKubernetesResourcesOptions struct {
	Namespace    string
	ResourceType string
	Verbose      bool
}

func NewListKubernetesResourcesOptions added in v0.218.0

func NewListKubernetesResourcesOptions() (k *ListKubernetesResourcesOptions)

func (*ListKubernetesResourcesOptions) GetNamespace added in v0.218.0

func (k *ListKubernetesResourcesOptions) GetNamespace() (namespace string, err error)

func (*ListKubernetesResourcesOptions) GetResourceType added in v0.218.0

func (k *ListKubernetesResourcesOptions) GetResourceType() (resourceType string, err error)

func (*ListKubernetesResourcesOptions) GetVerbose added in v0.218.0

func (k *ListKubernetesResourcesOptions) GetVerbose() (verbose bool)

func (*ListKubernetesResourcesOptions) MustGetNamespace added in v0.218.0

func (k *ListKubernetesResourcesOptions) MustGetNamespace() (namespace string)

func (*ListKubernetesResourcesOptions) MustGetResourceType added in v0.218.0

func (k *ListKubernetesResourcesOptions) MustGetResourceType() (resourceType string)

func (*ListKubernetesResourcesOptions) MustSetNamespace added in v0.218.0

func (k *ListKubernetesResourcesOptions) MustSetNamespace(namespace string)

func (*ListKubernetesResourcesOptions) MustSetResourceType added in v0.218.0

func (k *ListKubernetesResourcesOptions) MustSetResourceType(resourceType string)

func (*ListKubernetesResourcesOptions) SetNamespace added in v0.218.0

func (k *ListKubernetesResourcesOptions) SetNamespace(namespace string) (err error)

func (*ListKubernetesResourcesOptions) SetResourceType added in v0.218.0

func (k *ListKubernetesResourcesOptions) SetResourceType(resourceType string) (err error)

func (*ListKubernetesResourcesOptions) SetVerbose added in v0.218.0

func (k *ListKubernetesResourcesOptions) SetVerbose(verbose bool)

type PathFilterOptions

type PathFilterOptions interface {
	// Filters for matching base name:
	GetMatchBasenamePattern() (matchPattern []string, err error)
	IsMatchBasenamePatternSet() (isSet bool)

	// Filters for excluding base name:
	GetExcludeBasenamePattern() (excludePattern []string, err error)
	IsExcludeBasenamePatternSet() (isSet bool)

	// Filters for exluding wholepaths:
	GetExcludePatternWholepath() (excludePattern []string, err error)
	IsExcludePatternWholepathSet() (isSet bool)
}

Options to filter a list of paths.

type RunCommandOptions added in v0.210.0

type RunCommandOptions struct {
	Command           []string
	TimeoutString     string
	AllowAllExitCodes bool

	// If set this will be send to stdin of the command:
	StdinString string

	// Run as "root" user (or Administrator on Windows):
	RunAsRoot bool

	RemoveLastLineIfEmpty bool
}

func NewRunCommandOptions added in v0.210.0

func NewRunCommandOptions() (runCommandOptions *RunCommandOptions)

func (*RunCommandOptions) GetAllowAllExitCodes added in v0.210.0

func (r *RunCommandOptions) GetAllowAllExitCodes() (allowAllExitCodes bool, err error)

func (*RunCommandOptions) GetCommand added in v0.210.0

func (o *RunCommandOptions) GetCommand() (command []string, err error)

func (*RunCommandOptions) GetDeepCopy added in v0.210.0

func (o *RunCommandOptions) GetDeepCopy() (deepCopy *RunCommandOptions)

func (*RunCommandOptions) GetJoinedCommand added in v0.210.0

func (o *RunCommandOptions) GetJoinedCommand() (joinedCommand string, err error)

func (*RunCommandOptions) GetRemoveLastLineIfEmpty added in v0.218.0

func (r *RunCommandOptions) GetRemoveLastLineIfEmpty() (removeLastLineIfEmpty bool)

func (*RunCommandOptions) GetRunAsRoot added in v0.210.0

func (r *RunCommandOptions) GetRunAsRoot() (runAsRoot bool)

func (*RunCommandOptions) GetStdinString added in v0.210.0

func (r *RunCommandOptions) GetStdinString() (stdinString string, err error)

func (*RunCommandOptions) GetTimeoutSecondsAsString added in v0.210.0

func (o *RunCommandOptions) GetTimeoutSecondsAsString() (timeoutSeconds string, err error)

func (*RunCommandOptions) GetTimeoutString added in v0.210.0

func (r *RunCommandOptions) GetTimeoutString() (timeoutString string, err error)

func (*RunCommandOptions) IsStdinStringSet added in v0.210.0

func (o *RunCommandOptions) IsStdinStringSet() (isSet bool)

func (*RunCommandOptions) IsTimeoutSet added in v0.210.0

func (o *RunCommandOptions) IsTimeoutSet() (isSet bool)

func (*RunCommandOptions) SetAllowAllExitCodes added in v0.210.0

func (r *RunCommandOptions) SetAllowAllExitCodes(allowAllExitCodes bool) (err error)

func (*RunCommandOptions) SetCommand added in v0.210.0

func (r *RunCommandOptions) SetCommand(command []string) (err error)

func (*RunCommandOptions) SetRemoveLastLineIfEmpty added in v0.218.0

func (r *RunCommandOptions) SetRemoveLastLineIfEmpty(removeLastLineIfEmpty bool)

func (*RunCommandOptions) SetRunAsRoot added in v0.210.0

func (r *RunCommandOptions) SetRunAsRoot(runAsRoot bool)

func (*RunCommandOptions) SetStdinString added in v0.210.0

func (r *RunCommandOptions) SetStdinString(stdinString string) (err error)

func (*RunCommandOptions) SetTimeoutString added in v0.210.0

func (r *RunCommandOptions) SetTimeoutString(timeoutString string) (err error)

type UpdateDependenciesOptions added in v0.214.0

type UpdateDependenciesOptions struct {
	ArtifactHandlers      []artifacthandler.ArtifactHandler
	Commit                bool
	Verbose               bool
	AuthenticationOptions []authenticationoptions.AuthenticationOption
}

func NewUpdateDependenciesOptions added in v0.214.0

func NewUpdateDependenciesOptions() (u *UpdateDependenciesOptions)

func (*UpdateDependenciesOptions) GetArtifactHandlerForSoftwareName added in v0.214.0

func (u *UpdateDependenciesOptions) GetArtifactHandlerForSoftwareName(softwareName string) (artifactHandler artifacthandler.ArtifactHandler, err error)

func (*UpdateDependenciesOptions) GetArtifactHandlers added in v0.214.0

func (u *UpdateDependenciesOptions) GetArtifactHandlers() (artifactHandlers []artifacthandler.ArtifactHandler, err error)

func (*UpdateDependenciesOptions) GetAuthenticationOptions added in v0.214.0

func (u *UpdateDependenciesOptions) GetAuthenticationOptions() (authenticationOptions []authenticationoptions.AuthenticationOption, err error)

func (*UpdateDependenciesOptions) GetCommit added in v0.214.0

func (u *UpdateDependenciesOptions) GetCommit() (commit bool, err error)

func (*UpdateDependenciesOptions) GetLatestArtifactVersionAsString added in v0.214.0

func (u *UpdateDependenciesOptions) GetLatestArtifactVersionAsString(softwareName string, verbose bool) (latestVersion string, err error)

func (*UpdateDependenciesOptions) GetVerbose added in v0.214.0

func (u *UpdateDependenciesOptions) GetVerbose() (verbose bool, err error)

func (*UpdateDependenciesOptions) MustGetArtifactHandlerForSoftwareName added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetArtifactHandlerForSoftwareName(softwareName string) (artifactHandler artifacthandler.ArtifactHandler)

func (*UpdateDependenciesOptions) MustGetArtifactHandlers added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetArtifactHandlers() (artifactHandlers []artifacthandler.ArtifactHandler)

func (*UpdateDependenciesOptions) MustGetAuthenticationOptions added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetAuthenticationOptions() (authenticationOptions []authenticationoptions.AuthenticationOption)

func (*UpdateDependenciesOptions) MustGetCommit added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetCommit() (commit bool)

func (*UpdateDependenciesOptions) MustGetLatestArtifactVersionAsString added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetLatestArtifactVersionAsString(softwareName string, verbose bool) (latestVersion string)

func (*UpdateDependenciesOptions) MustGetVerbose added in v0.214.0

func (u *UpdateDependenciesOptions) MustGetVerbose() (verbose bool)

func (*UpdateDependenciesOptions) MustSetArtifactHandlers added in v0.214.0

func (u *UpdateDependenciesOptions) MustSetArtifactHandlers(artifactHandlers []artifacthandler.ArtifactHandler)

func (*UpdateDependenciesOptions) MustSetAuthenticationOptions added in v0.214.0

func (u *UpdateDependenciesOptions) MustSetAuthenticationOptions(authenticationOptions []authenticationoptions.AuthenticationOption)

func (*UpdateDependenciesOptions) MustSetCommit added in v0.214.0

func (u *UpdateDependenciesOptions) MustSetCommit(commit bool)

func (*UpdateDependenciesOptions) MustSetVerbose added in v0.214.0

func (u *UpdateDependenciesOptions) MustSetVerbose(verbose bool)

func (*UpdateDependenciesOptions) SetArtifactHandlers added in v0.214.0

func (u *UpdateDependenciesOptions) SetArtifactHandlers(artifactHandlers []artifacthandler.ArtifactHandler) (err error)

func (*UpdateDependenciesOptions) SetAuthenticationOptions added in v0.214.0

func (u *UpdateDependenciesOptions) SetAuthenticationOptions(authenticationOptions []authenticationoptions.AuthenticationOption) (err error)

func (*UpdateDependenciesOptions) SetCommit added in v0.214.0

func (u *UpdateDependenciesOptions) SetCommit(commit bool) (err error)

func (*UpdateDependenciesOptions) SetVerbose added in v0.214.0

func (u *UpdateDependenciesOptions) SetVerbose(verbose bool) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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