Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentStatus ¶
type CurrentStatus string
const ( StatusConditionNotStarted CurrentStatus = "Not Started" StatusConditionInProgress CurrentStatus = "In Progress" StatusConditionFinished CurrentStatus = "Finished" )
type Feedback ¶
type Feedback interface { Initialize(ctx context.Context, groups []string) error SetCondition(ctx context.Context, name string, currentStatus CurrentStatus) error }
func NewFeedback ¶
func NewFeedback(logger log.Logger, client *client.Client, u *unstructured.Unstructured) Feedback
type Status ¶
type Status struct {
Conditions []*StatusCondition `json:"conditions"`
}
type StatusCondition ¶
type StatusCondition struct { LastTransitionTime metav1.Time `json:"lastTransitionTime"` Name string `json:"name"` CurrentStatus CurrentStatus `json:"currentStatus"` }
+k8s:deepcopy-gen=true
func (*StatusCondition) DeepCopy ¶
func (in *StatusCondition) DeepCopy() *StatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCondition.
func (*StatusCondition) DeepCopyInto ¶
func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.