You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/crank/render/cmd.go
+8-18Lines changed: 8 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,14 @@ type Cmd struct {
44
44
Functionsstring`arg:"" help:"A YAML file or directory of YAML files specifying the Composition Functions to use to render the XR." type:"path"`
45
45
46
46
// Flags. Keep them in alphabetical order.
47
-
ContextFilesmap[string]string`help:"Comma-separated context key-value pairs to pass to the Function pipeline. Values must be files containing JSON." mapsep:""`
48
-
ContextValuesmap[string]string`help:"Comma-separated context key-value pairs to pass to the Function pipeline. Values must be JSON. Keys take precedence over --context-files." mapsep:""`
49
-
IncludeFunctionResultsbool`help:"Include informational and warning messages from Functions in the rendered output as resources of kind: Result." short:"r"`
50
-
IncludeFullXRbool`help:"Include a direct copy of the input XR's spec and metadata fields in the rendered output." short:"x"`
51
-
IncludeStatusConditionsbool`help:"Include the status conditions in the rendered output as a resource of kind: Condition." short:"s"`
52
-
ObservedResourcesstring`help:"A YAML file or directory of YAML files specifying the observed state of composed resources." placeholder:"PATH" short:"o" type:"path"`
53
-
ExtraResourcesstring`help:"A YAML file or directory of YAML files specifying extra resources to pass to the Function pipeline." placeholder:"PATH" short:"e" type:"path"`
54
-
IncludeContextbool`help:"Include the context in the rendered output as a resource of kind: Context." short:"c"`
55
-
FunctionCredentialsstring`help:"A YAML file or directory of YAML files specifying credentials to use for Functions to render the XR." placeholder:"PATH" type:"path"`
47
+
ContextFilesmap[string]string`help:"Comma-separated context key-value pairs to pass to the Function pipeline. Values must be files containing JSON." mapsep:""`
48
+
ContextValuesmap[string]string`help:"Comma-separated context key-value pairs to pass to the Function pipeline. Values must be JSON. Keys take precedence over --context-files." mapsep:""`
49
+
IncludeFunctionResultsbool`help:"Include informational and warning messages from Functions in the rendered output as resources of kind: Result." short:"r"`
50
+
IncludeFullXRbool`help:"Include a direct copy of the input XR's spec and metadata fields in the rendered output." short:"x"`
51
+
ObservedResourcesstring`help:"A YAML file or directory of YAML files specifying the observed state of composed resources." placeholder:"PATH" short:"o" type:"path"`
52
+
ExtraResourcesstring`help:"A YAML file or directory of YAML files specifying extra resources to pass to the Function pipeline." placeholder:"PATH" short:"e" type:"path"`
53
+
IncludeContextbool`help:"Include the context in the rendered output as a resource of kind: Context." short:"c"`
54
+
FunctionCredentialsstring`help:"A YAML file or directory of YAML files specifying credentials to use for Functions to render the XR." placeholder:"PATH" type:"path"`
56
55
57
56
Timeout time.Duration`default:"1m" help:"How long to run before timing out."`
0 commit comments