objectstatus

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectStatus

type ObjectStatus struct {
	Details []component.Component
	// contains filtered or unexported fields
}

func Status

func Status(ctx context.Context, object runtime.Object, o store.Store) (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) 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