Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCondition ¶
func GetCondition(cr interface{ UnstructuredContent() map[string]interface{} }, ct v1alpha1.ConditionType) (v1alpha1.Condition, error)
GetCondition returns the condition for the given ConditionType if exists, otherwise returns nil
func SetConditions ¶
func SetConditions(cr interface{ UnstructuredContent() map[string]interface{} }, c ...v1alpha1.Condition) error
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identical, ignoring the last transition time, to those already set.
Types ¶
type ChildResource ¶
ChildResource is satisfied by all Kubernetes objects that the stack may want to render and deploy.
type ParentResource ¶
type ParentResource interface { runtime.Object metav1.Object UnstructuredContent() map[string]interface{} GroupVersionKind() schema.GroupVersionKind }
ParentResource should be satisfied by the stack CRD that would like to use Templating Reconciler.
Click to show internal directories.
Click to hide internal directories.