Documentation ¶
Index ¶
- func EqualInstanceResourceName(instanceName, a, b string) bool
- func ExistInLastApplyed(inst cosmov1alpha1.InstanceObject, targetObj GVKNameGetter) bool
- func InstanceResourceName(instanceName, resourceName string) string
- func IsTarget(ref cosmov1alpha1.ObjectRef, instanceName string, obj GVKNameGetter) bool
- func Mutate(inst cosmov1alpha1.InstanceObject, tmpl cosmov1alpha1.TemplateObject)
- type GVKNameGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualInstanceResourceName ¶
EqualInstanceResourceName compare child resource names
func ExistInLastApplyed ¶
func ExistInLastApplyed(inst cosmov1alpha1.InstanceObject, targetObj GVKNameGetter) bool
func InstanceResourceName ¶
InstanceResourceName is a child resource name created by instance All resources associated with instance has "INSTANCE_NAME-" prefix
func IsTarget ¶
func IsTarget(ref cosmov1alpha1.ObjectRef, instanceName string, obj GVKNameGetter) bool
func Mutate ¶
func Mutate(inst cosmov1alpha1.InstanceObject, tmpl cosmov1alpha1.TemplateObject)
Types ¶
type GVKNameGetter ¶
type GVKNameGetter interface { GroupVersionKind() schema.GroupVersionKind GetName() string }
Click to show internal directories.
Click to hide internal directories.