cmd

package
v0.0.0-...-a4e581b Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Index

Constants

View Source
const (
	// ApplicationName is the user-facing name of the application
	ApplicationName = "fyde-cli"

	// ConfigFileName is the file name (not path, that's platform-dependent)
	// used for the config file
	ConfigFileName = "config.yaml"

	// AuthFileName is the file name (not path, that's platform-dependent)
	// used for the auth file
	AuthFileName = "auth.yaml"

	// ConfigVendorName is the vendor name used to select the default path for
	// configuration storage
	ConfigVendorName = "fyde"

	// ConfigApplicationName is the application name used to select the default
	// path for configuration storage
	ConfigApplicationName = "fyde-cli"

	// DefaultEndpoint is the default endpoint used by the client
	DefaultEndpoint = "enterprise.fyde.com"
)

Variables

This section is empty.

Functions

func Execute

func Execute(versionInfo *VersionInformation)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FydeAPIKeyAuth

func FydeAPIKeyAuth(accessToken, client, uid string) runtime.ClientAuthInfoWriter

FydeAPIKeyAuth provides an API key auth info writer

Types

type VersionInformation

type VersionInformation struct {
	GitCommit string
	BuildDate string
	GitState  string
	Version   string
}

VersionInformation contains version information, it's used to pass build info from the main package to this package

Jump to

Keyboard shortcuts

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