objectstatus

package
v0.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL