Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceState ¶
type ResourceStates ¶
type ResourceStates []ResourceState
func (ResourceStates) Len ¶
func (a ResourceStates) Len() int
func (ResourceStates) Less ¶
func (a ResourceStates) Less(i, j int) bool
func (ResourceStates) Swap ¶
func (a ResourceStates) Swap(i, j int)
type State ¶
type State string
var ( StateReady State = "ready" StateDegraded State = "degraded" StateMissing State = "missing" StatusInformerRegexp = regexp.MustCompile(`^(?:([^\/]+)\/)?([^\/]+)\/([^\/]+)$`) )
func GetState ¶
func GetState(resourceStates []ResourceState) State
type StatusInformer ¶
type StatusInformerString ¶
type StatusInformerString string
func (StatusInformerString) Parse ¶
func (s StatusInformerString) Parse() (i StatusInformer, err error)
Click to show internal directories.
Click to hide internal directories.