Documentation ¶
Index ¶
- Constants
- type PermissionSectionAnswer
- type PermissionTargetCommand
- type PermissionTargetCreateCommand
- func (ptcc *PermissionTargetCreateCommand) CommandName() string
- func (ptcc *PermissionTargetCreateCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (ptcc *PermissionTargetCreateCommand) Run() (err error)
- func (ptcc *PermissionTargetCreateCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetCreateCommand
- func (ptcc *PermissionTargetCreateCommand) SetTemplatePath(path string) *PermissionTargetCreateCommand
- func (ptcc *PermissionTargetCreateCommand) SetVars(vars string) *PermissionTargetCreateCommand
- type PermissionTargetDeleteCommand
- func (ptdc *PermissionTargetDeleteCommand) CommandName() string
- func (ptdc *PermissionTargetDeleteCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (ptdc *PermissionTargetDeleteCommand) Run() (err error)
- func (ptdc *PermissionTargetDeleteCommand) SetPermissionTargetName(permissionTargetName string) *PermissionTargetDeleteCommand
- func (ptdc *PermissionTargetDeleteCommand) SetQuiet(quiet bool) *PermissionTargetDeleteCommand
- func (ptdc *PermissionTargetDeleteCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetDeleteCommand
- type PermissionTargetTemplateCommand
- func (pttc *PermissionTargetTemplateCommand) CommandName() string
- func (pttc *PermissionTargetTemplateCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (pttc *PermissionTargetTemplateCommand) Run() (err error)
- func (pttc *PermissionTargetTemplateCommand) SetTemplatePath(path string) *PermissionTargetTemplateCommand
- type PermissionTargetUpdateCommand
- func (ptuc *PermissionTargetUpdateCommand) CommandName() string
- func (ptuc *PermissionTargetUpdateCommand) RtDetails() (*config.ArtifactoryDetails, error)
- func (ptuc *PermissionTargetUpdateCommand) Run() (err error)
- func (ptuc *PermissionTargetUpdateCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetUpdateCommand
- func (ptuc *PermissionTargetUpdateCommand) SetTemplatePath(path string) *PermissionTargetUpdateCommand
- func (ptuc *PermissionTargetUpdateCommand) SetVars(vars string) *PermissionTargetUpdateCommand
Constants ¶
View Source
const ( // Strings for prompt questions SelectPermissionTargetSectionMsg = "Select the permission target section to configure" + utils.PressTabMsg LeaveEmptyForDefault = "(press enter for default)" // Yes,No answers Yes = "yes" No = "no" // Main permission target configuration JSON keys Name = "name" Repo = "repo" Build = "build" ReleaseBundle = "releaseBundle" IncludePatternsDefault = "**" ExcludePatternsDefault = "" )
View Source
const DefaultBuildRepositoriesValue = "artifactory-build-info"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PermissionSectionAnswer ¶
type PermissionSectionAnswer struct { Repositories string `json:"repositories,omitempty"` IncludePatterns string `json:"include-patterns,omitempty"` ExcludePatterns string `json:"exclude-patterns,omitempty"` ActionsUsers map[string]string `json:"actions-users,omitempty"` ActionsGroups map[string]string `json:"actions-groups,omitempty"` }
type PermissionTargetCommand ¶
type PermissionTargetCommand struct {
// contains filtered or unexported fields
}
func (*PermissionTargetCommand) PerformPermissionTargetCmd ¶
func (ptc *PermissionTargetCommand) PerformPermissionTargetCmd(isUpdate bool) (err error)
func (*PermissionTargetCommand) TemplatePath ¶
func (ptc *PermissionTargetCommand) TemplatePath() string
func (*PermissionTargetCommand) Vars ¶
func (ptc *PermissionTargetCommand) Vars() string
type PermissionTargetCreateCommand ¶
type PermissionTargetCreateCommand struct {
PermissionTargetCommand
}
func NewPermissionTargetCreateCommand ¶
func NewPermissionTargetCreateCommand() *PermissionTargetCreateCommand
func (*PermissionTargetCreateCommand) CommandName ¶
func (ptcc *PermissionTargetCreateCommand) CommandName() string
func (*PermissionTargetCreateCommand) RtDetails ¶
func (ptcc *PermissionTargetCreateCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*PermissionTargetCreateCommand) Run ¶
func (ptcc *PermissionTargetCreateCommand) Run() (err error)
func (*PermissionTargetCreateCommand) SetRtDetails ¶
func (ptcc *PermissionTargetCreateCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetCreateCommand
func (*PermissionTargetCreateCommand) SetTemplatePath ¶
func (ptcc *PermissionTargetCreateCommand) SetTemplatePath(path string) *PermissionTargetCreateCommand
func (*PermissionTargetCreateCommand) SetVars ¶
func (ptcc *PermissionTargetCreateCommand) SetVars(vars string) *PermissionTargetCreateCommand
type PermissionTargetDeleteCommand ¶
type PermissionTargetDeleteCommand struct {
// contains filtered or unexported fields
}
func NewPermissionTargetDeleteCommand ¶
func NewPermissionTargetDeleteCommand() *PermissionTargetDeleteCommand
func (*PermissionTargetDeleteCommand) CommandName ¶
func (ptdc *PermissionTargetDeleteCommand) CommandName() string
func (*PermissionTargetDeleteCommand) RtDetails ¶
func (ptdc *PermissionTargetDeleteCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*PermissionTargetDeleteCommand) Run ¶
func (ptdc *PermissionTargetDeleteCommand) Run() (err error)
func (*PermissionTargetDeleteCommand) SetPermissionTargetName ¶
func (ptdc *PermissionTargetDeleteCommand) SetPermissionTargetName(permissionTargetName string) *PermissionTargetDeleteCommand
func (*PermissionTargetDeleteCommand) SetQuiet ¶
func (ptdc *PermissionTargetDeleteCommand) SetQuiet(quiet bool) *PermissionTargetDeleteCommand
func (*PermissionTargetDeleteCommand) SetRtDetails ¶
func (ptdc *PermissionTargetDeleteCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetDeleteCommand
type PermissionTargetTemplateCommand ¶
type PermissionTargetTemplateCommand struct {
// contains filtered or unexported fields
}
func NewPermissionTargetTemplateCommand ¶
func NewPermissionTargetTemplateCommand() *PermissionTargetTemplateCommand
func (*PermissionTargetTemplateCommand) CommandName ¶
func (pttc *PermissionTargetTemplateCommand) CommandName() string
func (*PermissionTargetTemplateCommand) RtDetails ¶
func (pttc *PermissionTargetTemplateCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*PermissionTargetTemplateCommand) Run ¶
func (pttc *PermissionTargetTemplateCommand) Run() (err error)
func (*PermissionTargetTemplateCommand) SetTemplatePath ¶
func (pttc *PermissionTargetTemplateCommand) SetTemplatePath(path string) *PermissionTargetTemplateCommand
type PermissionTargetUpdateCommand ¶
type PermissionTargetUpdateCommand struct {
PermissionTargetCommand
}
func NewPermissionTargetUpdateCommand ¶
func NewPermissionTargetUpdateCommand() *PermissionTargetUpdateCommand
func (*PermissionTargetUpdateCommand) CommandName ¶
func (ptuc *PermissionTargetUpdateCommand) CommandName() string
func (*PermissionTargetUpdateCommand) RtDetails ¶
func (ptuc *PermissionTargetUpdateCommand) RtDetails() (*config.ArtifactoryDetails, error)
func (*PermissionTargetUpdateCommand) Run ¶
func (ptuc *PermissionTargetUpdateCommand) Run() (err error)
func (*PermissionTargetUpdateCommand) SetRtDetails ¶
func (ptuc *PermissionTargetUpdateCommand) SetRtDetails(rtDetails *config.ArtifactoryDetails) *PermissionTargetUpdateCommand
func (*PermissionTargetUpdateCommand) SetTemplatePath ¶
func (ptuc *PermissionTargetUpdateCommand) SetTemplatePath(path string) *PermissionTargetUpdateCommand
func (*PermissionTargetUpdateCommand) SetVars ¶
func (ptuc *PermissionTargetUpdateCommand) SetVars(vars string) *PermissionTargetUpdateCommand
Click to show internal directories.
Click to hide internal directories.