models

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: BSD-3-Clause Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialRequest

type CredentialRequest struct {

	// id
	// Required: true
	ID manifold.ID `json:"id"`

	// resource id
	// Required: true
	ResourceID manifold.ID `json:"resource_id"`
}

CredentialRequest The information sent along to a Provider to provision a set of Credentials for a resource.

swagger:model CredentialRequest

func (*CredentialRequest) Validate

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

Validate validates this credential request

type CredentialResponse

type CredentialResponse struct {

	// credentials
	// Required: true
	Credentials map[string]string `json:"credentials"`

	// message
	Message Message `json:"message,omitempty"`
}

CredentialResponse The response expected back from a Provider to provision a set of Credentials for a resource.

swagger:model CredentialResponse

func (*CredentialResponse) Validate

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

Validate validates this credential response

type Message

type Message string

Message message swagger:model Message

func (Message) Validate

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

Validate validates this message

type RegionSlug

type RegionSlug string

RegionSlug Combination of the cloud platform and location to provision this resource within.

swagger:model RegionSlug

func (RegionSlug) Validate

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

Validate validates this region slug

type ResourcePlanChangeRequest

type ResourcePlanChangeRequest struct {

	// plan
	// Required: true
	Plan manifold.Label `json:"plan"`
}

ResourcePlanChangeRequest The information sent along to a Provider to request a resources' plan be changed.

swagger:model ResourcePlanChangeRequest

func (*ResourcePlanChangeRequest) Validate

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

Validate validates this resource plan change request

type ResourceRequest

type ResourceRequest struct {

	// id
	// Required: true
	ID manifold.ID `json:"id"`

	// plan
	// Required: true
	Plan manifold.Label `json:"plan"`

	// product
	// Required: true
	Product manifold.Label `json:"product"`

	// region
	// Required: true
	Region RegionSlug `json:"region"`
}

ResourceRequest The information sent along to a Provider to provision a resource.

swagger:model ResourceRequest

func (*ResourceRequest) Validate

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

Validate validates this resource request

type SuccessMessage

type SuccessMessage struct {

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

SuccessMessage Object used to display a message back to the user after a change has been made to a Resource.

swagger:model SuccessMessage

func (*SuccessMessage) Validate

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

Validate validates this success message

Jump to

Keyboard shortcuts

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