models

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error swagger:model Error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ServiceBinding

type ServiceBinding struct {

	// binding secret
	BindingSecret string `json:"bindingSecret,omitempty"`

	// created time
	CreatedTime int64 `json:"createdTime,omitempty"`

	// parameters
	Parameters interface{} `json:"parameters,omitempty"`

	// reason
	Reason []string `json:"reason"`

	// secret parameters
	SecretParameters []string `json:"secretParameters"`

	// status
	Status Status `json:"status,omitempty"`
}

ServiceBinding service binding swagger:model ServiceBinding

func (*ServiceBinding) MarshalBinary

func (m *ServiceBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceBinding) UnmarshalBinary

func (m *ServiceBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceBinding) Validate

func (m *ServiceBinding) Validate(formats strfmt.Registry) error

Validate validates this service binding

type ServiceClass

type ServiceClass struct {

	// bindable
	Bindable bool `json:"bindable,omitempty"`

	// broker
	// Required: true
	Broker *string `json:"broker"`

	// created time
	CreatedTime int64 `json:"createdTime,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// id
	ID strfmt.UUID `json:"id,omitempty"`

	// kind
	// Read Only: true
	// Pattern: ^[\w\d\-]+$
	Kind string `json:"kind,omitempty"`

	// name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	Name *string `json:"name"`

	// plans
	Plans []*ServicePlan `json:"plans"`

	// reason
	Reason []string `json:"reason"`

	// status
	Status Status `json:"status,omitempty"`

	// tags
	Tags []*Tag `json:"tags"`
}

ServiceClass service class swagger:model ServiceClass

func (*ServiceClass) MarshalBinary

func (m *ServiceClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceClass) UnmarshalBinary

func (m *ServiceClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceClass) Validate

func (m *ServiceClass) Validate(formats strfmt.Registry) error

Validate validates this service class

type ServiceInstance

type ServiceInstance struct {

	// binding
	Binding *ServiceBinding `json:"binding,omitempty"`

	// created time
	CreatedTime int64 `json:"createdTime,omitempty"`

	// id
	ID strfmt.UUID `json:"id,omitempty"`

	// kind
	// Read Only: true
	// Pattern: ^[\w\d\-]+$
	Kind string `json:"kind,omitempty"`

	// name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	Name *string `json:"name"`

	// parameters
	Parameters interface{} `json:"parameters,omitempty"`

	// reason
	Reason []string `json:"reason"`

	// secret parameters
	SecretParameters []string `json:"secretParameters"`

	// service class
	// Required: true
	// Pattern: ^[\w\d\-]+$
	ServiceClass *string `json:"serviceClass"`

	// service plan
	// Required: true
	// Pattern: ^[\w\d\-]+$
	ServicePlan *string `json:"servicePlan"`

	// status
	Status Status `json:"status,omitempty"`

	// tags
	Tags []*Tag `json:"tags"`
}

ServiceInstance service instance swagger:model ServiceInstance

func (*ServiceInstance) MarshalBinary

func (m *ServiceInstance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceInstance) UnmarshalBinary

func (m *ServiceInstance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceInstance) Validate

func (m *ServiceInstance) Validate(formats strfmt.Registry) error

Validate validates this service instance

type ServicePlan

type ServicePlan struct {

	// bindable
	Bindable bool `json:"bindable,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// free
	Free bool `json:"free,omitempty"`

	// id
	ID strfmt.UUID `json:"id,omitempty"`

	// kind
	// Read Only: true
	// Pattern: ^[\w\d\-]+$
	Kind string `json:"kind,omitempty"`

	// metadata
	Metadata interface{} `json:"metadata,omitempty"`

	// name
	// Pattern: ^[\w\d\-]+$
	Name string `json:"name,omitempty"`

	// schema
	Schema *ServicePlanSchema `json:"schema,omitempty"`
}

ServicePlan service plan swagger:model ServicePlan

func (*ServicePlan) MarshalBinary

func (m *ServicePlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePlan) UnmarshalBinary

func (m *ServicePlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePlan) Validate

func (m *ServicePlan) Validate(formats strfmt.Registry) error

Validate validates this service plan

type ServicePlanSchema

type ServicePlanSchema struct {

	// bind
	Bind interface{} `json:"bind,omitempty"`

	// create
	Create interface{} `json:"create,omitempty"`

	// update
	Update interface{} `json:"update,omitempty"`
}

ServicePlanSchema service plan schema swagger:model ServicePlanSchema

func (*ServicePlanSchema) MarshalBinary

func (m *ServicePlanSchema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePlanSchema) UnmarshalBinary

func (m *ServicePlanSchema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePlanSchema) Validate

func (m *ServicePlanSchema) Validate(formats strfmt.Registry) error

Validate validates this service plan schema

type Status

type Status string

Status status swagger:model Status

const (

	// StatusINITIALIZED captures enum value "INITIALIZED"
	StatusINITIALIZED Status = "INITIALIZED"

	// StatusCREATING captures enum value "CREATING"
	StatusCREATING Status = "CREATING"

	// StatusREADY captures enum value "READY"
	StatusREADY Status = "READY"

	// StatusERROR captures enum value "ERROR"
	StatusERROR Status = "ERROR"

	// StatusDELETED captures enum value "DELETED"
	StatusDELETED Status = "DELETED"
)

func (Status) Validate

func (m Status) Validate(formats strfmt.Registry) error

Validate validates this status

type Tag

type Tag struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Tag tag swagger:model Tag

func (*Tag) MarshalBinary

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

Jump to

Keyboard shortcuts

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