cmd

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
const SecureConfigEnvName string = "CLOUDFUSE_SECURE_CONFIG_PASSPHRASE"
View Source
const SecureConfigExtension string = ".aes"

Variables

This section is empty.

Functions

func Destroy

func Destroy(message string) error

func Execute

func Execute() error

Execute : Actual command execution starts from here

func OnConfigChange

func OnConfigChange()

func VersionCheck

func VersionCheck() error

VersionCheck : Start version check and wait for 8 seconds to complete otherwise just timeout and move on

Types

type Blob

type Blob struct {
	XMLName xml.Name `xml:"Blob"`
	Name    string   `xml:"Name"`
}

type GithubApiReleaseData

type GithubApiReleaseData struct {
	TagName string `json:"tag_name"`
	Name    string `json:"name"`
}

type LogOptions

type LogOptions struct {
	Type           string `config:"type" yaml:"type,omitempty"`
	LogLevel       string `config:"level" yaml:"level,omitempty"`
	LogFilePath    string `config:"file-path" yaml:"file-path,omitempty"`
	MaxLogFileSize uint64 `config:"max-file-size-mb" yaml:"max-file-size-mb,omitempty"`
	LogFileCount   uint64 `config:"file-count" yaml:"file-count,omitempty"`
	TimeTracker    bool   `config:"track-time" yaml:"track-time,omitempty"`
}

Jump to

Keyboard shortcuts

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