Documentation ¶
Index ¶
- func GetSelectors(selector *metav1.LabelSelector) component.Component
- type ObjectStatus
- func (os *ObjectStatus) AddDetail(detail string)
- func (os *ObjectStatus) AddDetailf(msg string, args ...interface{})
- func (os *ObjectStatus) AddProperty(label string, value component.Component)
- func (os *ObjectStatus) InsertProperty(label string, value component.Component)
- func (os *ObjectStatus) SetError()
- func (os *ObjectStatus) SetWarning()
- func (os *ObjectStatus) Status() component.NodeStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSelectors ¶ added in v0.21.0
func GetSelectors(selector *metav1.LabelSelector) component.Component
Types ¶
type ObjectStatus ¶
type ObjectStatus struct { NodeStatus component.NodeStatus Details []component.Component Properties []component.Property }
func Status ¶
func Status(ctx context.Context, object runtime.Object, o store.Store, link link.Interface) (ObjectStatus, error)
Status creates an ObjectStatus for an object.
func (*ObjectStatus) AddDetail ¶
func (os *ObjectStatus) AddDetail(detail string)
func (*ObjectStatus) AddDetailf ¶
func (os *ObjectStatus) AddDetailf(msg string, args ...interface{})
func (*ObjectStatus) AddProperty ¶ added in v0.21.0
func (os *ObjectStatus) AddProperty(label string, value component.Component)
func (*ObjectStatus) InsertProperty ¶ added in v0.21.0
func (os *ObjectStatus) InsertProperty(label string, value component.Component)
func (*ObjectStatus) SetError ¶
func (os *ObjectStatus) SetError()
func (*ObjectStatus) SetWarning ¶
func (os *ObjectStatus) SetWarning()
func (*ObjectStatus) Status ¶
func (os *ObjectStatus) Status() component.NodeStatus
Click to show internal directories.
Click to hide internal directories.