Versions in this module Expand all Collapse all v1 v1.0.0 Oct 15, 2021 Changes in this version + var NotImplementError = errors.New("methods need to be implemented") + type IKubeResource interface + GetResource func() metav1.Object + GetScheme func() *runtime.Scheme + Update func() error + type KubeResource struct + Resource metav1.Object + func (r *KubeResource) Fetch() (statemachine.StateResource, error) + func (r *KubeResource) GetName() string + func (r *KubeResource) GetNamespace() string + func (r *KubeResource) GetResource() metav1.Object + func (r *KubeResource) GetScheme() *runtime.Scheme + func (r *KubeResource) GetState() statemachine.State + func (r *KubeResource) IsCancelled() bool + func (r *KubeResource) Update() error + func (r *KubeResource) UpdateState(statemachine.State) (statemachine.StateResource, error)