models

package
v0.0.0-...-acb99ff Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBCredentials

type DBCredentials struct {
	Server   string
	Database string
}

DBCredentials hold credentials for database

type Env

type Env struct {
	Context          string
	APIEnvironment   string
	ClusterName      string
	DNSZone          string
	UseLocalRadixApi bool
	UseProfiler      bool
	DbCredentials    *DBCredentials
	Cluster          string
	OidcAudience     string
	OidcIssuer       string
}

Env instance variables

func NewEnv

func NewEnv(ctx context.Context) (*Env, context.Context, error)

NewEnv Constructor

func (*Env) GetRadixAPISchemes

func (env *Env) GetRadixAPISchemes() []string

func (*Env) GetRadixAPIURL

func (env *Env) GetRadixAPIURL() string

type Identity

type Identity struct {
	jwt.RegisteredClaims
}

type User

type User struct {
	Identity auth.IDToken
	RawToken string
}

Jump to

Keyboard shortcuts

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