graphql

package
v0.0.0-...-1eca41e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 31 Imported by: 53

Documentation

Index

Constants

View Source
const (
	// MinTitleLength represents the minimal accepted length of the Title field
	MinTitleLength = 1
	// MaxTitleLength represents the maximal accepted length of the Title field
	MaxTitleLength = 255
	// MinDescriptionLength represents the minimal accepted length of the Description field
	MinDescriptionLength = 1
	// MinOrdIDLength represents the minimal accepted length of the OrdID field
	MinOrdIDLength = 1
	// MaxOrdIDLength represents the maximal accepted length of the OrdID field
	MaxOrdIDLength = 255

	// AspectAPIResourceRegex represents the valid structure of the apiResource items in Integration Dependency Aspect
	AspectAPIResourceRegex = "^([a-z0-9]+(?:[.][a-z0-9]+)*):(apiResource):([a-zA-Z0-9._\\-]+):(v0|v[1-9][0-9]*)$"
	// AspectEventResourceRegex represents the valid structure of the eventResource items in Integration Dependency Aspect
	AspectEventResourceRegex = "^([a-z0-9]+(?:[.][a-z0-9]+)*):(eventResource):([a-zA-Z0-9._\\-]+):(v0|v[1-9][0-9]*)$"
	// EventResourceEventTypeRegex represents the valid structure of the event type items in event resource subset
	EventResourceEventTypeRegex = "^([a-z0-9A-Z]+(?:[.][a-z0-9A-Z]+)(?:[.][a-z0-9A-Z]+)+)\\.(v0|v[1-9][0-9]*)$"
	// IntegrationDependencyOrdIDRegexGQL represents the valid structure of the ordID of the Integration Dependency for the GraphQL scenario - app namespace can be empty
	IntegrationDependencyOrdIDRegexGQL = "^(([a-z0-9-]+(?:[.][a-z0-9-]+)*))*:(integrationDependency):([a-zA-Z0-9._\\-]+):(v0|v[1-9][0-9]*)$"
)
View Source
const (
	// ReleaseStatusBeta is one of the available release status options
	ReleaseStatusBeta string = "beta"
	// ReleaseStatusActive is one of the available release status options
	ReleaseStatusActive string = "active"
	// ReleaseStatusDeprecated is one of the available release status options
	ReleaseStatusDeprecated string = "deprecated"
)
View Source
const SemVerRegex = "" /* 191-byte string literal not displayed */

SemVerRegex represents the valid structure of the field

Variables

View Source
var AllDocumentFormat = []DocumentFormat{
	DocumentFormatMarkdown,
}
View Source
var AllEventSpecType = []EventSpecType{
	EventSpecTypeAsyncAPI,
}

Functions

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

Types

type APIDefinition

type APIDefinition struct {
	BundleID    string   `json:"bundleID"`
	Name        string   `json:"name"`
	Description *string  `json:"description"`
	Spec        *APISpec `json:"spec"`
	TargetURL   string   `json:"targetURL"`
	//  group allows you to find the same API but in different version
	Group   *string  `json:"group"`
	Version *Version `json:"version"`
	*BaseEntity
}

APIDefinition missing godoc

func (*APIDefinition) GetType

func (e *APIDefinition) GetType() resource.Type

GetType missing godoc

type APIDefinitionExt

type APIDefinitionExt struct {
	APIDefinition
	Spec *APISpecExt `json:"spec"`
}

APIDefinitionExt missing godoc

type APIDefinitionInput

type APIDefinitionInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** valid URL, max=256
	TargetURL string `json:"targetURL"`
	// **Validation:** max=100
	Group   *string       `json:"group,omitempty"`
	Spec    *APISpecInput `json:"spec,omitempty"`
	Version *VersionInput `json:"version,omitempty"`
}

func (APIDefinitionInput) Validate

func (i APIDefinitionInput) Validate() error

Validate missing godoc

type APIDefinitionPage

type APIDefinitionPage struct {
	Data       []*APIDefinition `json:"data"`
	PageInfo   *PageInfo        `json:"pageInfo"`
	TotalCount int              `json:"totalCount"`
}

func (APIDefinitionPage) IsPageable

func (APIDefinitionPage) IsPageable()

type APIDefinitionPageExt

type APIDefinitionPageExt struct {
	APIDefinitionPage
	Data []*APIDefinitionExt `json:"data"`
}

APIDefinitionPageExt is an extended type used by external API

type APIDefinitionResolver

type APIDefinitionResolver interface {
	Spec(ctx context.Context, obj *APIDefinition) (*APISpec, error)
}

type APISpec

type APISpec struct {
	// when fetch request specified, data will be automatically populated
	ID           string      `json:"id"`
	Data         *CLOB       `json:"data"`
	Format       SpecFormat  `json:"format"`
	Type         APISpecType `json:"type"`
	DefinitionID string      // Needed to resolve FetchRequest for given APISpec
}

APISpec missing godoc

type APISpecExt

type APISpecExt struct {
	APISpec
	FetchRequest *FetchRequest `json:"fetchRequest"`
}

APISpecExt missing godoc

type APISpecInput

type APISpecInput struct {
	Data         *CLOB              `json:"data,omitempty"`
	Type         APISpecType        `json:"type"`
	Format       SpecFormat         `json:"format"`
	FetchRequest *FetchRequestInput `json:"fetchRequest,omitempty"`
}

**Validation:** - for ODATA type, accepted formats are XML and JSON, for OPEN_API accepted formats are YAML and JSON - data or fetchRequest required

func (APISpecInput) Validate

func (i APISpecInput) Validate() error

Validate missing godoc

type APISpecResolver

type APISpecResolver interface {
	FetchRequest(ctx context.Context, obj *APISpec) (*FetchRequest, error)
}

type APISpecType

type APISpecType string
const (
	APISpecTypeOdata   APISpecType = "ODATA"
	APISpecTypeOpenAPI APISpecType = "OPEN_API"
)

func (APISpecType) IsValid

func (e APISpecType) IsValid() bool

func (APISpecType) MarshalGQL

func (e APISpecType) MarshalGQL(w io.Writer)

func (APISpecType) String

func (e APISpecType) String() string

func (*APISpecType) UnmarshalGQL

func (e *APISpecType) UnmarshalGQL(v interface{}) error

type AppSystemAuth

type AppSystemAuth struct {
	ID                string                   `json:"id"`
	Auth              *Auth                    `json:"auth,omitempty"`
	Type              *SystemAuthReferenceType `json:"type,omitempty"`
	TenantID          *string                  `json:"tenantId,omitempty"`
	ReferenceObjectID *string                  `json:"referenceObjectId,omitempty"`
}

func (AppSystemAuth) IsSystemAuth

func (AppSystemAuth) IsSystemAuth()

type Application

type Application struct {
	Name                  string             `json:"name"`
	ProviderName          *string            `json:"providerName"`
	IntegrationSystemID   *string            `json:"integrationSystemID"`
	ApplicationTemplateID *string            `json:"applicationTemplateID"`
	Description           *string            `json:"description"`
	Status                *ApplicationStatus `json:"status"`
	HealthCheckURL        *string            `json:"healthCheckURL"`
	SystemNumber          *string            `json:"systemNumber"`
	LocalTenantID         *string            `json:"localTenantID"`
	SystemStatus          *string            `json:"systemStatus"`
	BaseURL               *string            `json:"baseUrl"`
	ApplicationNamespace  *string            `json:"applicationNamespace"`
	*BaseEntity
}

Application missing godoc

func (*Application) GetType

func (e *Application) GetType() resource.Type

GetType missing godoc

func (*Application) IsFormationParticipant

func (e *Application) IsFormationParticipant()

IsFormationParticipant implements the FormationParticipant interface

func (*Application) Sentinel

func (e *Application) Sentinel()

Sentinel missing godoc

type ApplicationEventingConfiguration

type ApplicationEventingConfiguration struct {
	DefaultURL string `json:"defaultURL"`
}

type ApplicationExt

type ApplicationExt struct {
	Application
	Labels                  Labels                           `json:"labels"`
	Webhooks                []Webhook                        `json:"webhooks"`
	Auths                   []*AppSystemAuth                 `json:"auths"`
	Bundle                  BundleExt                        `json:"bundle"`
	Bundles                 BundlePageExt                    `json:"bundles"`
	Operations              []*Operation                     `json:"operations"`
	EventingConfiguration   ApplicationEventingConfiguration `json:"eventingConfiguration"`
	APIDefinition           APIDefinitionExt                 `json:"apiDefinition"`
	EventDefinition         EventAPIDefinitionExt            `json:"eventDefinition"`
	IntegrationDependencies IntegrationDependencyPage        `json:"integrationDependencies"`
}

ApplicationExt missing godoc

type ApplicationFromTemplateInput

type ApplicationFromTemplateInput struct {
	ID *string `json:"id,omitempty"`
	// **Validation:** ASCII printable characters, max=100
	TemplateName string `json:"templateName"`
	// **Validation:** if provided, placeholdersPayload not required
	Values []*TemplateValueInput `json:"values,omitempty"`
	// **Validation:** if provided, values not required
	PlaceholdersPayload *string `json:"placeholdersPayload,omitempty"`
	Labels              Labels  `json:"labels,omitempty"`
}

**Validation:** provided placeholders' names are unique

func (ApplicationFromTemplateInput) Validate

func (i ApplicationFromTemplateInput) Validate() error

Validate missing godoc

type ApplicationJSONInput

type ApplicationJSONInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:** max=256
	ProviderName *string `json:"providerName,omitempty"`
	// **Validation:** max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** label key is alphanumeric with underscore
	Labels   Labels          `json:"labels,omitempty"`
	Webhooks []*WebhookInput `json:"webhooks,omitempty"`
	// **Validation:** valid URL, max=256
	HealthCheckURL *string `json:"healthCheckURL,omitempty"`
	// **Validation:** valid URL, max=256
	BaseURL              *string                     `json:"baseUrl,omitempty"`
	ApplicationNamespace *string                     `json:"applicationNamespace,omitempty"`
	IntegrationSystemID  *string                     `json:"integrationSystemID,omitempty"`
	StatusCondition      *ApplicationStatusCondition `json:"statusCondition,omitempty"`
	LocalTenantID        *string                     `json:"localTenantID,omitempty"`
	Bundles              []*BundleCreateInput        `json:"bundles,omitempty"`
}

func (ApplicationJSONInput) Validate

func (i ApplicationJSONInput) Validate() error

Validate missing godoc

type ApplicationPage

type ApplicationPage struct {
	Data       []*Application `json:"data"`
	PageInfo   *PageInfo      `json:"pageInfo"`
	TotalCount int            `json:"totalCount"`
}

func (ApplicationPage) IsPageable

func (ApplicationPage) IsPageable()

type ApplicationPageExt

type ApplicationPageExt struct {
	ApplicationPage
	Data []*ApplicationExt `json:"data"`
}

ApplicationPageExt is an extended type used by external API

type ApplicationRegisterInput

type ApplicationRegisterInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:** max=256
	ProviderName *string `json:"providerName,omitempty"`
	// **Validation:** max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** label key is alphanumeric with underscore
	Labels   Labels          `json:"labels,omitempty"`
	Webhooks []*WebhookInput `json:"webhooks,omitempty"`
	// **Validation:** valid URL, max=256
	HealthCheckURL *string `json:"healthCheckURL,omitempty"`
	// **Validation:** valid URL, max=256
	BaseURL              *string                     `json:"baseUrl,omitempty"`
	ApplicationNamespace *string                     `json:"applicationNamespace,omitempty"`
	IntegrationSystemID  *string                     `json:"integrationSystemID,omitempty"`
	StatusCondition      *ApplicationStatusCondition `json:"statusCondition,omitempty"`
	LocalTenantID        *string                     `json:"localTenantID,omitempty"`
	Bundles              []*BundleCreateInput        `json:"bundles,omitempty"`
}

func (ApplicationRegisterInput) Validate

func (i ApplicationRegisterInput) Validate() error

Validate missing godoc

type ApplicationResolver

type ApplicationResolver interface {
	ApplicationTemplate(ctx context.Context, obj *Application) (*ApplicationTemplate, error)
	Labels(ctx context.Context, obj *Application, key *string) (Labels, error)

	Webhooks(ctx context.Context, obj *Application) ([]*Webhook, error)
	Operations(ctx context.Context, obj *Application) ([]*Operation, error)

	Bundles(ctx context.Context, obj *Application, first *int, after *PageCursor) (*BundlePage, error)
	Bundle(ctx context.Context, obj *Application, id string) (*Bundle, error)
	APIDefinition(ctx context.Context, obj *Application, id string) (*APIDefinition, error)
	EventDefinition(ctx context.Context, obj *Application, id string) (*EventDefinition, error)
	IntegrationDependencies(ctx context.Context, obj *Application, first *int, after *PageCursor) (*IntegrationDependencyPage, error)
	Auths(ctx context.Context, obj *Application) ([]*AppSystemAuth, error)
	EventingConfiguration(ctx context.Context, obj *Application) (*ApplicationEventingConfiguration, error)
}

type ApplicationStatus

type ApplicationStatus struct {
	Condition ApplicationStatusCondition `json:"condition"`
	Timestamp Timestamp                  `json:"timestamp"`
}

type ApplicationStatusCondition

type ApplicationStatusCondition string
const (
	ApplicationStatusConditionInitial         ApplicationStatusCondition = "INITIAL"
	ApplicationStatusConditionConnected       ApplicationStatusCondition = "CONNECTED"
	ApplicationStatusConditionFailed          ApplicationStatusCondition = "FAILED"
	ApplicationStatusConditionCreating        ApplicationStatusCondition = "CREATING"
	ApplicationStatusConditionCreateFailed    ApplicationStatusCondition = "CREATE_FAILED"
	ApplicationStatusConditionCreateSucceeded ApplicationStatusCondition = "CREATE_SUCCEEDED"
	ApplicationStatusConditionUpdating        ApplicationStatusCondition = "UPDATING"
	ApplicationStatusConditionUpdateFailed    ApplicationStatusCondition = "UPDATE_FAILED"
	ApplicationStatusConditionUpdateSucceeded ApplicationStatusCondition = "UPDATE_SUCCEEDED"
	ApplicationStatusConditionDeleting        ApplicationStatusCondition = "DELETING"
	ApplicationStatusConditionDeleteFailed    ApplicationStatusCondition = "DELETE_FAILED"
	ApplicationStatusConditionDeleteSucceeded ApplicationStatusCondition = "DELETE_SUCCEEDED"
	ApplicationStatusConditionUnpairing       ApplicationStatusCondition = "UNPAIRING"
	ApplicationStatusConditionUnpairFailed    ApplicationStatusCondition = "UNPAIR_FAILED"
)

func (ApplicationStatusCondition) IsValid

func (e ApplicationStatusCondition) IsValid() bool

func (ApplicationStatusCondition) MarshalGQL

func (e ApplicationStatusCondition) MarshalGQL(w io.Writer)

func (ApplicationStatusCondition) String

func (*ApplicationStatusCondition) UnmarshalGQL

func (e *ApplicationStatusCondition) UnmarshalGQL(v interface{}) error

type ApplicationTemplate

type ApplicationTemplate struct {
	ID                   string                         `json:"id"`
	Name                 string                         `json:"name"`
	Description          *string                        `json:"description"`
	ApplicationNamespace *string                        `json:"applicationNamespace"`
	Webhooks             []Webhook                      `json:"webhooks"`
	ApplicationInput     string                         `json:"applicationInput"`
	Placeholders         []*PlaceholderDefinition       `json:"placeholders"`
	AccessLevel          ApplicationTemplateAccessLevel `json:"accessLevel"`
	Labels               Labels                         `json:"labels"`
	CreatedAt            Timestamp                      `json:"createdAt"`
	UpdatedAt            Timestamp                      `json:"updatedAt"`
}

ApplicationTemplate missing godoc

type ApplicationTemplateAccessLevel

type ApplicationTemplateAccessLevel string
const (
	ApplicationTemplateAccessLevelGlobal ApplicationTemplateAccessLevel = "GLOBAL"
)

func (ApplicationTemplateAccessLevel) IsValid

func (ApplicationTemplateAccessLevel) MarshalGQL

func (e ApplicationTemplateAccessLevel) MarshalGQL(w io.Writer)

func (ApplicationTemplateAccessLevel) String

func (*ApplicationTemplateAccessLevel) UnmarshalGQL

func (e *ApplicationTemplateAccessLevel) UnmarshalGQL(v interface{}) error

type ApplicationTemplateInput

type ApplicationTemplateInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Webhooks    []*WebhookInput `json:"webhooks,omitempty"`
	Description *string         `json:"description,omitempty"`
	// **Validation:** label key is alphanumeric with underscore
	Labels               Labels                         `json:"labels,omitempty"`
	ApplicationInput     *ApplicationJSONInput          `json:"applicationInput"`
	Placeholders         []*PlaceholderDefinitionInput  `json:"placeholders,omitempty"`
	AccessLevel          ApplicationTemplateAccessLevel `json:"accessLevel"`
	ApplicationNamespace *string                        `json:"applicationNamespace,omitempty"`
}

**Validation:** provided placeholders' names are unique and used in applicationInput

func (ApplicationTemplateInput) Validate

func (i ApplicationTemplateInput) Validate() error

Validate missing godoc

type ApplicationTemplatePage

type ApplicationTemplatePage struct {
	Data       []*ApplicationTemplate `json:"data"`
	PageInfo   *PageInfo              `json:"pageInfo"`
	TotalCount int                    `json:"totalCount"`
}

func (ApplicationTemplatePage) IsPageable

func (ApplicationTemplatePage) IsPageable()

type ApplicationTemplateResolver

type ApplicationTemplateResolver interface {
	Webhooks(ctx context.Context, obj *ApplicationTemplate) ([]*Webhook, error)

	Labels(ctx context.Context, obj *ApplicationTemplate, key *string) (Labels, error)
}

type ApplicationTemplateUpdateInput

type ApplicationTemplateUpdateInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Webhooks             []*WebhookInput                `json:"webhooks,omitempty"`
	Description          *string                        `json:"description,omitempty"`
	ApplicationInput     *ApplicationJSONInput          `json:"applicationInput"`
	Placeholders         []*PlaceholderDefinitionInput  `json:"placeholders,omitempty"`
	Labels               Labels                         `json:"labels,omitempty"`
	AccessLevel          ApplicationTemplateAccessLevel `json:"accessLevel"`
	ApplicationNamespace *string                        `json:"applicationNamespace,omitempty"`
}

