Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromContext ¶
Retrieve client from given context.
func ComponentDigestFromContext ¶
Retrieve component digest from given context.
Types ¶
type Context ¶
type Context interface { context.Context // Return new context with given reconciler name added as value. WithReconcilerName(reconcilerName string) Context // Return new context with given client added as value. WithClient(client client.Client) Context // Return new context with given component digest as value. WithComponentDigest(componentDigest string) Context }
Context type the framework passes to generators' Generate() method.
func NewContext ¶
Create new context (i.e. wrap a context.Context into a manifests.Context).
func NewContextWithClient ¶
Create new context with client added as value.
func NewContextWithComponentDigest ¶
Create new context with component digest added as value.
Click to show internal directories.
Click to hide internal directories.