cli

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindAllEnv

func BindAllEnv(v *viper.Viper)

Types

type Config

type Config struct {
	shared.Config

	ConfigFile *ConfigFile

	FileClient *fileclient.FileClient

	APIClient *swagger.APIClient
}

type ConfigFile

type ConfigFile struct {
	Address        string `mapstructure:"address" json:"address,omitempty"`
	APIToken       string `mapstructure:"apiToken" json:"apiToken,omitempty"`
	OrganizationID string `mapstructure:"organizationID" json:"organizationID,omitempty"`
	TeamID         string `mapstructure:"teamID" json:"teamID,omitempty"`
}

Jump to

Keyboard shortcuts

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