Documentation ¶
Index ¶
- func AddAddressFlag(cmd *cobra.Command, v *string)
- func AddComponentPathFlag(cmd *cobra.Command, v *string)
- func AddOutputFileFlag(cmd *cobra.Command, v *string)
- func Errf(errFmt string, err error) error
- func ExitOnErr(cmd *cobra.Command, err error)
- func PrintObjectHeader(cmd *cobra.Command, h object.Object)
- func WriteObjectToFile(cmd *cobra.Command, path string, data []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAddressFlag ¶ added in v0.32.0
AddAddressFlag adds the address flag to the passed cobra command.
func AddComponentPathFlag ¶ added in v0.32.0
AddComponentPathFlag adds the path-to-component flag to the passed cobra command.
func AddOutputFileFlag ¶ added in v0.32.0
AddOutputFileFlag adds the output file flag to the passed cobra command.
func PrintObjectHeader ¶ added in v0.32.0
PrintObjectHeader prints passed object's header fields via the passed cobra command. Does nothing with the payload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.