func (ApplicationTemplateUpdateInput) Validate

Validate missing godoc

type ApplicationUpdateInput

type ApplicationUpdateInput struct {
	// **Validation:** max=256
	ProviderName *string `json:"providerName,omitempty"`
	// **Validation:** max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** valid URL, max=256
	HealthCheckURL       *string                     `json:"healthCheckURL,omitempty"`
	BaseURL              *string                     `json:"baseUrl,omitempty"`
	ApplicationNamespace *string                     `json:"applicationNamespace,omitempty"`
	IntegrationSystemID  *string                     `json:"integrationSystemID,omitempty"`
	StatusCondition      *ApplicationStatusCondition `json:"statusCondition,omitempty"`
	LocalTenantID        *string                     `json:"localTenantID,omitempty"`
}

func (ApplicationUpdateInput) Validate

func (i ApplicationUpdateInput) Validate() error

Validate missing godoc

type ArtifactType

type ArtifactType string
const (
	ArtifactTypeSubscription        ArtifactType = "SUBSCRIPTION"
	ArtifactTypeServiceInstance     ArtifactType = "SERVICE_INSTANCE"
	ArtifactTypeEnvironmentInstance ArtifactType = "ENVIRONMENT_INSTANCE"
)

func (ArtifactType) IsValid

func (e ArtifactType) IsValid() bool

func (ArtifactType) MarshalGQL

func (e ArtifactType) MarshalGQL(w io.Writer)

func (ArtifactType) String

func (e ArtifactType) String() string

func (*ArtifactType) UnmarshalGQL

func (e *ArtifactType) UnmarshalGQL(v interface{}) error

type Aspect

type Aspect struct {
	Name           string                   `json:"name"`
	Description    *string                  `json:"description"`
	Mandatory      *bool                    `json:"mandatory"`
	APIResources   []*AspectAPIDefinition   `json:"apiResources"`
	EventResources []*AspectEventDefinition `json:"eventResources"`
	*BaseEntity
}

Aspect represents the Aspect object

type AspectAPIDefinition

type AspectAPIDefinition struct {
	OrdID string `json:"ordID"`
}

AspectAPIDefinition represents the Aspect API Definition object

type AspectAPIDefinitionInput

type AspectAPIDefinitionInput struct {
	OrdID string `json:"ordId"`
}

func (AspectAPIDefinitionInput) Validate

func (a AspectAPIDefinitionInput) Validate() error

Validate validates AspectAPIDefinitionInput object

type AspectEventDefinition

type AspectEventDefinition struct {
	OrdID  string                         `json:"ordID"`
	Subset []*AspectEventDefinitionSubset `json:"subset"`
	*BaseEntity
}

AspectEventDefinition represents the Aspect Event Definition object

type AspectEventDefinitionInput

type AspectEventDefinitionInput struct {
	OrdID  string                              `json:"ordId"`
	Subset []*AspectEventDefinitionSubsetInput `json:"subset,omitempty"`
}

func (AspectEventDefinitionInput) Validate

func (a AspectEventDefinitionInput) Validate() error

Validate validates AspectEventDefinitionInput object

type AspectEventDefinitionSubset

type AspectEventDefinitionSubset struct {
	EventType *string `json:"eventType"`
}

AspectEventDefinitionSubset represents the Aspect Event Definition Subset object

type AspectEventDefinitionSubsetInput

type AspectEventDefinitionSubsetInput struct {
	EventType *string `json:"eventType,omitempty"`
}

func (AspectEventDefinitionSubsetInput) Validate

Validate validates AspectEventDefinitionSubsetInput object

type AspectInput

type AspectInput struct {
	Name           string                        `json:"name"`
	Description    *string                       `json:"description,omitempty"`
	Mandatory      *bool                         `json:"mandatory,omitempty"`
	APIResources   []*AspectAPIDefinitionInput   `json:"apiResources,omitempty"`
	EventResources []*AspectEventDefinitionInput `json:"eventResources,omitempty"`
}

func (AspectInput) Validate

func (a AspectInput) Validate() error

Validate validates AspectInput object

type Auth

type Auth struct {
	Credential                      CredentialData         `json:"credential,omitempty"`
	AccessStrategy                  *string                `json:"accessStrategy,omitempty"`
	AdditionalHeaders               HTTPHeaders            `json:"additionalHeaders,omitempty"`
	AdditionalHeadersSerialized     *HTTPHeadersSerialized `json:"additionalHeadersSerialized,omitempty"`
	AdditionalQueryParams           QueryParams            `json:"additionalQueryParams,omitempty"`
	AdditionalQueryParamsSerialized *QueryParamsSerialized `json:"additionalQueryParamsSerialized,omitempty"`
	RequestAuth                     *CredentialRequestAuth `json:"requestAuth,omitempty"`
	OneTimeToken                    OneTimeToken           `json:"oneTimeToken,omitempty"`
	CertCommonName                  *string                `json:"certCommonName,omitempty"`
}

func (*Auth) UnmarshalJSON

func (a *Auth) UnmarshalJSON(data []byte) error

UnmarshalJSON is used only by integration tests, we have to help graphql client to deal with Credential field

type AuthInput

type AuthInput struct {
	Credential     *CredentialDataInput `json:"credential,omitempty"`
	AccessStrategy *string              `json:"accessStrategy,omitempty"`
	// **Validation:** if provided, headers name and value required
	AdditionalHeaders           HTTPHeaders            `json:"additionalHeaders,omitempty"`
	AdditionalHeadersSerialized *HTTPHeadersSerialized `json:"additionalHeadersSerialized,omitempty"`
	// **Validation:** if provided, query parameters name and value required
	AdditionalQueryParams           QueryParams                 `json:"additionalQueryParams,omitempty"`
	AdditionalQueryParamsSerialized *QueryParamsSerialized      `json:"additionalQueryParamsSerialized,omitempty"`
	RequestAuth                     *CredentialRequestAuthInput `json:"requestAuth,omitempty"`
	CertCommonName                  *string                     `json:"certCommonName,omitempty"`
	OneTimeToken                    *OneTimeTokenInput          `json:"oneTimeToken,omitempty"`
}

func (AuthInput) Validate

func (i AuthInput) Validate() error

Validate missing godoc

type AutomaticScenarioAssignment

type AutomaticScenarioAssignment struct {
	ScenarioName string `json:"scenarioName"`
	Selector     *Label `json:"selector"`
}

type AutomaticScenarioAssignmentPage

type AutomaticScenarioAssignmentPage struct {
	Data       []*AutomaticScenarioAssignment `json:"data"`
	PageInfo   *PageInfo                      `json:"pageInfo"`
	TotalCount int                            `json:"totalCount"`
}

func (AutomaticScenarioAssignmentPage) IsPageable

func (AutomaticScenarioAssignmentPage) IsPageable()

type BaseEntity

type BaseEntity struct {
	ID        string     `json:"id"`
	Ready     bool       `json:"ready"`
	CreatedAt *Timestamp `json:"createdAt"`
	UpdatedAt *Timestamp `json:"updatedAt"`
	DeletedAt *Timestamp `json:"deletedAt"`
	Error     *string    `json:"error"`
}

BaseEntity missing godoc

func (*BaseEntity) GetID

func (e *BaseEntity) GetID() string

GetID missing godoc

func (*BaseEntity) GetType

func (e *BaseEntity) GetType() resource.Type

GetType missing godoc

type BasicCredentialData

type BasicCredentialData struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (BasicCredentialData) IsCredentialData

func (BasicCredentialData) IsCredentialData()

type BasicCredentialDataInput

type BasicCredentialDataInput struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (BasicCredentialDataInput) Validate

func (i BasicCredentialDataInput) Validate() error

Validate missing godoc

type Bundle

type Bundle struct {
	Name                           string      `json:"name"`
	Description                    *string     `json:"description"`
	InstanceAuthRequestInputSchema *JSONSchema `json:"InstanceAuthRequestInputSchema"`
	CorrelationIDs                 []string    `json:"correlationIDs"`
	// When defined, all Auth requests fallback to defaultAuth.
	DefaultInstanceAuth *Auth `json:"defaultInstanceAuth"`
	*BaseEntity
}

Bundle missing godoc

func (*Bundle) GetType

func (e *Bundle) GetType() resource.Type

GetType missing godoc

type BundleCreateInput

type BundleCreateInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Description                    *string                 `json:"description,omitempty"`
	InstanceAuthRequestInputSchema *JSONSchema             `json:"instanceAuthRequestInputSchema,omitempty"`
	DefaultInstanceAuth            *AuthInput              `json:"defaultInstanceAuth,omitempty"`
	APIDefinitions                 []*APIDefinitionInput   `json:"apiDefinitions,omitempty"`
	EventDefinitions               []*EventDefinitionInput `json:"eventDefinitions,omitempty"`
	Documents                      []*DocumentInput        `json:"documents,omitempty"`
	CorrelationIDs                 []string                `json:"correlationIDs,omitempty"`
}

func (BundleCreateInput) Validate

func (i BundleCreateInput) Validate() error

Validate missing godoc

type BundleExt

type BundleExt struct {
	Bundle
	APIDefinitions   APIDefinitionPageExt      `json:"apiDefinitions"`
	EventDefinitions EventAPIDefinitionPageExt `json:"eventDefinitions"`
	Documents        DocumentPageExt           `json:"documents"`
	APIDefinition    APIDefinitionExt          `json:"apiDefinition"`
	EventDefinition  EventDefinition           `json:"eventDefinition"`
	Document         Document                  `json:"document"`
	InstanceAuth     *BundleInstanceAuth       `json:"instanceAuth"`
	InstanceAuths    []*BundleInstanceAuth     `json:"instanceAuths"`
}

BundleExt missing godoc

type BundleInstanceAuth

type BundleInstanceAuth struct {
	ID string `json:"id"`
	// Context of BundleInstanceAuth - such as Runtime ID, namespace
	Context *JSON `json:"context,omitempty"`
	// User input while requesting Bundle Instance Auth
	InputParams *JSON `json:"inputParams,omitempty"`
	// It may be empty if status is PENDING.
	// Populated with `bundle.defaultAuth` value if `bundle.defaultAuth` is defined. If not, Compass notifies Application/Integration System about the Auth request.
	Auth             *Auth                     `json:"auth,omitempty"`
	Status           *BundleInstanceAuthStatus `json:"status"`
	RuntimeID        *string                   `json:"runtimeID,omitempty"`
	RuntimeContextID *string                   `json:"runtimeContextID,omitempty"`
}

type BundleInstanceAuthCreateInput

type BundleInstanceAuthCreateInput struct {
	Context          *JSON      `json:"context,omitempty"`
	InputParams      *JSON      `json:"inputParams,omitempty"`
	Auth             *AuthInput `json:"auth"`
	RuntimeID        *string    `json:"runtimeID,omitempty"`
	RuntimeContextID *string    `json:"runtimeContextID,omitempty"`
}

func (BundleInstanceAuthCreateInput) Validate

func (i BundleInstanceAuthCreateInput) Validate() error

Validate validates BundleInstanceAuthCreateInput

type BundleInstanceAuthRequestInput

type BundleInstanceAuthRequestInput struct {
	ID *string `json:"id,omitempty"`
	// Context of BundleInstanceAuth - such as Runtime ID, namespace, etc.
	Context *JSON `json:"context,omitempty"`
	// **Validation:** JSON validated against bundle.instanceAuthRequestInputSchema
	InputParams *JSON `json:"inputParams,omitempty"`
}

func (BundleInstanceAuthRequestInput) Validate

Validate missing godoc

type BundleInstanceAuthSetInput

type BundleInstanceAuthSetInput struct {
	// **Validation:** If not provided, the status has to be set. If provided, the status condition  must be "SUCCEEDED".
	Auth *AuthInput `json:"auth,omitempty"`
	// **Validation:** Optional if the auth is provided.
	// If the status condition is "FAILED", auth must be empty.
	Status *BundleInstanceAuthStatusInput `json:"status,omitempty"`
}

func (BundleInstanceAuthSetInput) Validate

func (i BundleInstanceAuthSetInput) Validate() error

Validate missing godoc

type BundleInstanceAuthSetStatusConditionInput

type BundleInstanceAuthSetStatusConditionInput string
const (
	BundleInstanceAuthSetStatusConditionInputSucceeded BundleInstanceAuthSetStatusConditionInput = "SUCCEEDED"
	BundleInstanceAuthSetStatusConditionInputFailed    BundleInstanceAuthSetStatusConditionInput = "FAILED"
)

func (BundleInstanceAuthSetStatusConditionInput) IsValid

func (BundleInstanceAuthSetStatusConditionInput) MarshalGQL

func (BundleInstanceAuthSetStatusConditionInput) String

func (*BundleInstanceAuthSetStatusConditionInput) UnmarshalGQL

func (e *BundleInstanceAuthSetStatusConditionInput) UnmarshalGQL(v interface{}) error

type BundleInstanceAuthStatus

type BundleInstanceAuthStatus struct {
	Condition BundleInstanceAuthStatusCondition `json:"condition"`
	Timestamp Timestamp                         `json:"timestamp"`
	Message   string                            `json:"message"`
	// Possible reasons:
	// - PendingNotification
	// - NotificationSent
	// - CredentialsProvided
	// - CredentialsNotProvided
	// - PendingDeletion
	Reason string `json:"reason"`
}

type BundleInstanceAuthStatusCondition

type BundleInstanceAuthStatusCondition string
const (
	// When creating, before Application sets the credentials
	BundleInstanceAuthStatusConditionPending   BundleInstanceAuthStatusCondition = "PENDING"
	BundleInstanceAuthStatusConditionSucceeded BundleInstanceAuthStatusCondition = "SUCCEEDED"
	BundleInstanceAuthStatusConditionFailed    BundleInstanceAuthStatusCondition = "FAILED"
	// When Runtime requests deletion and Application has to revoke the credentials
	BundleInstanceAuthStatusConditionUnused BundleInstanceAuthStatusCondition = "UNUSED"
)

func (BundleInstanceAuthStatusCondition) IsValid

func (BundleInstanceAuthStatusCondition) MarshalGQL

func (BundleInstanceAuthStatusCondition) String

func (*BundleInstanceAuthStatusCondition) UnmarshalGQL

func (e *BundleInstanceAuthStatusCondition) UnmarshalGQL(v interface{}) error

type BundleInstanceAuthStatusInput

type BundleInstanceAuthStatusInput struct {
	Condition BundleInstanceAuthSetStatusConditionInput `json:"condition"`
	// **Validation:** required, if condition is FAILED
	Message string `json:"message"`
	// Example reasons:
	// - PendingNotification
	// - NotificationSent
	// - CredentialsProvided
	// - CredentialsNotProvided
	// - PendingDeletion
	//
	// **Validation**: required, if condition is FAILED
	Reason string `json:"reason"`
}

func (BundleInstanceAuthStatusInput) Validate

func (i BundleInstanceAuthStatusInput) Validate() error

Validate missing godoc

type BundleInstanceAuthUpdateInput

type BundleInstanceAuthUpdateInput struct {
	Context     *JSON      `json:"context,omitempty"`
	InputParams *JSON      `json:"inputParams,omitempty"`
	Auth        *AuthInput `json:"auth,omitempty"`
}

type BundlePage

type BundlePage struct {
	Data       []*Bundle `json:"data"`
	PageInfo   *PageInfo `json:"pageInfo"`
	TotalCount int       `json:"totalCount"`
}

func (BundlePage) IsPageable

func (BundlePage) IsPageable()

type BundlePageExt

type BundlePageExt struct {
	BundlePage
	Data []*BundleExt `json:"data"`
}

BundlePageExt missing godoc

type BundleResolver

type BundleResolver interface {
	InstanceAuth(ctx context.Context, obj *Bundle, id string) (*BundleInstanceAuth, error)
	InstanceAuths(ctx context.Context, obj *Bundle) ([]*BundleInstanceAuth, error)

	APIDefinitions(ctx context.Context, obj *Bundle, group *string, first *int, after *PageCursor) (*APIDefinitionPage, error)
	EventDefinitions(ctx context.Context, obj *Bundle, group *string, first *int, after *PageCursor) (*EventDefinitionPage, error)
	Documents(ctx context.Context, obj *Bundle, first *int, after *PageCursor) (*DocumentPage, error)
	APIDefinition(ctx context.Context, obj *Bundle, id string) (*APIDefinition, error)
	EventDefinition(ctx context.Context, obj *Bundle, id string) (*EventDefinition, error)

	Document(ctx context.Context, obj *Bundle, id string) (*Document, error)
}

type BundleUpdateInput

type BundleUpdateInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Description                    *string     `json:"description,omitempty"`
	InstanceAuthRequestInputSchema *JSONSchema `json:"instanceAuthRequestInputSchema,omitempty"`
	// While updating defaultInstanceAuth, existing BundleInstanceAuths are NOT updated.
	DefaultInstanceAuth *AuthInput `json:"defaultInstanceAuth,omitempty"`
}

func (BundleUpdateInput) Validate

func (i BundleUpdateInput) Validate() error

Validate missing godoc

type BusinessTenantMappingInput

type BusinessTenantMappingInput struct {
	Name           string    `json:"name"`
	ExternalTenant string    `json:"externalTenant"`
	Parents        []*string `json:"parents,omitempty"`
	Subdomain      *string   `json:"subdomain,omitempty"`
	Region         *string   `json:"region,omitempty"`
	Type           string    `json:"type"`
	Provider       string    `json:"provider"`
	LicenseType    *string   `json:"licenseType,omitempty"`
	CustomerID     *string   `json:"customerId,omitempty"`
	CostObjectID   *string   `json:"costObjectId,omitempty"`
	CostObjectType *string   `json:"costObjectType,omitempty"`
}

type CLOB

type CLOB string

CLOB missing godoc

func (CLOB) MarshalGQL

func (y CLOB) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*CLOB) UnmarshalGQL

func (y *CLOB) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type CSRFTokenCredentialRequestAuth

