env_v0_4

package
v0.4.38 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const V = "v0.4"

Variables

This section is empty.

Functions

func Assert

func Assert() (bool, error)

func Update

func Update(r env_core.Root) (env_core.Root, error)

Types

type Root

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

func Default added in v0.4.4

func Default() (*Root, error)

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) DefaultFrontend added in v0.4.32

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

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