Documentation ¶
Index ¶
- type ApplicationFromTemplateProvider
- type ApplicationProvider
- type ApplicationResource
- type ApplicationTemplateProvider
- type ApplicationTemplateResource
- func (p *ApplicationTemplateResource) GetArtifactKind() *graphql.ArtifactType
- func (p *ApplicationTemplateResource) GetDisplayName() *string
- func (p *ApplicationTemplateResource) GetID() string
- func (p *ApplicationTemplateResource) GetName() string
- func (p *ApplicationTemplateResource) GetType() graphql.ResourceType
- type Constraint
- type FormationProvider
- type FormationTemplateProvider
- func (p *FormationTemplateProvider) Cleanup(t *testing.T, ctx context.Context, gqlClient *gcli.Client)
- func (p *FormationTemplateProvider) Provide(t *testing.T, ctx context.Context, gqlClient *gcli.Client) string
- func (p *FormationTemplateProvider) WithConstraint(constraint Constraint) *FormationTemplateProvider
- func (p *FormationTemplateProvider) WithLeadingProductIDs(leadingProductIDs []string) *FormationTemplateProvider
- func (p *FormationTemplateProvider) WithSupportReset() *FormationTemplateProvider
- func (p *FormationTemplateProvider) WithSupportedResources(resource ...Resource) *FormationTemplateProvider
- func (p *FormationTemplateProvider) WithWebhook(webhook Webhook) *FormationTemplateProvider
- type Provider
- type Resource
- type Webhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationFromTemplateProvider ¶
type ApplicationFromTemplateProvider struct {
// contains filtered or unexported fields
}
func NewApplicationFromTemplateProvider ¶
func NewApplicationFromTemplateProvider(applicationType, namePlaceholder, name, displayNamePlaceholder, displayName, tenantID string) *ApplicationFromTemplateProvider
type ApplicationProvider ¶
type ApplicationProvider struct {
// contains filtered or unexported fields
}
func NewApplicationProvider ¶
func NewApplicationProvider(applicationType, applicationTypeLabelKey, name, tenantID string) *ApplicationProvider
func (*ApplicationProvider) GetResource ¶
func (p *ApplicationProvider) GetResource() Resource
type ApplicationResource ¶
type ApplicationResource struct {
// contains filtered or unexported fields
}
func NewApplicationResource ¶
func NewApplicationResource(appProvider ApplicationProvider) *ApplicationResource
func (*ApplicationResource) GetArtifactKind ¶
func (p *ApplicationResource) GetArtifactKind() *graphql.ArtifactType
GetArtifactKind used only for runtimes, otherwise return empty
func (*ApplicationResource) GetDisplayName ¶
func (p *ApplicationResource) GetDisplayName() *string
func (*ApplicationResource) GetID ¶
func (p *ApplicationResource) GetID() string
func (*ApplicationResource) GetName ¶
func (p *ApplicationResource) GetName() string
func (*ApplicationResource) GetType ¶
func (p *ApplicationResource) GetType() graphql.ResourceType
type ApplicationTemplateProvider ¶
type ApplicationTemplateProvider struct {
// contains filtered or unexported fields
}
func NewApplicationTemplateProvider ¶
func NewApplicationTemplateProvider(applicationType, localTenantID, region, namespace, namePlaceholder, displayNamePlaceholder, tenantID string, webhookInput *graphql.WebhookInput, condition graphql.ApplicationStatusCondition) *ApplicationTemplateProvider
func (*ApplicationTemplateProvider) GetResource ¶
func (p *ApplicationTemplateProvider) GetResource() Resource
type ApplicationTemplateResource ¶
type ApplicationTemplateResource struct {
// contains filtered or unexported fields
}
func NewApplicationTemplateResource ¶
func NewApplicationTemplateResource(tpl graphql.ApplicationTemplate) *ApplicationTemplateResource
func (*ApplicationTemplateResource) GetArtifactKind ¶
func (p *ApplicationTemplateResource) GetArtifactKind() *graphql.ArtifactType
GetArtifactKind used only for runtimes, otherwise return empty
func (*ApplicationTemplateResource) GetDisplayName ¶
func (p *ApplicationTemplateResource) GetDisplayName() *string
func (*ApplicationTemplateResource) GetID ¶
func (p *ApplicationTemplateResource) GetID() string
func (*ApplicationTemplateResource) GetName ¶
func (p *ApplicationTemplateResource) GetName() string
func (*ApplicationTemplateResource) GetType ¶
func (p *ApplicationTemplateResource) GetType() graphql.ResourceType
type Constraint ¶
type Constraint interface {
Attach(templateID string)
}
type FormationProvider ¶
type FormationProvider struct {
// contains filtered or unexported fields
}
func NewFormationProvider ¶
func NewFormationProvider(formationName string, tenantID string, formationTemplateName *string) *FormationProvider
func (*FormationProvider) WithState ¶
func (p *FormationProvider) WithState(state string) *FormationProvider
type FormationTemplateProvider ¶
type FormationTemplateProvider struct {
// contains filtered or unexported fields
}
func NewFormationTemplateCreator ¶
func NewFormationTemplateCreator(formationTypeName string) *FormationTemplateProvider
func (*FormationTemplateProvider) WithConstraint ¶
func (p *FormationTemplateProvider) WithConstraint(constraint Constraint) *FormationTemplateProvider
func (*FormationTemplateProvider) WithLeadingProductIDs ¶
func (p *FormationTemplateProvider) WithLeadingProductIDs(leadingProductIDs []string) *FormationTemplateProvider
func (*FormationTemplateProvider) WithSupportReset ¶
func (p *FormationTemplateProvider) WithSupportReset() *FormationTemplateProvider
func (*FormationTemplateProvider) WithSupportedResources ¶
func (p *FormationTemplateProvider) WithSupportedResources(resource ...Resource) *FormationTemplateProvider
func (*FormationTemplateProvider) WithWebhook ¶
func (p *FormationTemplateProvider) WithWebhook(webhook Webhook) *FormationTemplateProvider
type Resource ¶
type Resource interface { GetType() graphql.ResourceType GetName() string GetArtifactKind() *graphql.ArtifactType // used only for runtimes, otherwise return empty GetDisplayName() *string // used only for runtimes, otherwise return empty GetID() string }
Click to show internal directories.
Click to hide internal directories.