Documentation ¶
Index ¶
- func IsUUID(arg string) bool
- func IsValidOutputFormat(format string) bool
- func PopulateMetroToken(cmd *cobra.Command, metro, token *string) error
- func PrettyPrintInstance(ctx context.Context, instance kcinstances.GetResponseItem, ...)
- func PrintAutoscaleConfiguration(ctx context.Context, format string, ...) error
- func PrintCertificates(ctx context.Context, format string, ...) error
- func PrintInstances(ctx context.Context, format string, ...) error
- func PrintQuotas(ctx context.Context, auth config.AuthConfig, format string, ...) error
- func PrintServices(ctx context.Context, format string, ...) error
- func PrintVolumes(ctx context.Context, format string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidOutputFormat ¶ added in v0.7.14
func PopulateMetroToken ¶ added in v0.7.9
func PrettyPrintInstance ¶ added in v0.7.1
func PrettyPrintInstance(ctx context.Context, instance kcinstances.GetResponseItem, service *kcservices.GetResponseItem, autoStart bool)
PrettyPrintInstance outputs a single instance and information about it.
func PrintAutoscaleConfiguration ¶ added in v0.7.13
func PrintAutoscaleConfiguration(ctx context.Context, format string, resp kcclient.ServiceResponse[kcautoscale.GetResponseItem]) error
PrintAutoscaleConfiguration pretty-prints the provided autoscale configuration or returns an error if unable to send to stdout via the provided context.
func PrintCertificates ¶ added in v0.7.13
func PrintCertificates(ctx context.Context, format string, resp kcclient.ServiceResponse[kccerts.GetResponseItem]) error
PrintCertificates pretty-prints the provided set of certificates or returns an error if unable to send to stdout via the provided context.
func PrintInstances ¶
func PrintInstances(ctx context.Context, format string, resp kcclient.ServiceResponse[kcinstances.GetResponseItem]) error
PrintInstances pretty-prints the provided set of instances or returns an error if unable to send to stdout via the provided context.
func PrintQuotas ¶ added in v0.7.1
func PrintQuotas(ctx context.Context, auth config.AuthConfig, format string, resp kcclient.ServiceResponse[kcusers.QuotasResponseItem], imageResp *kcimages.QuotasResponseItem) error
PrintQuotas pretty-prints the provided set of user quotas or returns an error if unable to send to stdout via the provided context.
func PrintServices ¶ added in v0.9.0
func PrintServices(ctx context.Context, format string, resp kcclient.ServiceResponse[kcservices.GetResponseItem]) error
PrintServices pretty-prints the provided set of service or returns an error if unable to send to stdout via the provided context.
func PrintVolumes ¶ added in v0.7.1
func PrintVolumes(ctx context.Context, format string, resp kcclient.ServiceResponse[kcvolumes.GetResponseItem]) error
PrintVolumes pretty-prints the provided set of volumes or returns an error if unable to send to stdout via the provided context.
Types ¶
This section is empty.