Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemaVersions = Versions{ {v1alpha1.Version, v1alpha1.NewSkaffoldConfig}, {v1alpha2.Version, v1alpha2.NewSkaffoldConfig}, {v1alpha3.Version, v1alpha3.NewSkaffoldConfig}, {v1alpha4.Version, v1alpha4.NewSkaffoldConfig}, {v1alpha5.Version, v1alpha5.NewSkaffoldConfig}, {v1beta1.Version, v1beta1.NewSkaffoldConfig}, {v1beta2.Version, v1beta2.NewSkaffoldConfig}, {v1beta3.Version, v1beta3.NewSkaffoldConfig}, {v1beta4.Version, v1beta4.NewSkaffoldConfig}, {v1beta5.Version, v1beta5.NewSkaffoldConfig}, {v1beta6.Version, v1beta6.NewSkaffoldConfig}, {v1beta7.Version, v1beta7.NewSkaffoldConfig}, {v1beta8.Version, v1beta8.NewSkaffoldConfig}, {v1beta9.Version, v1beta9.NewSkaffoldConfig}, {latest.Version, latest.NewSkaffoldConfig}, }
Functions ¶
func ApplyProfiles ¶
func ApplyProfiles(c *latest.SkaffoldConfig, opts *cfg.SkaffoldOptions) error
ApplyProfiles returns configuration modified by the application of a list of profiles.
func ParseConfig ¶
func ParseConfig(filename string, upgrade bool) (util.VersionedConfig, error)
ParseConfig reads a configuration file.
Types ¶
type APIVersion ¶
type APIVersion struct {
Version string `yaml:"apiVersion"`
}
type Version ¶
type Version struct { APIVersion string Factory func() util.VersionedConfig }
Click to show internal directories.
Click to hide internal directories.