config

package
v1.27.2-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

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 KFDProvider struct {
	Version   string `yaml:"version"`
	Installer string `yaml:"installer"`
}

type KFDSchema

type KFDSchema struct {
	APIVersion string `yaml:"apiVersion" validate:"required,api-version"`
	Kind       string `yaml:"kind"       validate:"required,cluster-kind"`
}

type KFDSchemas

type KFDSchemas struct {
	Eks []KFDSchema `yaml:"eks"`
}

type KFDTool

type KFDTool struct {
	Version   string            `yaml:"version"`
	Checksums map[string]string `yaml:"checksums"`
}

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"`
}

Jump to

Keyboard shortcuts

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