Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyse ¶
type Category ¶
type Category struct { Name string `json:"categoryName,omitempty" yaml:"categoryName,omitempty"` Checks []Check `json:"checks,omitempty" yaml:"checks,omitempty"` }
Category holds the Category part of linkerd check's output.
type Check ¶
type Check struct { Description string `json:"description,omitempty" yaml:"description,omitempty"` Result string `json:"result,omitempty" yaml:"result,omitempty"` Hint string `json:"hint,omitempty" yaml:"hint,omitempty"` Error string `json:"error,omitempty" yaml:"error,omitempty"` }
Check holds the actual result linkerd check's output.
type CheckConfig ¶
type CheckConfig struct { Success bool `json:"success,omitempty" yaml:"success,omitempty"` Categories []Category `json:"categories,omitempty" yaml:"categories,omitempty"` }
CheckConfig holds the linkerd check output.
func GetCheckConfig ¶
func GetCheckConfig(input *json.Decoder) (*CheckConfig, error)
Click to show internal directories.
Click to hide internal directories.