Documentation ¶
Index ¶
- Constants
- Variables
- func IsIntegrationSystemNoTenantFlow(err error, objectType SystemAuthReferenceObjectType) bool
- type APIDefinition
- type APIDefinitionInput
- type APIDefinitionPage
- type APIResourceDefinition
- type APIRuntimeAuth
- type APISpecType
- type AccessStrategy
- type Application
- type ApplicationEventingConfiguration
- type ApplicationFromTemplateInput
- type ApplicationFromTemplateInputValues
- type ApplicationPage
- type ApplicationRegisterInput
- type ApplicationRegisterInputWithTemplate
- type ApplicationStatus
- type ApplicationStatusCondition
- type ApplicationTemplate
- type ApplicationTemplateAccessLevel
- type ApplicationTemplateInput
- type ApplicationTemplatePage
- type ApplicationTemplatePlaceholder
- type ApplicationTemplateUpdateInput
- type ApplicationTemplateValueInput
- type ApplicationUpdateInput
- type Auth
- type AuthInput
- type AutomaticScenarioAssignment
- type AutomaticScenarioAssignmentPage
- type BaseEntity
- func (e *BaseEntity) GetCreatedAt() time.Time
- func (e *BaseEntity) GetDeletedAt() time.Time
- func (e *BaseEntity) GetError() *string
- func (e *BaseEntity) GetID() string
- func (e *BaseEntity) GetReady() bool
- func (e *BaseEntity) GetType() resource.Type
- func (e *BaseEntity) GetUpdatedAt() time.Time
- func (e *BaseEntity) SetCreatedAt(t time.Time)
- func (e *BaseEntity) SetDeletedAt(t time.Time)
- func (e *BaseEntity) SetError(err string)
- func (e *BaseEntity) SetReady(ready bool)
- func (e *BaseEntity) SetUpdatedAt(t time.Time)
- type BasicCredentialData
- type BasicCredentialDataInput
- type Bundle
- type BundleCreateInput
- type BundleInstanceAuth
- type BundleInstanceAuthRequestInput
- type BundleInstanceAuthSetInput
- type BundleInstanceAuthSetStatusConditionInput
- type BundleInstanceAuthStatus
- type BundleInstanceAuthStatusCondition
- type BundleInstanceAuthStatusInput
- type BundlePage
- type BundleReference
- type BundleReferenceInput
- type BundleReferenceObjectType
- type BundleUpdateInput
- type BusinessTenantMapping
- type BusinessTenantMappingInput
- type CSRFTokenCredentialRequestAuth
- type CSRFTokenCredentialRequestAuthInput
- type ConsumptionBundleReference
- type CredentialData
- type CredentialDataInput
- type CredentialRequestAuth
- type CredentialRequestAuthInput
- type Document
- type DocumentFormat
- type DocumentInput
- type DocumentPage
- type Entity
- type EventDefinition
- type EventDefinitionInput
- type EventDefinitionPage
- type EventResourceDefinition
- type EventSpecType
- type EventingConfiguration
- type FetchMode
- type FetchRequest
- type FetchRequestInput
- type FetchRequestReferenceObjectType
- type FetchRequestStatus
- type FetchRequestStatusCondition
- type IntegrationSystem
- type IntegrationSystemInput
- type IntegrationSystemPage
- type Label
- type LabelDefinition
- type LabelInput
- type LabelSelector
- type LabelableObject
- type MovedRuntimeByLabelMappingInput
- type OAuthCredentialData
- type OAuthCredentialDataInput
- type OneTimeToken
- type Package
- type PackageInput
- type Product
- type ProductInput
- type Runtime
- type RuntimeContext
- type RuntimeContextInput
- type RuntimeContextPage
- type RuntimeEventingConfiguration
- type RuntimeInput
- type RuntimePage
- type RuntimeStatus
- type RuntimeStatusCondition
- type Spec
- type SpecFormat
- type SpecInput
- type SpecReferenceObjectType
- type SystemAuth
- type SystemAuthReferenceObjectType
- type Tombstone
- type TombstoneInput
- type Vendor
- type VendorInput
- type Version
- type VersionInput
- type Webhook
- type WebhookConverterFunc
- type WebhookInput
- type WebhookMode
- type WebhookType
Constants ¶
const AppPathURL = "/%s/v1/events"
AppPathURL missing godoc
const ScenariosKey = "scenarios"
ScenariosKey missing godoc
Variables ¶
var ( // ScenariosDefaultValue missing godoc ScenariosDefaultValue = []interface{}{"DEFAULT"} // ScenariosSchema missing godoc ScenariosSchema = map[string]interface{}{ "type": "array", "minItems": 1, "uniqueItems": true, "items": map[string]interface{}{ "type": "string", "pattern": "^[A-Za-z0-9]([-_A-Za-z0-9\\s]*[A-Za-z0-9])$", "enum": []string{"DEFAULT"}, "maxLength": 128, }, } // SchemaForScenariosSchema is used to validate ScenariosSchema (allows only modifications to enum field) SchemaForScenariosSchema = map[string]interface{}{ "type": "object", "additionalProperties": false, "required": []string{"type", "minItems", "uniqueItems", "items"}, "properties": map[string]interface{}{ "type": map[string]interface{}{ "const": "array", }, "minItems": map[string]interface{}{ "const": 1, }, "uniqueItems": map[string]interface{}{ "const": true, }, "items": map[string]interface{}{ "type": "object", "additionalProperties": false, "required": []string{"type", "enum"}, "properties": map[string]interface{}{ "type": map[string]interface{}{ "const": "string", }, "pattern": map[string]interface{}{ "const": "^[A-Za-z0-9]([-_A-Za-z0-9\\s]*[A-Za-z0-9])$", }, "maxLength": map[string]interface{}{ "const": 128, }, "enum": map[string]interface{}{ "type": "array", "items": map[string]interface{}{ "type": "string", "pattern": "^[A-Za-z0-9]([-_A-Za-z0-9\\s]*[A-Za-z0-9])$", "maxLength": 128, }, "contains": map[string]interface{}{ "const": "DEFAULT", }, }, }, }, }, } )
Functions ¶
func IsIntegrationSystemNoTenantFlow ¶
func IsIntegrationSystemNoTenantFlow(err error, objectType SystemAuthReferenceObjectType) bool
IsIntegrationSystemNoTenantFlow missing godoc
Types ¶
type APIDefinition ¶
type APIDefinition struct { ApplicationID string PackageID *string Tenant string Name string Description *string TargetURLs json.RawMessage Group *string // group allows you to find the same API but in different version OrdID *string ShortDescription *string SystemInstanceAware *bool APIProtocol *string Tags json.RawMessage Countries json.RawMessage Links json.RawMessage APIResourceLinks json.RawMessage ReleaseStatus *string SunsetDate *string Successors json.RawMessage ChangeLogEntries json.RawMessage Labels json.RawMessage Visibility *string Disabled *bool PartOfProducts json.RawMessage LineOfBusiness json.RawMessage Industry json.RawMessage ImplementationStandard *string CustomImplementationStandard *string CustomImplementationStandardDescription *string Version *Version Extensible json.RawMessage ResourceHash *string *BaseEntity }
APIDefinition missing godoc
type APIDefinitionInput ¶
type APIDefinitionInput struct { OrdPackageID *string `json:"partOfPackage"` Tenant string `json:",omitempty"` Name string `json:"title"` Description *string `json:"description"` TargetURLs json.RawMessage `json:"entryPoints"` Group *string `json:",omitempty"` // group allows you to find the same API but in different version OrdID *string `json:"ordId"` ShortDescription *string `json:"shortDescription"` SystemInstanceAware *bool `json:"systemInstanceAware"` APIProtocol *string `json:"apiProtocol"` Tags json.RawMessage `json:"tags"` Countries json.RawMessage `json:"countries"` Links json.RawMessage `json:"links"` APIResourceLinks json.RawMessage `json:"apiResourceLinks"` ReleaseStatus *string `json:"releaseStatus"` SunsetDate *string `json:"sunsetDate"` Successors json.RawMessage `json:"successors,omitempty"` ChangeLogEntries json.RawMessage `json:"changelogEntries"` Labels json.RawMessage `json:"labels"` Visibility *string `json:"visibility"` Disabled *bool `json:"disabled"` PartOfProducts json.RawMessage `json:"partOfProducts"` LineOfBusiness json.RawMessage `json:"lineOfBusiness"` Industry json.RawMessage `json:"industry"` ImplementationStandard *string `json:"implementationStandard"` CustomImplementationStandard *string `json:"customImplementationStandard"` CustomImplementationStandardDescription *string `json:"customImplementationStandardDescription"` Extensible json.RawMessage `json:"extensible"` ResourceDefinitions []*APIResourceDefinition `json:"resourceDefinitions"` PartOfConsumptionBundles []*ConsumptionBundleReference `json:"partOfConsumptionBundles"` *VersionInput `hash:"ignore"` }
APIDefinitionInput missing godoc
func (*APIDefinitionInput) ToAPIDefinition ¶
func (a *APIDefinitionInput) ToAPIDefinition(id, appID string, packageID *string, tenant string, apiHash uint64) *APIDefinition
ToAPIDefinition missing godoc
func (*APIDefinitionInput) ToAPIDefinitionWithinBundle ¶
func (a *APIDefinitionInput) ToAPIDefinitionWithinBundle(id, appID, tenant string, apiHash uint64) *APIDefinition
ToAPIDefinitionWithinBundle missing godoc
type APIDefinitionPage ¶
type APIDefinitionPage struct { Data []*APIDefinition PageInfo *pagination.Page TotalCount int }
APIDefinitionPage missing godoc
func (APIDefinitionPage) IsPageable ¶
func (APIDefinitionPage) IsPageable()
IsPageable missing godoc
type APIResourceDefinition ¶
type APIResourceDefinition struct { Type APISpecType `json:"type"` CustomType string `json:"customType"` MediaType SpecFormat `json:"mediaType"` URL string `json:"url"` AccessStrategy []AccessStrategy `json:"accessStrategies"` }
APIResourceDefinition missing godoc
func (*APIResourceDefinition) ToSpec ¶
func (rd *APIResourceDefinition) ToSpec() *SpecInput
ToSpec missing godoc
func (*APIResourceDefinition) Validate ¶
func (rd *APIResourceDefinition) Validate() error
Validate missing godoc
type APIRuntimeAuth ¶
type APIRuntimeAuth struct { ID *string TenantID string RuntimeID string APIDefID string Value *Auth }
APIRuntimeAuth missing godoc
type APISpecType ¶
type APISpecType string
APISpecType missing godoc
const ( // APISpecTypeOdata missing godoc APISpecTypeOdata APISpecType = "ODATA" // APISpecTypeOpenAPI missing godoc APISpecTypeOpenAPI APISpecType = "OPEN_API" // APISpecTypeOpenAPIV2 missing godoc APISpecTypeOpenAPIV2 APISpecType = "openapi-v2" // APISpecTypeOpenAPIV3 missing godoc APISpecTypeOpenAPIV3 APISpecType = "openapi-v3" // APISpecTypeRaml missing godoc APISpecTypeRaml APISpecType = "raml-v1" // APISpecTypeEDMX missing godoc APISpecTypeEDMX APISpecType = "edmx" // APISpecTypeCsdl missing godoc APISpecTypeCsdl APISpecType = "csdl-json" // APISpecTypeWsdlV1 missing godoc APISpecTypeWsdlV1 APISpecType = "wsdl-v1" // APISpecTypeWsdlV2 missing godoc APISpecTypeWsdlV2 APISpecType = "wsdl-v2" // APISpecTypeRfcMetadata missing godoc APISpecTypeRfcMetadata APISpecType = "sap-rfc-metadata-v1" // APISpecTypeCustom missing godoc APISpecTypeCustom APISpecType = "custom" )
type AccessStrategy ¶
type AccessStrategy struct { Type string `json:"type"` CustomType string `json:"customType"` CustomDescription string `json:"customDescription"` }
AccessStrategy missing godoc
type Application ¶
type Application struct { ProviderName *string Tenant string Name string Description *string Status *ApplicationStatus HealthCheckURL *string IntegrationSystemID *string ApplicationTemplateID *string SystemNumber *string BaseURL *string `json:"baseUrl"` Labels json.RawMessage `json:"labels"` CorrelationIDs json.RawMessage `json:"correlationIds,omitempty"` *BaseEntity }
Application missing godoc
func (*Application) SetFromUpdateInput ¶
func (app *Application) SetFromUpdateInput(update ApplicationUpdateInput, timestamp time.Time)
SetFromUpdateInput missing godoc
type ApplicationEventingConfiguration ¶
type ApplicationEventingConfiguration struct {
EventingConfiguration
}
ApplicationEventingConfiguration missing godoc
func NewApplicationEventingConfiguration ¶
func NewApplicationEventingConfiguration(runtimeEventURL url.URL, appName string) (*ApplicationEventingConfiguration, error)
NewApplicationEventingConfiguration missing godoc
func NewEmptyApplicationEventingConfig ¶
func NewEmptyApplicationEventingConfig() (*ApplicationEventingConfiguration, error)
NewEmptyApplicationEventingConfig missing godoc
type ApplicationFromTemplateInput ¶
type ApplicationFromTemplateInput struct { TemplateName string Values ApplicationFromTemplateInputValues }
ApplicationFromTemplateInput missing godoc
type ApplicationFromTemplateInputValues ¶
type ApplicationFromTemplateInputValues []*ApplicationTemplateValueInput
ApplicationFromTemplateInputValues missing godoc
func (ApplicationFromTemplateInputValues) FindPlaceholderValue ¶
func (in ApplicationFromTemplateInputValues) FindPlaceholderValue(name string) (string, error)
FindPlaceholderValue missing godoc
type ApplicationPage ¶
type ApplicationPage struct { Data []*Application PageInfo *pagination.Page TotalCount int }
ApplicationPage missing godoc
type ApplicationRegisterInput ¶
type ApplicationRegisterInput struct { Name string ProviderName *string Description *string Labels map[string]interface{} HealthCheckURL *string Webhooks []*WebhookInput Bundles []*BundleCreateInput IntegrationSystemID *string StatusCondition *ApplicationStatusCondition BaseURL *string SystemNumber *string OrdLabels json.RawMessage CorrelationIDs json.RawMessage }
ApplicationRegisterInput missing godoc
func (*ApplicationRegisterInput) ToApplication ¶
func (i *ApplicationRegisterInput) ToApplication(timestamp time.Time, id, tenant string) *Application
ToApplication missing godoc
type ApplicationRegisterInputWithTemplate ¶
type ApplicationRegisterInputWithTemplate struct { ApplicationRegisterInput TemplateID string }
ApplicationRegisterInputWithTemplate missing godoc
type ApplicationStatus ¶
type ApplicationStatus struct { Condition ApplicationStatusCondition Timestamp time.Time }
ApplicationStatus missing godoc
type ApplicationStatusCondition ¶
type ApplicationStatusCondition string
ApplicationStatusCondition missing godoc
const ( // ApplicationStatusConditionInitial missing godoc ApplicationStatusConditionInitial ApplicationStatusCondition = "INITIAL" // ApplicationStatusConditionManaged missing godoc ApplicationStatusConditionManaged ApplicationStatusCondition = "MANAGED" // ApplicationStatusConditionConnected missing godoc ApplicationStatusConditionConnected ApplicationStatusCondition = "CONNECTED" // ApplicationStatusConditionFailed missing godoc ApplicationStatusConditionFailed ApplicationStatusCondition = "FAILED" // ApplicationStatusConditionCreating missing godoc ApplicationStatusConditionCreating ApplicationStatusCondition = "CREATING" // ApplicationStatusConditionCreateFailed missing godoc ApplicationStatusConditionCreateFailed ApplicationStatusCondition = "CREATE_FAILED" // ApplicationStatusConditionCreateSucceeded missing godoc ApplicationStatusConditionCreateSucceeded ApplicationStatusCondition = "CREATE_SUCCEEDED" // ApplicationStatusConditionUpdating missing godoc ApplicationStatusConditionUpdating ApplicationStatusCondition = "UPDATING" // ApplicationStatusConditionUpdateFailed missing godoc ApplicationStatusConditionUpdateFailed ApplicationStatusCondition = "UPDATE_FAILED" // ApplicationStatusConditionUpdateSucceeded missing godoc ApplicationStatusConditionUpdateSucceeded ApplicationStatusCondition = "UPDATE_SUCCEEDED" // ApplicationStatusConditionDeleting missing godoc ApplicationStatusConditionDeleting ApplicationStatusCondition = "DELETING" // ApplicationStatusConditionDeleteFailed missing godoc ApplicationStatusConditionDeleteFailed ApplicationStatusCondition = "DELETE_FAILED" // ApplicationStatusConditionDeleteSucceeded missing godoc ApplicationStatusConditionDeleteSucceeded ApplicationStatusCondition = "DELETE_SUCCEEDED" )
type ApplicationTemplate ¶
type ApplicationTemplate struct { ID string Name string Description *string ApplicationInputJSON string Placeholders []ApplicationTemplatePlaceholder AccessLevel ApplicationTemplateAccessLevel Webhooks []Webhook }
ApplicationTemplate missing godoc
type ApplicationTemplateAccessLevel ¶
type ApplicationTemplateAccessLevel string
ApplicationTemplateAccessLevel missing godoc
const (
GlobalApplicationTemplateAccessLevel ApplicationTemplateAccessLevel = "GLOBAL"
)
GlobalApplicationTemplateAccessLevel missing godoc
type ApplicationTemplateInput ¶
type ApplicationTemplateInput struct { Name string Description *string ApplicationInputJSON string Placeholders []ApplicationTemplatePlaceholder AccessLevel ApplicationTemplateAccessLevel Webhooks []*WebhookInput }
ApplicationTemplateInput missing godoc
func (*ApplicationTemplateInput) ToApplicationTemplate ¶
func (a *ApplicationTemplateInput) ToApplicationTemplate(id string) ApplicationTemplate
ToApplicationTemplate missing godoc
type ApplicationTemplatePage ¶
type ApplicationTemplatePage struct { Data []*ApplicationTemplate PageInfo *pagination.Page TotalCount int }
ApplicationTemplatePage missing godoc
type ApplicationTemplatePlaceholder ¶
ApplicationTemplatePlaceholder missing godoc
type ApplicationTemplateUpdateInput ¶
type ApplicationTemplateUpdateInput struct { Name string Description *string ApplicationInputJSON string Placeholders []ApplicationTemplatePlaceholder AccessLevel ApplicationTemplateAccessLevel }
ApplicationTemplateUpdateInput missing godoc
func (*ApplicationTemplateUpdateInput) ToApplicationTemplate ¶
func (a *ApplicationTemplateUpdateInput) ToApplicationTemplate(id string) ApplicationTemplate
ToApplicationTemplate missing godoc
type ApplicationTemplateValueInput ¶
ApplicationTemplateValueInput missing godoc
type ApplicationUpdateInput ¶
type ApplicationUpdateInput struct { ProviderName *string Description *string HealthCheckURL *string IntegrationSystemID *string StatusCondition *ApplicationStatusCondition BaseURL *string Labels json.RawMessage CorrelationIDs json.RawMessage }
ApplicationUpdateInput missing godoc
type Auth ¶
type Auth struct { Credential CredentialData AdditionalHeaders map[string][]string AdditionalQueryParams map[string][]string RequestAuth *CredentialRequestAuth OneTimeToken *OneTimeToken }
Auth missing godoc
type AuthInput ¶
type AuthInput struct { Credential *CredentialDataInput AdditionalHeaders map[string][]string AdditionalQueryParams map[string][]string RequestAuth *CredentialRequestAuthInput OneTimeToken *OneTimeToken }
AuthInput missing godoc
type AutomaticScenarioAssignment ¶
type AutomaticScenarioAssignment struct { ScenarioName string Tenant string Selector LabelSelector }
AutomaticScenarioAssignment missing godoc
type AutomaticScenarioAssignmentPage ¶
type AutomaticScenarioAssignmentPage struct { Data []*AutomaticScenarioAssignment PageInfo *pagination.Page TotalCount int }
AutomaticScenarioAssignmentPage missing godoc
type BaseEntity ¶
type BaseEntity struct { ID string Ready bool CreatedAt *time.Time UpdatedAt *time.Time DeletedAt *time.Time Error *string }
BaseEntity missing godoc
func (*BaseEntity) GetCreatedAt ¶
func (e *BaseEntity) GetCreatedAt() time.Time
GetCreatedAt missing godoc
func (*BaseEntity) GetDeletedAt ¶
func (e *BaseEntity) GetDeletedAt() time.Time
GetDeletedAt missing godoc
func (*BaseEntity) GetUpdatedAt ¶
func (e *BaseEntity) GetUpdatedAt() time.Time
GetUpdatedAt missing godoc
func (*BaseEntity) SetCreatedAt ¶
func (e *BaseEntity) SetCreatedAt(t time.Time)
SetCreatedAt missing godoc
func (*BaseEntity) SetDeletedAt ¶
func (e *BaseEntity) SetDeletedAt(t time.Time)
SetDeletedAt missing godoc
func (*BaseEntity) SetUpdatedAt ¶
func (e *BaseEntity) SetUpdatedAt(t time.Time)
SetUpdatedAt missing godoc
type BasicCredentialData ¶
BasicCredentialData missing godoc
type BasicCredentialDataInput ¶
BasicCredentialDataInput missing godoc
func (*BasicCredentialDataInput) ToBasicCredentialData ¶
func (i *BasicCredentialDataInput) ToBasicCredentialData() *BasicCredentialData
ToBasicCredentialData missing godoc
type Bundle ¶
type Bundle struct { TenantID string ApplicationID string Name string Description *string InstanceAuthRequestInputSchema *string DefaultInstanceAuth *Auth OrdID *string ShortDescription *string Links json.RawMessage Labels json.RawMessage CredentialExchangeStrategies json.RawMessage *BaseEntity }
Bundle missing godoc
func (*Bundle) SetFromUpdateInput ¶
func (bndl *Bundle) SetFromUpdateInput(update BundleUpdateInput)
SetFromUpdateInput missing godoc
type BundleCreateInput ¶
type BundleCreateInput struct { Name string `json:"title"` Description *string `json:"description"` InstanceAuthRequestInputSchema *string `json:",omitempty"` DefaultInstanceAuth *AuthInput `json:",omitempty"` OrdID *string `json:"ordId"` ShortDescription *string `json:"shortDescription"` Links json.RawMessage `json:"links"` Labels json.RawMessage `json:"labels"` CredentialExchangeStrategies json.RawMessage `json:"credentialExchangeStrategies"` APIDefinitions []*APIDefinitionInput `json:",omitempty"` APISpecs []*SpecInput `json:",omitempty"` EventDefinitions []*EventDefinitionInput `json:",omitempty"` EventSpecs []*SpecInput `json:",omitempty"` Documents []*DocumentInput `json:",omitempty"` }
BundleCreateInput missing godoc
func (*BundleCreateInput) ToBundle ¶
func (i *BundleCreateInput) ToBundle(id, applicationID, tenantID string) *Bundle
ToBundle missing godoc
type BundleInstanceAuth ¶
type BundleInstanceAuth struct { ID string BundleID string RuntimeID *string RuntimeContextID *string Tenant string Context *string InputParams *string Auth *Auth Status *BundleInstanceAuthStatus }
BundleInstanceAuth missing godoc
func (*BundleInstanceAuth) SetDefaultStatus ¶
func (a *BundleInstanceAuth) SetDefaultStatus(condition BundleInstanceAuthStatusCondition, timestamp time.Time) error
SetDefaultStatus missing godoc
type BundleInstanceAuthRequestInput ¶
BundleInstanceAuthRequestInput type for requestBundleInstanceAuthCreation
func (BundleInstanceAuthRequestInput) ToBundleInstanceAuth ¶
func (ri BundleInstanceAuthRequestInput) ToBundleInstanceAuth(id, bundleID, tenant string, auth *Auth, status *BundleInstanceAuthStatus, runtimeID *string, runtimeContextID *string) BundleInstanceAuth
ToBundleInstanceAuth missing godoc
type BundleInstanceAuthSetInput ¶
type BundleInstanceAuthSetInput struct { Auth *AuthInput Status *BundleInstanceAuthStatusInput }
BundleInstanceAuthSetInput type for setBundleInstanceAuth
type BundleInstanceAuthSetStatusConditionInput ¶
type BundleInstanceAuthSetStatusConditionInput string
BundleInstanceAuthSetStatusConditionInput missing godoc
const ( // BundleInstanceAuthSetStatusConditionInputSucceeded missing godoc BundleInstanceAuthSetStatusConditionInputSucceeded BundleInstanceAuthSetStatusConditionInput = "SUCCEEDED" // BundleInstanceAuthSetStatusConditionInputFailed missing godoc BundleInstanceAuthSetStatusConditionInputFailed BundleInstanceAuthSetStatusConditionInput = "FAILED" )
type BundleInstanceAuthStatus ¶
type BundleInstanceAuthStatus struct { Condition BundleInstanceAuthStatusCondition Timestamp time.Time Message string Reason string }
BundleInstanceAuthStatus missing godoc
type BundleInstanceAuthStatusCondition ¶
type BundleInstanceAuthStatusCondition string
BundleInstanceAuthStatusCondition missing godoc
const ( // BundleInstanceAuthStatusConditionPending missing godoc BundleInstanceAuthStatusConditionPending BundleInstanceAuthStatusCondition = "PENDING" // BundleInstanceAuthStatusConditionSucceeded missing godoc BundleInstanceAuthStatusConditionSucceeded BundleInstanceAuthStatusCondition = "SUCCEEDED" // BundleInstanceAuthStatusConditionFailed missing godoc BundleInstanceAuthStatusConditionFailed BundleInstanceAuthStatusCondition = "FAILED" // BundleInstanceAuthStatusConditionUnused missing godoc BundleInstanceAuthStatusConditionUnused BundleInstanceAuthStatusCondition = "UNUSED" )
type BundleInstanceAuthStatusInput ¶
type BundleInstanceAuthStatusInput struct { Condition BundleInstanceAuthSetStatusConditionInput Message string Reason string }
BundleInstanceAuthStatusInput missing godoc
func (*BundleInstanceAuthStatusInput) ToBundleInstanceAuthStatus ¶
func (si *BundleInstanceAuthStatusInput) ToBundleInstanceAuthStatus(timestamp time.Time) *BundleInstanceAuthStatus
ToBundleInstanceAuthStatus missing godoc
type BundlePage ¶
type BundlePage struct { Data []*Bundle PageInfo *pagination.Page TotalCount int }
BundlePage missing godoc
type BundleReference ¶
type BundleReference struct { Tenant string BundleID *string ObjectType BundleReferenceObjectType ObjectID *string APIDefaultTargetURL *string }
BundleReference missing godoc
type BundleReferenceInput ¶
type BundleReferenceInput struct {
APIDefaultTargetURL *string
}
BundleReferenceInput missing godoc
func (*BundleReferenceInput) ToBundleReference ¶
func (b *BundleReferenceInput) ToBundleReference(tenant string, objectType BundleReferenceObjectType, bundleID, objectID *string) (*BundleReference, error)
ToBundleReference missing godoc
type BundleReferenceObjectType ¶
type BundleReferenceObjectType string
BundleReferenceObjectType missing godoc
const ( // BundleAPIReference missing godoc BundleAPIReference BundleReferenceObjectType = "API" // BundleEventReference missing godoc BundleEventReference BundleReferenceObjectType = "Event" )
type BundleUpdateInput ¶
type BundleUpdateInput struct { Name string Description *string InstanceAuthRequestInputSchema *string DefaultInstanceAuth *AuthInput OrdID *string ShortDescription *string Links json.RawMessage Labels json.RawMessage CredentialExchangeStrategies json.RawMessage }
BundleUpdateInput missing godoc
type BusinessTenantMapping ¶
type BusinessTenantMapping struct { ID string Name string ExternalTenant string Parent string Type tenant.Type Provider string Status tenant.Status Initialized *bool // computed value }
BusinessTenantMapping missing godoc
func (BusinessTenantMapping) WithExternalTenant ¶
func (t BusinessTenantMapping) WithExternalTenant(externalTenant string) BusinessTenantMapping
WithExternalTenant missing godoc
func (BusinessTenantMapping) WithStatus ¶
func (t BusinessTenantMapping) WithStatus(status tenant.Status) BusinessTenantMapping
WithStatus missing godoc
type BusinessTenantMappingInput ¶
type BusinessTenantMappingInput struct { Name string `json:"name"` ExternalTenant string `json:"id"` Parent string `json:"parent"` Subdomain string `json:"subdomain"` Type string `json:"type"` Provider string }
BusinessTenantMappingInput missing godoc
func (*BusinessTenantMappingInput) ToBusinessTenantMapping ¶
func (i *BusinessTenantMappingInput) ToBusinessTenantMapping(id string) *BusinessTenantMapping
ToBusinessTenantMapping missing godoc
func (BusinessTenantMappingInput) WithExternalTenant ¶
func (i BusinessTenantMappingInput) WithExternalTenant(externalTenant string) BusinessTenantMappingInput
WithExternalTenant missing godoc
type CSRFTokenCredentialRequestAuth ¶
type CSRFTokenCredentialRequestAuth struct { TokenEndpointURL string Credential CredentialData AdditionalHeaders map[string][]string AdditionalQueryParams map[string][]string }
CSRFTokenCredentialRequestAuth missing godoc
type CSRFTokenCredentialRequestAuthInput ¶
type CSRFTokenCredentialRequestAuthInput struct { TokenEndpointURL string Credential *CredentialDataInput AdditionalHeaders map[string][]string AdditionalQueryParams map[string][]string }
CSRFTokenCredentialRequestAuthInput missing godoc
func (*CSRFTokenCredentialRequestAuthInput) ToCSRFTokenCredentialRequestAuth ¶
func (i *CSRFTokenCredentialRequestAuthInput) ToCSRFTokenCredentialRequestAuth() *CSRFTokenCredentialRequestAuth
ToCSRFTokenCredentialRequestAuth missing godoc
type ConsumptionBundleReference ¶
type ConsumptionBundleReference struct { BundleOrdID string `json:"ordId"` DefaultTargetURL string `json:"defaultEntryPoint"` }
ConsumptionBundleReference missing godoc
type CredentialData ¶
type CredentialData struct { Basic *BasicCredentialData Oauth *OAuthCredentialData }
CredentialData missing godoc
type CredentialDataInput ¶
type CredentialDataInput struct { Basic *BasicCredentialDataInput Oauth *OAuthCredentialDataInput }
CredentialDataInput missing godoc
func (*CredentialDataInput) ToCredentialData ¶
func (i *CredentialDataInput) ToCredentialData() *CredentialData
ToCredentialData missing godoc
type CredentialRequestAuth ¶
type CredentialRequestAuth struct {
Csrf *CSRFTokenCredentialRequestAuth
}
CredentialRequestAuth missing godoc
type CredentialRequestAuthInput ¶
type CredentialRequestAuthInput struct {
Csrf *CSRFTokenCredentialRequestAuthInput
}
CredentialRequestAuthInput missing godoc
func (*CredentialRequestAuthInput) ToCredentialRequestAuth ¶
func (i *CredentialRequestAuthInput) ToCredentialRequestAuth() *CredentialRequestAuth
ToCredentialRequestAuth missing godoc
type Document ¶
type Document struct { BundleID string Tenant string Title string DisplayName string Description string Format DocumentFormat // for example Service Class, API etc Kind *string Data *string *BaseEntity }
Document missing godoc
type DocumentFormat ¶
type DocumentFormat string
DocumentFormat missing godoc
const (
DocumentFormatMarkdown DocumentFormat = "MARKDOWN"
)
DocumentFormatMarkdown missing godoc
type DocumentInput ¶
type DocumentInput struct { Title string DisplayName string Description string Format DocumentFormat Kind *string Data *string FetchRequest *FetchRequestInput }
DocumentInput missing godoc
func (*DocumentInput) ToDocumentWithinBundle ¶
func (d *DocumentInput) ToDocumentWithinBundle(id, tenant string, bundleID string) *Document
ToDocumentWithinBundle missing godoc
type DocumentPage ¶
type DocumentPage struct { Data []*Document PageInfo *pagination.Page TotalCount int }
DocumentPage missing godoc
type Entity ¶
type Entity interface { GetID() string GetType() resource.Type GetReady() bool SetReady(ready bool) GetCreatedAt() time.Time SetCreatedAt(t time.Time) GetUpdatedAt() time.Time SetUpdatedAt(t time.Time) GetDeletedAt() time.Time SetDeletedAt(t time.Time) GetError() *string SetError(err string) }
Entity denotes a model-layer entity which can be timestamped with created_at, updated_at, deleted_at and ready values
type EventDefinition ¶
type EventDefinition struct { Tenant string ApplicationID string PackageID *string Name string Description *string Group *string OrdID *string ShortDescription *string SystemInstanceAware *bool ChangeLogEntries json.RawMessage Links json.RawMessage Tags json.RawMessage Countries json.RawMessage ReleaseStatus *string SunsetDate *string Successors json.RawMessage Labels json.RawMessage Visibility *string Disabled *bool PartOfProducts json.RawMessage LineOfBusiness json.RawMessage Industry json.RawMessage Extensible json.RawMessage ResourceHash *string Version *Version *BaseEntity }
EventDefinition missing godoc
func (*EventDefinition) GetType ¶
func (*EventDefinition) GetType() resource.Type
GetType missing godoc
type EventDefinitionInput ¶
type EventDefinitionInput struct { OrdPackageID *string `json:"partOfPackage"` Name string `json:"title"` Description *string `json:"description"` Group *string `json:",omitempty"` OrdID *string `json:"ordId"` ShortDescription *string `json:"shortDescription"` SystemInstanceAware *bool `json:"systemInstanceAware"` ChangeLogEntries json.RawMessage `json:"changelogEntries"` Links json.RawMessage `json:"links"` Tags json.RawMessage `json:"tags"` Countries json.RawMessage `json:"countries"` ReleaseStatus *string `json:"releaseStatus"` SunsetDate *string `json:"sunsetDate"` Successors json.RawMessage `json:"successors,omitempty"` Labels json.RawMessage `json:"labels"` Visibility *string `json:"visibility"` Disabled *bool `json:"disabled"` PartOfProducts json.RawMessage `json:"partOfProducts"` LineOfBusiness json.RawMessage `json:"lineOfBusiness"` Industry json.RawMessage `json:"industry"` Extensible json.RawMessage `json:"extensible"` ResourceDefinitions []*EventResourceDefinition `json:"resourceDefinitions"` PartOfConsumptionBundles []*ConsumptionBundleReference `json:"partOfConsumptionBundles"` *VersionInput `hash:"ignore"` }
EventDefinitionInput missing godoc
func (*EventDefinitionInput) ToEventDefinition ¶
func (e *EventDefinitionInput) ToEventDefinition(id, appID string, packageID *string, tenant string, eventHash uint64) *EventDefinition
ToEventDefinition missing godoc
func (*EventDefinitionInput) ToEventDefinitionWithinBundle ¶
func (e *EventDefinitionInput) ToEventDefinitionWithinBundle(id, appID, bndlID, tenant string, eventHash uint64) *EventDefinition
ToEventDefinitionWithinBundle missing godoc
type EventDefinitionPage ¶
type EventDefinitionPage struct { Data []*EventDefinition PageInfo *pagination.Page TotalCount int }
EventDefinitionPage missing godoc
func (EventDefinitionPage) IsPageable ¶
func (EventDefinitionPage) IsPageable()
IsPageable missing godoc
type EventResourceDefinition ¶
type EventResourceDefinition struct { Type EventSpecType `json:"type"` CustomType string `json:"customType"` MediaType SpecFormat `json:"mediaType"` URL string `json:"url"` AccessStrategy []AccessStrategy `json:"accessStrategies"` }
EventResourceDefinition missing godoc
func (*EventResourceDefinition) ToSpec ¶
func (rd *EventResourceDefinition) ToSpec() *SpecInput
ToSpec missing godoc
func (*EventResourceDefinition) Validate ¶
func (rd *EventResourceDefinition) Validate() error
Validate missing godoc
type EventSpecType ¶
type EventSpecType string
EventSpecType missing godoc
const ( // EventSpecTypeAsyncAPI missing godoc EventSpecTypeAsyncAPI EventSpecType = "ASYNC_API" // EventSpecTypeAsyncAPIV2 missing godoc EventSpecTypeAsyncAPIV2 EventSpecType = "asyncapi-v2" // EventSpecTypeCustom missing godoc EventSpecTypeCustom EventSpecType = "custom" )
type EventingConfiguration ¶
EventingConfiguration missing godoc
type FetchRequest ¶
type FetchRequest struct { ID string Tenant string URL string Auth *Auth Mode FetchMode Filter *string Status *FetchRequestStatus ObjectType FetchRequestReferenceObjectType ObjectID string }
FetchRequest compass performs fetch to validate if request is correct and stores a copy
type FetchRequestInput ¶
FetchRequestInput missing godoc
func (*FetchRequestInput) ToFetchRequest ¶
func (f *FetchRequestInput) ToFetchRequest(timestamp time.Time, id, tenant string, objectType FetchRequestReferenceObjectType, objectID string) *FetchRequest
ToFetchRequest missing godoc
type FetchRequestReferenceObjectType ¶
type FetchRequestReferenceObjectType string
FetchRequestReferenceObjectType missing godoc
const ( // SpecFetchRequestReference missing godoc SpecFetchRequestReference FetchRequestReferenceObjectType = "Spec" // DocumentFetchRequestReference missing godoc DocumentFetchRequestReference FetchRequestReferenceObjectType = "Document" )
type FetchRequestStatus ¶
type FetchRequestStatus struct { Condition FetchRequestStatusCondition Message *string Timestamp time.Time }
FetchRequestStatus missing godoc
type FetchRequestStatusCondition ¶
type FetchRequestStatusCondition string
FetchRequestStatusCondition missing godoc
const ( // FetchRequestStatusConditionInitial missing godoc FetchRequestStatusConditionInitial FetchRequestStatusCondition = "INITIAL" // FetchRequestStatusConditionSucceeded missing godoc FetchRequestStatusConditionSucceeded FetchRequestStatusCondition = "SUCCEEDED" // FetchRequestStatusConditionFailed missing godoc FetchRequestStatusConditionFailed FetchRequestStatusCondition = "FAILED" )
type IntegrationSystem ¶
IntegrationSystem missing godoc
type IntegrationSystemInput ¶
IntegrationSystemInput missing godoc
func (*IntegrationSystemInput) ToIntegrationSystem ¶
func (i *IntegrationSystemInput) ToIntegrationSystem(id string) IntegrationSystem
ToIntegrationSystem missing godoc
type IntegrationSystemPage ¶
type IntegrationSystemPage struct { Data []*IntegrationSystem PageInfo *pagination.Page TotalCount int }
IntegrationSystemPage missing godoc
type Label ¶
type Label struct { ID string Tenant string Key string Value interface{} ObjectID string ObjectType LabelableObject }
Label missing godoc
func NewLabelForApplication ¶
func NewLabelForApplication(app Application, key string, value interface{}) *Label
NewLabelForApplication missing godoc
func NewLabelForRuntime ¶
NewLabelForRuntime missing godoc
func NewLabelForRuntimeContext ¶
func NewLabelForRuntimeContext(runtimeCtx RuntimeContext, key string, value interface{}) *Label
NewLabelForRuntimeContext missing godoc
type LabelDefinition ¶
LabelDefinition missing godoc
type LabelInput ¶
type LabelInput struct { Key string Value interface{} ObjectID string ObjectType LabelableObject }
LabelInput missing godoc
func (*LabelInput) ToLabel ¶
func (i *LabelInput) ToLabel(id, tenant string) *Label
ToLabel missing godoc
type LabelSelector ¶
LabelSelector missing godoc
type LabelableObject ¶
type LabelableObject string
LabelableObject missing godoc
const ( // RuntimeLabelableObject missing godoc RuntimeLabelableObject LabelableObject = "Runtime" // RuntimeContextLabelableObject missing godoc RuntimeContextLabelableObject LabelableObject = "Runtime Context" // ApplicationLabelableObject missing godoc ApplicationLabelableObject LabelableObject = "Application" // TenantLabelableObject missing godoc TenantLabelableObject LabelableObject = "Tenant" )
type MovedRuntimeByLabelMappingInput ¶
type MovedRuntimeByLabelMappingInput struct { LabelValue string SourceTenant string TargetTenant string }
MovedRuntimeByLabelMappingInput missing godoc
type OAuthCredentialData ¶
OAuthCredentialData missing godoc
type OAuthCredentialDataInput ¶
OAuthCredentialDataInput missing godoc
func (*OAuthCredentialDataInput) ToOAuthCredentialData ¶
func (i *OAuthCredentialDataInput) ToOAuthCredentialData() *OAuthCredentialData
ToOAuthCredentialData missing godoc
type OneTimeToken ¶
type OneTimeToken struct { Token string ConnectorURL string Type tokens.TokenType CreatedAt time.Time Used bool UsedAt time.Time }
OneTimeToken missing godoc
type Package ¶
type Package struct { ID string TenantID string ApplicationID string OrdID string Vendor *string Title string ShortDescription string Description string Version string PackageLinks json.RawMessage Links json.RawMessage LicenseType *string Tags json.RawMessage Countries json.RawMessage Labels json.RawMessage PolicyLevel string CustomPolicyLevel *string PartOfProducts json.RawMessage LineOfBusiness json.RawMessage Industry json.RawMessage ResourceHash *string }
Package missing godoc
func (*Package) SetFromUpdateInput ¶
func (p *Package) SetFromUpdateInput(update PackageInput, pkgHash uint64)
SetFromUpdateInput missing godoc
type PackageInput ¶
type PackageInput struct { OrdID string `json:"ordId"` Vendor *string `json:"vendor"` Title string `json:"title"` ShortDescription string `json:"shortDescription"` Description string `json:"description"` Version string `json:"version" hash:"ignore"` PackageLinks json.RawMessage `json:"packageLinks"` Links json.RawMessage `json:"links"` LicenseType *string `json:"licenseType"` Tags json.RawMessage `json:"tags"` Countries json.RawMessage `json:"countries"` Labels json.RawMessage `json:"labels"` PolicyLevel string `json:"policyLevel"` CustomPolicyLevel *string `json:"customPolicyLevel"` PartOfProducts json.RawMessage `json:"partOfProducts"` LineOfBusiness json.RawMessage `json:"lineOfBusiness"` Industry json.RawMessage `json:"industry"` }
PackageInput missing godoc
type Product ¶
type Product struct { ID string OrdID string TenantID string ApplicationID string Title string ShortDescription string Vendor string Parent *string CorrelationIDs json.RawMessage Labels json.RawMessage }
Product missing godoc
func (*Product) SetFromUpdateInput ¶
func (p *Product) SetFromUpdateInput(update ProductInput)
SetFromUpdateInput missing godoc
type ProductInput ¶
type ProductInput struct { OrdID string `json:"ordId"` Title string `json:"title"` ShortDescription string `json:"shortDescription"` Vendor string `json:"vendor"` Parent *string `json:"parent"` CorrelationIDs json.RawMessage `json:"correlationIds"` Labels json.RawMessage `json:"labels"` }
ProductInput missing godoc
func (*ProductInput) ToProduct ¶
func (i *ProductInput) ToProduct(id, tenantID, appID string) *Product
ToProduct missing godoc
type Runtime ¶
type Runtime struct { ID string Name string Description *string Tenant string Status *RuntimeStatus CreationTimestamp time.Time }
Runtime missing godoc
type RuntimeContext ¶
RuntimeContext missing godoc
type RuntimeContextInput ¶
type RuntimeContextInput struct { Key string Value string RuntimeID string Labels map[string]interface{} }
RuntimeContextInput missing godoc
func (*RuntimeContextInput) ToRuntimeContext ¶
func (i *RuntimeContextInput) ToRuntimeContext(id, tenant string) *RuntimeContext
ToRuntimeContext missing godoc
type RuntimeContextPage ¶
type RuntimeContextPage struct { Data []*RuntimeContext PageInfo *pagination.Page TotalCount int }
RuntimeContextPage missing godoc
type RuntimeEventingConfiguration ¶
type RuntimeEventingConfiguration struct {
EventingConfiguration
}
RuntimeEventingConfiguration missing godoc
func NewRuntimeEventingConfiguration ¶
func NewRuntimeEventingConfiguration(rawEventURL string) (*RuntimeEventingConfiguration, error)
NewRuntimeEventingConfiguration missing godoc
type RuntimeInput ¶
type RuntimeInput struct { Name string Description *string Labels map[string]interface{} StatusCondition *RuntimeStatusCondition }
RuntimeInput missing godoc
type RuntimePage ¶
type RuntimePage struct { Data []*Runtime PageInfo *pagination.Page TotalCount int }
RuntimePage missing godoc
type RuntimeStatus ¶
type RuntimeStatus struct { Condition RuntimeStatusCondition Timestamp time.Time }
RuntimeStatus missing godoc
type RuntimeStatusCondition ¶
type RuntimeStatusCondition string
RuntimeStatusCondition missing godoc
const ( // RuntimeStatusConditionInitial missing godoc RuntimeStatusConditionInitial RuntimeStatusCondition = "INITIAL" // RuntimeStatusConditionProvisioning missing godoc RuntimeStatusConditionProvisioning RuntimeStatusCondition = "PROVISIONING" // RuntimeStatusConditionConnected missing godoc RuntimeStatusConditionConnected RuntimeStatusCondition = "CONNECTED" // RuntimeStatusConditionFailed missing godoc RuntimeStatusConditionFailed RuntimeStatusCondition = "FAILED" )
type Spec ¶
type Spec struct { ID string Tenant string ObjectType SpecReferenceObjectType ObjectID string Data *string Format SpecFormat APIType *APISpecType EventType *EventSpecType CustomType *string }
Spec missing godoc
type SpecFormat ¶
type SpecFormat string
SpecFormat missing godoc
const ( // SpecFormatYaml missing godoc SpecFormatYaml SpecFormat = "YAML" // SpecFormatJSON missing godoc SpecFormatJSON SpecFormat = "JSON" // SpecFormatXML missing godoc SpecFormatXML SpecFormat = "XML" // SpecFormatApplicationJSON missing godoc SpecFormatApplicationJSON SpecFormat = "application/json" // SpecFormatTextYAML missing godoc SpecFormatTextYAML SpecFormat = "text/yaml" // SpecFormatApplicationXML missing godoc SpecFormatApplicationXML SpecFormat = "application/xml" // SpecFormatPlainText missing godoc SpecFormatPlainText SpecFormat = "text/plain" // SpecFormatOctetStream missing godoc SpecFormatOctetStream SpecFormat = "application/octet-stream" )
type SpecInput ¶
type SpecInput struct { Data *string Format SpecFormat APIType *APISpecType EventType *EventSpecType CustomType *string FetchRequest *FetchRequestInput }
SpecInput missing godoc
type SpecReferenceObjectType ¶
type SpecReferenceObjectType string
SpecReferenceObjectType missing godoc
const ( // APISpecReference missing godoc APISpecReference SpecReferenceObjectType = "API" // EventSpecReference missing godoc EventSpecReference SpecReferenceObjectType = "Event" )
type SystemAuth ¶
type SystemAuth struct { ID string TenantID *string AppID *string RuntimeID *string IntegrationSystemID *string Value *Auth }
SystemAuth missing godoc
func (SystemAuth) GetReferenceObjectID ¶
func (sa SystemAuth) GetReferenceObjectID() (string, error)
GetReferenceObjectID missing godoc
func (SystemAuth) GetReferenceObjectType ¶
func (sa SystemAuth) GetReferenceObjectType() (SystemAuthReferenceObjectType, error)
GetReferenceObjectType missing godoc
type SystemAuthReferenceObjectType ¶
type SystemAuthReferenceObjectType string
SystemAuthReferenceObjectType missing godoc
const ( // RuntimeReference missing godoc RuntimeReference SystemAuthReferenceObjectType = "Runtime" // ApplicationReference missing godoc ApplicationReference SystemAuthReferenceObjectType = "Application" // IntegrationSystemReference missing godoc IntegrationSystemReference SystemAuthReferenceObjectType = "Integration System" )
type Tombstone ¶
type Tombstone struct { ID string OrdID string TenantID string ApplicationID string RemovalDate string }
Tombstone missing godoc
func (*Tombstone) SetFromUpdateInput ¶
func (p *Tombstone) SetFromUpdateInput(update TombstoneInput)
SetFromUpdateInput missing godoc
type TombstoneInput ¶
TombstoneInput missing godoc
func (*TombstoneInput) ToTombstone ¶
func (i *TombstoneInput) ToTombstone(id, tenantID, appID string) *Tombstone
ToTombstone missing godoc
type Vendor ¶
type Vendor struct { ID string OrdID string TenantID string ApplicationID string Title string Partners json.RawMessage Labels json.RawMessage }
Vendor missing godoc
func (*Vendor) SetFromUpdateInput ¶
func (p *Vendor) SetFromUpdateInput(update VendorInput)
SetFromUpdateInput missing godoc
type VendorInput ¶
type VendorInput struct { OrdID string `json:"ordId"` Title string `json:"title"` Partners json.RawMessage `json:"partners"` Labels json.RawMessage `json:"labels"` }
VendorInput missing godoc
func (*VendorInput) ToVendor ¶
func (i *VendorInput) ToVendor(id, tenantID, appID string) *Vendor
ToVendor missing godoc
type Version ¶
type Version struct { // for example 4.6 Value string Deprecated *bool // for example 4.5 DeprecatedSince *string // if true, will be removed in the next version ForRemoval *bool }
Version missing godoc
type VersionInput ¶
type VersionInput struct { Value string `json:"version"` Deprecated *bool `json:",omitempty"` DeprecatedSince *string `json:",omitempty"` ForRemoval *bool `json:",omitempty"` }
VersionInput missing godoc
func (*VersionInput) ToVersion ¶
func (v *VersionInput) ToVersion() *Version
ToVersion missing godoc
type Webhook ¶
type Webhook struct { ID string TenantID *string ApplicationID *string ApplicationTemplateID *string RuntimeID *string IntegrationSystemID *string CorrelationIDKey *string Type WebhookType URL *string Auth *Auth Mode *WebhookMode RetryInterval *int Timeout *int URLTemplate *string InputTemplate *string HeaderTemplate *string OutputTemplate *string StatusTemplate *string }
Webhook missing godoc
type WebhookConverterFunc ¶
type WebhookConverterFunc func(i *WebhookInput, id string, tenant *string, resourceID string) *Webhook
WebhookConverterFunc missing godoc
type WebhookInput ¶
type WebhookInput struct { CorrelationIDKey *string Type WebhookType URL *string Auth *AuthInput Mode *WebhookMode RetryInterval *int Timeout *int URLTemplate *string InputTemplate *string HeaderTemplate *string OutputTemplate *string StatusTemplate *string }
WebhookInput missing godoc
func (*WebhookInput) ToApplicationTemplateWebhook ¶
func (i *WebhookInput) ToApplicationTemplateWebhook(id string, tenant *string, appTemplateID string) *Webhook
ToApplicationTemplateWebhook missing godoc
func (*WebhookInput) ToApplicationWebhook ¶
func (i *WebhookInput) ToApplicationWebhook(id string, tenant *string, applicationID string) *Webhook
ToApplicationWebhook missing godoc
type WebhookMode ¶
type WebhookMode string
WebhookMode missing godoc
const ( // WebhookModeSync missing godoc WebhookModeSync WebhookMode = "SYNC" // WebhookModeAsync missing godoc WebhookModeAsync WebhookMode = "ASYNC" )
type WebhookType ¶
type WebhookType string
WebhookType missing godoc
const ( // WebhookTypeConfigurationChanged missing godoc WebhookTypeConfigurationChanged WebhookType = "CONFIGURATION_CHANGED" // WebhookTypeRegisterApplication missing godoc WebhookTypeRegisterApplication WebhookType = "REGISTER_APPLICATION" // WebhookTypeDeleteApplication missing godoc WebhookTypeDeleteApplication WebhookType = "UNREGISTER_APPLICATION" // WebhookTypeOpenResourceDiscovery missing godoc WebhookTypeOpenResourceDiscovery WebhookType = "OPEN_RESOURCE_DISCOVERY" )
Source Files ¶
- api.go
- api_runtime_auth.go
- app_template.go
- application.go
- auth.go
- base_entity.go
- bundle.go
- bundle_instance_auth.go
- bundle_references.go
- businesstenantmapping.go
- document.go
- eventapi.go
- eventing.go
- fetchrequest.go
- integrationsystem.go
- label.go
- labeldef.go
- one_time_token.go
- package.go
- product.go
- runtime.go
- runtime_context.go
- scenarioassignment.go
- scenarios.go
- spec.go
- system_auth.go
- tombstone.go
- vendor.go
- version.go
- webhook.go