Documentation
¶
Overview ¶
Package controllers provides Iter8 controller for reconciling Iter8 routemap resources
Index ¶
Constants ¶
View Source
const (
// MetricsPath is the path of the persistent volume
MetricsPath = "/metrics"
)
Variables ¶
This section is empty.
Functions ¶
func GetVolumeUsage ¶ added in v0.14.10
GetVolumeUsage gets the available and total capacity of a volume, in that order
Types ¶
type Condition ¶
type Condition struct {
// Name of the condition
Name string `json:"name"`
// Status of the condition
Status string `json:"status"`
}
Condition is the condition within resource status
type Config ¶
type Config struct {
// ResourceTypes map from shortnames of Kubernetes API resources to their GVRs with conditions
ResourceTypes map[string]GroupVersionResourceConditions `json:"resourceTypes,omitempty"`
// DefaultResync period for controller watch functions
DefaultResync string `json:"defaultResync,omitempty"`
// ClusterScoped is true if Iter8 controller is cluster-scoped
ClusterScoped bool `json:"clusterScoped,omitempty"`
// Persist is true if Iter8 controller should have a persistent volume
Persist bool `json:"persist,omitempty"`
}
Config defines the configuration of the controllers
type GroupVersionResourceConditions ¶
type GroupVersionResourceConditions struct {
schema.GroupVersionResource
Conditions []Condition `json:"conditions,omitempty"`
}
GroupVersionResourceConditions is a Kubernetes resource type along with a list of conditions
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package k8sclient provides the Kubernetes client for the controllers package
|
Package k8sclient provides the Kubernetes client for the controllers package |
|
fake
Package fake provides fake Kuberntes clients for testing
|
Package fake provides fake Kuberntes clients for testing |
|
Package storageclient provides the storage client for the controllers package
|
Package storageclient provides the storage client for the controllers package |
|
badgerdb
Package badgerdb implements the storageclient interface with BadgerDB
|
Package badgerdb implements the storageclient interface with BadgerDB |
Click to show internal directories.
Click to hide internal directories.