Documentation ¶
Index ¶
- func InitLogging()
- func LogAndQuitIfErrorExists(err error)
- func PrintDeleteSuccess(item string, name string)
- func PrintProtoMessage(proto protoreflect.ProtoMessage)
- func PrintSuccessf(format string, a ...any)
- func ProtoToYaml(proto protoreflect.ProtoMessage) ([]byte, error)
- func SetupListResourceCmd(cmd *cobra.Command, item string)
- func SetupStandardResourceCmd(cmd *cobra.Command, method string, item string, additionalArgs ...string)
- func YamlToSpec(yamlData []byte) (*apiv1alpha.Spec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogging ¶
func InitLogging()
func LogAndQuitIfErrorExists ¶
func LogAndQuitIfErrorExists(err error)
func PrintDeleteSuccess ¶
func PrintProtoMessage ¶
func PrintProtoMessage(proto protoreflect.ProtoMessage)
func PrintSuccessf ¶
func ProtoToYaml ¶
func ProtoToYaml(proto protoreflect.ProtoMessage) ([]byte, error)
ProtoToYaml converts a protobuf message to a yaml byte slice
func SetupListResourceCmd ¶
func YamlToSpec ¶
func YamlToSpec(yamlData []byte) (*apiv1alpha.Spec, error)
YamlToSpec converts a yaml byte slice to a Kaskada Spec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.