x

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Aserto         string = "aserto"
	AppDisplayName string = "Aserto CLI"
	AppDescription string = "Welcome to modern authorization!"

	// AppName -- application name
	AppName = "aserto"
	// AppVersionTag -- version tag
	AppVersionTag = ""
	// DefaultEnv -- default service environment
	DefaultEnv string = EnvProduction

	// environments.
	EnvProduction string = "prod"
	Target               = AppName
)

Variables

Functions

This section is empty.

Types

type Service added in v0.8.0

type Service int
const (
	AuthorizerService Service = iota
	DecisionLogsService
	TenantService
)

func (Service) Name added in v0.8.0

func (s Service) Name() string

type Services added in v0.8.0

type Services struct {
	Environment         string
	TenantService       string
	AuthorizerService   string
	DecisionLogsService string
}

func Environment added in v0.8.0

func Environment(env string) (*Services, error)

func (*Services) AddressOf added in v0.8.0

func (s *Services) AddressOf(svc Service) string

Jump to

Keyboard shortcuts

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