Documentation ¶
Index ¶
- func ToBuildConfig(in *BuildConfig) *v0.BuildConfig
- func ToDistConfig(in *DistConfig) *v0.DistConfig
- func ToDisterConfig(in DisterConfig) v0.DisterConfig
- func ToDistersConfig(in *DistersConfig) *v0.DistersConfig
- func ToDockerBuilderConfig(in DockerBuilderConfig) v0.DockerBuilderConfig
- func ToDockerBuildersConfig(in *DockerBuildersConfig) *v0.DockerBuildersConfig
- func ToDockerConfig(in *DockerConfig) *v0.DockerConfig
- func ToProductConfig(in *ProductConfig) *v0.ProductConfig
- func ToProductsMap(in map[distgo.ProductID]ProductConfig) map[distgo.ProductID]v0.ProductConfig
- func ToPublishConfig(in *PublishConfig) *v0.PublishConfig
- func ToPublishInfo(in *map[distgo.PublisherTypeID]PublisherConfig) *map[distgo.PublisherTypeID]v0.PublisherConfig
- func ToPublisherConfig(in *PublisherConfig) *v0.PublisherConfig
- func ToRunConfig(in *RunConfig) *v0.RunConfig
- func UpgradeConfig(cfgBytes []byte, disterFactory distgo.DisterFactory, ...) ([]byte, error)
- type BuildConfig
- type DistConfig
- type DisterConfig
- type DistersConfig
- type DockerBuilderConfig
- type DockerBuildersConfig
- type DockerConfig
- type ProductConfig
- type ProjectConfig
- type PublishConfig
- type PublisherConfig
- type RunConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBuildConfig ¶
func ToBuildConfig(in *BuildConfig) *v0.BuildConfig
func ToDistConfig ¶
func ToDistConfig(in *DistConfig) *v0.DistConfig
func ToDisterConfig ¶
func ToDisterConfig(in DisterConfig) v0.DisterConfig
func ToDistersConfig ¶
func ToDistersConfig(in *DistersConfig) *v0.DistersConfig
func ToDockerBuilderConfig ¶
func ToDockerBuilderConfig(in DockerBuilderConfig) v0.DockerBuilderConfig
func ToDockerBuildersConfig ¶
func ToDockerBuildersConfig(in *DockerBuildersConfig) *v0.DockerBuildersConfig
func ToDockerConfig ¶
func ToDockerConfig(in *DockerConfig) *v0.DockerConfig
func ToProductConfig ¶
func ToProductConfig(in *ProductConfig) *v0.ProductConfig
func ToProductsMap ¶
func ToProductsMap(in map[distgo.ProductID]ProductConfig) map[distgo.ProductID]v0.ProductConfig
func ToPublishConfig ¶
func ToPublishConfig(in *PublishConfig) *v0.PublishConfig
func ToPublishInfo ¶
func ToPublishInfo(in *map[distgo.PublisherTypeID]PublisherConfig) *map[distgo.PublisherTypeID]v0.PublisherConfig
func ToPublisherConfig ¶
func ToPublisherConfig(in *PublisherConfig) *v0.PublisherConfig
func ToRunConfig ¶
func UpgradeConfig ¶
func UpgradeConfig( cfgBytes []byte, disterFactory distgo.DisterFactory, dockerBuilderFactory distgo.DockerBuilderFactory, publisherFactory distgo.PublisherFactory) ([]byte, error)
Types ¶
type BuildConfig ¶
type BuildConfig v0.BuildConfig
func (*BuildConfig) ToParam ¶
func (cfg *BuildConfig) ToParam(scriptIncludes string, defaultCfg BuildConfig) (distgo.BuildParam, error)
ToParam returns the BuildParam represented by the receiver *BuildConfig and the provided default BuildConfig. If a config value is specified (non-nil) in the receiver config, it is used. If a config value is not specified in the receiver config but is specified in the default config, the default config value is used. If a value is not specified in either configuration, the program-specified default value (if any) is used.
type DistConfig ¶
type DistConfig v0.DistConfig
func (*DistConfig) ToParam ¶
func (cfg *DistConfig) ToParam(scriptIncludes string, defaultCfg DistConfig, disterFactory distgo.DisterFactory) (distgo.DistParam, error)
ToParam returns the DistParam represented by the receiver *DisterConfig and the provided default DisterConfig. If a config value is specified (non-nil) in the receiver config, it is used. If a config value is not specified in the receiver config but is specified in the default config, the default config value is used. If a value is not specified in either configuration, the program-specified default value (if any) is used.
type DisterConfig ¶
type DisterConfig v0.DisterConfig
func (*DisterConfig) ToParam ¶
func (cfg *DisterConfig) ToParam(defaultCfg DisterConfig, scriptIncludes string, disterFactory distgo.DisterFactory) (distgo.DisterParam, error)
type DistersConfig ¶
type DistersConfig v0.DistersConfig
func (*DistersConfig) ToParam ¶
func (cfgs *DistersConfig) ToParam(defaultCfg *DistersConfig, scriptIncludes string, disterFactory distgo.DisterFactory) (map[distgo.DistID]distgo.DisterParam, error)
type DockerBuilderConfig ¶
type DockerBuilderConfig v0.DockerBuilderConfig
func (*DockerBuilderConfig) ToParam ¶
func (cfg *DockerBuilderConfig) ToParam(defaultCfg DockerBuilderConfig, dockerBuilderFactory distgo.DockerBuilderFactory) (distgo.DockerBuilderParam, error)
type DockerBuildersConfig ¶
type DockerBuildersConfig v0.DockerBuildersConfig
func (*DockerBuildersConfig) ToParam ¶
func (cfgs *DockerBuildersConfig) ToParam(defaultCfg *DockerBuildersConfig, dockerBuilderFactory distgo.DockerBuilderFactory) (map[distgo.DockerID]distgo.DockerBuilderParam, error)
type DockerConfig ¶
type DockerConfig v0.DockerConfig
func (*DockerConfig) ToParam ¶
func (cfg *DockerConfig) ToParam(defaultCfg DockerConfig, dockerBuilderFactory distgo.DockerBuilderFactory) (distgo.DockerParam, error)
type ProductConfig ¶
type ProductConfig v0.ProductConfig
func (*ProductConfig) ToParam ¶
func (cfg *ProductConfig) ToParam(productID distgo.ProductID, scriptIncludes string, defaultCfg ProductConfig, disterFactory distgo.DisterFactory, dockerBuilderFactory distgo.DockerBuilderFactory) (distgo.ProductParam, error)
type ProjectConfig ¶
type ProjectConfig v0.ProjectConfig
func (*ProjectConfig) ToParam ¶
func (cfg *ProjectConfig) ToParam(projectDir string, disterFactory distgo.DisterFactory, defaultDisterCfg DisterConfig, dockerBuilderFactory distgo.DockerBuilderFactory, publisherFactory distgo.PublisherFactory) (distgo.ProjectParam, error)
type PublishConfig ¶
type PublishConfig v0.PublishConfig
func (*PublishConfig) ToParam ¶
func (cfg *PublishConfig) ToParam(defaultCfg PublishConfig) (distgo.PublishParam, error)
type PublisherConfig ¶
type PublisherConfig v0.PublisherConfig
func (*PublisherConfig) ToParam ¶
func (cfg *PublisherConfig) ToParam() (distgo.PublisherParam, error)
type RunConfig ¶
func (*RunConfig) ToParam ¶
ToParam returns the RunParam represented by the receiver *RunConfig and the provided default RunConfig. If a config value is specified (non-nil) in the receiver config, it is used. If a config value is not specified in the receiver config but is specified in the default config, the default config value is used. If a value is not specified in either configuration, the program-specified default value (if any) is used.