api

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResponse added in v0.17.0

type AuthResponse struct {
	ID         string            `json:"id"`
	Groups     []string          `json:"groups"`
	Attributes map[string]string `json:"attributes,omitempty"`
}

type InfoEnvLinkResponse

type InfoEnvLinkResponse struct {
	Title string `json:"title,omitempty"`
	URL   string `json:"url,omitempty"`
}

type InfoEnvResponse

type InfoEnvResponse struct {
	Banner             string            `json:"banner,omitempty"`
	DefaultAuthService string            `json:"default_auth_service,omitempty"`
	Metadata           map[string]string `json:"metadata,omitempty"`
	Name               string            `json:"name,omitempty"`
	Title              string            `json:"title,omitempty"`
	UpdateService      string            `json:"update_service,omitempty"`
	URL                string            `json:"url"`
}

type InfoResponse

type InfoResponse struct {
	Auth     *InfoServiceResponse  `json:"auth,omitempty"` // deprecated; now listed in services
	Env      InfoEnvResponse       `json:"env"`
	Services []InfoServiceResponse `json:"services"`
	Version  string                `json:"version"`
}

type InfoServiceResponse

type InfoServiceResponse struct {
	Metadata interface{} `json:"metadata,omitempty"`
	Name     string      `json:"name,omitempty"`
	Type     string      `json:"type"`
	Version  string      `json:"version"`
}

Jump to

Keyboard shortcuts

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