Documentation ¶
Index ¶
- func CheckForUpdate() (*string, error)
- func CheckPackageOperatorVersion(ctx context.Context) error
- func DependencyManager(ctx context.Context) *dependency.DependendcyManager
- func ExitFromSignal(sig *os.Signal)
- func ExitSuccess()
- func ExitWithError()
- func GetInputStr(label string) (input string)
- func GetOption(label string, options []string) (string, error)
- func GetOptionWithDefault(label string, options []string, defaultOption *string) (string, error)
- func KubernetesClient(ctx context.Context) *kubernetes.Clientset
- func MarkdownRenderer() renderer.NodeRenderer
- func OpenInBrowser(url string) error
- func PackageClient(ctx context.Context) client.PackageV1Alpha1Client
- func PrintTable[T any](w io.Writer, rowItems []T, columns []string, ...) error
- func RepositoryClientset(ctx context.Context) repoclient.RepoClientset
- func RequireBootstrapped(ctx context.Context, cfg *rest.Config, rawCfg *api.Config)
- func RequireConfig(filePath string) (*rest.Config, *api.Config)
- func SetupClientContext(requireBootstrapped bool, skipUpdateCheck *bool) func(cmd *cobra.Command, args []string)
- func UpdateFetch()
- func ValueResolver(ctx context.Context) *manifestvalues.Resolver
- func YesNoPrompt(label string, defaultChoice bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForUpdate ¶ added in v0.1.0
CheckForUpdate determines the new version by fetching the latest release info. If no newer version exists, it returns nil.
func CheckPackageOperatorVersion ¶ added in v0.1.0
func DependencyManager ¶ added in v0.5.0
func DependencyManager(ctx context.Context) *dependency.DependendcyManager
func ExitFromSignal ¶ added in v0.2.0
ExitFromSignal ends the process with exit code 1
func ExitWithError ¶ added in v0.2.0
func ExitWithError()
ExitWithError ends the process with exit code 1
func GetInputStr ¶ added in v0.5.0
func GetOptionWithDefault ¶ added in v0.5.0
func KubernetesClient ¶ added in v0.5.0
func KubernetesClient(ctx context.Context) *kubernetes.Clientset
func MarkdownRenderer ¶ added in v0.3.0
func MarkdownRenderer() renderer.NodeRenderer
func OpenInBrowser ¶ added in v0.0.2
func PackageClient ¶ added in v0.5.0
func PackageClient(ctx context.Context) client.PackageV1Alpha1Client
func PrintTable ¶ added in v0.5.0
func RepositoryClientset ¶ added in v0.5.0
func RepositoryClientset(ctx context.Context) repoclient.RepoClientset
func RequireBootstrapped ¶ added in v0.0.3
func SetupClientContext ¶
func UpdateFetch ¶ added in v0.0.3
func UpdateFetch()
func ValueResolver ¶ added in v0.5.0
func ValueResolver(ctx context.Context) *manifestvalues.Resolver
func YesNoPrompt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.