Documentation ¶
Index ¶
- func GenerateMetricsDocumentation(root string, in MetricsDoc) error
- func GenerateReadme(root string) error
- func ListTimezones() ([]Timezone, []TimezoneData)
- func RenderActions(root string) error
- func RenderTimezones(root string) error
- type Action
- type ActionsInput
- func (i ActionsInput) Descriptions() map[string]string
- func (i ActionsInput) HighestScopes() map[string]string
- func (i ActionsInput) Internal() map[string]string
- func (i ActionsInput) Keys() []string
- func (i ActionsInput) Optionals() map[string]bool
- func (i ActionsInput) Scopes() map[string]Scopes
- func (i ActionsInput) StartFailureGracePeriods() map[string]string
- func (i ActionsInput) Timeouts() map[string]string
- type Alerting
- type Groups
- type Label
- type Metric
- type Metrics
- type MetricsDoc
- type Namespaces
- type Platform
- type PlatformVersion
- type Platforms
- type PlatformsDoc
- type Scopes
- type Timezone
- type TimezoneData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMetricsDocumentation ¶
func GenerateMetricsDocumentation(root string, in MetricsDoc) error
func GenerateReadme ¶
func ListTimezones ¶
func ListTimezones() ([]Timezone, []TimezoneData)
func RenderActions ¶
func RenderTimezones ¶
Types ¶
type Action ¶
type Action struct { Timeout *meta.Duration `json:"timeout,omitempty"` StartupFailureGracePeriod *meta.Duration `json:"startupFailureGracePeriod,omitempty"` Scopes []string `json:"scopes,omitempty"` Description string `json:"description"` Enterprise bool `json:"enterprise"` IsInternal bool `json:"isInternal"` Optional bool `json:"optional"` }
type ActionsInput ¶
type ActionsInput struct { DefaultTimeout meta.Duration `json:"default_timeout"` Actions map[string]Action `json:"actions"` }
func (ActionsInput) Descriptions ¶
func (i ActionsInput) Descriptions() map[string]string
func (ActionsInput) HighestScopes ¶
func (i ActionsInput) HighestScopes() map[string]string
func (ActionsInput) Internal ¶
func (i ActionsInput) Internal() map[string]string
func (ActionsInput) Keys ¶
func (i ActionsInput) Keys() []string
func (ActionsInput) Optionals ¶
func (i ActionsInput) Optionals() map[string]bool
func (ActionsInput) Scopes ¶
func (i ActionsInput) Scopes() map[string]Scopes
func (ActionsInput) StartFailureGracePeriods ¶
func (i ActionsInput) StartFailureGracePeriods() map[string]string
func (ActionsInput) Timeouts ¶
func (i ActionsInput) Timeouts() map[string]string
type Metric ¶
type Metric struct { Description string `json:"description" yaml:"description"` Type string `json:"type" yaml:"type"` ShortDescription string `json:"shortDescription" yaml:"shortDescription"` Labels []Label `json:"labels" yaml:"labels"` AlertingRules []Alerting `json:"alertingRules" yaml:"alertingRules"` }
type MetricsDoc ¶
type MetricsDoc struct { Destination string `json:"destination" yaml:"destination"` Documentation string `json:"documentation" yaml:"documentation"` Namespaces Namespaces `json:"namespaces" yaml:"namespaces"` }
type Namespaces ¶
func (Namespaces) Keys ¶
func (n Namespaces) Keys() []string
type Platform ¶
type Platform struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Versions []PlatformVersion `json:"versions,omitempty" yaml:"versions,omitempty"` }
type PlatformVersion ¶
type PlatformVersion struct { KubernetesVersion *string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"` ArangoDBVersion *string `json:"arangoDBVersion,omitempty" yaml:"arangoDBVersion,omitempty"` State *string `json:"state,omitempty" yaml:"state,omitempty"` Remarks *string `json:"remarks,omitempty" yaml:"remarks,omitempty"` ProviderRemarks *string `json:"providerRemarks,omitempty" yaml:"providerRemarks,omitempty"` }
type PlatformsDoc ¶
type PlatformsDoc struct {
Platforms Platforms `json:"platforms,omitempty" yaml:"platforms,omitempty"`
}
type TimezoneData ¶
Click to show internal directories.
Click to hide internal directories.