permissiontarget

package
v1.39.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 (*PermissionTargetCreateCommand) Run

func (ptcc *PermissionTargetCreateCommand) Run() (err error)

func (*PermissionTargetCreateCommand) SetRtDetails

func (*PermissionTargetCreateCommand) SetTemplatePath

func (*PermissionTargetCreateCommand) SetVars

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 (*PermissionTargetDeleteCommand) Run

func (ptdc *PermissionTargetDeleteCommand) Run() (err error)

func (*PermissionTargetDeleteCommand) SetPermissionTargetName

func (ptdc *PermissionTargetDeleteCommand) SetPermissionTargetName(permissionTargetName string) *PermissionTargetDeleteCommand

func (*PermissionTargetDeleteCommand) SetQuiet

func (*PermissionTargetDeleteCommand) SetRtDetails

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 (*PermissionTargetTemplateCommand) Run

func (pttc *PermissionTargetTemplateCommand) Run() (err error)

func (*PermissionTargetTemplateCommand) SetTemplatePath

type PermissionTargetUpdateCommand

type PermissionTargetUpdateCommand struct {
	PermissionTargetCommand
}

func NewPermissionTargetUpdateCommand

func NewPermissionTargetUpdateCommand() *PermissionTargetUpdateCommand

func (*PermissionTargetUpdateCommand) CommandName

func (ptuc *PermissionTargetUpdateCommand) CommandName() string

func (*PermissionTargetUpdateCommand) RtDetails

func (*PermissionTargetUpdateCommand) Run

func (ptuc *PermissionTargetUpdateCommand) Run() (err error)

func (*PermissionTargetUpdateCommand) SetRtDetails

func (*PermissionTargetUpdateCommand) SetTemplatePath

func (*PermissionTargetUpdateCommand) SetVars

Jump to

Keyboard shortcuts

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