github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/pkg/graphql/runtime.go (about)

     1  package graphql
     2  
     3  // Runtime missing godoc
     4  type Runtime struct {
     5  	ID                    string                        `json:"id"`
     6  	Name                  string                        `json:"name"`
     7  	Description           *string                       `json:"description"`
     8  	Status                *RuntimeStatus                `json:"status"`
     9  	Metadata              *RuntimeMetadata              `json:"metadata"`
    10  	EventingConfiguration *RuntimeEventingConfiguration `json:"eventingConfiguration"`
    11  	ApplicationNamespace  *string                       `json:"applicationNamespace"`
    12  }
    13  
    14  // RuntimePageExt is an extended types used by external API
    15  type RuntimePageExt struct {
    16  	RuntimePage
    17  	Data []*RuntimeExt `json:"data"`
    18  }
    19  
    20  // RuntimeExt missing godoc
    21  type RuntimeExt struct {
    22  	Runtime
    23  	Labels Labels `json:"labels"`
    24  	// Returns array of authentication details for Runtime. For now at most one element in array will be returned.
    25  	Auths           []*RuntimeSystemAuth  `json:"auths"`
    26  	Webhooks        []Webhook             `json:"webhooks"`
    27  	RuntimeContext  RuntimeContextExt     `json:"runtimeContext"`
    28  	RuntimeContexts RuntimeContextPageExt `json:"runtimeContexts"`
    29  }