model

package
v0.0.0-...-fe4ed05 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checktype

type Checktype struct {
	Name         string                 `json:"name"`
	Description  string                 `json:"description"`
	Image        string                 `json:"image"`
	Timeout      int                    `json:"timeout"`
	Options      map[string]interface{} `json:"options,omitempty"`
	RequiredVars interface{}            `json:"required_vars"`
	Assets       []string               `json:"assets"`
}

type Checktypes

type Checktypes struct {
	Checktype []Checktype `json:"checktypes"`
}

func FetchChecktypesFromURL

func FetchChecktypesFromURL(url string) (Checktypes, error)

func MergeChecktypes

func MergeChecktypes(ctda, ctdb Checktypes) Checktypes

MergeChecktypes merges Checktypes first parameter into Checktypes second parameter returning a merged list of Checktypes.

Jump to

Keyboard shortcuts

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