common

package
v0.0.0-...-f7a38a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForVersionUpdate

func CheckForVersionUpdate()

CheckForVersionUpdate determines whether or not there is a new cli version available

func Destroy

func Destroy(_ *cobra.Command, _ []string) error

func GetRootCredentials

func GetRootCredentials(_ *cobra.Command, _ []string) error

Types

type CheckResponse

type CheckResponse struct {
	// Current is current latest version on source.
	Current string

	// Outdate is true when target version is less than Current on source.
	Outdated bool

	// Latest is true when target version is equal to Current on source.
	Latest bool

	// New is true when target version is greater than Current on source.
	New bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL