config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindToken

func FindToken(home string, domain string) (string, error)

FindToken - tries to find an aptible token in various paths

func NewConfigCmd

func NewConfigCmd() *cobra.Command

Types

type CloudConfig

type CloudConfig struct {
	Vconfig *viper.Viper
	Cc      client.CloudClient
	Ctx     context.Context
}

CloudConfig Core common for the Cloud API

func NewCloudConfig

func NewCloudConfig(v *viper.Viper) *CloudConfig

type CobraRunE

type CobraRunE func(cmd *cobra.Command, args []string) error

CobraRunE - alias for Cobra's RunE

Jump to

Keyboard shortcuts

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