validator

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectAllManifests

func CollectAllManifests(manifests []v1.Manifest) []v1.Manifest

CollectAllManifests はinclude展開後の全manifestをフラットなスライスとして収集する。 parallel内のchildrenも再帰的に収集する。

func FixManifestNames

func FixManifestNames(manifests []v1.Manifest)

FixManifestNames はname未設定のmanifestに対してtypeとpathから名前を自動付与する。 既存の名前との重複を回避するためにサフィックスを付与する。 parallel内のchildrenも再帰的に処理する。

func ValidateHelmFileVar

func ValidateHelmFileVar(helmVar *v1.HelmFileVar, varName string) error

ValidateHelmFileVar は HelmFileVar をバリデーションします

func ValidateManifest

func ValidateManifest(manifest *v1.Manifest, basePath string) error

ValidateManifest は Manifest をバリデーションします

func ValidateManifestHelmfile

func ValidateManifestHelmfile(helmfile *v1.ManifestHelmfile) error

ValidateManifestHelmfile は ManifestHelmfile をバリデーションします

func ValidateManifestNames

func ValidateManifestNames(manifests []v1.Manifest) error

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

func ValidateManifestWithIncludes(manifest *v1.Manifest, basePath string) error

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

func ValidateTazuna(tazuna *v1.Tazuna) error

ValidateTazuna は Tazuna 構造体全体をバリデーションします

func ValidateTazunaSpec

func ValidateTazunaSpec(spec *v1.TazunaSpec, basePath string) error

ValidateTazunaSpec は TazunaSpec をバリデーションします

func ValidateTazunaWithBasePath

func ValidateTazunaWithBasePath(tazuna *v1.Tazuna, basePath string) error

ValidateTazunaWithBasePath は Tazuna 構造体全体をバリデーションします(ベースパス付き)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL