Documentation ¶
Index ¶
- func NewValidator() *validator.Validate
- func ValidateAPIVersion(fl validator.FieldLevel) bool
- func ValidateAwsRegion(fl validator.FieldLevel) bool
- func ValidateClusterKind(fl validator.FieldLevel) bool
- func ValidateEksVersion(fl validator.FieldLevel) bool
- func ValidatePermissiveConstraint(fl validator.FieldLevel) bool
- func ValidatePermissiveSemVer(fl validator.FieldLevel) bool
- type Furyctl
- type FuryctlMeta
- type FuryctlSpec
- type KFD
- type KFDKubernetes
- type KFDModules
- type KFDProvider
- type KFDSchema
- type KFDSchemas
- type KFDTool
- type KFDTools
- type KFDToolsCommon
- type KFDToolsEks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidator ¶
func NewValidator() *validator.Validate
func ValidateAPIVersion ¶
func ValidateAPIVersion(fl validator.FieldLevel) bool
func ValidateAwsRegion ¶
func ValidateAwsRegion(fl validator.FieldLevel) bool
func ValidateClusterKind ¶
func ValidateClusterKind(fl validator.FieldLevel) bool
func ValidateEksVersion ¶
func ValidateEksVersion(fl validator.FieldLevel) bool
func ValidatePermissiveConstraint ¶
func ValidatePermissiveConstraint(fl validator.FieldLevel) bool
func ValidatePermissiveSemVer ¶
func ValidatePermissiveSemVer(fl validator.FieldLevel) bool
Types ¶
type Furyctl ¶
type Furyctl struct { APIVersion string `yaml:"apiVersion" validate:"required,api-version"` Kind string `yaml:"kind" validate:"required,cluster-kind"` Metadata FuryctlMeta `yaml:"metadata" validate:"required"` Spec FuryctlSpec `yaml:"spec" validate:"required"` }
type FuryctlMeta ¶
type FuryctlMeta struct {
Name string `yaml:"name" validate:"required"`
}
type FuryctlSpec ¶
type FuryctlSpec struct {
DistributionVersion string `yaml:"distributionVersion" validate:"required"`
}
type KFD ¶
type KFD struct { Version string `yaml:"version" validate:"required,permissive-semver"` Modules KFDModules `yaml:"modules" validate:"required"` Kubernetes KFDKubernetes `yaml:"kubernetes" validate:"required"` FuryctlSchemas KFDSchemas `yaml:"furyctlSchemas" validate:"required"` Tools KFDTools `yaml:"tools" validate:"required"` }
type KFDKubernetes ¶
type KFDKubernetes struct { Eks KFDProvider `yaml:"eks" validate:"required"` OnPremises KFDProvider `yaml:"onpremises"` }
type KFDModules ¶
type KFDModules struct { Auth string `yaml:"auth" validate:"required"` Aws string `yaml:"aws"` Dr string `yaml:"dr" validate:"required"` Ingress string `yaml:"ingress" validate:"required"` Logging string `yaml:"logging" validate:"required"` Monitoring string `yaml:"monitoring" validate:"required"` Networking string `yaml:"networking" validate:"required"` Tracing string `yaml:"tracing"` Opa string `yaml:"opa" validate:"required"` }
type KFDProvider ¶
type KFDSchemas ¶
type KFDSchemas struct {
Eks []KFDSchema `yaml:"eks"`
}
type KFDTools ¶
type KFDTools struct { Common KFDToolsCommon `yaml:"common" validate:"required"` Eks KFDToolsEks `yaml:"eks" validate:"required"` }
type KFDToolsCommon ¶
type KFDToolsCommon struct { Furyagent KFDTool `yaml:"furyagent" validate:"required"` Kubectl KFDTool `yaml:"kubectl" validate:"required"` Kustomize KFDTool `yaml:"kustomize" validate:"required"` Terraform KFDTool `yaml:"terraform" validate:"required"` Yq KFDTool `yaml:"yq" validate:"required"` Helm KFDTool `yaml:"helm"` Helmfile KFDTool `yaml:"helmfile"` }
type KFDToolsEks ¶
type KFDToolsEks struct {
Awscli KFDTool `yaml:"awscli" validate:"required"`
}
Click to show internal directories.
Click to hide internal directories.