models

package
v0.0.0-...-347bf9a Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// LastOperationResourceStateInProgress captures enum value "in progress"
	LastOperationResourceStateInProgress string = "in progress"

	// LastOperationResourceStateSucceeded captures enum value "succeeded"
	LastOperationResourceStateSucceeded string = "succeeded"

	// LastOperationResourceStateFailed captures enum value "failed"
	LastOperationResourceStateFailed string = "failed"
)
View Source
const (

	// ServiceBindingEndpointProtocolTCP captures enum value "tcp"
	ServiceBindingEndpointProtocolTCP string = "tcp"

	// ServiceBindingEndpointProtocolUDP captures enum value "udp"
	ServiceBindingEndpointProtocolUDP string = "udp"

	// ServiceBindingEndpointProtocolAll captures enum value "all"
	ServiceBindingEndpointProtocolAll string = "all"
)
View Source
const (

	// ServiceBindingVolumeMountModeR captures enum value "r"
	ServiceBindingVolumeMountModeR string = "r"

	// ServiceBindingVolumeMountModeRw captures enum value "rw"
	ServiceBindingVolumeMountModeRw string = "rw"
)
View Source
const (

	// ServiceBindingVolumeMountDeviceTypeShared captures enum value "shared"
	ServiceBindingVolumeMountDeviceTypeShared string = "shared"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncOperation

type AsyncOperation struct {

	// operation
	Operation string `json:"operation,omitempty"`
}

AsyncOperation async operation

swagger:model AsyncOperation

func (*AsyncOperation) ContextValidate

func (m *AsyncOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this async operation based on context it is used

func (*AsyncOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*AsyncOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AsyncOperation) Validate

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

Validate validates this async operation

type Catalog

type Catalog struct {

	// services
	Services []*Service `json:"services"`
}

Catalog catalog

swagger:model Catalog

func (*Catalog) ContextValidate

func (m *Catalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this catalog based on the context it is used

func (*Catalog) MarshalBinary

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

MarshalBinary interface implementation

func (*Catalog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Catalog) Validate

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

Validate validates this catalog

type Context

type Context interface{}

Context See [Context Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#context-object) for more details.

swagger:model Context

type DashboardClient

type DashboardClient struct {

	// id
	// Required: true
	ID *string `json:"id"`

	// redirect uri
	RedirectURI string `json:"redirect_uri,omitempty"`

	// secret
	// Required: true
	Secret *string `json:"secret"`
}

DashboardClient dashboard client

swagger:model DashboardClient

func (*DashboardClient) ContextValidate

func (m *DashboardClient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dashboard client based on context it is used

func (*DashboardClient) MarshalBinary

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

MarshalBinary interface implementation

func (*DashboardClient) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DashboardClient) Validate

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

Validate validates this dashboard client

type Error

type Error struct {

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

	// error
	Error string `json:"error,omitempty"`

	// instance usable
	InstanceUsable bool `json:"instance_usable,omitempty"`

	// update repeatable
	UpdateRepeatable bool `json:"update_repeatable,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

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 JSONSchemaObject

type JSONSchemaObject interface{}

JSONSchemaObject JSON schema object

swagger:model JSONSchemaObject

type LastOperationResource

type LastOperationResource struct {

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

	// instance usable
	InstanceUsable bool `json:"instance_usable,omitempty"`

	// state
	// Required: true
	// Enum: [in progress succeeded failed]
	State *string `json:"state"`

	// update repeatable
	UpdateRepeatable bool `json:"update_repeatable,omitempty"`
}

LastOperationResource last operation resource

swagger:model LastOperationResource

func (*LastOperationResource) ContextValidate

func (m *LastOperationResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this last operation resource based on context it is used

func (*LastOperationResource) MarshalBinary

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

MarshalBinary interface implementation

func (*LastOperationResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LastOperationResource) Validate

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

Validate validates this last operation resource

type MaintenanceInfo

type MaintenanceInfo struct {

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

	// version
	Version string `json:"version,omitempty"`
}

MaintenanceInfo maintenance info

swagger:model MaintenanceInfo

func (*MaintenanceInfo) ContextValidate

func (m *MaintenanceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this maintenance info based on context it is used

func (*MaintenanceInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*MaintenanceInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MaintenanceInfo) Validate

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

Validate validates this maintenance info

type Metadata

type Metadata interface{}

Metadata See [Service Metadata Conventions](https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#service-metadata) for more details.

swagger:model Metadata

type Object

type Object interface{}

Object object

swagger:model Object

type Plan

type Plan struct {

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

	// binding rotatable
	BindingRotatable *bool `json:"binding_rotatable,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

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

	// id
	// Required: true
	ID *string `json:"id"`

	// maintenance info
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty"`

	// maximum polling duration
	MaximumPollingDuration int64 `json:"maximum_polling_duration,omitempty"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// plan updateable
	PlanUpdateable bool `json:"plan_updateable,omitempty"`

	// schemas
	Schemas *SchemasObject `json:"schemas,omitempty"`
}

Plan plan

swagger:model Plan

func (*Plan) ContextValidate

func (m *Plan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this plan based on the context it is used

func (*Plan) MarshalBinary

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

MarshalBinary interface implementation

func (*Plan) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Plan) Validate

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

Validate validates this plan

type SchemaParameters

type SchemaParameters struct {

	// parameters
	Parameters JSONSchemaObject `json:"parameters,omitempty"`
}

SchemaParameters schema parameters

swagger:model SchemaParameters

func (*SchemaParameters) ContextValidate

func (m *SchemaParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this schema parameters based on context it is used

func (*SchemaParameters) MarshalBinary

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

MarshalBinary interface implementation

func (*SchemaParameters) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SchemaParameters) Validate

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

Validate validates this schema parameters

type SchemasObject

type SchemasObject struct {

	// service binding
	ServiceBinding *ServiceBindingSchemaObject `json:"service_binding,omitempty"`

	// service instance
	ServiceInstance *ServiceInstanceSchemaObject `json:"service_instance,omitempty"`
}

SchemasObject schemas object

swagger:model SchemasObject

func (*SchemasObject) ContextValidate

func (m *SchemasObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this schemas object based on the context it is used

func (*SchemasObject) MarshalBinary

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

MarshalBinary interface implementation

func (*SchemasObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SchemasObject) Validate

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

Validate validates this schemas object

type Service

type Service struct {

	// allow context updates
	AllowContextUpdates bool `json:"allow_context_updates,omitempty"`

	// bindable
	// Required: true
	Bindable *bool `json:"bindable"`

	// binding rotatable
	BindingRotatable bool `json:"binding_rotatable,omitempty"`

	// bindings retrievable
	BindingsRetrievable bool `json:"bindings_retrievable,omitempty"`

	// dashboard client
	DashboardClient *DashboardClient `json:"dashboard_client,omitempty"`

	// description
	// Required: true
	Description *string `json:"description"`

	// id
	// Required: true
	ID *string `json:"id"`

	// instances retrievable
	InstancesRetrievable bool `json:"instances_retrievable,omitempty"`

	// metadata
	Metadata Metadata `json:"metadata,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// plan updateable
	PlanUpdateable bool `json:"plan_updateable,omitempty"`

	// plans
	// Required: true
	Plans []*Plan `json:"plans"`

	// requires
	Requires []string `json:"requires"`

	// tags
	Tags []string `json:"tags"`
}

Service service

swagger:model Service

func (*Service) ContextValidate

func (m *Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type ServiceBindingEndpoint

type ServiceBindingEndpoint struct {

	// host
	// Required: true
	Host *string `json:"host"`

	// ports
	// Required: true
	Ports []string `json:"ports"`

	// protocol
	// Enum: [tcp udp all]
	Protocol *string `json:"protocol,omitempty"`
}

ServiceBindingEndpoint service binding endpoint

swagger:model ServiceBindingEndpoint

func (*ServiceBindingEndpoint) ContextValidate

func (m *ServiceBindingEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding endpoint based on context it is used

func (*ServiceBindingEndpoint) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingEndpoint) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingEndpoint) Validate

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

Validate validates this service binding endpoint

type ServiceBindingMetadata

type ServiceBindingMetadata struct {

	// expires at
	ExpiresAt string `json:"expires_at,omitempty"`

	// renew before
	RenewBefore string `json:"renew_before,omitempty"`
}

ServiceBindingMetadata service binding metadata

swagger:model ServiceBindingMetadata

func (*ServiceBindingMetadata) ContextValidate

func (m *ServiceBindingMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding metadata based on context it is used

func (*ServiceBindingMetadata) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingMetadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingMetadata) Validate

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

Validate validates this service binding metadata

type ServiceBindingRequest

type ServiceBindingRequest struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// bind resource
	BindResource *ServiceBindingResourceObject `json:"bind_resource,omitempty"`

	// context
	Context Context `json:"context,omitempty"`

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

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// predecessor binding id
	PredecessorBindingID string `json:"predecessor_binding_id,omitempty"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`
}

ServiceBindingRequest service binding request

swagger:model ServiceBindingRequest

func (*ServiceBindingRequest) ContextValidate

func (m *ServiceBindingRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding request based on the context it is used

func (*ServiceBindingRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingRequest) Validate

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

Validate validates this service binding request

type ServiceBindingResource

type ServiceBindingResource struct {

	// credentials
	Credentials interface{} `json:"credentials,omitempty"`

	// endpoints
	Endpoints []*ServiceBindingEndpoint `json:"endpoints"`

	// metadata
	Metadata *ServiceBindingMetadata `json:"metadata,omitempty"`

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

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBindingResource service binding resource

swagger:model ServiceBindingResource

func (*ServiceBindingResource) ContextValidate

func (m *ServiceBindingResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding resource based on the context it is used

func (*ServiceBindingResource) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingResource) Validate

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

Validate validates this service binding resource

type ServiceBindingResourceObject

type ServiceBindingResourceObject struct {

	// app guid
	AppGUID string `json:"app_guid,omitempty"`

	// route
	Route string `json:"route,omitempty"`
}

ServiceBindingResourceObject service binding resource object

swagger:model ServiceBindingResourceObject

func (*ServiceBindingResourceObject) ContextValidate

func (m *ServiceBindingResourceObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding resource object based on context it is used

func (*ServiceBindingResourceObject) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingResourceObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingResourceObject) Validate

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

Validate validates this service binding resource object

type ServiceBindingResponse

type ServiceBindingResponse struct {

	// credentials
	Credentials interface{} `json:"credentials,omitempty"`

	// endpoints
	Endpoints []*ServiceBindingEndpoint `json:"endpoints"`

	// metadata
	Metadata *ServiceBindingMetadata `json:"metadata,omitempty"`

	// route service url
	RouteServiceURL string `json:"route_service_url,omitempty"`

	// syslog drain url
	SyslogDrainURL string `json:"syslog_drain_url,omitempty"`

	// volume mounts
	VolumeMounts []*ServiceBindingVolumeMount `json:"volume_mounts"`
}

ServiceBindingResponse service binding response

swagger:model ServiceBindingResponse

func (*ServiceBindingResponse) ContextValidate

func (m *ServiceBindingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding response based on the context it is used

func (*ServiceBindingResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingResponse) Validate

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

Validate validates this service binding response

type ServiceBindingSchemaObject

type ServiceBindingSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`
}

ServiceBindingSchemaObject service binding schema object

swagger:model ServiceBindingSchemaObject

func (*ServiceBindingSchemaObject) ContextValidate

func (m *ServiceBindingSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding schema object based on the context it is used

func (*ServiceBindingSchemaObject) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingSchemaObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingSchemaObject) Validate

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

Validate validates this service binding schema object

type ServiceBindingVolumeMount

type ServiceBindingVolumeMount struct {

	// container dir
	// Required: true
	ContainerDir *string `json:"container_dir"`

	// device
	// Required: true
	Device *ServiceBindingVolumeMountDevice `json:"device"`

	// device type
	// Required: true
	// Enum: [shared]
	DeviceType *string `json:"device_type"`

	// driver
	// Required: true
	Driver *string `json:"driver"`

	// mode
	// Required: true
	// Enum: [r rw]
	Mode *string `json:"mode"`
}

ServiceBindingVolumeMount service binding volume mount

swagger:model ServiceBindingVolumeMount

func (*ServiceBindingVolumeMount) ContextValidate

func (m *ServiceBindingVolumeMount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service binding volume mount based on the context it is used

func (*ServiceBindingVolumeMount) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingVolumeMount) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingVolumeMount) Validate

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

Validate validates this service binding volume mount

type ServiceBindingVolumeMountDevice

type ServiceBindingVolumeMountDevice struct {

	// mount config
	MountConfig interface{} `json:"mount_config,omitempty"`

	// volume id
	// Required: true
	VolumeID *string `json:"volume_id"`
}

ServiceBindingVolumeMountDevice service binding volume mount device

swagger:model ServiceBindingVolumeMountDevice

func (*ServiceBindingVolumeMountDevice) ContextValidate

func (m *ServiceBindingVolumeMountDevice) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service binding volume mount device based on context it is used

func (*ServiceBindingVolumeMountDevice) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceBindingVolumeMountDevice) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceBindingVolumeMountDevice) Validate

Validate validates this service binding volume mount device

type ServiceInstanceAsyncOperation

type ServiceInstanceAsyncOperation struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// metadata
	Metadata *ServiceInstanceMetadata `json:"metadata,omitempty"`

	// operation
	Operation string `json:"operation,omitempty"`
}

ServiceInstanceAsyncOperation service instance async operation

swagger:model ServiceInstanceAsyncOperation

func (*ServiceInstanceAsyncOperation) ContextValidate

func (m *ServiceInstanceAsyncOperation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance async operation based on the context it is used

func (*ServiceInstanceAsyncOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceAsyncOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceAsyncOperation) Validate

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

Validate validates this service instance async operation

type ServiceInstanceMetadata

type ServiceInstanceMetadata struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`
}

ServiceInstanceMetadata service instance metadata

swagger:model ServiceInstanceMetadata

func (*ServiceInstanceMetadata) ContextValidate

func (m *ServiceInstanceMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service instance metadata based on context it is used

func (*ServiceInstanceMetadata) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceMetadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceMetadata) Validate

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

Validate validates this service instance metadata

type ServiceInstancePreviousValues

type ServiceInstancePreviousValues struct {

	// maintenance info
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty"`

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`

	// space id
	SpaceID string `json:"space_id,omitempty"`
}

ServiceInstancePreviousValues service instance previous values

swagger:model ServiceInstancePreviousValues

func (*ServiceInstancePreviousValues) ContextValidate

func (m *ServiceInstancePreviousValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance previous values based on the context it is used

func (*ServiceInstancePreviousValues) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstancePreviousValues) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstancePreviousValues) Validate

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

Validate validates this service instance previous values

type ServiceInstanceProvisionRequest

type ServiceInstanceProvisionRequest struct {

	// context
	Context Context `json:"context,omitempty"`

	// maintenance info
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty"`

	// organization guid
	// Required: true
	OrganizationGUID *string `json:"organization_guid"`

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

	// plan id
	// Required: true
	PlanID *string `json:"plan_id"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`

	// space guid
	// Required: true
	SpaceGUID *string `json:"space_guid"`
}

ServiceInstanceProvisionRequest service instance provision request

swagger:model ServiceInstanceProvisionRequest

func (*ServiceInstanceProvisionRequest) ContextValidate

func (m *ServiceInstanceProvisionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance provision request based on the context it is used

func (*ServiceInstanceProvisionRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceProvisionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceProvisionRequest) Validate

Validate validates this service instance provision request

type ServiceInstanceProvisionResponse

type ServiceInstanceProvisionResponse struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// metadata
	Metadata *ServiceInstanceMetadata `json:"metadata,omitempty"`
}

ServiceInstanceProvisionResponse service instance provision response

swagger:model ServiceInstanceProvisionResponse

func (*ServiceInstanceProvisionResponse) ContextValidate

func (m *ServiceInstanceProvisionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance provision response based on the context it is used

func (*ServiceInstanceProvisionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceProvisionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceProvisionResponse) Validate

Validate validates this service instance provision response

type ServiceInstanceResource

type ServiceInstanceResource struct {

	// dashboard url
	DashboardURL string `json:"dashboard_url,omitempty"`

	// maintenance info
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty"`

	// metadata
	Metadata *ServiceInstanceMetadata `json:"metadata,omitempty"`

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

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// service id
	ServiceID string `json:"service_id,omitempty"`
}

ServiceInstanceResource service instance resource

swagger:model ServiceInstanceResource

func (*ServiceInstanceResource) ContextValidate

func (m *ServiceInstanceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance resource based on the context it is used

func (*ServiceInstanceResource) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceResource) Validate

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

Validate validates this service instance resource

type ServiceInstanceSchemaObject

type ServiceInstanceSchemaObject struct {

	// create
	Create *SchemaParameters `json:"create,omitempty"`

	// update
	Update *SchemaParameters `json:"update,omitempty"`
}

ServiceInstanceSchemaObject service instance schema object

swagger:model ServiceInstanceSchemaObject

func (*ServiceInstanceSchemaObject) ContextValidate

func (m *ServiceInstanceSchemaObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance schema object based on the context it is used

func (*ServiceInstanceSchemaObject) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceSchemaObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceSchemaObject) Validate

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

Validate validates this service instance schema object

type ServiceInstanceUpdateRequest

type ServiceInstanceUpdateRequest struct {

	// context
	Context Context `json:"context,omitempty"`

	// maintenance info
	MaintenanceInfo *MaintenanceInfo `json:"maintenance_info,omitempty"`

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

	// plan id
	PlanID string `json:"plan_id,omitempty"`

	// previous values
	PreviousValues *ServiceInstancePreviousValues `json:"previous_values,omitempty"`

	// service id
	// Required: true
	ServiceID *string `json:"service_id"`
}

ServiceInstanceUpdateRequest service instance update request

swagger:model ServiceInstanceUpdateRequest

func (*ServiceInstanceUpdateRequest) ContextValidate

func (m *ServiceInstanceUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service instance update request based on the context it is used

func (*ServiceInstanceUpdateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceInstanceUpdateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceInstanceUpdateRequest) Validate

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

Validate validates this service instance update request

Jump to

Keyboard shortcuts

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