subscriptionworkflow

package
v1.0.0-beta.215 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationEditUniqueKey = "subscription.workflow.patchid"
)

Variables

View Source
var AnnotationParser = annotationParser{}

Functions

func MapSubscriptionErrors

func MapSubscriptionErrors(err error) error

Types

type AddAddonWorkflowInput

type AddAddonWorkflowInput struct {
	models.MetadataModel

	AddonID string `json:"addonID"`

	InitialQuantity int `json:"initialQuantity"`

	Timing subscription.Timing `json:"timing"`
}

func (AddAddonWorkflowInput) Validate

func (i AddAddonWorkflowInput) Validate() error

type ChangeAddonQuantityWorkflowInput

type ChangeAddonQuantityWorkflowInput struct {
	SubscriptionAddonID models.NamespacedID

	Quantity int `json:"quantity"`

	Timing subscription.Timing `json:"timing"`
}

func (ChangeAddonQuantityWorkflowInput) Validate

type ChangeSubscriptionWorkflowInput

type ChangeSubscriptionWorkflowInput struct {
	subscription.Timing
	models.MetadataModel
	Name        string
	Description *string

	BillingAnchor *time.Time `json:"billingAnchor,omitempty"`
}

type CreateSubscriptionWorkflowInput

type CreateSubscriptionWorkflowInput struct {
	ChangeSubscriptionWorkflowInput
	Namespace  string
	CustomerID string

	BillingAnchor *time.Time `json:"billingAnchor,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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