localConfig

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLocalConfigFile

func InitLocalConfigFile() error

Types

type LocalConfig

type LocalConfig struct {
	Token         string
	ClientId      string
	SchemaVersion string
	Offline       string
}

type LocalConfigClient

type LocalConfigClient struct {
	// contains filtered or unexported fields
}

func (*LocalConfigClient) Get

func (lc *LocalConfigClient) Get(key string) string

func (*LocalConfigClient) GetLocalConfiguration

func (lc *LocalConfigClient) GetLocalConfiguration() (*LocalConfig, error)

func (*LocalConfigClient) Set

func (lc *LocalConfigClient) Set(key string, value string) error

type TokenClient

type TokenClient interface {
	CreateToken() (*cliClient.CreateTokenResponse, error)
}

Jump to

Keyboard shortcuts

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