check_json_path

package
v0.0.0-...-536d3ef Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckJsonPath

func CheckJsonPath(req *Request) (util.IcingaState, interface{})

func NewCmd

func NewCmd() *cobra.Command

Types

type AuthInfo

type AuthInfo struct {
	CertificateAuthorityData []byte `json:"certificate-authority-data,omitempty"`
	ClientCertificateData    []byte `json:"client-certificate-data,omitempty"`
	Token                    string `json:"token,omitempty"`
	Username                 string `json:"username,omitempty"`
	Password                 string `json:"password,omitempty"`
}

type JQ

type JQ struct {
	J string `json:"j"`
	Q string `json:"q"`
}

type Request

type Request struct {
	URL             string
	Query           string
	Secret          string
	Namespace       string
	InClusterConfig bool
	Warning         string
	Critical        string
}

Jump to

Keyboard shortcuts

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