selfupdate

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package selfupdate exposes KubeArmor build details and provides interface to check and update the CLI itself

Index

Constants

This section is empty.

Variables

View Source
var BuildDate string

BuildDate for accuknox-cli git build

View Source
var GitSummary string

GitSummary for accuknox-cli git build

Functions

func ConfirmUserAction added in v0.9.7

func ConfirmUserAction(action string) bool

ConfirmUserAction - returns true if user inputs `y`

func IsLatest

func IsLatest(curver string) (bool, string)

IsLatest - check if the current binary is the latest

func SelfUpdate

func SelfUpdate(c *k8s.Client) error

SelfUpdate handler for karmor cli tool

Types

This section is empty.

Jump to

Keyboard shortcuts

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