Versions in this module Expand all Collapse all v1 v1.1.0 May 14, 2024 Changes in this version + const ActionBeforeCreateToken v1.0.0 May 6, 2024 Changes in this version + const ActionAfterBuildInfoSave + const ActionAfterCreate + const ActionAfterDownload + const ActionAfterMove + const ActionBeforeDownload + const ActionBeforeUpload + const ActionGenericEvent + const ActionUnspecified + const FlagEdit + const FlagForce + const FlagJsonOutput + const FlagNoSecrets + const FlagNoTest + const FlagTimeout + var EnvKeyAccessToken = "JFROG_WORKER_CLI_DEV_ACCESS_TOKEN" + var EnvKeyAddSecretValue = "JFROG_WORKER_CLI_DEV_ADD_SECRET_VALUE" + var EnvKeySecretsPassword = "JFROG_WORKER_CLI_DEV_SECRETS_PASSWORD" + var EnvKeyServerUrl = "JFROG_WORKER_CLI_DEV_SERVER_URL" + func ActionIsValid(actionName string) bool + func ActionNames() string + func ActionNeedsCriteria(actionName string) bool + func DecryptSecret(password string, encryptedValue string) (string, error) + func EncryptSecret(password string, secretValue string) (string, error) + func GetJsonOutputFlag(description ...string) components.BoolFlag + func GetJsonPayloadArgument() components.Argument + func GetNoSecretsFlag(description ...string) components.BoolFlag + func GetNoTestFlag(description ...string) components.BoolFlag + func GetServerDetails(c *components.Context) (*config.ServerDetails, error) + func GetTimeoutFlag() components.StringFlag + func GetTimeoutParameter(c intFlagProvider) (time.Duration, error) + func GetWorkerKeyArgument() components.Argument + func ReadSecretPassword(prompt ...string) (string, error) + type ArtifactFilterCriteria struct + RepoKeys []string + type FilterCriteria struct + ArtifactFilterCriteria ArtifactFilterCriteria + type Manifest struct + Action string + Description string + Enabled bool + FilterCriteria FilterCriteria + Name string + Secrets Secrets + SourceCodePath string + func ReadManifest(dir ...string) (*Manifest, error) + func (mf *Manifest) DecryptSecrets(withPassword ...string) error + func (mf *Manifest) ReadSourceCode() (string, error) + func (mf *Manifest) Save(dir ...string) error + func (mf *Manifest) Validate() error + type Secret struct + Key string + MarkedForRemoval bool + Value string + type Secrets map[string]string + type WorkerDetails struct + Action string + Description string + Enabled bool + FilterCriteria FilterCriteria + Key string + Secrets []*Secret + SourceCode string