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}, {v1beta10.Version, v1beta10.NewSkaffoldConfig}, {v1beta11.Version, v1beta11.NewSkaffoldConfig}, {v1beta12.Version, v1beta12.NewSkaffoldConfig}, {v1beta13.Version, v1beta13.NewSkaffoldConfig}, {v1beta14.Version, v1beta14.NewSkaffoldConfig}, {v1beta15.Version, v1beta15.NewSkaffoldConfig}, {v1beta16.Version, v1beta16.NewSkaffoldConfig}, {v1beta17.Version, v1beta17.NewSkaffoldConfig}, {v1.Version, v1.NewSkaffoldConfig}, {v2alpha1.Version, v2alpha1.NewSkaffoldConfig}, {v2alpha2.Version, v2alpha2.NewSkaffoldConfig}, {v2alpha3.Version, v2alpha3.NewSkaffoldConfig}, {latest.Version, latest.NewSkaffoldConfig}, }
Functions ¶
func ApplyProfiles ¶ added in v0.16.0
func ApplyProfiles(c *latest.SkaffoldConfig, opts cfg.SkaffoldOptions) error
ApplyProfiles returns configuration modified by the application of a list of profiles.
func IsSkaffoldConfig ¶ added in v1.4.0
IsSkaffoldConfig is for determining if a file is skaffold config file.
func ParseConfig ¶ added in v0.16.0
func ParseConfig(filename string, upgrade bool) (util.VersionedConfig, error)
ParseConfig reads a configuration file.
Types ¶
type APIVersion ¶ added in v0.16.0
type APIVersion struct {
Version string `yaml:"apiVersion"`
}
type Version ¶ added in v0.23.0
type Version struct { APIVersion string Factory func() util.VersionedConfig }
Click to show internal directories.
Click to hide internal directories.