Documentation ¶
Index ¶
- func CreatePathMappings(input, output string) []utils.PathMapping
- func CreatePathMappingsFromPatternAndTarget(pattern, target string) []utils.PathMapping
- func DoDistribute(dr DistributeReleaseBundleExecutor) (trackerId json.Number, err error)
- type DistributeReleaseBundleExecutor
- type DistributionCommonParams
- func (params *DistributionCommonParams) GetCityName() string
- func (params *DistributionCommonParams) GetCountryCodes() []string
- func (params *DistributionCommonParams) GetSiteName() string
- func (params *DistributionCommonParams) SetCityName(cityName string)
- func (params *DistributionCommonParams) SetCountryCodes(countryCodes []string)
- func (params *DistributionCommonParams) SetSiteName(siteName string)
- type DistributionGetter
- type DistributionParams
- type DistributionResponseBody
- type DistributionRulesBody
- type ReleaseBundleDistributeV1Body
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePathMappings ¶
func CreatePathMappings(input, output string) []utils.PathMapping
Create the path mapping from the input spec
func CreatePathMappingsFromPatternAndTarget ¶ added in v1.35.0
func CreatePathMappingsFromPatternAndTarget(pattern, target string) []utils.PathMapping
Create the path mapping from the input spec which includes pattern and target
func DoDistribute ¶
func DoDistribute(dr DistributeReleaseBundleExecutor) (trackerId json.Number, err error)
Types ¶
type DistributeReleaseBundleExecutor ¶
type DistributeReleaseBundleExecutor interface { GetHttpClient() *jfroghttpclient.JfrogHttpClient ServiceDetails() auth.ServiceDetails IsDryRun() bool GetRestApi(name, version string) string GetDistributeBody() any GetDistributionParams() DistributionParams }
type DistributionCommonParams ¶
func (*DistributionCommonParams) GetCityName ¶
func (params *DistributionCommonParams) GetCityName() string
func (*DistributionCommonParams) GetCountryCodes ¶
func (params *DistributionCommonParams) GetCountryCodes() []string
func (*DistributionCommonParams) GetSiteName ¶
func (params *DistributionCommonParams) GetSiteName() string
func (*DistributionCommonParams) SetCityName ¶
func (params *DistributionCommonParams) SetCityName(cityName string)
func (*DistributionCommonParams) SetCountryCodes ¶
func (params *DistributionCommonParams) SetCountryCodes(countryCodes []string)
func (*DistributionCommonParams) SetSiteName ¶
func (params *DistributionCommonParams) SetSiteName(siteName string)
type DistributionGetter ¶
type DistributionParams ¶
type DistributionParams struct { DistributionRules []*DistributionCommonParams Name string Version string }
func NewDistributeReleaseBundleParams ¶
func NewDistributeReleaseBundleParams(name, version string) DistributionParams
type DistributionRulesBody ¶
type ReleaseBundleDistributeV1Body ¶
type ReleaseBundleDistributeV1Body struct { DryRun bool `json:"dry_run"` DistributionRules []DistributionRulesBody `json:"distribution_rules"` AutoCreateRepo bool `json:"auto_create_missing_repositories,omitempty"` }
func CreateDistributeV1Body ¶
func CreateDistributeV1Body(distributeParams DistributionParams, dryRun, isAutoCreateRepo bool) ReleaseBundleDistributeV1Body
Click to show internal directories.
Click to hide internal directories.