Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct { Type ChecktypeRef `yaml:"type"` Target string `yaml:"target"` Options map[string]interface{} `yaml:"options,omitempty"` Timeout *int `yaml:"timeout,omitempty"` AssetType string `yaml:"assetType,omitempty"` NewTarget string Id string Checktype *Checktype }
func GetCheckById ¶
type Checktype ¶
type Checktype struct { Name string `json:"name"` Description string `json:"description"` Timeout int `json:"timeout,omitempty"` Image string `json:"image"` Options map[string]interface{} `json:"options,omitempty"` RequiredVars []string `json:"required_vars"` QueueName string `json:"queue_name,omitempty"` Assets []string `json:"assets"` }
Definition borrowed from vulcan-checks-bsys.
func GetManifestFromFile ¶
func GetManifestFromUrl ¶
type ChecktypeRef ¶
type ChecktypeRef string
ChektypeRef represents a checktype with an optional prefix denoting the repository (i.e. default/vulcan-zap vulcan-zap ).
type Conf ¶
type Conf struct { DockerBin string `yaml:"dockerBin"` GitBin string `yaml:"gitBin"` PullPolicy agentconfig.PullPolicy `yaml:"pullPolicy"` Vars map[string]string `yaml:"vars"` Repositories map[string]string `yaml:"repositories"` Repository string `yaml:"repository"` Registries []Registry `yaml:"registries"` LogLevel string `yaml:"logLevel"` Concurrency int `yaml:"concurrency"` IfName string `yaml:"ifName"` Exclude string `yaml:"exclude"` Include string `yaml:"include"` IncludeR *regexp.Regexp ExcludeR *regexp.Regexp }
Click to show internal directories.
Click to hide internal directories.