appdetails

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NilContextError = errors.New("context is empty")
View Source
var NoAppDetailsError = errors.New("cannot read Application details from context")

Functions

func LoadFromContext

func LoadFromContext(ctx context.Context) (graphql.ApplicationExt, error)

func NewApplicationMiddleware

func NewApplicationMiddleware(cliProvider gqlcli.Provider) *applicationMiddleware

func SaveToContext

func SaveToContext(ctx context.Context, appDetails graphql.ApplicationExt) context.Context

Types

type AppDetailsContextKey

type AppDetailsContextKey struct{}

type GqlSuccessfulAppPage

type GqlSuccessfulAppPage struct {
	Result graphql.ApplicationPageExt `json:"result"`
}

type GraphQLRequestBuilder

type GraphQLRequestBuilder interface {
	GetApplicationsByName(appName string) *gcli.Request
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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