Documentation
¶
Index ¶
- func CollectAllManifests(manifests []v1.Manifest) []v1.Manifest
- func FixManifestNames(manifests []v1.Manifest)
- func ValidateHelmFileVar(helmVar *v1.HelmFileVar, varName string) error
- func ValidateManifest(manifest *v1.Manifest, basePath string) error
- func ValidateManifestHelmfile(helmfile *v1.ManifestHelmfile) error
- func ValidateManifestNames(manifests []v1.Manifest) error
- func ValidateManifestORAS(oras *v1.ManifestORAS) error
- func ValidateManifestParallel(parallel *v1.ManifestParallel, basePath string) error
- func ValidateManifestWithIncludes(manifest *v1.Manifest, basePath string) error
- func ValidateOnePasswordVaultSelector(op *v1.OnePasswordVaultSelector, varName string) error
- func ValidateStaticVar(helmVar *v1.HelmFileVar, varName string) error
- func ValidateTazuna(tazuna *v1.Tazuna) error
- func ValidateTazunaSpec(spec *v1.TazunaSpec, basePath string) error
- func ValidateTazunaWithBasePath(tazuna *v1.Tazuna, basePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectAllManifests ¶
CollectAllManifests はinclude展開後の全manifestをフラットなスライスとして収集する。 parallel内のchildrenも再帰的に収集する。
func FixManifestNames ¶
FixManifestNames はname未設定のmanifestに対してtypeとpathから名前を自動付与する。 既存の名前との重複を回避するためにサフィックスを付与する。 parallel内のchildrenも再帰的に処理する。
func ValidateHelmFileVar ¶
func ValidateHelmFileVar(helmVar *v1.HelmFileVar, varName string) error
ValidateHelmFileVar は HelmFileVar をバリデーションします
func ValidateManifest ¶
ValidateManifest は Manifest をバリデーションします
func ValidateManifestHelmfile ¶
func ValidateManifestHelmfile(helmfile *v1.ManifestHelmfile) error
ValidateManifestHelmfile は ManifestHelmfile をバリデーションします
func ValidateManifestNames ¶
ValidateManifestNames はinclude展開後の全manifest間でnameのバリデーションを行う。 - Nameが必須 - 使用可能文字: [a-zA-Z0-9_-] - ユニーク制約 - 予約語 _metadata の禁止
func ValidateManifestORAS ¶
func ValidateManifestORAS(oras *v1.ManifestORAS) error
ValidateManifestORAS は ManifestORAS をバリデーションします
func ValidateManifestParallel ¶
func ValidateManifestParallel(parallel *v1.ManifestParallel, basePath string) error
ValidateManifestParallel は ManifestParallel をバリデーションします
func ValidateManifestWithIncludes ¶
ValidateManifestWithIncludes は includes を含む Manifest のバリデーションを行います
func ValidateOnePasswordVaultSelector ¶
func ValidateOnePasswordVaultSelector(op *v1.OnePasswordVaultSelector, varName string) error
ValidateOnePasswordVaultSelector は OnePasswordVaultSelector をバリデーションします
func ValidateStaticVar ¶
func ValidateStaticVar(helmVar *v1.HelmFileVar, varName string) error
ValidateStaticVar は static 系のフィールドのバリデーションを行います
func ValidateTazuna ¶
ValidateTazuna は Tazuna 構造体全体をバリデーションします
func ValidateTazunaSpec ¶
func ValidateTazunaSpec(spec *v1.TazunaSpec, basePath string) error
ValidateTazunaSpec は TazunaSpec をバリデーションします
Types ¶
This section is empty.