director

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientProvider

func NewClientProvider(directorURL string, timeout time.Duration) directorClientProvider

Types

type ApplicationResponse

type ApplicationResponse struct {
	Result schema.ApplicationExt `json:"result"`
}

type Client

type Client interface {
	GetApplication(ctx context.Context, systemAuthID string) (schema.ApplicationExt, apperrors.AppError)
}

func NewClient

func NewClient(gqlClient *graphql.Client) Client

type ClientProvider

type ClientProvider interface {
	Client(r *http.Request) Client
}

type ViewerResponse

type ViewerResponse struct {
	Result schema.Viewer `json:"result"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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