config

package
v1.300032.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PlatformGeneric Platforms other than Amazon EKS
	PlatformGeneric = "generic"
	// PlatformEKS Amazon EKS platform
	PlatformEKS = "eks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Resolvers []Resolver   `mapstructure:"resolvers"`
	Rules     []rules.Rule `mapstructure:"rules"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

type Resolver

type Resolver struct {
	Name     string `mapstructure:"name"`
	Platform string `mapstructure:"platform"`
}

func NewEKSResolver

func NewEKSResolver(name string) Resolver

func NewGenericResolver

func NewGenericResolver(name string) Resolver

Jump to

Keyboard shortcuts

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