Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` ProtoPackages []proto.PackageName `yaml:"protoPackages"` DistributionPackages []Package `yaml:"distributionPackages"` Mount string `yaml:"mount"` }
Encapsulates multiple targets for a set of packages
func (Config) ToStrategies ¶
type Package ¶
type Package struct { Target core.BuildTarget `yaml:"target"` ProtoPackageOption string `yaml:"packageOption"` ProtoPlugins []proto.Plugin `yaml:"plugins"` }
func NewPackage ¶
func NewPackage(target core.BuildTarget, packageOption string) Package
type Strategy ¶
type Strategy struct { Name string Packages []proto.PackageName Target core.BuildTarget // Set of paths to mount to target repo (generated stubs) Mount []core.MountPath IgnoreRepoFiles []string PackageOption string Plugins []proto.Plugin }
func NewStrategy ¶
func (Strategy) GetDistributionRepoName ¶
Click to show internal directories.
Click to hide internal directories.