director

package
v0.0.0-...-5c2b304 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorizationHeader = "Authorization"
	TenantHeader        = "Tenant"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateRuntime(config *gqlschema.RuntimeInput, globalAccount string) (string, apperrors.AppError)
	GetRuntime(compassID, globalAccount string) (graphql.RuntimeExt, apperrors.AppError)
	GetConnectionToken(compassID, globalAccount string) (graphql.OneTimeTokenForRuntimeExt, apperrors.AppError)
	DeleteRuntime(compassID, globalAccount string) apperrors.AppError
}

func NewDirectorClient

func NewDirectorClient(gqlClient gql.Client, oauthClient oauth.Client) Client

type CreateRuntimeResponse

type CreateRuntimeResponse struct {
	Result *graphql.Runtime `json:"result"`
}

type DeleteRuntimeResponse

type DeleteRuntimeResponse struct {
	Result *graphql.Runtime `json:"result"`
}

type GetRuntimeResponse

type GetRuntimeResponse struct {
	Result *graphql.RuntimeExt `json:"result"`
}

type OneTimeTokenResponse

type OneTimeTokenResponse struct {
	Result *graphql.OneTimeTokenForRuntimeExt `json:"result"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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