Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsApplicableForUpdate ¶
IsApplicableForUpdate checks whether a resource is applicable for an update. The destination resource is not overwritten if the replicaOf annotation does not matches the source resource. Setting force also updates the destination resource if no replicaOf is set. The function returns if the secret is applicated to be updasted, the new src hash and a optional error. The source hash is only returned if the secret should be updated.
Types ¶
type Replicator ¶
type Replicator struct {
// contains filtered or unexported fields
}
func (*Replicator) ReplicateTo ¶
func (r *Replicator) ReplicateTo(ctx context.Context, namespace string) error
ReplicateTo replicates the secret to the given namespace.
Click to show internal directories.
Click to hide internal directories.