Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "keepforinfrarefs"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { K8sClient k8sclient.Interface Logger micrologger.Logger ToObjRef func(v interface{}) (corev1.ObjectReference, error) }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource implements the operatorkit resource interface to ensure the reconciled runtime objects are kept until the runtime objects linked in their infrastructure references are deleted. For instance the Cluster CR links to an AWSCluster CR in its infrastructure reference. When a cluster is deleted the Cluster CR must not be deleted as long as the AWSCluster CR exists.
func (*Resource) EnsureCreated ¶
func (*Resource) EnsureDeleted ¶
Click to show internal directories.
Click to hide internal directories.