type CSRFTokenCredentialRequestAuth struct {
	TokenEndpointURL                string                 `json:"tokenEndpointURL"`
	Credential                      CredentialData         `json:"credential,omitempty"`
	AdditionalHeaders               HTTPHeaders            `json:"additionalHeaders,omitempty"`
	AdditionalHeadersSerialized     *HTTPHeadersSerialized `json:"additionalHeadersSerialized,omitempty"`
	AdditionalQueryParams           QueryParams            `json:"additionalQueryParams,omitempty"`
	AdditionalQueryParamsSerialized *QueryParamsSerialized `json:"additionalQueryParamsSerialized,omitempty"`
}

func (*CSRFTokenCredentialRequestAuth) UnmarshalJSON

func (csrf *CSRFTokenCredentialRequestAuth) UnmarshalJSON(data []byte) error

UnmarshalJSON missing godoc

type CSRFTokenCredentialRequestAuthInput

type CSRFTokenCredentialRequestAuthInput struct {
	// **Validation:** valid URL
	TokenEndpointURL string               `json:"tokenEndpointURL"`
	Credential       *CredentialDataInput `json:"credential,omitempty"`
	// **Validation:** if provided, headers name and value required
	AdditionalHeaders           HTTPHeaders            `json:"additionalHeaders,omitempty"`
	AdditionalHeadersSerialized *HTTPHeadersSerialized `json:"additionalHeadersSerialized,omitempty"`
	// **Validation:** if provided, query parameters name and value required
	AdditionalQueryParams           QueryParams            `json:"additionalQueryParams,omitempty"`
	AdditionalQueryParamsSerialized *QueryParamsSerialized `json:"additionalQueryParamsSerialized,omitempty"`
}

func (CSRFTokenCredentialRequestAuthInput) Validate

Validate missing godoc

type CertificateOAuthCredentialData

type CertificateOAuthCredentialData struct {
	ClientID    string `json:"clientId"`
	Certificate string `json:"certificate"`
	URL         string `json:"url"`
}

func (CertificateOAuthCredentialData) IsCredentialData

func (CertificateOAuthCredentialData) IsCredentialData()

type CertificateOAuthCredentialDataInput

type CertificateOAuthCredentialDataInput struct {
	ClientID    string `json:"clientId"`
	Certificate string `json:"certificate"`
	// **Validation:** valid URL
	URL string `json:"url"`
}

func (CertificateOAuthCredentialDataInput) Validate

Validate missing godoc

type CertificateSubjectMapping

type CertificateSubjectMapping struct {
	ID                 string   `json:"id"`
	Subject            string   `json:"subject"`
	ConsumerType       string   `json:"consumerType"`
	InternalConsumerID *string  `json:"internalConsumerID,omitempty"`
	TenantAccessLevels []string `json:"tenantAccessLevels"`
}

type CertificateSubjectMappingInput

type CertificateSubjectMappingInput struct {
	Subject            string   `json:"subject"`
	ConsumerType       string   `json:"consumerType"`
	InternalConsumerID *string  `json:"internalConsumerID,omitempty"`
	TenantAccessLevels []string `json:"tenantAccessLevels"`
}

func (CertificateSubjectMappingInput) Validate

Validate validates the CertificateSubjectMappingInput structure's properties

type CertificateSubjectMappingPage

type CertificateSubjectMappingPage struct {
	Data       []*CertificateSubjectMapping `json:"data"`
	PageInfo   *PageInfo                    `json:"pageInfo"`
	TotalCount int                          `json:"totalCount"`
}

func (CertificateSubjectMappingPage) IsPageable

func (CertificateSubjectMappingPage) IsPageable()

type ComplexityRoot

