Documentation ¶
Overview ¶
Package pipelinecomposition is a package for converting patch-and-transform Compositions to a function pipeline.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct { // Arguments. InputFile string `` /* 132-byte string literal not displayed */ // Flags. OutputFile string `` /* 134-byte string literal not displayed */ FunctionName string `short:"f" type:"string" placeholder:"STRING" help:"FunctionRefName. Defaults to function-patch-and-transform."` // contains filtered or unexported fields }
Cmd arguments and flags for converting a patch-and-transform to a function pipeline composition.
type Input ¶
type Input struct { // PatchSets define a named set of patches that may be included by any // resource in this Composition. PatchSets cannot themselves refer to other // PatchSets. // // PatchSets are only used by the "Resources" mode of Composition. They // are ignored by other modes. // +optional PatchSets []v1.PatchSet `json:"patchSets,omitempty"` // Environment configures the environment in which resources are rendered. // // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // +optional Environment *v1.EnvironmentConfiguration `json:"environment,omitempty"` // Resources is a list of resource templates that will be used when a // composite resource referring to this composition is created. // // Resources are only used by the "Resources" mode of Composition. They are // ignored by other modes. // +optional Resources []v1.ComposedTemplate `json:"resources,omitempty"` }
Input represents the input to the patch-and-transform function This struct is copied from function patch and transform, as we can't import it directly https://github.com/crossplane-contrib/function-patch-and-transform/blob/main/input/v1beta1/resources.go
Click to show internal directories.
Click to hide internal directories.