Documentation
¶
Index ¶
- Constants
- func BoolPtr(b bool) *bool
- func CheckMinimumVersion(ctx context.Context, client *api.Client, minimumVersion string) error
- func ExactArgs(n int, usage string) cobra.PositionalArgs
- func GetAPIClient(cmd *cobra.Command) (*api.Client, error)
- func MinArgs(n int, usage string) cobra.PositionalArgs
- func ParseInt(s string) (int, error)
- func SplitOwnerRepo(s string) []string
- func StringPtr(s string) *string
Constants ¶
View Source
const SensitiveInformationOverlay = "********"
SensitiveInformationOverlay is the string used to hide sensitive data
Variables ¶
This section is empty.
Functions ¶
func CheckMinimumVersion ¶
CheckMinimumVersion checks if the Coolify API version meets the minimum requirement
func ExactArgs ¶
func ExactArgs(n int, usage string) cobra.PositionalArgs
ExactArgs returns a validator that ensures exactly n arguments are provided with a helpful error message
func GetAPIClient ¶
GetAPIClient creates an API client from command flags or config
func MinArgs ¶
func MinArgs(n int, usage string) cobra.PositionalArgs
MinArgs returns a validator that ensures at least n arguments are provided with a helpful error message
func SplitOwnerRepo ¶
SplitOwnerRepo splits owner/repo string into parts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.