type ComplexityRoot struct {
	APIDefinition struct {
		CreatedAt   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		Description func(childComplexity int) int
		Error       func(childComplexity int) int
		Group       func(childComplexity int) int
		ID          func(childComplexity int) int
		Name        func(childComplexity int) int
		Spec        func(childComplexity int) int
		TargetURL   func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		Version     func(childComplexity int) int
	}

	APIDefinitionPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	APISpec struct {
		Data         func(childComplexity int) int
		FetchRequest func(childComplexity int) int
		Format       func(childComplexity int) int
		ID           func(childComplexity int) int
		Type         func(childComplexity int) int
	}

	AppSystemAuth struct {
		Auth              func(childComplexity int) int
		ID                func(childComplexity int) int
		ReferenceObjectID func(childComplexity int) int
		TenantID          func(childComplexity int) int
		Type              func(childComplexity int) int
	}

	Application struct {
		APIDefinition           func(childComplexity int, id string) int
		ApplicationNamespace    func(childComplexity int) int
		ApplicationTemplate     func(childComplexity int) int
		ApplicationTemplateID   func(childComplexity int) int
		Auths                   func(childComplexity int) int
		BaseURL                 func(childComplexity int) int
		Bundle                  func(childComplexity int, id string) int
		Bundles                 func(childComplexity int, first *int, after *PageCursor) int
		CreatedAt               func(childComplexity int) int
		DeletedAt               func(childComplexity int) int
		Description             func(childComplexity int) int
		Error                   func(childComplexity int) int
		EventDefinition         func(childComplexity int, id string) int
		EventingConfiguration   func(childComplexity int) int
		HealthCheckURL          func(childComplexity int) int
		ID                      func(childComplexity int) int
		IntegrationDependencies func(childComplexity int, first *int, after *PageCursor) int
		IntegrationSystemID     func(childComplexity int) int
		Labels                  func(childComplexity int, key *string) int
		LocalTenantID           func(childComplexity int) int
		Name                    func(childComplexity int) int
		Operations              func(childComplexity int) int
		ProviderName            func(childComplexity int) int
		Status                  func(childComplexity int) int
		SystemNumber            func(childComplexity int) int
		SystemStatus            func(childComplexity int) int
		UpdatedAt               func(childComplexity int) int
		Webhooks                func(childComplexity int) int
	}

	ApplicationEventingConfiguration struct {
		DefaultURL func(childComplexity int) int
	}

	ApplicationPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ApplicationStatus struct {
		Condition func(childComplexity int) int
		Timestamp func(childComplexity int) int
	}

	ApplicationTemplate struct {
		AccessLevel          func(childComplexity int) int
		ApplicationInput     func(childComplexity int) int
		ApplicationNamespace func(childComplexity int) int
		CreatedAt            func(childComplexity int) int
		Description          func(childComplexity int) int
		ID                   func(childComplexity int) int
		Labels               func(childComplexity int, key *string) int
		Name                 func(childComplexity int) int
		Placeholders         func(childComplexity int) int
		UpdatedAt            func(childComplexity int) int
		Webhooks             func(childComplexity int) int
	}

	ApplicationTemplatePage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	Aspect struct {
		APIResources   func(childComplexity int) int
		CreatedAt      func(childComplexity int) int
		DeletedAt      func(childComplexity int) int
		Description    func(childComplexity int) int
		Error          func(childComplexity int) int
		EventResources func(childComplexity int) int
		ID             func(childComplexity int) int
		Mandatory      func(childComplexity int) int
		Name           func(childComplexity int) int
		UpdatedAt      func(childComplexity int) int
	}

	AspectAPIDefinition struct {
		OrdID func(childComplexity int) int
	}

	AspectEventDefinition struct {
		CreatedAt func(childComplexity int) int
		DeletedAt func(childComplexity int) int
		Error     func(childComplexity int) int
		OrdID     func(childComplexity int) int
		Subset    func(childComplexity int) int
		UpdatedAt func(childComplexity int) int
	}

	AspectEventDefinitionSubset struct {
		EventType func(childComplexity int) int
	}

	Auth struct {
		AccessStrategy                  func(childComplexity int) int
		AdditionalHeaders               func(childComplexity int) int
		AdditionalHeadersSerialized     func(childComplexity int) int
		AdditionalQueryParams           func(childComplexity int) int
		AdditionalQueryParamsSerialized func(childComplexity int) int
		CertCommonName                  func(childComplexity int) int
		Credential                      func(childComplexity int) int
		OneTimeToken                    func(childComplexity int) int
		RequestAuth                     func(childComplexity int) int
	}

	AutomaticScenarioAssignment struct {
		ScenarioName func(childComplexity int) int
		Selector     func(childComplexity int) int
	}

	AutomaticScenarioAssignmentPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	BasicCredentialData struct {
		Password func(childComplexity int) int
		Username func(childComplexity int) int
	}

	Bundle struct {
		APIDefinition                  func(childComplexity int, id string) int
		APIDefinitions                 func(childComplexity int, group *string, first *int, after *PageCursor) int
		CorrelationIDs                 func(childComplexity int) int
		CreatedAt                      func(childComplexity int) int
		DefaultInstanceAuth            func(childComplexity int) int
		DeletedAt                      func(childComplexity int) int
		Description                    func(childComplexity int) int
		Document                       func(childComplexity int, id string) int
		Documents                      func(childComplexity int, first *int, after *PageCursor) int
		Error                          func(childComplexity int) int
		EventDefinition                func(childComplexity int, id string) int
		EventDefinitions               func(childComplexity int, group *string, first *int, after *PageCursor) int
		ID                             func(childComplexity int) int
		InstanceAuth                   func(childComplexity int, id string) int
		InstanceAuthRequestInputSchema func(childComplexity int) int
		InstanceAuths                  func(childComplexity int) int
		Name                           func(childComplexity int) int
		UpdatedAt                      func(childComplexity int) int
	}

	BundleInstanceAuth struct {
		Auth             func(childComplexity int) int
		Context          func(childComplexity int) int
		ID               func(childComplexity int) int
		InputParams      func(childComplexity int) int
		RuntimeContextID func(childComplexity int) int
		RuntimeID        func(childComplexity int) int
		Status           func(childComplexity int) int
	}

	BundleInstanceAuthStatus struct {
		Condition func(childComplexity int) int
		Message   func(childComplexity int) int
		Reason    func(childComplexity int) int
		Timestamp func(childComplexity int) int
	}

	BundlePage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	CSRFTokenCredentialRequestAuth struct {
		AdditionalHeaders               func(childComplexity int) int
		AdditionalHeadersSerialized     func(childComplexity int) int
		AdditionalQueryParams           func(childComplexity int) int
		AdditionalQueryParamsSerialized func(childComplexity int) int
		Credential                      func(childComplexity int) int
		TokenEndpointURL                func(childComplexity int) int
	}

	CertificateOAuthCredentialData struct {
		Certificate func(childComplexity int) int
		ClientID    func(childComplexity int) int
		URL         func(childComplexity int) int
	}

	CertificateSubjectMapping struct {
		ConsumerType       func(childComplexity int) int
		ID                 func(childComplexity int) int
		InternalConsumerID func(childComplexity int) int
		Subject            func(childComplexity int) int
		TenantAccessLevels func(childComplexity int) int
	}

	CertificateSubjectMappingPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ConstraintReference struct {
		ConstraintID        func(childComplexity int) int
		FormationTemplateID func(childComplexity int) int
	}

	CredentialRequestAuth struct {
		Csrf func(childComplexity int) int
	}

	Document struct {
		CreatedAt    func(childComplexity int) int
		Data         func(childComplexity int) int
		DeletedAt    func(childComplexity int) int
		Description  func(childComplexity int) int
		DisplayName  func(childComplexity int) int
		Error        func(childComplexity int) int
		FetchRequest func(childComplexity int) int
		Format       func(childComplexity int) int
		ID           func(childComplexity int) int
		Kind         func(childComplexity int) int
		Title        func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
	}

	DocumentPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EventDefinition struct {
		CreatedAt   func(childComplexity int) int
		DeletedAt   func(childComplexity int) int
		Description func(childComplexity int) int
		Error       func(childComplexity int) int
		Group       func(childComplexity int) int
		ID          func(childComplexity int) int
		Name        func(childComplexity int) int
		Spec        func(childComplexity int) int
		UpdatedAt   func(childComplexity int) int
		Version     func(childComplexity int) int
	}

	EventDefinitionPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	EventSpec struct {
		Data         func(childComplexity int) int
		FetchRequest func(childComplexity int) int
		Format       func(childComplexity int) int
		ID           func(childComplexity int) int
		Type         func(childComplexity int) int
	}

	FetchRequest struct {
		Auth   func(childComplexity int) int
		Filter func(childComplexity int) int
		Mode   func(childComplexity int) int
		Status func(childComplexity int) int
		URL    func(childComplexity int) int
	}

	FetchRequestStatus struct {
		Condition func(childComplexity int) int
		Message   func(childComplexity int) int
		Timestamp func(childComplexity int) int
	}

	Formation struct {
		Error                         func(childComplexity int) int
		FormationAssignment           func(childComplexity int, id string) int
		FormationAssignments          func(childComplexity int, first *int, after *PageCursor) int
		FormationTemplateID           func(childComplexity int) int
		ID                            func(childComplexity int) int
		LastNotificationSentTimestamp func(childComplexity int) int
		LastStateChangeTimestamp      func(childComplexity int) int
		Name                          func(childComplexity int) int
		State                         func(childComplexity int) int
		Status                        func(childComplexity int) int
		TenantID                      func(childComplexity int) int
	}

	FormationAssignment struct {
		Configuration                 func(childComplexity int) int
		Error                         func(childComplexity int) int
		ID                            func(childComplexity int) int
		LastNotificationSentTimestamp func(childComplexity int) int
		LastStateChangeTimestamp      func(childComplexity int) int
		Source                        func(childComplexity int) int
		SourceEntity                  func(childComplexity int) int
		SourceType                    func(childComplexity int) int
		State                         func(childComplexity int) int
		Target                        func(childComplexity int) int
		TargetEntity                  func(childComplexity int) int
		TargetType                    func(childComplexity int) int
		Value                         func(childComplexity int) int
	}

	FormationAssignmentPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FormationConstraint struct {
		ConstraintScope func(childComplexity int) int
		ConstraintType  func(childComplexity int) int
		CreatedAt       func(childComplexity int) int
		Description     func(childComplexity int) int
		ID              func(childComplexity int) int
		InputTemplate   func(childComplexity int) int
		Name            func(childComplexity int) int
		Operator        func(childComplexity int) int
		Priority        func(childComplexity int) int
		ResourceSubtype func(childComplexity int) int
		ResourceType    func(childComplexity int) int
		TargetOperation func(childComplexity int) int
	}

	FormationError struct {
		ErrorCode func(childComplexity int) int
		Message   func(childComplexity int) int
	}

	FormationPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	FormationStatus struct {
		Condition func(childComplexity int) int
		Errors    func(childComplexity int) int
	}

	FormationStatusError struct {
		AssignmentID func(childComplexity int) int
		ErrorCode    func(childComplexity int) int
		Message      func(childComplexity int) int
	}

	FormationTemplate struct {
		ApplicationTypes       func(childComplexity int) int
		DiscoveryConsumers     func(childComplexity int) int
		FormationConstraints   func(childComplexity int) int
		ID                     func(childComplexity int) int
		LeadingProductIDs      func(childComplexity int) int
		Name                   func(childComplexity int) int
		RuntimeArtifactKind    func(childComplexity int) int
		RuntimeTypeDisplayName func(childComplexity int) int
		RuntimeTypes           func(childComplexity int) int
		SupportsReset          func(childComplexity int) int
		Webhooks               func(childComplexity int) int
	}

	FormationTemplatePage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	HealthCheck struct {
		Condition func(childComplexity int) int
		Message   func(childComplexity int) int
		Origin    func(childComplexity int) int
		Timestamp func(childComplexity int) int
		Type      func(childComplexity int) int
	}

	HealthCheckPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	IntSysSystemAuth struct {
		Auth              func(childComplexity int) int
		ID                func(childComplexity int) int
		ReferenceObjectID func(childComplexity int) int
		TenantID          func(childComplexity int) int
		Type              func(childComplexity int) int
	}

	IntegrationDependency struct {
		Aspects       func(childComplexity int) int
		CreatedAt     func(childComplexity int) int
		DeletedAt     func(childComplexity int) int
		Description   func(childComplexity int) int
		Error         func(childComplexity int) int
		ID            func(childComplexity int) int
		Labels        func(childComplexity int) int
		Mandatory     func(childComplexity int) int
		Name          func(childComplexity int) int
		OrdID         func(childComplexity int) int
		PartOfPackage func(childComplexity int) int
		ReleaseStatus func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
		Version       func(childComplexity int) int
		Visibility    func(childComplexity int) int
	}

	IntegrationDependencyPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	IntegrationSystem struct {
		Auths       func(childComplexity int) int
		Description func(childComplexity int) int
		ID          func(childComplexity int) int
		Name        func(childComplexity int) int
	}

	IntegrationSystemPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	Label struct {
		Key   func(childComplexity int) int
		Value func(childComplexity int) int
	}

	LabelDefinition struct {
		Key    func(childComplexity int) int
		Schema func(childComplexity int) int
	}

	Mutation struct {
		AddAPIDefinitionToApplication                func(childComplexity int, appID string, in APIDefinitionInput) int
		AddAPIDefinitionToBundle                     func(childComplexity int, bundleID string, in APIDefinitionInput) int
		AddBundle                                    func(childComplexity int, applicationID string, in BundleCreateInput) int
		AddDocumentToBundle                          func(childComplexity int, bundleID string, in DocumentInput) int
		AddEventDefinitionToApplication              func(childComplexity int, appID string, in EventDefinitionInput) int
		AddEventDefinitionToBundle                   func(childComplexity int, bundleID string, in EventDefinitionInput) int
		AddIntegrationDependencyToApplication        func(childComplexity int, appID string, in IntegrationDependencyInput) int
		AddTenantAccess                              func(childComplexity int, in TenantAccessInput) int
		AddWebhook                                   func(childComplexity int, applicationID *string, applicationTemplateID *string, runtimeID *string, formationTemplateID *string, in WebhookInput) int
		AssignFormation                              func(childComplexity int, objectID string, objectType FormationObjectType, formation FormationInput) int
		AttachConstraintToFormationTemplate          func(childComplexity int, constraintID string, formationTemplateID string) int
		CreateApplicationTemplate                    func(childComplexity int, in ApplicationTemplateInput) int
		CreateBundleInstanceAuth                     func(childComplexity int, bundleID string, in BundleInstanceAuthCreateInput) int
		CreateCertificateSubjectMapping              func(childComplexity int, in CertificateSubjectMappingInput) int
		CreateFormation                              func(childComplexity int, formation FormationInput) int
		CreateFormationConstraint                    func(childComplexity int, formationConstraint FormationConstraintInput) int
		CreateFormationTemplate                      func(childComplexity int, in FormationTemplateInput) int
		CreateLabelDefinition                        func(childComplexity int, in LabelDefinitionInput) int
		DeleteAPIDefinition                          func(childComplexity int, id string) int
		DeleteApplicationLabel                       func(childComplexity int, applicationID string, key string) int
		DeleteApplicationTemplate                    func(childComplexity int, id string) int
		DeleteBundle                                 func(childComplexity int, id string) int
		DeleteBundleInstanceAuth                     func(childComplexity int, authID string) int
		DeleteCertificateSubjectMapping              func(childComplexity int, id string) int
		DeleteDefaultEventingForApplication          func(childComplexity int, appID string) int
		DeleteDocument                               func(childComplexity int, id string) int
		DeleteEventDefinition                        func(childComplexity int, id string) int
		DeleteFormation                              func(childComplexity int, formation FormationInput) int
		DeleteFormationConstraint                    func(childComplexity int, id string) int
		DeleteFormationTemplate                      func(childComplexity int, id string) int
		DeleteIntegrationDependency                  func(childComplexity int, id string) int
		DeleteRuntimeLabel                           func(childComplexity int, runtimeID string, key string) int
		DeleteSystemAuthForApplication               func(childComplexity int, authID string) int
		DeleteSystemAuthForIntegrationSystem         func(childComplexity int, authID string) int
		DeleteSystemAuthForRuntime                   func(childComplexity int, authID string) int
		DeleteTenants                                func(childComplexity int, in []string) int
		DeleteWebhook                                func(childComplexity int, webhookID string) int
		DetachConstraintFromFormationTemplate        func(childComplexity int, constraintID string, formationTemplateID string) int
		FinalizeDraftFormation                       func(childComplexity int, formationID string) int
		InvalidateSystemAuthOneTimeToken             func(childComplexity int, authID string) int
		MergeApplications                            func(childComplexity int, destinationID string, sourceID string) int
		RefetchAPISpec                               func(childComplexity int, apiID string) int
		RefetchEventDefinitionSpec                   func(childComplexity int, eventID string) int
		RegisterApplication                          func(childComplexity int, in ApplicationRegisterInput, mode *OperationMode) int
		RegisterApplicationFromTemplate              func(childComplexity int, in ApplicationFromTemplateInput) int
		RegisterIntegrationSystem                    func(childComplexity int, in IntegrationSystemInput) int
		RegisterRuntime                              func(childComplexity int, in RuntimeRegisterInput) int
		RegisterRuntimeContext                       func(childComplexity int, runtimeID string, in RuntimeContextInput) int
		RemoveTenantAccess                           func(childComplexity int, tenantID string, resourceID string, resourceType TenantAccessObjectType) int
		RequestBundleInstanceAuthCreation            func(childComplexity int, bundleID string, in BundleInstanceAuthRequestInput) int
		RequestBundleInstanceAuthDeletion            func(childComplexity int, authID string) int
		RequestClientCredentialsForApplication       func(childComplexity int, id string) int
		RequestClientCredentialsForIntegrationSystem func(childComplexity int, id string) int
		RequestClientCredentialsForRuntime           func(childComplexity int, id string) int
		RequestOneTimeTokenForApplication            func(childComplexity int, id string, systemAuthID *string) int
		RequestOneTimeTokenForRuntime                func(childComplexity int, id string, systemAuthID *string) int
		ResynchronizeFormationNotifications          func(childComplexity int, formationID string, reset *bool) int
		SetApplicationLabel                          func(childComplexity int, applicationID string, key string, value interface{}) int
		SetBundleInstanceAuth                        func(childComplexity int, authID string, in BundleInstanceAuthSetInput) int
		SetDefaultEventingForApplication             func(childComplexity int, appID string, runtimeID string) int
		SetRuntimeLabel                              func(childComplexity int, runtimeID string, key string, value interface{}) int
		SetTenantLabel                               func(childComplexity int, tenantID string, key string, value interface{}) int
		SubscribeTenant                              func(childComplexity int, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionAppName string, subscriptionPayload string) int
		UnassignFormation                            func(childComplexity int, objectID string, objectType FormationObjectType, formation FormationInput) int
		UnassignFormationGlobal                      func(childComplexity int, objectID string, objectType FormationObjectType, formation string) int
		UnpairApplication                            func(childComplexity int, id string, mode *OperationMode) int
		UnregisterApplication                        func(childComplexity int, id string, mode *OperationMode) int
		UnregisterIntegrationSystem                  func(childComplexity int, id string) int
		UnregisterRuntime                            func(childComplexity int, id string) int
		UnregisterRuntimeContext                     func(childComplexity int, id string) int
		UnsubscribeTenant                            func(childComplexity int, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionPayload string) int
		UpdateAPIDefinition                          func(childComplexity int, id string, in APIDefinitionInput) int
		UpdateAPIDefinitionForApplication            func(childComplexity int, id string, in APIDefinitionInput) int
		UpdateApplication                            func(childComplexity int, id string, in ApplicationUpdateInput) int
		UpdateApplicationTemplate                    func(childComplexity int, id string, override *bool, in ApplicationTemplateUpdateInput) int
		UpdateBundle                                 func(childComplexity int, id string, in BundleUpdateInput) int
		UpdateBundleInstanceAuth                     func(childComplexity int, id string, bundleID string, in BundleInstanceAuthUpdateInput) int
		UpdateCertificateSubjectMapping              func(childComplexity int, id string, in CertificateSubjectMappingInput) int
		UpdateEventDefinition                        func(childComplexity int, id string, in EventDefinitionInput) int
		UpdateEventDefinitionForApplication          func(childComplexity int, id string, in EventDefinitionInput) int
		UpdateFormationConstraint                    func(childComplexity int, id string, in FormationConstraintUpdateInput) int
		UpdateFormationTemplate                      func(childComplexity int, id string, in FormationTemplateInput) int
		UpdateIntegrationSystem                      func(childComplexity int, id string, in IntegrationSystemInput) int
		UpdateLabelDefinition                        func(childComplexity int, in LabelDefinitionInput) int
		UpdateRuntime                                func(childComplexity int, id string, in RuntimeUpdateInput) int
		UpdateRuntimeContext                         func(childComplexity int, id string, in RuntimeContextInput) int
		UpdateSystemAuth                             func(childComplexity int, authID string, in AuthInput) int
		UpdateTenant                                 func(childComplexity int, id string, in BusinessTenantMappingInput) int
		UpdateWebhook                                func(childComplexity int, webhookID string, in WebhookInput) int
		WriteTenant                                  func(childComplexity int, in BusinessTenantMappingInput) int
		WriteTenants                                 func(childComplexity int, in []*BusinessTenantMappingInput) int
	}

	OAuthCredentialData struct {
		ClientID     func(childComplexity int) int
		ClientSecret func(childComplexity int) int
		URL          func(childComplexity int) int
	}

	OneTimeTokenForApplication struct {
		ConnectorURL       func(childComplexity int) int
		CreatedAt          func(childComplexity int) int
		ExpiresAt          func(childComplexity int) int
		LegacyConnectorURL func(childComplexity int) int
		Raw                func(childComplexity int) int
		RawEncoded         func(childComplexity int) int
		ScenarioGroups     func(childComplexity int) int
		Token              func(childComplexity int) int
		Type               func(childComplexity int) int
		Used               func(childComplexity int) int
		UsedAt             func(childComplexity int) int
	}

	OneTimeTokenForRuntime struct {
		ConnectorURL func(childComplexity int) int
		CreatedAt    func(childComplexity int) int
		ExpiresAt    func(childComplexity int) int
		Raw          func(childComplexity int) int
		RawEncoded   func(childComplexity int) int
		Token        func(childComplexity int) int
		Type         func(childComplexity int) int
		Used         func(childComplexity int) int
		UsedAt       func(childComplexity int) int
	}

	Operation struct {
		CreatedAt     func(childComplexity int) int
		Error         func(childComplexity int) int
		ID            func(childComplexity int) int
		OperationType func(childComplexity int) int
		Status        func(childComplexity int) int
		UpdatedAt     func(childComplexity int) int
	}

	PageInfo struct {
		EndCursor   func(childComplexity int) int
		HasNextPage func(childComplexity int) int
		StartCursor func(childComplexity int) int
	}

	PlaceholderDefinition struct {
		Description func(childComplexity int) int
		JSONPath    func(childComplexity int) int
		Name        func(childComplexity int) int
		Optional    func(childComplexity int) int
	}

	Query struct {
		ApisForApplication                         func(childComplexity int, appID string, first *int, after *PageCursor) int
		Application                                func(childComplexity int, id string) int
		ApplicationByLocalTenantIDAndAppTemplateID func(childComplexity int, localTenantID string, applicationTemplateID string) int
		ApplicationBySystemNumber                  func(childComplexity int, systemNumber string) int
		ApplicationTemplate                        func(childComplexity int, id string) int
		ApplicationTemplates                       func(childComplexity int, filter []*LabelFilter, first *int, after *PageCursor) int
		Applications                               func(childComplexity int, filter []*LabelFilter, first *int, after *PageCursor) int
		ApplicationsByLocalTenantID                func(childComplexity int, localTenantID string, filter []*LabelFilter, first *int, after *PageCursor) int
		ApplicationsForRuntime                     func(childComplexity int, runtimeID string, first *int, after *PageCursor) int
		AutomaticScenarioAssignmentForScenario     func(childComplexity int, scenarioName string) int
		AutomaticScenarioAssignments               func(childComplexity int, first *int, after *PageCursor) int
		AutomaticScenarioAssignmentsForSelector    func(childComplexity int, selector LabelSelectorInput) int
		BundleByInstanceAuth                       func(childComplexity int, authID string) int
		BundleInstanceAuth                         func(childComplexity int, id string) int
		CertificateSubjectMapping                  func(childComplexity int, id string) int
		CertificateSubjectMappings                 func(childComplexity int, first *int, after *PageCursor) int
		EventsForApplication                       func(childComplexity int, appID string, first *int, after *PageCursor) int
		Formation                                  func(childComplexity int, id string) int
		FormationByName                            func(childComplexity int, name string) int
		FormationConstraint                        func(childComplexity int, id string) int
		FormationConstraints                       func(childComplexity int) int
		FormationConstraintsByFormationType        func(childComplexity int, formationTemplateID string) int
		FormationTemplate                          func(childComplexity int, id string) int
		FormationTemplates                         func(childComplexity int, first *int, after *PageCursor) int
		FormationTemplatesByName                   func(childComplexity int, name string, first *int, after *PageCursor) int
		Formations                                 func(childComplexity int, first *int, after *PageCursor) int
		FormationsForObject                        func(childComplexity int, objectID string) int
		HealthChecks                               func(childComplexity int, types []HealthCheckType, origin *string, first *int, after *PageCursor) int
		IntegrationSystem                          func(childComplexity int, id string) int
		IntegrationSystems                         func(childComplexity int, first *int, after *PageCursor) int
		LabelDefinition                            func(childComplexity int, key string) int
		LabelDefinitions                           func(childComplexity int) int
		RootTenants                                func(childComplexity int, externalTenant string) int
		Runtime                                    func(childComplexity int, id string) int
		Runtimes                                   func(childComplexity int, filter []*LabelFilter, first *int, after *PageCursor) int
		SystemAuth                                 func(childComplexity int, id string) int
		SystemAuthByToken                          func(childComplexity int, token string) int
		TenantByExternalID                         func(childComplexity int, id string) int
		TenantByInternalID                         func(childComplexity int, id string) int
		TenantByLowestOwnerForResource             func(childComplexity int, id string, resource string) int
		Tenants                                    func(childComplexity int, first *int, after *PageCursor, searchTerm *string) int
		Viewer                                     func(childComplexity int) int
	}

	Runtime struct {
		ApplicationNamespace  func(childComplexity int) int
		Auths                 func(childComplexity int) int
		Description           func(childComplexity int) int
		EventingConfiguration func(childComplexity int) int
		ID                    func(childComplexity int) int
		Labels                func(childComplexity int, key *string) int
		Metadata              func(childComplexity int) int
		Name                  func(childComplexity int) int
		RuntimeContext        func(childComplexity int, id string) int
		RuntimeContexts       func(childComplexity int, first *int, after *PageCursor) int
		Status                func(childComplexity int) int
		Webhooks              func(childComplexity int) int
	}

	RuntimeContext struct {
		ID     func(childComplexity int) int
		Key    func(childComplexity int) int
		Labels func(childComplexity int, key *string) int
		Value  func(childComplexity int) int
	}

	RuntimeContextPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	RuntimeEventingConfiguration struct {
		DefaultURL func(childComplexity int) int
	}

	RuntimeMetadata struct {
		CreationTimestamp func(childComplexity int) int
	}

	RuntimePage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	RuntimeStatus struct {
		Condition func(childComplexity int) int
		Timestamp func(childComplexity int) int
	}

	RuntimeSystemAuth struct {
		Auth              func(childComplexity int) int
		ID                func(childComplexity int) int
		ReferenceObjectID func(childComplexity int) int
		TenantID          func(childComplexity int) int
		Type              func(childComplexity int) int
	}

	Tenant struct {
		ID          func(childComplexity int) int
		Initialized func(childComplexity int) int
		InternalID  func(childComplexity int) int
		Labels      func(childComplexity int, key *string) int
		Name        func(childComplexity int) int
		Parents     func(childComplexity int) int
		Provider    func(childComplexity int) int
		Type        func(childComplexity int) int
	}

	TenantAccess struct {
		Owner        func(childComplexity int) int
		ResourceID   func(childComplexity int) int
		ResourceType func(childComplexity int) int
		TenantID     func(childComplexity int) int
	}

	TenantPage struct {
		Data       func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	Version struct {
		Deprecated      func(childComplexity int) int
		DeprecatedSince func(childComplexity int) int
		ForRemoval      func(childComplexity int) int
		Value           func(childComplexity int) int
	}

	Viewer struct {
		ID   func(childComplexity int) int
		Type func(childComplexity int) int
	}

	Webhook struct {
		ApplicationID         func(childComplexity int) int
		ApplicationTemplateID func(childComplexity int) int
		Auth                  func(childComplexity int) int
		CorrelationIDKey      func(childComplexity int) int
		CreatedAt             func(childComplexity int) int
		FormationTemplateID   func(childComplexity int) int
		HeaderTemplate        func(childComplexity int) int
		ID                    func(childComplexity int) int
		InputTemplate         func(childComplexity int) int
		IntegrationSystemID   func(childComplexity int) int
		Mode                  func(childComplexity int) int
		OutputTemplate        func(childComplexity int) int
		RetryInterval         func(childComplexity int) int
		RuntimeID             func(childComplexity int) int
		StatusTemplate        func(childComplexity int) int
		Timeout               func(childComplexity int) int
		Type                  func(childComplexity int) int
		URL                   func(childComplexity int) int
		URLTemplate           func(childComplexity int) int
	}
}

type Config

type Config struct {
	Schema     *ast.Schema
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type ConstraintReference

type ConstraintReference struct {
	ConstraintID        string `json:"constraintID"`
	FormationTemplateID string `json:"formationTemplateID"`
}

type ConstraintScope

type ConstraintScope string
const (
	ConstraintScopeGlobal        ConstraintScope = "GLOBAL"
	ConstraintScopeFormationType ConstraintScope = "FORMATION_TYPE"
)

func (ConstraintScope) IsValid

func (e ConstraintScope) IsValid() bool

func (ConstraintScope) MarshalGQL

func (e ConstraintScope) MarshalGQL(w io.Writer)

func (ConstraintScope) String

func (e ConstraintScope) String() string

func (*ConstraintScope) UnmarshalGQL

func (e *ConstraintScope) UnmarshalGQL(v interface{}) error

type ConstraintType

type ConstraintType string
const (
	ConstraintTypePre  ConstraintType = "PRE"
	ConstraintTypePost ConstraintType = "POST"
	ConstraintTypeUI   ConstraintType = "UI"
)

func (ConstraintType) IsValid

func (e ConstraintType) IsValid() bool

func (ConstraintType) MarshalGQL

func (e ConstraintType) MarshalGQL(w io.Writer)

func (ConstraintType) String

func (e ConstraintType) String() string

func (*ConstraintType) UnmarshalGQL

func (e *ConstraintType) UnmarshalGQL(v interface{}) error

type CredentialData

type CredentialData interface {
	IsCredentialData()
}

type CredentialDataInput

type CredentialDataInput struct {
	Basic            *BasicCredentialDataInput            `json:"basic,omitempty"`
	Oauth            *OAuthCredentialDataInput            `json:"oauth,omitempty"`
	CertificateOAuth *CertificateOAuthCredentialDataInput `json:"certificateOAuth,omitempty"`
}

**Validation:** basic or oauth or certificateOAuth field required

func (CredentialDataInput) Validate

func (i CredentialDataInput) Validate() error

Validate missing godoc

type CredentialRequestAuth

type CredentialRequestAuth struct {
	Csrf *CSRFTokenCredentialRequestAuth `json:"csrf,omitempty"`
}

type CredentialRequestAuthInput

type CredentialRequestAuthInput struct {
	// **Validation:** required
	Csrf *CSRFTokenCredentialRequestAuthInput `json:"csrf,omitempty"`
}

func (CredentialRequestAuthInput) Validate

func (i CredentialRequestAuthInput) Validate() error

Validate missing godoc

type DirectiveRoot

type DirectiveRoot struct {
	Async                         func(ctx context.Context, obj interface{}, next graphql.Resolver, operationType OperationType, webhookType *WebhookType, idField *string) (res interface{}, err error)
	HasScenario                   func(ctx context.Context, obj interface{}, next graphql.Resolver, applicationProvider string, idField string) (res interface{}, err error)
	HasScopes                     func(ctx context.Context, obj interface{}, next graphql.Resolver, path string) (res interface{}, err error)
	Sanitize                      func(ctx context.Context, obj interface{}, next graphql.Resolver, path string) (res interface{}, err error)
	SynchronizeApplicationTenancy func(ctx context.Context, obj interface{}, next graphql.Resolver, eventType EventType) (res interface{}, err error)
	Validate                      func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
}

type Document

type Document struct {
	BundleID    string         `json:"bundleID"`
	Title       string         `json:"title"`
	DisplayName string         `json:"displayName"`
	Description string         `json:"description"`
	Format      DocumentFormat `json:"format"`
	// for example Service Class, API etc
	Kind *string `json:"kind"`
	Data *CLOB   `json:"data"`
	*BaseEntity
}

Document missing godoc

func (*Document) GetType

func (e *Document) GetType() resource.Type

GetType missing godoc

type DocumentExt

type DocumentExt struct {
	Document
	FetchRequest *FetchRequest `json:"fetchRequest"`
}

DocumentExt missing godoc

type DocumentFormat

type DocumentFormat string
const (
	DocumentFormatMarkdown DocumentFormat = "MARKDOWN"
)

func (DocumentFormat) IsValid

func (e DocumentFormat) IsValid() bool

func (DocumentFormat) MarshalGQL

func (e DocumentFormat) MarshalGQL(w io.Writer)

func (DocumentFormat) String

func (e DocumentFormat) String() string

func (*DocumentFormat) UnmarshalGQL

func (e *DocumentFormat) UnmarshalGQL(v interface{}) error

type DocumentInput

type DocumentInput struct {
	// **Validation:** max=128
	Title string `json:"title"`
	// **Validation:** max=128
	DisplayName string `json:"displayName"`
	// **Validation:** max=2000
	Description string         `json:"description"`
	Format      DocumentFormat `json:"format"`
	// **Validation:** max=256
	Kind         *string            `json:"kind,omitempty"`
	Data         *CLOB              `json:"data,omitempty"`
	FetchRequest *FetchRequestInput `json:"fetchRequest,omitempty"`
}

func (DocumentInput) Validate

func (i DocumentInput) Validate() error

Validate missing godoc

type DocumentPage

type DocumentPage struct {
	Data       []*Document `json:"data"`
	PageInfo   *PageInfo   `json:"pageInfo"`
	TotalCount int         `json:"totalCount"`
}

func (DocumentPage) IsPageable

func (DocumentPage) IsPageable()

type DocumentPageExt

type DocumentPageExt struct {
	DocumentPage
	Data []*DocumentExt `json:"data"`
}

DocumentPageExt is an extended type used by external API

type DocumentResolver

type DocumentResolver interface {
	FetchRequest(ctx context.Context, obj *Document) (*FetchRequest, error)
}

type Entity

type Entity interface {
	GetID() string
	GetType() resource.Type
}

Entity missing godoc

type EventAPIDefinitionExt

type EventAPIDefinitionExt struct {
	EventDefinition
	Spec *EventAPISpecExt `json:"spec"`
}

EventAPIDefinitionExt missing godoc

type EventAPIDefinitionPageExt

type EventAPIDefinitionPageExt struct {
	EventDefinitionPage
	Data []*EventAPIDefinitionExt `json:"data"`
}

EventAPIDefinitionPageExt is an extended types used by external API

type EventAPISpecExt

type EventAPISpecExt struct {
	EventSpec
	FetchRequest *FetchRequest `json:"fetchRequest"`
}

EventAPISpecExt missing godoc

type EventDefinition

type EventDefinition struct {
	BundleID    string  `json:"bundleID"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	// group allows you to find the same API but in different version
	Group   *string    `json:"group"`
	Spec    *EventSpec `json:"spec"`
	Version *Version   `json:"version"`
	*BaseEntity
}

EventDefinition missing godoc

func (*EventDefinition) GetType

func (e *EventDefinition) GetType() resource.Type

GetType missing godoc

type EventDefinitionInput

type EventDefinitionInput struct {
	// **Validation:** ASCII printable characters, max=100
	Name string `json:"name"`
	// **Validation:** max=2000
	Description *string         `json:"description,omitempty"`
	Spec        *EventSpecInput `json:"spec,omitempty"`
	// **Validation:** max=36
	Group   *string       `json:"group,omitempty"`
	Version *VersionInput `json:"version,omitempty"`
}

func (EventDefinitionInput) Validate

func (i EventDefinitionInput) Validate() error

Validate missing godoc

type EventDefinitionPage

type EventDefinitionPage struct {
	Data       []*EventDefinition `json:"data"`
	PageInfo   *PageInfo          `json:"pageInfo"`
	TotalCount int                `json:"totalCount"`
}

func (EventDefinitionPage) IsPageable

func (EventDefinitionPage) IsPageable()

type EventDefinitionResolver

type EventDefinitionResolver interface {
	Spec(ctx context.Context, obj *EventDefinition) (*EventSpec, error)
}

type EventSpec

type EventSpec struct {
	ID           string        `json:"id"`
	Data         *CLOB         `json:"data"`
	Type         EventSpecType `json:"type"`
	Format       SpecFormat    `json:"format"`
	DefinitionID string        // Needed to resolve FetchRequest for given APISpec
}

EventSpec missing godoc

type EventSpecInput

type EventSpecInput struct {
	Data         *CLOB              `json:"data,omitempty"`
	Type         EventSpecType      `json:"type"`
	Format       SpecFormat         `json:"format"`
	FetchRequest *FetchRequestInput `json:"fetchRequest,omitempty"`
}

**Validation:** - data or fetchRequest required - for ASYNC_API type, accepted formats are YAML and JSON

func (EventSpecInput) Validate

func (i EventSpecInput) Validate() error

Validate missing godoc

type EventSpecResolver

type EventSpecResolver interface {
	FetchRequest(ctx context.Context, obj *EventSpec) (*FetchRequest, error)
}

type EventSpecType

type EventSpecType string
const (
	EventSpecTypeAsyncAPI EventSpecType = "ASYNC_API"
)

func (EventSpecType) IsValid

func (e EventSpecType) IsValid() bool

func (EventSpecType) MarshalGQL

func (e EventSpecType) MarshalGQL(w io.Writer)

func (EventSpecType) String

func (e EventSpecType) String() string

func (*EventSpecType) UnmarshalGQL

func (e *EventSpecType) UnmarshalGQL(v interface{}) error

type EventType

type EventType string
const (
	EventTypeNewApplication     EventType = "NEW_APPLICATION"
	EventTypeNewSingleTenant    EventType = "NEW_SINGLE_TENANT"
	EventTypeNewMultipleTenants EventType = "NEW_MULTIPLE_TENANTS"
)

func (EventType) IsValid

func (e EventType) IsValid() bool

func (EventType) MarshalGQL

func (e EventType) MarshalGQL(w io.Writer)

func (EventType) String

func (e EventType) String() string

func (*EventType) UnmarshalGQL

func (e *EventType) UnmarshalGQL(v interface{}) error

type FetchMode

type FetchMode string
const (
	FetchModeSingle FetchMode = "SINGLE"
	FetchModeBundle FetchMode = "BUNDLE"
	FetchModeIndex  FetchMode = "INDEX"
)

func (FetchMode) IsValid

func (e FetchMode) IsValid() bool

func (FetchMode) MarshalGQL

func (e FetchMode) MarshalGQL(w io.Writer)

func (FetchMode) String

func (e FetchMode) String() string

func (*FetchMode) UnmarshalGQL

func (e *FetchMode) UnmarshalGQL(v interface{}) error

type FetchRequest

type FetchRequest struct {
	URL    string              `json:"url"`
	Auth   *Auth               `json:"auth,omitempty"`
	Mode   FetchMode           `json:"mode"`
	Filter *string             `json:"filter,omitempty"`
	Status *FetchRequestStatus `json:"status"`
}

Compass performs fetch to validate if request is correct and stores a copy

type FetchRequestInput

type FetchRequestInput struct {
	// **Validation:** valid URL, max=256
	URL string `json:"url"`
	// Currently unsupported, providing it will result in a failure
	Auth *AuthInput `json:"auth,omitempty"`
	// Currently unsupported, providing it will result in a failure
	Mode *FetchMode `json:"mode,omitempty"`
	// **Validation:** max=256
	// Currently unsupported, providing it will result in a failure
	Filter *string `json:"filter,omitempty"`
}

func (FetchRequestInput) Validate

func (i FetchRequestInput) Validate() error

Validate missing godoc

type FetchRequestStatus

type FetchRequestStatus struct {
	Condition FetchRequestStatusCondition `json:"condition"`
	Message   *string                     `json:"message,omitempty"`
	Timestamp Timestamp                   `json:"timestamp"`
}

type FetchRequestStatusCondition

type FetchRequestStatusCondition string
const (
	FetchRequestStatusConditionInitial   FetchRequestStatusCondition = "INITIAL"
	FetchRequestStatusConditionSucceeded FetchRequestStatusCondition = "SUCCEEDED"
	FetchRequestStatusConditionFailed    FetchRequestStatusCondition = "FAILED"
)

func (FetchRequestStatusCondition) IsValid

func (e FetchRequestStatusCondition) IsValid() bool

func (FetchRequestStatusCondition) MarshalGQL

func (e FetchRequestStatusCondition) MarshalGQL(w io.Writer)

func (FetchRequestStatusCondition) String

func (*FetchRequestStatusCondition) UnmarshalGQL

func (e *FetchRequestStatusCondition) UnmarshalGQL(v interface{}) error

type Formation

type Formation struct {
	ID                            string         `json:"id"`
	Name                          string         `json:"name"`
	TenantID                      string         `json:"tenantID"`
	FormationTemplateID           string         `json:"formationTemplateId"`
	State                         string         `json:"state"`
	Error                         FormationError `json:"error"`
	LastStateChangeTimestamp      *Timestamp     `json:"lastStateChangeTimestamp"`
	LastNotificationSentTimestamp *Timestamp     `json:"lastNotificationSentTimestamp"`
}

Formation missing godoc

type FormationAssignment

type FormationAssignment struct {
	ID                            string                  `json:"id"`
	Source                        string                  `json:"source"`
	SourceType                    FormationAssignmentType `json:"sourceType"`
	Target                        string                  `json:"target"`
	TargetType                    FormationAssignmentType `json:"targetType"`
	State                         string                  `json:"state"`
	Value                         *string                 `json:"value"`
	Configuration                 *string                 `json:"configuration"`
	Error                         *string                 `json:"error"`
	LastStateChangeTimestamp      *Timestamp              `json:"lastStateChangeTimestamp"`
	LastNotificationSentTimestamp *Timestamp              `json:"lastNotificationSentTimestamp"`
}

FormationAssignment is a formation assignment graphQL type

type FormationAssignmentExt

type FormationAssignmentExt struct {
	FormationAssignment
	SourceEntity FormationParticipant
	TargetEntity FormationParticipant
}

FormationAssignmentExt is an extended types used by external API

type FormationAssignmentPage

type FormationAssignmentPage struct {
	Data       []*FormationAssignment `json:"data"`
	PageInfo   *PageInfo              `json:"pageInfo"`
	TotalCount int                    `json:"totalCount"`
}

func (FormationAssignmentPage) IsPageable

func (FormationAssignmentPage) IsPageable()

type FormationAssignmentPageExt

type FormationAssignmentPageExt struct {
	FormationAssignmentPage
	Data []*FormationAssignmentExt `json:"data"`
}

FormationAssignmentPageExt is an extended types used by external API

type FormationAssignmentResolver

type FormationAssignmentResolver interface {
	SourceEntity(ctx context.Context, obj *FormationAssignment) (FormationParticipant, error)

	TargetEntity(ctx context.Context, obj *FormationAssignment) (FormationParticipant, error)
}

type FormationAssignmentType

type FormationAssignmentType string
const (
	FormationAssignmentTypeApplication    FormationAssignmentType = "APPLICATION"
	FormationAssignmentTypeRuntime        FormationAssignmentType = "RUNTIME"
	FormationAssignmentTypeRuntimeContext FormationAssignmentType = "RUNTIME_CONTEXT"
)

func (FormationAssignmentType) IsValid

func (e FormationAssignmentType) IsValid() bool

func (FormationAssignmentType) MarshalGQL

func (e FormationAssignmentType) MarshalGQL(w io.Writer)

func (FormationAssignmentType) String

func (e FormationAssignmentType) String() string

func (*FormationAssignmentType) UnmarshalGQL

func (e *FormationAssignmentType) UnmarshalGQL(v interface{}) error

type FormationConstraint

type FormationConstraint struct {
	ID              string    `json:"id"`
	Name            string    `json:"name"`
	Description     string    `json:"description"`
	ConstraintType  string    `json:"constraintType"`
	TargetOperation string    `json:"targetOperation"`
	Operator        string    `json:"operator"`
	ResourceType    string    `json:"resourceType"`
	ResourceSubtype string    `json:"resourceSubtype"`
	InputTemplate   string    `json:"inputTemplate"`
	ConstraintScope string    `json:"constraintScope"`
	Priority        int       `json:"priority"`
	CreatedAt       Timestamp `json:"createdAt"`
}

type FormationConstraintInput

type FormationConstraintInput struct {
	Name            string          `json:"name"`
	Description     *string         `json:"description,omitempty"`
	ConstraintType  ConstraintType  `json:"constraintType"`
	TargetOperation TargetOperation `json:"targetOperation"`
	Operator        string          `json:"operator"`
	ResourceType    ResourceType    `json:"resourceType"`
	ResourceSubtype string          `json:"resourceSubtype"`
	InputTemplate   string          `json:"inputTemplate"`
	ConstraintScope ConstraintScope `json:"constraintScope"`
	Priority        *int            `json:"priority,omitempty"`
}

func (FormationConstraintInput) Validate

func (i FormationConstraintInput) Validate() error

Validate validates FormationConstraintInput

type FormationConstraintUpdateInput

type FormationConstraintUpdateInput struct {
	InputTemplate string  `json:"inputTemplate"`
	Priority      *int    `json:"priority,omitempty"`
	Description   *string `json:"description,omitempty"`
}

type FormationError

type FormationError struct {
	Message   string `json:"message"`
	ErrorCode int    `json:"errorCode"`
}

type FormationExt

type FormationExt struct {
	Formation
	FormationAssignment  FormationAssignment     `json:"formationAssignment"`
	FormationAssignments FormationAssignmentPage `json:"formationAssignments"`
	Status               FormationStatus         `json:"status"`
}

FormationExt is an extended types used by external API

type FormationInput

type FormationInput struct {
	Name         string  `json:"name"`
	TemplateName *string `json:"templateName,omitempty"`
	// The initial state of the newly created formation.
	// It is used in specific use-cases by internal components that need to manipulate the formation notification engine's logic and hold the tenant mapping notifications until a certain external event happens.
	State *string `json:"state,omitempty"`
}

func (FormationInput) Validate

func (i FormationInput) Validate() error

Validate missing godoc

type FormationObjectType

type FormationObjectType string
const (
	FormationObjectTypeApplication    FormationObjectType = "APPLICATION"
	FormationObjectTypeTenant         FormationObjectType = "TENANT"
	FormationObjectTypeRuntime        FormationObjectType = "RUNTIME"
	FormationObjectTypeRuntimeContext FormationObjectType = "RUNTIME_CONTEXT"
)

func (FormationObjectType) IsValid

func (e FormationObjectType) IsValid() bool

func (FormationObjectType) MarshalGQL

func (e FormationObjectType) MarshalGQL(w io.Writer)

func (FormationObjectType) String

func (e FormationObjectType) String() string

func (*FormationObjectType) UnmarshalGQL

func (e *FormationObjectType) UnmarshalGQL(v interface{}) error

type FormationPage

type FormationPage struct {
	Data       []*Formation `json:"data"`
	PageInfo   *PageInfo    `json:"pageInfo"`
	TotalCount int          `json:"totalCount"`
}

func (FormationPage) IsPageable

func (FormationPage) IsPageable()

type FormationPageExt

type FormationPageExt struct {
	FormationPage
	Data []*FormationExt `json:"data"`
}

FormationPageExt is an extended types used by external API

type FormationParticipant

type FormationParticipant interface {
	IsFormationParticipant()
}

type FormationResolver

type FormationResolver interface {
	FormationAssignment(ctx context.Context, obj *Formation, id string) (*FormationAssignment, error)
	FormationAssignments(ctx context.Context, obj *Formation, first *int, after *PageCursor) (*FormationAssignmentPage, error)
	Status(ctx context.Context, obj *Formation) (*FormationStatus, error)
}

type FormationStatus

type FormationStatus struct {
	Condition FormationStatusCondition `json:"condition"`
	Errors    []*FormationStatusError  `json:"errors,omitempty"`
}

type FormationStatusCondition

type FormationStatusCondition string
const (
	FormationStatusConditionInProgress FormationStatusCondition = "IN_PROGRESS"
	FormationStatusConditionError      FormationStatusCondition = "ERROR"
	FormationStatusConditionReady      FormationStatusCondition = "READY"
	FormationStatusConditionDraft      FormationStatusCondition = "DRAFT"
)

func (FormationStatusCondition) IsValid

func (e FormationStatusCondition) IsValid() bool

func (FormationStatusCondition) MarshalGQL

func (e FormationStatusCondition) MarshalGQL(w io.Writer)

func (FormationStatusCondition) String

func (e FormationStatusCondition) String() string

func (*FormationStatusCondition) UnmarshalGQL

func (e *FormationStatusCondition) UnmarshalGQL(v interface{}) error

type FormationStatusError

type FormationStatusError struct {
	AssignmentID *string `json:"assignmentID,omitempty"`
	Message      string  `json:"message"`
	ErrorCode    int     `json:"errorCode"`
}

type FormationTemplate

type FormationTemplate struct {
	ID                     string        `json:"id"`
	Name                   string        `json:"name"`
	ApplicationTypes       []string      `json:"applicationTypes"`
	RuntimeTypes           []string      `json:"runtimeTypes"`
	RuntimeTypeDisplayName *string       `json:"runtimeTypeDisplayName"`
	RuntimeArtifactKind    *ArtifactType `json:"runtimeArtifactKind"`
	Webhooks               []*Webhook    `json:"webhooks"`
	LeadingProductIDs      []string      `json:"leadingProductIDs"`
	SupportsReset          bool          `json:"supportsReset"`
	DiscoveryConsumers     []string      `json:"discoveryConsumers"`
}

FormationTemplate represents the Formation Template object

type FormationTemplateExt

type FormationTemplateExt struct {
	FormationTemplate
	FormationConstraints []FormationConstraint `json:"formationConstraints"`
}

FormationTemplateExt is an extended types used by external API

type FormationTemplateInput

type FormationTemplateInput struct {
	Name                   string          `json:"name"`
	ApplicationTypes       []string        `json:"applicationTypes"`
	RuntimeTypes           []string        `json:"runtimeTypes,omitempty"`
	RuntimeTypeDisplayName *string         `json:"runtimeTypeDisplayName,omitempty"`
	RuntimeArtifactKind    *ArtifactType   `json:"runtimeArtifactKind,omitempty"`
	Webhooks               []*WebhookInput `json:"webhooks,omitempty"`
	LeadingProductIDs      []string        `json:"leadingProductIDs,omitempty"`
	SupportsReset          *bool           `json:"supportsReset,omitempty"`
	DiscoveryConsumers     []string        `json:"discoveryConsumers,omitempty"`
}

func (FormationTemplateInput) Validate

func (i FormationTemplateInput) Validate() error

Validate missing godoc

type FormationTemplatePage

type FormationTemplatePage struct {
	Data       []*FormationTemplate `json:"data"`
	PageInfo   *PageInfo            `json:"pageInfo"`
	TotalCount int                  `json:"totalCount"`
}

func (FormationTemplatePage) IsPageable

func (FormationTemplatePage) IsPageable()

type FormationTemplateResolver

type FormationTemplateResolver interface {
	Webhooks(ctx context.Context, obj *FormationTemplate) ([]*Webhook, error)

	FormationConstraints(ctx context.Context, obj *FormationTemplate) ([]*FormationConstraint, error)
}

type HTTPHeaders

type HTTPHeaders map[string][]string

HTTPHeaders missing godoc

func (HTTPHeaders) MarshalGQL

func (y HTTPHeaders) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*HTTPHeaders) UnmarshalGQL

func (y *HTTPHeaders) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type HTTPHeadersSerialized

type HTTPHeadersSerialized string

HTTPHeadersSerialized missing godoc

func NewHTTPHeadersSerialized

func NewHTTPHeadersSerialized(h map[string][]string) (HTTPHeadersSerialized, error)

NewHTTPHeadersSerialized missing godoc

func (*HTTPHeadersSerialized) Unmarshal

func (y *HTTPHeadersSerialized) Unmarshal() (map[string][]string, error)

Unmarshal missing godoc

type HealthCheck

type HealthCheck struct {
	Type      HealthCheckType            `json:"type"`
	Condition HealthCheckStatusCondition `json:"condition"`
	Origin    *string                    `json:"origin,omitempty"`
	Message   *string                    `json:"message,omitempty"`
	Timestamp Timestamp                  `json:"timestamp"`
}

type HealthCheckPage

type HealthCheckPage struct {
	Data       []*HealthCheck `json:"data"`
	PageInfo   *PageInfo      `json:"pageInfo"`
	TotalCount int            `json:"totalCount"`
}

func (HealthCheckPage) IsPageable

func (HealthCheckPage) IsPageable()

type HealthCheckStatusCondition

type HealthCheckStatusCondition string
const (
	HealthCheckStatusConditionSucceeded HealthCheckStatusCondition = "SUCCEEDED"
	HealthCheckStatusConditionFailed    HealthCheckStatusCondition = "FAILED"
)

func (HealthCheckStatusCondition) IsValid

func (e HealthCheckStatusCondition) IsValid() bool

func (HealthCheckStatusCondition) MarshalGQL

func (e HealthCheckStatusCondition) MarshalGQL(w io.Writer)

func (HealthCheckStatusCondition) String

func (*HealthCheckStatusCondition) UnmarshalGQL

func (e *HealthCheckStatusCondition) UnmarshalGQL(v interface{}) error

type HealthCheckType

type HealthCheckType string
const (
	HealthCheckTypeManagementPlaneApplicationHealthcheck HealthCheckType = "MANAGEMENT_PLANE_APPLICATION_HEALTHCHECK"
)

func (HealthCheckType) IsValid

func (e HealthCheckType) IsValid() bool

func (HealthCheckType) MarshalGQL

func (e HealthCheckType) MarshalGQL(w io.Writer)

func (HealthCheckType) String

func (e HealthCheckType) String() string

func (*HealthCheckType) UnmarshalGQL

func (e *HealthCheckType) UnmarshalGQL(v interface{}) error

type IntSysSystemAuth

type IntSysSystemAuth struct {
	ID                string                   `json:"id"`
	Auth              *Auth                    `json:"auth,omitempty"`
	Type              *SystemAuthReferenceType `json:"type,omitempty"`
	TenantID          *string                  `json:"tenantId,omitempty"`
	ReferenceObjectID *string                  `json:"referenceObjectId,omitempty"`
}

func (IntSysSystemAuth) IsSystemAuth

func (IntSysSystemAuth) IsSystemAuth()

type IntegrationDependency

type IntegrationDependency struct {
	Name          string    `json:"name"`
	Description   *string   `json:"description"`
	OrdID         *string   `json:"ordID"`
	PartOfPackage *string   `json:"partOfPackage"`
	Visibility    *string   `json:"visibility"`
	ReleaseStatus *string   `json:"releaseStatus"`
	Mandatory     *bool     `json:"mandatory"`
	Aspects       []*Aspect `json:"aspects"`
	Version       *Version  `json:"version"`
	Labels        Labels    `json:"labels"`
	*BaseEntity
}

IntegrationDependency represents the Integration Dependency object

type IntegrationDependencyInput

type IntegrationDependencyInput struct {
	Name          string         `json:"name"`
	Description   *string        `json:"description,omitempty"`
	OrdID         string         `json:"ordID"`
	PartOfPackage *string        `json:"partOfPackage,omitempty"`
	Visibility    *string        `json:"visibility,omitempty"`
	ReleaseStatus *string        `json:"releaseStatus,omitempty"`
	Mandatory     *bool          `json:"mandatory,omitempty"`
	Aspects       []*AspectInput `json:"aspects,omitempty"`
	Version       *VersionInput  `json:"version,omitempty"`
	Labels        Labels         `json:"labels,omitempty"`
}

func (IntegrationDependencyInput) Validate

func (i IntegrationDependencyInput) Validate() error

Validate validates IntegrationDependencyInput object

type IntegrationDependencyPage

type IntegrationDependencyPage struct {
	Data       []*IntegrationDependency `json:"data"`
	PageInfo   *PageInfo                `json:"pageInfo"`
	TotalCount int                      `json:"totalCount"`
}

func (IntegrationDependencyPage) IsPageable

func (IntegrationDependencyPage) IsPageable()

type IntegrationSystem

type IntegrationSystem struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
}

IntegrationSystem missing godoc

type IntegrationSystemExt

type IntegrationSystemExt struct {
	IntegrationSystem
	Auths []*IntSysSystemAuth `json:"auths"`
}

IntegrationSystemExt missing godoc

type IntegrationSystemInput

type IntegrationSystemInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:** max=2000
	Description *string `json:"description,omitempty"`
}

func (IntegrationSystemInput) Validate

func (i IntegrationSystemInput) Validate() error

Validate missing godoc

type IntegrationSystemPage

type IntegrationSystemPage struct {
	Data       []*IntegrationSystem `json:"data"`
	PageInfo   *PageInfo            `json:"pageInfo"`
	TotalCount int                  `json:"totalCount"`
}

func (IntegrationSystemPage) IsPageable

func (IntegrationSystemPage) IsPageable()

type IntegrationSystemPageExt

type IntegrationSystemPageExt struct {
	IntegrationSystemPage
	Data []*IntegrationSystemExt `json:"data"`
}

IntegrationSystemPageExt is an extended types used by external API

type IntegrationSystemResolver

type IntegrationSystemResolver interface {
	Auths(ctx context.Context, obj *IntegrationSystem) ([]*IntSysSystemAuth, error)
}

type JSON

type JSON string

JSON missing godoc

func (JSON) MarshalGQL

func (j JSON) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*JSON) UnmarshalGQL

func (j *JSON) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type JSONSchema

type JSONSchema string

JSONSchema missing godoc

func MarshalSchema

func MarshalSchema(input *interface{}) (*JSONSchema, error)

MarshalSchema missing godoc

func (JSONSchema) MarshalGQL

func (j JSONSchema) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*JSONSchema) Unmarshal

func (j *JSONSchema) Unmarshal() (*interface{}, error)

Unmarshal missing godoc

func (*JSONSchema) UnmarshalGQL

func (j *JSONSchema) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type Label

type Label struct {
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

type LabelDefinition

type LabelDefinition struct {
	Key    string      `json:"key"`
	Schema *JSONSchema `json:"schema,omitempty"`
}

type LabelDefinitionInput

type LabelDefinitionInput struct {
	// **Validation:** max=256, alphanumeric chartacters and underscore
	Key    string      `json:"key"`
	Schema *JSONSchema `json:"schema,omitempty"`
}

func (LabelDefinitionInput) Validate

func (i LabelDefinitionInput) Validate() error

Validate missing godoc

type LabelFilter

type LabelFilter struct {
	// Label key. If query for the filter is not provided, returns every object with given label key regardless of its value.
	Key string `json:"key"`
	// Optional SQL/JSON Path expression. If query is not provided, returns every object with given label key regardless of its value.
	// Currently only a limited subset of expressions is supported.
	Query *string `json:"query,omitempty"`
}

type LabelInput

type LabelInput struct {
	// **Validation:** max=256, alphanumeric chartacters and underscore
	Key   string      `json:"key"`
	Value interface{} `json:"value"`
}

func (LabelInput) Validate

func (i LabelInput) Validate() error

Validate missing godoc

type LabelSelectorInput

type LabelSelectorInput struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (LabelSelectorInput) Validate

func (i LabelSelectorInput) Validate() error

Validate validates the ASA selector

type Labels

type Labels map[string]interface{}

Labels missing godoc

func (Labels) MarshalGQL

func (y Labels) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*Labels) UnmarshalGQL

func (y *Labels) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type Mutation

type Mutation struct {
}

type MutationResolver

type MutationResolver interface {
	RegisterApplication(ctx context.Context, in ApplicationRegisterInput, mode *OperationMode) (*Application, error)
	UpdateApplication(ctx context.Context, id string, in ApplicationUpdateInput) (*Application, error)
	UnregisterApplication(ctx context.Context, id string, mode *OperationMode) (*Application, error)
	UnpairApplication(ctx context.Context, id string, mode *OperationMode) (*Application, error)
	CreateApplicationTemplate(ctx context.Context, in ApplicationTemplateInput) (*ApplicationTemplate, error)
	RegisterApplicationFromTemplate(ctx context.Context, in ApplicationFromTemplateInput) (*Application, error)
	UpdateApplicationTemplate(ctx context.Context, id string, override *bool, in ApplicationTemplateUpdateInput) (*ApplicationTemplate, error)
	DeleteApplicationTemplate(ctx context.Context, id string) (*ApplicationTemplate, error)
	MergeApplications(ctx context.Context, destinationID string, sourceID string) (*Application, error)
	RegisterRuntime(ctx context.Context, in RuntimeRegisterInput) (*Runtime, error)
	UpdateRuntime(ctx context.Context, id string, in RuntimeUpdateInput) (*Runtime, error)
	UnregisterRuntime(ctx context.Context, id string) (*Runtime, error)
	RegisterRuntimeContext(ctx context.Context, runtimeID string, in RuntimeContextInput) (*RuntimeContext, error)
	UpdateRuntimeContext(ctx context.Context, id string, in RuntimeContextInput) (*RuntimeContext, error)
	UnregisterRuntimeContext(ctx context.Context, id string) (*RuntimeContext, error)
	RegisterIntegrationSystem(ctx context.Context, in IntegrationSystemInput) (*IntegrationSystem, error)
	UpdateIntegrationSystem(ctx context.Context, id string, in IntegrationSystemInput) (*IntegrationSystem, error)
	UnregisterIntegrationSystem(ctx context.Context, id string) (*IntegrationSystem, error)
	AddWebhook(ctx context.Context, applicationID *string, applicationTemplateID *string, runtimeID *string, formationTemplateID *string, in WebhookInput) (*Webhook, error)
	UpdateWebhook(ctx context.Context, webhookID string, in WebhookInput) (*Webhook, error)
	DeleteWebhook(ctx context.Context, webhookID string) (*Webhook, error)
	AddAPIDefinitionToBundle(ctx context.Context, bundleID string, in APIDefinitionInput) (*APIDefinition, error)
	AddAPIDefinitionToApplication(ctx context.Context, appID string, in APIDefinitionInput) (*APIDefinition, error)
	UpdateAPIDefinition(ctx context.Context, id string, in APIDefinitionInput) (*APIDefinition, error)
	UpdateAPIDefinitionForApplication(ctx context.Context, id string, in APIDefinitionInput) (*APIDefinition, error)
	DeleteAPIDefinition(ctx context.Context, id string) (*APIDefinition, error)
	RefetchAPISpec(ctx context.Context, apiID string) (*APISpec, error)
	AddIntegrationDependencyToApplication(ctx context.Context, appID string, in IntegrationDependencyInput) (*IntegrationDependency, error)
	DeleteIntegrationDependency(ctx context.Context, id string) (*IntegrationDependency, error)
	RequestOneTimeTokenForRuntime(ctx context.Context, id string, systemAuthID *string) (*OneTimeTokenForRuntime, error)
	RequestOneTimeTokenForApplication(ctx context.Context, id string, systemAuthID *string) (*OneTimeTokenForApplication, error)
	RequestClientCredentialsForRuntime(ctx context.Context, id string) (SystemAuth, error)
	RequestClientCredentialsForApplication(ctx context.Context, id string) (SystemAuth, error)
	RequestClientCredentialsForIntegrationSystem(ctx context.Context, id string) (SystemAuth, error)
	DeleteSystemAuthForRuntime(ctx context.Context, authID string) (SystemAuth, error)
	DeleteSystemAuthForApplication(ctx context.Context, authID string) (SystemAuth, error)
	DeleteSystemAuthForIntegrationSystem(ctx context.Context, authID string) (SystemAuth, error)
	UpdateSystemAuth(ctx context.Context, authID string, in AuthInput) (SystemAuth, error)
	InvalidateSystemAuthOneTimeToken(ctx context.Context, authID string) (SystemAuth, error)
	AddEventDefinitionToBundle(ctx context.Context, bundleID string, in EventDefinitionInput) (*EventDefinition, error)
	AddEventDefinitionToApplication(ctx context.Context, appID string, in EventDefinitionInput) (*EventDefinition, error)
	UpdateEventDefinition(ctx context.Context, id string, in EventDefinitionInput) (*EventDefinition, error)
	UpdateEventDefinitionForApplication(ctx context.Context, id string, in EventDefinitionInput) (*EventDefinition, error)
	DeleteEventDefinition(ctx context.Context, id string) (*EventDefinition, error)
	RefetchEventDefinitionSpec(ctx context.Context, eventID string) (*EventSpec, error)
	AddDocumentToBundle(ctx context.Context, bundleID string, in DocumentInput) (*Document, error)
	DeleteDocument(ctx context.Context, id string) (*Document, error)
	CreateFormation(ctx context.Context, formation FormationInput) (*Formation, error)
	ResynchronizeFormationNotifications(ctx context.Context, formationID string, reset *bool) (*Formation, error)
	FinalizeDraftFormation(ctx context.Context, formationID string) (*Formation, error)
	DeleteFormation(ctx context.Context, formation FormationInput) (*Formation, error)
	AssignFormation(ctx context.Context, objectID string, objectType FormationObjectType, formation FormationInput) (*Formation, error)
	UnassignFormation(ctx context.Context, objectID string, objectType FormationObjectType, formation FormationInput) (*Formation, error)
	UnassignFormationGlobal(ctx context.Context, objectID string, objectType FormationObjectType, formation string) (*Formation, error)
	CreateFormationConstraint(ctx context.Context, formationConstraint FormationConstraintInput) (*FormationConstraint, error)
	DeleteFormationConstraint(ctx context.Context, id string) (*FormationConstraint, error)
	UpdateFormationConstraint(ctx context.Context, id string, in FormationConstraintUpdateInput) (*FormationConstraint, error)
	AttachConstraintToFormationTemplate(ctx context.Context, constraintID string, formationTemplateID string) (*ConstraintReference, error)
	DetachConstraintFromFormationTemplate(ctx context.Context, constraintID string, formationTemplateID string) (*ConstraintReference, error)
	CreateLabelDefinition(ctx context.Context, in LabelDefinitionInput) (*LabelDefinition, error)
	UpdateLabelDefinition(ctx context.Context, in LabelDefinitionInput) (*LabelDefinition, error)
	SetApplicationLabel(ctx context.Context, applicationID string, key string, value interface{}) (*Label, error)
	SetTenantLabel(ctx context.Context, tenantID string, key string, value interface{}) (*Label, error)
	DeleteApplicationLabel(ctx context.Context, applicationID string, key string) (*Label, error)
	SetRuntimeLabel(ctx context.Context, runtimeID string, key string, value interface{}) (*Label, error)
	DeleteRuntimeLabel(ctx context.Context, runtimeID string, key string) (*Label, error)
	SetDefaultEventingForApplication(ctx context.Context, appID string, runtimeID string) (*ApplicationEventingConfiguration, error)
	DeleteDefaultEventingForApplication(ctx context.Context, appID string) (*ApplicationEventingConfiguration, error)
	SetBundleInstanceAuth(ctx context.Context, authID string, in BundleInstanceAuthSetInput) (*BundleInstanceAuth, error)
	DeleteBundleInstanceAuth(ctx context.Context, authID string) (*BundleInstanceAuth, error)
	RequestBundleInstanceAuthCreation(ctx context.Context, bundleID string, in BundleInstanceAuthRequestInput) (*BundleInstanceAuth, error)
	RequestBundleInstanceAuthDeletion(ctx context.Context, authID string) (*BundleInstanceAuth, error)
	CreateBundleInstanceAuth(ctx context.Context, bundleID string, in BundleInstanceAuthCreateInput) (*BundleInstanceAuth, error)
	UpdateBundleInstanceAuth(ctx context.Context, id string, bundleID string, in BundleInstanceAuthUpdateInput) (*BundleInstanceAuth, error)
	AddBundle(ctx context.Context, applicationID string, in BundleCreateInput) (*Bundle, error)
	UpdateBundle(ctx context.Context, id string, in BundleUpdateInput) (*Bundle, error)
	DeleteBundle(ctx context.Context, id string) (*Bundle, error)
	WriteTenants(ctx context.Context, in []*BusinessTenantMappingInput) ([]string, error)
	WriteTenant(ctx context.Context, in BusinessTenantMappingInput) (string, error)
	DeleteTenants(ctx context.Context, in []string) (int, error)
	UpdateTenant(ctx context.Context, id string, in BusinessTenantMappingInput) (*Tenant, error)
	SubscribeTenant(ctx context.Context, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionAppName string, subscriptionPayload string) (bool, error)
	UnsubscribeTenant(ctx context.Context, providerID string, subaccountID string, providerSubaccountID string, consumerTenantID string, region string, subscriptionPayload string) (bool, error)
	CreateFormationTemplate(ctx context.Context, in FormationTemplateInput) (*FormationTemplate, error)
	DeleteFormationTemplate(ctx context.Context, id string) (*FormationTemplate, error)
	UpdateFormationTemplate(ctx context.Context, id string, in FormationTemplateInput) (*FormationTemplate, error)
	CreateCertificateSubjectMapping(ctx context.Context, in CertificateSubjectMappingInput) (*CertificateSubjectMapping, error)
	UpdateCertificateSubjectMapping(ctx context.Context, id string, in CertificateSubjectMappingInput) (*CertificateSubjectMapping, error)
	DeleteCertificateSubjectMapping(ctx context.Context, id string) (*CertificateSubjectMapping, error)
	AddTenantAccess(ctx context.Context, in TenantAccessInput) (*TenantAccess, error)
	RemoveTenantAccess(ctx context.Context, tenantID string, resourceID string, resourceType TenantAccessObjectType) (*TenantAccess, error)
}

type OAuthCredentialData

type OAuthCredentialData struct {
	ClientID     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
	// URL for getting access token
	URL string `json:"url"`
}

func (OAuthCredentialData) IsCredentialData

func (OAuthCredentialData) IsCredentialData()

type OAuthCredentialDataInput

type OAuthCredentialDataInput struct {
	ClientID     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
	// **Validation:** valid URL
	URL string `json:"url"`
}

func (OAuthCredentialDataInput) Validate

func (i OAuthCredentialDataInput) Validate() error

Validate missing godoc

type OneTimeToken

type OneTimeToken interface {
	IsOneTimeToken()
}

type OneTimeTokenDTO

type OneTimeTokenDTO struct {
	TokenWithURL
	LegacyConnectorURL string `json:"legacyConnectorURL"`
}

OneTimeTokenDTO this a model for transportation of one-time tokens, because the json marshaller cannot unmarshal to either of the types OTTForApp or OTTForRuntime

func (*OneTimeTokenDTO) IsOneTimeToken

func (*OneTimeTokenDTO) IsOneTimeToken()

IsOneTimeToken implements the interface OneTimeToken

type OneTimeTokenForApplication

type OneTimeTokenForApplication struct {
	TokenWithURL
	LegacyConnectorURL string `json:"legacyConnectorURL"`
}

OneTimeTokenForApplication missing godoc

func (*OneTimeTokenForApplication) IsOneTimeToken

func (t *OneTimeTokenForApplication) IsOneTimeToken()

IsOneTimeToken missing godoc

type OneTimeTokenForApplicationExt

type OneTimeTokenForApplicationExt struct {
	OneTimeTokenForApplication
	Raw        string `json:"raw"`
	RawEncoded string `json:"rawEncoded"`
}

OneTimeTokenForApplicationExt missing godoc

type OneTimeTokenForApplicationResolver

type OneTimeTokenForApplicationResolver interface {
	Raw(ctx context.Context, obj *OneTimeTokenForApplication) (*string, error)
	RawEncoded(ctx context.Context, obj *OneTimeTokenForApplication) (*string, error)
}

type OneTimeTokenForRuntime

type OneTimeTokenForRuntime struct {
	TokenWithURL
}

OneTimeTokenForRuntime missing godoc

func (*OneTimeTokenForRuntime) IsOneTimeToken

func (t *OneTimeTokenForRuntime) IsOneTimeToken()

IsOneTimeToken missing godoc

type OneTimeTokenForRuntimeExt

type OneTimeTokenForRuntimeExt struct {
	OneTimeTokenForRuntime
	Raw        string `json:"raw"`
	RawEncoded string `json:"rawEncoded"`
}

OneTimeTokenForRuntimeExt missing godoc

type OneTimeTokenForRuntimeResolver

type OneTimeTokenForRuntimeResolver interface {
	Raw(ctx context.Context, obj *OneTimeTokenForRuntime) (*string, error)
	RawEncoded(ctx context.Context, obj *OneTimeTokenForRuntime) (*string, error)
}

type OneTimeTokenInput

type OneTimeTokenInput struct {
	Token        string            `json:"token"`
	ConnectorURL *string           `json:"connectorURL,omitempty"`
	Used         bool              `json:"used"`
	ExpiresAt    Timestamp         `json:"expiresAt"`
	CreatedAt    Timestamp         `json:"createdAt"`
	UsedAt       Timestamp         `json:"usedAt"`
	Raw          *string           `json:"raw,omitempty"`
	RawEncoded   *string           `json:"rawEncoded,omitempty"`
	Type         *OneTimeTokenType `json:"type,omitempty"`
}

type OneTimeTokenType

type OneTimeTokenType string
const (
	OneTimeTokenTypeRuntime     OneTimeTokenType = "Runtime"
	OneTimeTokenTypeApplication OneTimeTokenType = "Application"
)

func (OneTimeTokenType) IsValid

func (e OneTimeTokenType) IsValid() bool

func (OneTimeTokenType) MarshalGQL

func (e OneTimeTokenType) MarshalGQL(w io.Writer)

func (OneTimeTokenType) String

func (e OneTimeTokenType) String() string

func (*OneTimeTokenType) UnmarshalGQL

func (e *OneTimeTokenType) UnmarshalGQL(v interface{}) error

type Operation

type Operation struct {
	ID            string                 `json:"id"`
	OperationType ScheduledOperationType `json:"operationType"`
	Status        OperationStatus        `json:"status"`
	Error         *string                `json:"error,omitempty"`
	CreatedAt     *Timestamp             `json:"createdAt,omitempty"`
	UpdatedAt     *Timestamp             `json:"updatedAt,omitempty"`
}

type OperationMode

type OperationMode string
const (
	OperationModeSync  OperationMode = "SYNC"
	OperationModeAsync OperationMode = "ASYNC"
)

func (OperationMode) IsValid

func (e OperationMode) IsValid() bool

func (OperationMode) MarshalGQL

func (e OperationMode) MarshalGQL(w io.Writer)

func (OperationMode) String

func (e OperationMode) String() string

func (*OperationMode) UnmarshalGQL

func (e *OperationMode) UnmarshalGQL(v interface{}) error

type OperationStatus

type OperationStatus string
const (
	OperationStatusScheduled  OperationStatus = "SCHEDULED"
	OperationStatusInProgress OperationStatus = "IN_PROGRESS"
	OperationStatusCompleted  OperationStatus = "COMPLETED"
	OperationStatusFailed     OperationStatus = "FAILED"
)

func (OperationStatus) IsValid

func (e OperationStatus) IsValid() bool

func (OperationStatus) MarshalGQL

func (e OperationStatus) MarshalGQL(w io.Writer)

func (OperationStatus) String

func (e OperationStatus) String() string

func (*OperationStatus) UnmarshalGQL

func (e *OperationStatus) UnmarshalGQL(v interface{}) error

type OperationType

type OperationType string
const (
	OperationTypeCreate OperationType = "CREATE"
	OperationTypeUpdate OperationType = "UPDATE"
	OperationTypeDelete OperationType = "DELETE"
)

func (OperationType) IsValid

func (e OperationType) IsValid() bool

func (OperationType) MarshalGQL

func (e OperationType) MarshalGQL(w io.Writer)

func (OperationType) String

func (e OperationType) String() string

func (*OperationType) UnmarshalGQL

func (e *OperationType) UnmarshalGQL(v interface{}) error

type PageCursor

type PageCursor string

PageCursor missing godoc

func (PageCursor) MarshalGQL

func (y PageCursor) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*PageCursor) UnmarshalGQL

func (y *PageCursor) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type PageInfo

type PageInfo struct {
	StartCursor PageCursor `json:"startCursor"`
	EndCursor   PageCursor `json:"endCursor"`
	HasNextPage bool       `json:"hasNextPage"`
}

type Pageable

type Pageable interface {
	IsPageable()
}

Every query that implements pagination returns object that implements Pageable interface. To specify page details, query specify two parameters: `first` and `after`. `first` specify page size, `after` is a cursor for the next page. When requesting first page, set `after` to empty value. For requesting next page, set `after` to `pageInfo.endCursor` returned from previous query.

type PlaceholderDefinition

type PlaceholderDefinition struct {
	Name        string  `json:"name"`
	Description *string `json:"description,omitempty"`
	JSONPath    *string `json:"jsonPath,omitempty"`
	Optional    *bool   `json:"optional,omitempty"`
}

type PlaceholderDefinitionInput

type PlaceholderDefinitionInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:**  max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:**  max=2000
	JSONPath *string `json:"jsonPath,omitempty"`
	Optional *bool   `json:"optional,omitempty"`
}

func (PlaceholderDefinitionInput) Validate

func (i PlaceholderDefinitionInput) Validate() error

Validate missing godoc

type Query

type Query struct {
}

type QueryParams

type QueryParams map[string][]string

QueryParams missing godoc

func (QueryParams) MarshalGQL

func (y QueryParams) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (*QueryParams) UnmarshalGQL

func (y *QueryParams) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

type QueryParamsSerialized

type QueryParamsSerialized string

QueryParamsSerialized missing godoc

func NewQueryParamsSerialized

func NewQueryParamsSerialized(h map[string][]string) (QueryParamsSerialized, error)

NewQueryParamsSerialized missing godoc

func (*QueryParamsSerialized) Unmarshal

func (y *QueryParamsSerialized) Unmarshal() (map[string][]string, error)

Unmarshal missing godoc

type QueryResolver

type QueryResolver interface {
	ApisForApplication(ctx context.Context, appID string, first *int, after *PageCursor) (*APIDefinitionPage, error)
	EventsForApplication(ctx context.Context, appID string, first *int, after *PageCursor) (*EventDefinitionPage, error)
	Applications(ctx context.Context, filter []*LabelFilter, first *int, after *PageCursor) (*ApplicationPage, error)
	Application(ctx context.Context, id string) (*Application, error)
	ApplicationBySystemNumber(ctx context.Context, systemNumber string) (*Application, error)
	ApplicationsByLocalTenantID(ctx context.Context, localTenantID string, filter []*LabelFilter, first *int, after *PageCursor) (*ApplicationPage, error)
	ApplicationByLocalTenantIDAndAppTemplateID(ctx context.Context, localTenantID string, applicationTemplateID string) (*Application, error)
	ApplicationsForRuntime(ctx context.Context, runtimeID string, first *int, after *PageCursor) (*ApplicationPage, error)
	ApplicationTemplates(ctx context.Context, filter []*LabelFilter, first *int, after *PageCursor) (*ApplicationTemplatePage, error)
	ApplicationTemplate(ctx context.Context, id string) (*ApplicationTemplate, error)
	Runtimes(ctx context.Context, filter []*LabelFilter, first *int, after *PageCursor) (*RuntimePage, error)
	Runtime(ctx context.Context, id string) (*Runtime, error)
	LabelDefinitions(ctx context.Context) ([]*LabelDefinition, error)
	LabelDefinition(ctx context.Context, key string) (*LabelDefinition, error)
	BundleByInstanceAuth(ctx context.Context, authID string) (*Bundle, error)
	BundleInstanceAuth(ctx context.Context, id string) (*BundleInstanceAuth, error)
	HealthChecks(ctx context.Context, types []HealthCheckType, origin *string, first *int, after *PageCursor) (*HealthCheckPage, error)
	IntegrationSystems(ctx context.Context, first *int, after *PageCursor) (*IntegrationSystemPage, error)
	IntegrationSystem(ctx context.Context, id string) (*IntegrationSystem, error)
	Viewer(ctx context.Context) (*Viewer, error)
	Tenants(ctx context.Context, first *int, after *PageCursor, searchTerm *string) (*TenantPage, error)
	TenantByExternalID(ctx context.Context, id string) (*Tenant, error)
	TenantByInternalID(ctx context.Context, id string) (*Tenant, error)
	TenantByLowestOwnerForResource(ctx context.Context, id string, resource string) (string, error)
	RootTenants(ctx context.Context, externalTenant string) ([]*Tenant, error)
	AutomaticScenarioAssignmentForScenario(ctx context.Context, scenarioName string) (*AutomaticScenarioAssignment, error)
	AutomaticScenarioAssignmentsForSelector(ctx context.Context, selector LabelSelectorInput) ([]*AutomaticScenarioAssignment, error)
	AutomaticScenarioAssignments(ctx context.Context, first *int, after *PageCursor) (*AutomaticScenarioAssignmentPage, error)
	SystemAuth(ctx context.Context, id string) (SystemAuth, error)
	SystemAuthByToken(ctx context.Context, token string) (SystemAuth, error)
	Formation(ctx context.Context, id string) (*Formation, error)
	FormationByName(ctx context.Context, name string) (*Formation, error)
	Formations(ctx context.Context, first *int, after *PageCursor) (*FormationPage, error)
	FormationsForObject(ctx context.Context, objectID string) ([]*Formation, error)
	FormationConstraints(ctx context.Context) ([]*FormationConstraint, error)
	FormationConstraint(ctx context.Context, id string) (*FormationConstraint, error)
	FormationConstraintsByFormationType(ctx context.Context, formationTemplateID string) ([]*FormationConstraint, error)
	FormationTemplate(ctx context.Context, id string) (*FormationTemplate, error)
	FormationTemplates(ctx context.Context, first *int, after *PageCursor) (*FormationTemplatePage, error)
	FormationTemplatesByName(ctx context.Context, name string, first *int, after *PageCursor) (*FormationTemplatePage, error)
	CertificateSubjectMapping(ctx context.Context, id string) (*CertificateSubjectMapping, error)
	CertificateSubjectMappings(ctx context.Context, first *int, after *PageCursor) (*CertificateSubjectMappingPage, error)
}

type ResolverRoot

type ResolverRoot interface {
	APIDefinition() APIDefinitionResolver
	APISpec() APISpecResolver
	Application() ApplicationResolver
	ApplicationTemplate() ApplicationTemplateResolver
	Bundle() BundleResolver
	Document() DocumentResolver
	EventDefinition() EventDefinitionResolver
	EventSpec() EventSpecResolver
	Formation() FormationResolver
	FormationAssignment() FormationAssignmentResolver
	FormationTemplate() FormationTemplateResolver
	IntegrationSystem() IntegrationSystemResolver
	Mutation() MutationResolver
	OneTimeTokenForApplication() OneTimeTokenForApplicationResolver
	OneTimeTokenForRuntime() OneTimeTokenForRuntimeResolver
	Query() QueryResolver
	Runtime() RuntimeResolver
	RuntimeContext() RuntimeContextResolver
	Tenant() TenantResolver
}

type ResourceType

type ResourceType string
const (
	ResourceTypeApplication    ResourceType = "APPLICATION"
	ResourceTypeRuntime        ResourceType = "RUNTIME"
	ResourceTypeRuntimeContext ResourceType = "RUNTIME_CONTEXT"
	ResourceTypeTenant         ResourceType = "TENANT"
	ResourceTypeFormation      ResourceType = "FORMATION"
)

func (ResourceType) IsValid

func (e ResourceType) IsValid() bool

func (ResourceType) MarshalGQL

func (e ResourceType) MarshalGQL(w io.Writer)

func (ResourceType) String

func (e ResourceType) String() string

func (*ResourceType) UnmarshalGQL

func (e *ResourceType) UnmarshalGQL(v interface{}) error

type Runtime

type Runtime struct {
	ID                    string                        `json:"id"`
	Name                  string                        `json:"name"`
	Description           *string                       `json:"description"`
	Status                *RuntimeStatus                `json:"status"`
	Metadata              *RuntimeMetadata              `json:"metadata"`
	EventingConfiguration *RuntimeEventingConfiguration `json:"eventingConfiguration"`
	ApplicationNamespace  *string                       `json:"applicationNamespace"`
}

Runtime missing godoc

func (*Runtime) IsFormationParticipant

func (e *Runtime) IsFormationParticipant()

IsFormationParticipant implements the FormationParticipant interface

type RuntimeContext

type RuntimeContext struct {
	ID    string `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

RuntimeContext missing godoc

func (*RuntimeContext) IsFormationParticipant

func (e *RuntimeContext) IsFormationParticipant()

IsFormationParticipant implements the FormationParticipant interface

type RuntimeContextExt

type RuntimeContextExt struct {
	RuntimeContext
	Labels Labels `json:"labels"`
}

RuntimeContextExt missing godoc

type RuntimeContextInput

type RuntimeContextInput struct {
	// **Validation:** required max=512, alphanumeric chartacters and underscore
	Key   string `json:"key"`
	Value string `json:"value"`
}

func (RuntimeContextInput) Validate

func (i RuntimeContextInput) Validate() error

Validate missing godoc

type RuntimeContextPage

type RuntimeContextPage struct {
	Data       []*RuntimeContext `json:"data"`
	PageInfo   *PageInfo         `json:"pageInfo"`
	TotalCount int               `json:"totalCount"`
}

func (RuntimeContextPage) IsPageable

func (RuntimeContextPage) IsPageable()

type RuntimeContextPageExt

type RuntimeContextPageExt struct {
	RuntimeContextPage
	Data []*RuntimeContextExt `json:"data"`
}

RuntimeContextPageExt is an extended types used by external API

type RuntimeContextResolver

type RuntimeContextResolver interface {
	Labels(ctx context.Context, obj *RuntimeContext, key *string) (Labels, error)
}

type RuntimeEventingConfiguration

type RuntimeEventingConfiguration struct {
	DefaultURL string `json:"defaultURL"`
}

type RuntimeExt

type RuntimeExt struct {
	Runtime
	Labels Labels `json:"labels"`
	// Returns array of authentication details for Runtime. For now at most one element in array will be returned.
	Auths           []*RuntimeSystemAuth  `json:"auths"`
	Webhooks        []Webhook             `json:"webhooks"`
	RuntimeContext  RuntimeContextExt     `json:"runtimeContext"`
	RuntimeContexts RuntimeContextPageExt `json:"runtimeContexts"`
}

RuntimeExt missing godoc

type RuntimeMetadata

type RuntimeMetadata struct {
	CreationTimestamp Timestamp `json:"creationTimestamp"`
}

type RuntimePage

type RuntimePage struct {
	Data       []*Runtime `json:"data"`
	PageInfo   *PageInfo  `json:"pageInfo"`
	TotalCount int        `json:"totalCount"`
}

func (RuntimePage) IsPageable

func (RuntimePage) IsPageable()

type RuntimePageExt

type RuntimePageExt struct {
	RuntimePage
	Data []*RuntimeExt `json:"data"`
}

RuntimePageExt is an extended types used by external API

type RuntimeRegisterInput

type RuntimeRegisterInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:**  max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** key: required, alphanumeric with underscore
	Labels               Labels                  `json:"labels,omitempty"`
	Webhooks             []*WebhookInput         `json:"webhooks,omitempty"`
	StatusCondition      *RuntimeStatusCondition `json:"statusCondition,omitempty"`
	ApplicationNamespace *string                 `json:"applicationNamespace,omitempty"`
}

func (RuntimeRegisterInput) Validate

func (i RuntimeRegisterInput) Validate() error

Validate missing godoc

type RuntimeResolver

type RuntimeResolver interface {
	Labels(ctx context.Context, obj *Runtime, key *string) (Labels, error)
	Webhooks(ctx context.Context, obj *Runtime) ([]*Webhook, error)

	Auths(ctx context.Context, obj *Runtime) ([]*RuntimeSystemAuth, error)
	EventingConfiguration(ctx context.Context, obj *Runtime) (*RuntimeEventingConfiguration, error)
	RuntimeContext(ctx context.Context, obj *Runtime, id string) (*RuntimeContext, error)
	RuntimeContexts(ctx context.Context, obj *Runtime, first *int, after *PageCursor) (*RuntimeContextPage, error)
}

type RuntimeStatus

type RuntimeStatus struct {
	Condition RuntimeStatusCondition `json:"condition"`
	Timestamp Timestamp              `json:"timestamp"`
}

type RuntimeStatusCondition

type RuntimeStatusCondition string
const (
	RuntimeStatusConditionInitial      RuntimeStatusCondition = "INITIAL"
	RuntimeStatusConditionProvisioning RuntimeStatusCondition = "PROVISIONING"
	RuntimeStatusConditionConnected    RuntimeStatusCondition = "CONNECTED"
	RuntimeStatusConditionFailed       RuntimeStatusCondition = "FAILED"
)

func (RuntimeStatusCondition) IsValid

func (e RuntimeStatusCondition) IsValid() bool

func (RuntimeStatusCondition) MarshalGQL

func (e RuntimeStatusCondition) MarshalGQL(w io.Writer)

func (RuntimeStatusCondition) String

func (e RuntimeStatusCondition) String() string

func (*RuntimeStatusCondition) UnmarshalGQL

func (e *RuntimeStatusCondition) UnmarshalGQL(v interface{}) error

type RuntimeSystemAuth

type RuntimeSystemAuth struct {
	ID                string                   `json:"id"`
	Auth              *Auth                    `json:"auth,omitempty"`
	Type              *SystemAuthReferenceType `json:"type,omitempty"`
	TenantID          *string                  `json:"tenantId,omitempty"`
	ReferenceObjectID *string                  `json:"referenceObjectId,omitempty"`
}

func (RuntimeSystemAuth) IsSystemAuth

func (RuntimeSystemAuth) IsSystemAuth()

type RuntimeUpdateInput

type RuntimeUpdateInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Name string `json:"name"`
	// **Validation:**  max=2000
	Description *string `json:"description,omitempty"`
	// **Validation:** key: required, alphanumeric with underscore
	Labels               Labels                  `json:"labels,omitempty"`
	StatusCondition      *RuntimeStatusCondition `json:"statusCondition,omitempty"`
	ApplicationNamespace *string                 `json:"applicationNamespace,omitempty"`
}

func (RuntimeUpdateInput) Validate

func (i RuntimeUpdateInput) Validate() error

Validate missing godoc

type ScheduledOperationType

type ScheduledOperationType string
const (
	ScheduledOperationTypeOrdAggregation ScheduledOperationType = "ORD_AGGREGATION"
	ScheduledOperationTypeSystemFetching ScheduledOperationType = "SYSTEM_FETCHING"
)

func (ScheduledOperationType) IsValid

func (e ScheduledOperationType) IsValid() bool

func (ScheduledOperationType) MarshalGQL

func (e ScheduledOperationType) MarshalGQL(w io.Writer)

func (ScheduledOperationType) String

func (e ScheduledOperationType) String() string

func (*ScheduledOperationType) UnmarshalGQL

func (e *ScheduledOperationType) UnmarshalGQL(v interface{}) error

type SpecFormat

type SpecFormat string
const (
	SpecFormatYaml SpecFormat = "YAML"
	SpecFormatJSON SpecFormat = "JSON"
	SpecFormatXML  SpecFormat = "XML"
)

func (SpecFormat) IsValid

func (e SpecFormat) IsValid() bool

func (SpecFormat) MarshalGQL

func (e SpecFormat) MarshalGQL(w io.Writer)

func (SpecFormat) String

func (e SpecFormat) String() string

func (*SpecFormat) UnmarshalGQL

func (e *SpecFormat) UnmarshalGQL(v interface{}) error

type SystemAuth

type SystemAuth interface {
	IsSystemAuth()
}

type SystemAuthReferenceType

type SystemAuthReferenceType string
const (
	SystemAuthReferenceTypeApplication       SystemAuthReferenceType = "APPLICATION"
	SystemAuthReferenceTypeRuntime           SystemAuthReferenceType = "RUNTIME"
	SystemAuthReferenceTypeIntegrationSystem SystemAuthReferenceType = "INTEGRATION_SYSTEM"
)

func (SystemAuthReferenceType) IsValid

func (e SystemAuthReferenceType) IsValid() bool

func (SystemAuthReferenceType) MarshalGQL

func (e SystemAuthReferenceType) MarshalGQL(w io.Writer)

func (SystemAuthReferenceType) String

func (e SystemAuthReferenceType) String() string

func (*SystemAuthReferenceType) UnmarshalGQL

func (e *SystemAuthReferenceType) UnmarshalGQL(v interface{}) error

type SystemAuthUpdateInput

type SystemAuthUpdateInput struct {
	Auth *AuthInput `json:"auth,omitempty"`
}

type TargetOperation

type TargetOperation string
const (
	TargetOperationAssignFormation                         TargetOperation = "ASSIGN_FORMATION"
	TargetOperationUnassignFormation                       TargetOperation = "UNASSIGN_FORMATION"
	TargetOperationCreateFormation                         TargetOperation = "CREATE_FORMATION"
	TargetOperationDeleteFormation                         TargetOperation = "DELETE_FORMATION"
	TargetOperationGenerateFormationAssignmentNotification TargetOperation = "GENERATE_FORMATION_ASSIGNMENT_NOTIFICATION"
	TargetOperationGenerateFormationNotification           TargetOperation = "GENERATE_FORMATION_NOTIFICATION"
	TargetOperationLoadFormations                          TargetOperation = "LOAD_FORMATIONS"
	TargetOperationSelectSystemsForFormation               TargetOperation = "SELECT_SYSTEMS_FOR_FORMATION"
	TargetOperationSendNotification                        TargetOperation = "SEND_NOTIFICATION"
	TargetOperationNotificationStatusReturned              TargetOperation = "NOTIFICATION_STATUS_RETURNED"
)

func (TargetOperation) IsValid

func (e TargetOperation) IsValid() bool

func (TargetOperation) MarshalGQL

func (e TargetOperation) MarshalGQL(w io.Writer)

func (TargetOperation) String

func (e TargetOperation) String() string

func (*TargetOperation) UnmarshalGQL

func (e *TargetOperation) UnmarshalGQL(v interface{}) error

type TemplateValueInput

type TemplateValueInput struct {
	// **Validation:**  Up to 36 characters long. Cannot start with a digit. The characters allowed in names are: digits (0-9), lower case letters (a-z),-, and .
	Placeholder string `json:"placeholder"`
	Value       string `json:"value"`
}

func (TemplateValueInput) Validate

func (i TemplateValueInput) Validate() error

Validate missing godoc

type Tenant

type Tenant struct {
	ID          string   `json:"id"`
	InternalID  string   `json:"internalID"`
	Name        *string  `json:"name"`
	Type        string   `json:"type"`
	Parents     []string `json:"parents"`
	Initialized *bool    `json:"initialized"`
	Labels      Labels   `json:"labels"`
	Provider    string   `json:"provider"`
}

Tenant missing godoc

type TenantAccess

type TenantAccess struct {
	TenantID     string                 `json:"tenantID"`
	ResourceType TenantAccessObjectType `json:"resourceType"`
	ResourceID   string                 `json:"resourceID"`
	Owner        bool                   `json:"owner"`
}

type TenantAccessInput

type TenantAccessInput struct {
	TenantID     string                 `json:"tenantID"`
	ResourceType TenantAccessObjectType `json:"resourceType"`
	ResourceID   string                 `json:"resourceID"`
	Owner        bool                   `json:"owner"`
}

type TenantAccessObjectType

type TenantAccessObjectType string
const (
	TenantAccessObjectTypeApplication    TenantAccessObjectType = "APPLICATION"
	TenantAccessObjectTypeRuntime        TenantAccessObjectType = "RUNTIME"
	TenantAccessObjectTypeRuntimeContext TenantAccessObjectType = "RUNTIME_CONTEXT"
)

func (TenantAccessObjectType) IsValid

func (e TenantAccessObjectType) IsValid() bool

func (TenantAccessObjectType) MarshalGQL

func (e TenantAccessObjectType) MarshalGQL(w io.Writer)

func (TenantAccessObjectType) String

func (e TenantAccessObjectType) String() string

func (*TenantAccessObjectType) UnmarshalGQL

func (e *TenantAccessObjectType) UnmarshalGQL(v interface{}) error

type TenantPage

type TenantPage struct {
	Data       []*Tenant `json:"data"`
	PageInfo   *PageInfo `json:"pageInfo"`
	TotalCount int       `json:"totalCount"`
}

func (TenantPage) IsPageable

func (TenantPage) IsPageable()

type TenantResolver

type TenantResolver interface {
	Labels(ctx context.Context, obj *Tenant, key *string) (Labels, error)
}

type Timestamp

type Timestamp time.Time

Timestamp missing godoc

func TimePtrToGraphqlTimestampPtr

func TimePtrToGraphqlTimestampPtr(time *time.Time) *Timestamp

TimePtrToGraphqlTimestampPtr converts time to graphql timestamp

func (Timestamp) MarshalGQL

func (y Timestamp) MarshalGQL(w io.Writer)

MarshalGQL missing godoc

func (Timestamp) MarshalJSON

func (y Timestamp) MarshalJSON() ([]byte, error)

MarshalJSON missing godoc

func (*Timestamp) UnmarshalGQL

func (y *Timestamp) UnmarshalGQL(v interface{}) error

UnmarshalGQL missing godoc

func (*Timestamp) UnmarshalJSON

func (y *Timestamp) UnmarshalJSON(data []byte) error

UnmarshalJSON missing godoc

type TokenWithURL

type TokenWithURL struct {
	Token          string           `json:"token"`
	ConnectorURL   string           `json:"connectorURL"`
	Used           bool             `json:"used"`
	ExpiresAt      *Timestamp       `json:"expiresAt"`
	CreatedAt      *Timestamp       `json:"createdAt"`
	UsedAt         *Timestamp       `json:"usedAt"`
	Type           OneTimeTokenType `json:"type"`
	ScenarioGroups []string         `json:"scenario_groups"`
}

TokenWithURL missing godoc

type Version

type Version struct {
	// for example 4.6
	Value      string `json:"value"`
	Deprecated *bool  `json:"deprecated,omitempty"`
	// for example 4.5
	DeprecatedSince *string `json:"deprecatedSince,omitempty"`
	// if true, will be removed in the next version
	ForRemoval *bool `json:"forRemoval,omitempty"`
}

type VersionInput

type VersionInput struct {
	// **Validation:** max=256
	Value      string `json:"value"`
	Deprecated *bool  `json:"deprecated,omitempty"`
	// **Validation:** max=256
	DeprecatedSince *string `json:"deprecatedSince,omitempty"`
	ForRemoval      *bool   `json:"forRemoval,omitempty"`
}

func (VersionInput) Validate

func (i VersionInput) Validate() error

Validate missing godoc

type Viewer

type Viewer struct {
	ID   string     `json:"id"`
	Type ViewerType `json:"type"`
}

type ViewerType

type ViewerType string
const (
	ViewerTypeRuntime           ViewerType = "RUNTIME"
	ViewerTypeApplication       ViewerType = "APPLICATION"
	ViewerTypeIntegrationSystem ViewerType = "INTEGRATION_SYSTEM"
	ViewerTypeUser              ViewerType = "USER"
)

func (ViewerType) IsValid

func (e ViewerType) IsValid() bool

func (ViewerType) MarshalGQL

func (e ViewerType) MarshalGQL(w io.Writer)

func (ViewerType) String

func (e ViewerType) String() string

func (*ViewerType) UnmarshalGQL

func (e *ViewerType) UnmarshalGQL(v interface{}) error

type Webhook

type Webhook struct {
	ID                    string       `json:"id"`
	ApplicationID         *string      `json:"applicationID,omitempty"`
	ApplicationTemplateID *string      `json:"applicationTemplateID,omitempty"`
	RuntimeID             *string      `json:"runtimeID,omitempty"`
	IntegrationSystemID   *string      `json:"integrationSystemID,omitempty"`
	FormationTemplateID   *string      `json:"formationTemplateID,omitempty"`
	Type                  WebhookType  `json:"type"`
	Mode                  *WebhookMode `json:"mode,omitempty"`
	CorrelationIDKey      *string      `json:"correlationIdKey,omitempty"`
	RetryInterval         *int         `json:"retryInterval,omitempty"`
	Timeout               *int         `json:"timeout,omitempty"`
	URL                   *string      `json:"url,omitempty"`
	Auth                  *Auth        `json:"auth,omitempty"`
	URLTemplate           *string      `json:"urlTemplate,omitempty"`
	InputTemplate         *string      `json:"inputTemplate,omitempty"`
	HeaderTemplate        *string      `json:"headerTemplate,omitempty"`
	OutputTemplate        *string      `json:"outputTemplate,omitempty"`
	StatusTemplate        *string      `json:"statusTemplate,omitempty"`
	CreatedAt             *Timestamp   `json:"createdAt,omitempty"`
}

func (*Webhook) GetAddress

func (w *Webhook) GetAddress() uintptr

GetAddress returns the memory address of the Webhook in the form of an uninterpreted type(integer number) Currently, it's used in some formation constraints input templates, so we could propagate the memory address to the formation constraints operators and later on to modify/update it.

type WebhookInput

type WebhookInput struct {
	Type WebhookType `json:"type"`
	// **Validation:** valid URL, max=256
	URL              *string      `json:"url,omitempty"`
	Auth             *AuthInput   `json:"auth,omitempty"`
	Mode             *WebhookMode `json:"mode,omitempty"`
	Version          *string      `json:"version,omitempty"`
	CorrelationIDKey *string      `json:"correlationIdKey,omitempty"`
	RetryInterval    *int         `json:"retryInterval,omitempty"`
	Timeout          *int         `json:"timeout,omitempty"`
	URLTemplate      *string      `json:"urlTemplate,omitempty"`
	InputTemplate    *string      `json:"inputTemplate,omitempty"`
	HeaderTemplate   *string      `json:"headerTemplate,omitempty"`
	OutputTemplate   *string      `json:"outputTemplate,omitempty"`
	StatusTemplate   *string      `json:"statusTemplate,omitempty"`
}

func (WebhookInput) Validate

func (i WebhookInput) Validate() error

Validate missing godoc

type WebhookMode

type WebhookMode string
const (
	WebhookModeSync          WebhookMode = "SYNC"
	WebhookModeAsync         WebhookMode = "ASYNC"
	WebhookModeAsyncCallback WebhookMode = "ASYNC_CALLBACK"
)

func (WebhookMode) IsValid

func (e WebhookMode) IsValid() bool

func (WebhookMode) MarshalGQL

func (e WebhookMode) MarshalGQL(w io.Writer)

func (WebhookMode) String

func (e WebhookMode) String() string

func (*WebhookMode) UnmarshalGQL

func (e *WebhookMode) UnmarshalGQL(v interface{}) error

type WebhookType

type WebhookType string
const (
	WebhookTypeConfigurationChanged        WebhookType = "CONFIGURATION_CHANGED"
	WebhookTypeApplicationTenantMapping    WebhookType = "APPLICATION_TENANT_MAPPING"
	WebhookTypeRegisterApplication         WebhookType = "REGISTER_APPLICATION"
	WebhookTypeUnregisterApplication       WebhookType = "UNREGISTER_APPLICATION"
	WebhookTypeOpenResourceDiscovery       WebhookType = "OPEN_RESOURCE_DISCOVERY"
	WebhookTypeOpenResourceDiscoveryStatic WebhookType = "OPEN_RESOURCE_DISCOVERY_STATIC"
	WebhookTypeFormationLifecycle          WebhookType = "FORMATION_LIFECYCLE"
	WebhookTypeSystemFieldDiscovery        WebhookType = "SYSTEM_FIELD_DISCOVERY"
)

func (WebhookType) IsValid

func (e WebhookType) IsValid() bool

func (WebhookType) MarshalGQL

func (e WebhookType) MarshalGQL(w io.Writer)

func (WebhookType) String

func (e WebhookType) String() string

func (*WebhookType) UnmarshalGQL

func (e *WebhookType) UnmarshalGQL(v interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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