Documentation ¶
Index ¶
- func NewDeploymentResourceReader(mapper meta.RESTMapper, rsStatusReader resourceTypeStatusReader) engine.StatusReader
- func NewGenericStatusReader(mapper meta.RESTMapper, statusFunc StatusFunc) engine.StatusReader
- func NewReplicaSetStatusReader(mapper meta.RESTMapper, podStatusReader resourceTypeStatusReader) engine.StatusReader
- func NewStatefulSetResourceReader(mapper meta.RESTMapper, podResourceReader resourceTypeStatusReader) engine.StatusReader
- type StatusFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeploymentResourceReader ¶
func NewDeploymentResourceReader(mapper meta.RESTMapper, rsStatusReader resourceTypeStatusReader) engine.StatusReader
func NewGenericStatusReader ¶
func NewGenericStatusReader(mapper meta.RESTMapper, statusFunc StatusFunc) engine.StatusReader
func NewReplicaSetStatusReader ¶
func NewReplicaSetStatusReader(mapper meta.RESTMapper, podStatusReader resourceTypeStatusReader) engine.StatusReader
func NewStatefulSetResourceReader ¶
func NewStatefulSetResourceReader(mapper meta.RESTMapper, podResourceReader resourceTypeStatusReader) engine.StatusReader
Types ¶
type StatusFunc ¶ added in v0.26.0
type StatusFunc func(u *unstructured.Unstructured) (*status.Result, error)
StatusFunc returns the status of the given object. This func is passed into NewGenericStatusReader so that the returned StatusReader can be used for custom types. An example of a StatusFunc is status.Compute.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.