Documentation
¶
Index ¶
Constants ¶
View Source
const ORCK8SPrefix = "openstack.k-orc.cloud"
Variables ¶
This section is empty.
Functions ¶
func GetFinalizerName ¶
GetFinalizerName returns the finalizer to be used for the given actuator
The returned string is of the form:
openstack.k-orc.cloud/<controllername>
func GetSSAFieldOwner ¶
func GetSSAFieldOwner(controllerName string) client.FieldOwner
GetSSAFieldOwner returns a field owner string for a controller without a transaction identifier. It is intended to be used when setting fields owned by a controller to an object it does not control, e.g. a Finalizer.
The returned string is of the form:
openstack.k-orc.cloud/<controllername>controller
func GetSSAFieldOwnerWithTxn ¶
func GetSSAFieldOwnerWithTxn(controllerName string, txn SSATransactionID) client.FieldOwner
GetSSAFieldOwnerWithTxn returns a field owner string for a specific named SSA transaction. It is intended to be used when setting fields owned by a controller to objects it controls.
The returned string is of the form:
openstack.k-orc.cloud/<controllername>controller/<txn>
Types ¶
type SSATransactionID ¶
type SSATransactionID string
const ( // Field owner of the object finalizer. SSATransactionFinalizer SSATransactionID = "finalizer" SSATransactionStatus SSATransactionID = "status" )
Click to show internal directories.
Click to hide internal directories.