Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanSubscriptionAdapter ¶
type PlanSubscriptionAdapter interface {
// GetPlan returns the plan for the Ref with all it's dependent resources.
//
// If the Plan is Not Found, it should return a PlanNotFoundError.
GetVersion(ctx context.Context, namespace string, ref plansubscription.PlanRefInput) (subscription.Plan, error)
// Converts a plan.CreatePlanInput to a subscription.Plan.
FromInput(ctx context.Context, namespace string, input plan.CreatePlanInput) (subscription.Plan, error)
}
TODO: we can get rid of this
func NewPlanSubscriptionAdapter ¶
func NewPlanSubscriptionAdapter(config PlanSubscriptionAdapterConfig) PlanSubscriptionAdapter
Click to show internal directories.
Click to hide internal directories.