config

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version            Version
	AdminURL           string
	AdminTokenOverride string
	AdminTokenDefault  string
	Org                string
	Interactive        bool
}

func (*Config) AdminToken

func (c *Config) AdminToken() string

func (*Config) IsAuthenticated added in v0.23.0

func (c *Config) IsAuthenticated() bool

func (*Config) IsDev

func (c *Config) IsDev() bool

type Version

type Version struct {
	Number    string
	Commit    string
	Timestamp string
}

func (Version) IsDev

func (v Version) IsDev() bool

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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