properties

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSources

func ParseSources(sourcesString string) (map[string]osbv1alpha1.Source, error)

ParseSources decodes sources yaml into a map

Types

type GenericStatus

type GenericStatus struct {
	State    string `yaml:"state" json:"state"`
	Error    string `yaml:"error,omitempty" json:"error,omitempty"`
	Response string `yaml:"response,omitempty" json:"response,omitempty"`
}

GenericStatus defines template provided by the service for binding response

type InstanceStatus

type InstanceStatus struct {
	State            string `yaml:"state" json:"state"`
	Error            string `yaml:"error,omitempty" json:"error,omitempty"`
	Response         string `yaml:"response,omitempty" json:"response,omitempty"`
	DashboardURL     string `yaml:"dashboardUrl,omitempty" json:"dashboardUrl,omitempty"`
	InstanceUsable   string `yaml:"instanceUsable,omitempty" json:"instanceUsable,omitempty"`
	UpdateRepeatable string `yaml:"updateRepeatable,omitempty" json:"updateRepeatable,omitempty"`
}

InstanceStatus defines template provided by the service for provision response

type Status

type Status struct {
	Provision   InstanceStatus `yaml:"provision" json:"provision"`
	Bind        GenericStatus  `yaml:"bind" json:"bind"`
	Unbind      GenericStatus  `yaml:"unbind" json:"unbind"`
	Deprovision InstanceStatus `yaml:"deprovision" json:"deprovision"`
}

Status is all the data to be read by interoperator from services. status template is unmarshalled to this struct

func ParseStatus

func ParseStatus(propertiesString string) (*Status, error)

ParseStatus decodes status template into a Status struct

Jump to

Keyboard shortcuts

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