paramparser

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package paramparser handles the parsing of parameters from brokerapi

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindDetails

type BindDetails struct {
	AppGUID        string
	PlanID         string
	ServiceID      string
	BindAppGUID    string
	RequestParams  map[string]any
	RequestContext map[string]any
}

func ParseBindDetails

func ParseBindDetails(input domain.BindDetails) (BindDetails, error)

type ProvisionDetails

type ProvisionDetails struct {
	ServiceID        string
	PlanID           string
	OrganizationGUID string
	SpaceGUID        string
	RequestParams    map[string]any
	RequestContext   map[string]any
}

func ParseProvisionDetails

func ParseProvisionDetails(input domain.ProvisionDetails) (ProvisionDetails, error)

type UpdateDetails

type UpdateDetails struct {
	ServiceID                      string
	PlanID                         string
	MaintenanceInfoVersion         *version.Version
	PreviousPlanID                 string
	PreviousServiceID              string
	PreviousOrgID                  string
	PreviousSpaceID                string
	PreviousMaintenanceInfoVersion *version.Version
	RequestParams                  map[string]any
	RequestContext                 map[string]any
}

func ParseUpdateDetails

func ParseUpdateDetails(input domain.UpdateDetails) (UpdateDetails, error)

Jump to

Keyboard shortcuts

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