Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyObject ¶
func ApplyObject(ctx context.Context, client cnoclient.Client, obj Object, subcontroller string, subresources ...string) error
ApplyObject submits a server-side apply patch for the given object. This causes fields we own to be updated, and fields we don't own to be preserved. For more information, see https://kubernetes.io/docs/reference/using-api/server-side-apply/ The subcontroller, if set, is used to assign field ownership.
func GetClusterName ¶
GetClusterName returns the names.ClusterNameAnnotation annotation for the specified object. If the annotation does not exist it will return an empty string.
Types ¶
Click to show internal directories.
Click to hide internal directories.