localConfig

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 8 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
	PolicyConfig    string
	SchemaLocations []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