Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAppGroupsBranch ¶
AddAppGroupsBranch builds a tree for app-groups
func PushAppGroups ¶
PushAppGroups pushes app-groups to insights
Types ¶
type AppGroup ¶
type AppGroup struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Spec AppGroupSpec `json:"spec" yaml:"spec"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
}
func FetchAppGroups ¶
FetchAppGroups queries Fairwinds Insights to retrieve all of the app-groups for an organization
type AppGroupSpec ¶
type AppGroupSpec struct {
Exclude []AppGroupSpecCriteria `json:"exclude,omitempty" yaml:"exclude,omitempty"`
Match []AppGroupSpecCriteria `json:"match,omitempty" yaml:"match,omitempty"`
}
AppGroupSpec defines model for AppGroupSpec.
type AppGroupSpecCriteria ¶
type AppGroupSpecCriteria struct {
Clusters []string `json:"clusters,omitempty" yaml:"clusters,omitempty"`
Containers []string `json:"containers,omitempty" yaml:"containers,omitempty"`
Kinds []string `json:"kinds,omitempty" yaml:"kinds,omitempty"`
Names []string `json:"names,omitempty" yaml:"names,omitempty"`
Namespaces []string `json:"namespaces,omitempty" yaml:"namespaces,omitempty"`
Repositories []string `json:"repositories,omitempty" yaml:"repositories,omitempty"`
NamespaceLabels []map[string]any `json:"namespaceLabels,omitempty" yaml:"namespaceLabels,omitempty"`
Labels []map[string]any `json:"labels,omitempty" yaml:"labels,omitempty"`
}
AppGroupSpecCriteria defines model for AppGroupSpecCriteria.
Click to show internal directories.
Click to hide internal directories.