env_v0_3

package
v0.4.26 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const V = "v0.3"

Variables

This section is empty.

Functions

func Assert

func Assert() (bool, error)

Types

type Root

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

func Load

func Load() (*Root, error)

func (*Root) ApiEndpoint

func (r *Root) ApiEndpoint() (string, string)

func (*Root) Client

func (r *Root) Client() (*rest_client_zrok.Zrok, error)

func (*Root) Config

func (r *Root) Config() *env_core.Config

func (*Root) DeleteEnvironment

func (r *Root) DeleteEnvironment() error

func (*Root) DeleteZitiIdentityNamed

func (r *Root) DeleteZitiIdentityNamed(name string) error

func (*Root) Environment

func (r *Root) Environment() *env_core.Environment

func (*Root) EnvironmentIdentityName

func (r *Root) EnvironmentIdentityName() string

func (*Root) HasConfig

func (r *Root) HasConfig() (bool, error)

func (*Root) IsEnabled

func (r *Root) IsEnabled() bool

func (*Root) Metadata

func (r *Root) Metadata() *env_core.Metadata

func (*Root) Obliterate

func (r *Root) Obliterate() error

func (*Root) PublicIdentityName

func (r *Root) PublicIdentityName() string

func (*Root) SaveZitiIdentityNamed

func (r *Root) SaveZitiIdentityNamed(name, data string) error

func (*Root) SetConfig

func (r *Root) SetConfig(cfg *env_core.Config) error

func (*Root) SetEnvironment

func (r *Root) SetEnvironment(env *env_core.Environment) error

func (*Root) ZitiIdentityNamed

func (r *Root) ZitiIdentityNamed(name string) (string, error)

Jump to

Keyboard shortcuts

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