Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer interface {
Transform(ctx context.Context, u *unstructured.Unstructured, namespace *corev1.Namespace) error
}
func NewResourceQuotaTransformer ¶
func NewResourceQuotaTransformer(labelBase string) Transformer
NewResourceQuotaTransformer returns a new Transformer that transforms ResourceQuota objects from the annotation of the given namespace. The annotation must start with the given labelBase. labelBase is normalized to end with a "/".
Click to show internal directories.
Click to hide internal directories.