Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Sources []Source `yaml:"sources"`
}
Config represents the kubesource.yaml configuration file.
type Filter ¶
type Filter struct {
Include []Selector `yaml:"include,omitempty"`
Exclude []Selector `yaml:"exclude,omitempty"`
}
Filter represents filtering options for a target. An empty include list means to include everything. An empty exclude list means to exclude nothing.
type MetadataSelector ¶
type MetadataSelector struct {
Name string `yaml:"name,omitempty"`
Namespace string `yaml:"namespace,omitempty"`
Labels map[string]string `yaml:"labels,omitempty"`
}
MetadataSelector represents metadata-based filtering.
type Selector ¶
type Selector struct {
Kind string `yaml:"kind,omitempty"`
APIVersion string `yaml:"apiVersion,omitempty"`
Metadata *MetadataSelector `yaml:"metadata,omitempty"`
}
Selector represents a resource selector for filtering. All non-empty fields must match.
Click to show internal directories.
Click to hide internal directories.