open_stacks

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for open stacks API

func (*Client) ServiceBrokerOpenstacksGet

func (a *Client) ServiceBrokerOpenstacksGet(params *ServiceBrokerOpenstacksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksGetOK, error)

ServiceBrokerOpenstacksGet lists all open stack instances being managed

func (*Client) ServiceBrokerOpenstacksHostsGet

func (a *Client) ServiceBrokerOpenstacksHostsGet(params *ServiceBrokerOpenstacksHostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksHostsGetOK, error)

ServiceBrokerOpenstacksHostsGet lists account information for all pvm instances on hostname

func (*Client) ServiceBrokerOpenstacksOpenstackGet

func (a *Client) ServiceBrokerOpenstacksOpenstackGet(params *ServiceBrokerOpenstacksOpenstackGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksOpenstackGetOK, error)

ServiceBrokerOpenstacksOpenstackGet lists account information for all pvm instances on hostname

func (*Client) ServiceBrokerOpenstacksPost

ServiceBrokerOpenstacksPost creates a new open stack instance to be managed

func (*Client) ServiceBrokerOpenstacksServersGet

func (a *Client) ServiceBrokerOpenstacksServersGet(params *ServiceBrokerOpenstacksServersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksServersGetOK, error)

ServiceBrokerOpenstacksServersGet lists account information for a pvm instance

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new open stacks API client.

type ServiceBrokerOpenstacksGetBadRequest

type ServiceBrokerOpenstacksGetBadRequest struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerOpenstacksGetBadRequest

func NewServiceBrokerOpenstacksGetBadRequest() *ServiceBrokerOpenstacksGetBadRequest

NewServiceBrokerOpenstacksGetBadRequest creates a ServiceBrokerOpenstacksGetBadRequest with default headers values

func (*ServiceBrokerOpenstacksGetBadRequest) Error

func (*ServiceBrokerOpenstacksGetBadRequest) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksGetForbidden

type ServiceBrokerOpenstacksGetForbidden struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksGetForbidden describes a response with status code 403, with default header values.

Unauthorized

func NewServiceBrokerOpenstacksGetForbidden

func NewServiceBrokerOpenstacksGetForbidden() *ServiceBrokerOpenstacksGetForbidden

NewServiceBrokerOpenstacksGetForbidden creates a ServiceBrokerOpenstacksGetForbidden with default headers values

func (*ServiceBrokerOpenstacksGetForbidden) Error

func (*ServiceBrokerOpenstacksGetForbidden) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksGetInternalServerError

type ServiceBrokerOpenstacksGetInternalServerError struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerOpenstacksGetInternalServerError

func NewServiceBrokerOpenstacksGetInternalServerError() *ServiceBrokerOpenstacksGetInternalServerError

NewServiceBrokerOpenstacksGetInternalServerError creates a ServiceBrokerOpenstacksGetInternalServerError with default headers values

func (*ServiceBrokerOpenstacksGetInternalServerError) Error

func (*ServiceBrokerOpenstacksGetInternalServerError) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksGetOK

type ServiceBrokerOpenstacksGetOK struct {
	Payload *models.OpenStacks
}
ServiceBrokerOpenstacksGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerOpenstacksGetOK

func NewServiceBrokerOpenstacksGetOK() *ServiceBrokerOpenstacksGetOK

NewServiceBrokerOpenstacksGetOK creates a ServiceBrokerOpenstacksGetOK with default headers values

func (*ServiceBrokerOpenstacksGetOK) Error

func (*ServiceBrokerOpenstacksGetOK) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksGetParams

type ServiceBrokerOpenstacksGetParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksGetParams contains all the parameters to send to the API endpoint

for the service broker openstacks get operation.

Typically these are written to a http.Request.

func NewServiceBrokerOpenstacksGetParams

func NewServiceBrokerOpenstacksGetParams() *ServiceBrokerOpenstacksGetParams

NewServiceBrokerOpenstacksGetParams creates a new ServiceBrokerOpenstacksGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerOpenstacksGetParamsWithContext

func NewServiceBrokerOpenstacksGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksGetParams

NewServiceBrokerOpenstacksGetParamsWithContext creates a new ServiceBrokerOpenstacksGetParams object with the ability to set a context for a request.

func NewServiceBrokerOpenstacksGetParamsWithHTTPClient

func NewServiceBrokerOpenstacksGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksGetParams

NewServiceBrokerOpenstacksGetParamsWithHTTPClient creates a new ServiceBrokerOpenstacksGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerOpenstacksGetParamsWithTimeout

func NewServiceBrokerOpenstacksGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksGetParams

NewServiceBrokerOpenstacksGetParamsWithTimeout creates a new ServiceBrokerOpenstacksGetParams object with the ability to set a timeout on a request.

func (*ServiceBrokerOpenstacksGetParams) SetContext

SetContext adds the context to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerOpenstacksGetParams) SetDefaults()

SetDefaults hydrates default values in the service broker openstacks get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksGetParams) SetHTTPClient

func (o *ServiceBrokerOpenstacksGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) SetTimeout

func (o *ServiceBrokerOpenstacksGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) WithContext

WithContext adds the context to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker openstacks get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) WithTimeout

WithTimeout adds the timeout to the service broker openstacks get params

func (*ServiceBrokerOpenstacksGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerOpenstacksGetReader

type ServiceBrokerOpenstacksGetReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksGetReader is a Reader for the ServiceBrokerOpenstacksGet structure.

func (*ServiceBrokerOpenstacksGetReader) ReadResponse

func (o *ServiceBrokerOpenstacksGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerOpenstacksHostsGetBadRequest

type ServiceBrokerOpenstacksHostsGetBadRequest struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksHostsGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerOpenstacksHostsGetBadRequest

func NewServiceBrokerOpenstacksHostsGetBadRequest() *ServiceBrokerOpenstacksHostsGetBadRequest

NewServiceBrokerOpenstacksHostsGetBadRequest creates a ServiceBrokerOpenstacksHostsGetBadRequest with default headers values

func (*ServiceBrokerOpenstacksHostsGetBadRequest) Error

func (*ServiceBrokerOpenstacksHostsGetBadRequest) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksHostsGetInternalServerError

type ServiceBrokerOpenstacksHostsGetInternalServerError struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksHostsGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerOpenstacksHostsGetInternalServerError

func NewServiceBrokerOpenstacksHostsGetInternalServerError() *ServiceBrokerOpenstacksHostsGetInternalServerError

NewServiceBrokerOpenstacksHostsGetInternalServerError creates a ServiceBrokerOpenstacksHostsGetInternalServerError with default headers values

func (*ServiceBrokerOpenstacksHostsGetInternalServerError) Error

func (*ServiceBrokerOpenstacksHostsGetInternalServerError) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksHostsGetNotFound

type ServiceBrokerOpenstacksHostsGetNotFound struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksHostsGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerOpenstacksHostsGetNotFound

func NewServiceBrokerOpenstacksHostsGetNotFound() *ServiceBrokerOpenstacksHostsGetNotFound

NewServiceBrokerOpenstacksHostsGetNotFound creates a ServiceBrokerOpenstacksHostsGetNotFound with default headers values

func (*ServiceBrokerOpenstacksHostsGetNotFound) Error

func (*ServiceBrokerOpenstacksHostsGetNotFound) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksHostsGetOK

type ServiceBrokerOpenstacksHostsGetOK struct {
	Payload *models.HostInfo
}
ServiceBrokerOpenstacksHostsGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerOpenstacksHostsGetOK

func NewServiceBrokerOpenstacksHostsGetOK() *ServiceBrokerOpenstacksHostsGetOK

NewServiceBrokerOpenstacksHostsGetOK creates a ServiceBrokerOpenstacksHostsGetOK with default headers values

func (*ServiceBrokerOpenstacksHostsGetOK) Error

func (*ServiceBrokerOpenstacksHostsGetOK) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksHostsGetParams

type ServiceBrokerOpenstacksHostsGetParams struct {

	/* Hostname.

	   Hostname
	*/
	Hostname string

	/* OpenstackID.

	   Openstack ID
	*/
	OpenstackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksHostsGetParams contains all the parameters to send to the API endpoint

for the service broker openstacks hosts get operation.

Typically these are written to a http.Request.

func NewServiceBrokerOpenstacksHostsGetParams

func NewServiceBrokerOpenstacksHostsGetParams() *ServiceBrokerOpenstacksHostsGetParams

NewServiceBrokerOpenstacksHostsGetParams creates a new ServiceBrokerOpenstacksHostsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerOpenstacksHostsGetParamsWithContext

func NewServiceBrokerOpenstacksHostsGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksHostsGetParams

NewServiceBrokerOpenstacksHostsGetParamsWithContext creates a new ServiceBrokerOpenstacksHostsGetParams object with the ability to set a context for a request.

func NewServiceBrokerOpenstacksHostsGetParamsWithHTTPClient

func NewServiceBrokerOpenstacksHostsGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksHostsGetParams

NewServiceBrokerOpenstacksHostsGetParamsWithHTTPClient creates a new ServiceBrokerOpenstacksHostsGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerOpenstacksHostsGetParamsWithTimeout

func NewServiceBrokerOpenstacksHostsGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksHostsGetParams

NewServiceBrokerOpenstacksHostsGetParamsWithTimeout creates a new ServiceBrokerOpenstacksHostsGetParams object with the ability to set a timeout on a request.

func (*ServiceBrokerOpenstacksHostsGetParams) SetContext

SetContext adds the context to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerOpenstacksHostsGetParams) SetDefaults()

SetDefaults hydrates default values in the service broker openstacks hosts get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksHostsGetParams) SetHTTPClient

func (o *ServiceBrokerOpenstacksHostsGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) SetHostname

func (o *ServiceBrokerOpenstacksHostsGetParams) SetHostname(hostname string)

SetHostname adds the hostname to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) SetOpenstackID

func (o *ServiceBrokerOpenstacksHostsGetParams) SetOpenstackID(openstackID string)

SetOpenstackID adds the openstackId to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) SetTimeout

func (o *ServiceBrokerOpenstacksHostsGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WithContext

WithContext adds the context to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker openstacks hosts get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksHostsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WithHostname

WithHostname adds the hostname to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WithOpenstackID

WithOpenstackID adds the openstackID to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WithTimeout

WithTimeout adds the timeout to the service broker openstacks hosts get params

func (*ServiceBrokerOpenstacksHostsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerOpenstacksHostsGetReader

type ServiceBrokerOpenstacksHostsGetReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksHostsGetReader is a Reader for the ServiceBrokerOpenstacksHostsGet structure.

func (*ServiceBrokerOpenstacksHostsGetReader) ReadResponse

func (o *ServiceBrokerOpenstacksHostsGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerOpenstacksOpenstackGetBadRequest

type ServiceBrokerOpenstacksOpenstackGetBadRequest struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksOpenstackGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerOpenstacksOpenstackGetBadRequest

func NewServiceBrokerOpenstacksOpenstackGetBadRequest() *ServiceBrokerOpenstacksOpenstackGetBadRequest

NewServiceBrokerOpenstacksOpenstackGetBadRequest creates a ServiceBrokerOpenstacksOpenstackGetBadRequest with default headers values

func (*ServiceBrokerOpenstacksOpenstackGetBadRequest) Error

func (*ServiceBrokerOpenstacksOpenstackGetBadRequest) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksOpenstackGetInternalServerError

type ServiceBrokerOpenstacksOpenstackGetInternalServerError struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksOpenstackGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerOpenstacksOpenstackGetInternalServerError

func NewServiceBrokerOpenstacksOpenstackGetInternalServerError() *ServiceBrokerOpenstacksOpenstackGetInternalServerError

NewServiceBrokerOpenstacksOpenstackGetInternalServerError creates a ServiceBrokerOpenstacksOpenstackGetInternalServerError with default headers values

func (*ServiceBrokerOpenstacksOpenstackGetInternalServerError) Error

func (*ServiceBrokerOpenstacksOpenstackGetInternalServerError) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksOpenstackGetNotFound

type ServiceBrokerOpenstacksOpenstackGetNotFound struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksOpenstackGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerOpenstacksOpenstackGetNotFound

func NewServiceBrokerOpenstacksOpenstackGetNotFound() *ServiceBrokerOpenstacksOpenstackGetNotFound

NewServiceBrokerOpenstacksOpenstackGetNotFound creates a ServiceBrokerOpenstacksOpenstackGetNotFound with default headers values

func (*ServiceBrokerOpenstacksOpenstackGetNotFound) Error

func (*ServiceBrokerOpenstacksOpenstackGetNotFound) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksOpenstackGetOK

type ServiceBrokerOpenstacksOpenstackGetOK struct {
	Payload *models.OpenStackInfo
}
ServiceBrokerOpenstacksOpenstackGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerOpenstacksOpenstackGetOK

func NewServiceBrokerOpenstacksOpenstackGetOK() *ServiceBrokerOpenstacksOpenstackGetOK

NewServiceBrokerOpenstacksOpenstackGetOK creates a ServiceBrokerOpenstacksOpenstackGetOK with default headers values

func (*ServiceBrokerOpenstacksOpenstackGetOK) Error

func (*ServiceBrokerOpenstacksOpenstackGetOK) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksOpenstackGetParams

type ServiceBrokerOpenstacksOpenstackGetParams struct {

	/* OpenstackID.

	   Openstack ID
	*/
	OpenstackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksOpenstackGetParams contains all the parameters to send to the API endpoint

for the service broker openstacks openstack get operation.

Typically these are written to a http.Request.

func NewServiceBrokerOpenstacksOpenstackGetParams

func NewServiceBrokerOpenstacksOpenstackGetParams() *ServiceBrokerOpenstacksOpenstackGetParams

NewServiceBrokerOpenstacksOpenstackGetParams creates a new ServiceBrokerOpenstacksOpenstackGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerOpenstacksOpenstackGetParamsWithContext

func NewServiceBrokerOpenstacksOpenstackGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksOpenstackGetParams

NewServiceBrokerOpenstacksOpenstackGetParamsWithContext creates a new ServiceBrokerOpenstacksOpenstackGetParams object with the ability to set a context for a request.

func NewServiceBrokerOpenstacksOpenstackGetParamsWithHTTPClient

func NewServiceBrokerOpenstacksOpenstackGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksOpenstackGetParams

NewServiceBrokerOpenstacksOpenstackGetParamsWithHTTPClient creates a new ServiceBrokerOpenstacksOpenstackGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerOpenstacksOpenstackGetParamsWithTimeout

func NewServiceBrokerOpenstacksOpenstackGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksOpenstackGetParams

NewServiceBrokerOpenstacksOpenstackGetParamsWithTimeout creates a new ServiceBrokerOpenstacksOpenstackGetParams object with the ability to set a timeout on a request.

func (*ServiceBrokerOpenstacksOpenstackGetParams) SetContext

SetContext adds the context to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the service broker openstacks openstack get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksOpenstackGetParams) SetHTTPClient

func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) SetOpenstackID

func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetOpenstackID(openstackID string)

SetOpenstackID adds the openstackId to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) SetTimeout

SetTimeout adds the timeout to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) WithContext

WithContext adds the context to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker openstacks openstack get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksOpenstackGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) WithOpenstackID

WithOpenstackID adds the openstackID to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) WithTimeout

WithTimeout adds the timeout to the service broker openstacks openstack get params

func (*ServiceBrokerOpenstacksOpenstackGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerOpenstacksOpenstackGetReader

type ServiceBrokerOpenstacksOpenstackGetReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksOpenstackGetReader is a Reader for the ServiceBrokerOpenstacksOpenstackGet structure.

func (*ServiceBrokerOpenstacksOpenstackGetReader) ReadResponse

func (o *ServiceBrokerOpenstacksOpenstackGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerOpenstacksPostBadRequest

type ServiceBrokerOpenstacksPostBadRequest struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksPostBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerOpenstacksPostBadRequest

func NewServiceBrokerOpenstacksPostBadRequest() *ServiceBrokerOpenstacksPostBadRequest

NewServiceBrokerOpenstacksPostBadRequest creates a ServiceBrokerOpenstacksPostBadRequest with default headers values

func (*ServiceBrokerOpenstacksPostBadRequest) Error

func (*ServiceBrokerOpenstacksPostBadRequest) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksPostConflict

type ServiceBrokerOpenstacksPostConflict struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksPostConflict describes a response with status code 409, with default header values.

Conflict

func NewServiceBrokerOpenstacksPostConflict

func NewServiceBrokerOpenstacksPostConflict() *ServiceBrokerOpenstacksPostConflict

NewServiceBrokerOpenstacksPostConflict creates a ServiceBrokerOpenstacksPostConflict with default headers values

func (*ServiceBrokerOpenstacksPostConflict) Error

func (*ServiceBrokerOpenstacksPostConflict) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksPostCreated

type ServiceBrokerOpenstacksPostCreated struct {
	Payload *models.OpenStack
}
ServiceBrokerOpenstacksPostCreated describes a response with status code 201, with default header values.

Created

func NewServiceBrokerOpenstacksPostCreated

func NewServiceBrokerOpenstacksPostCreated() *ServiceBrokerOpenstacksPostCreated

NewServiceBrokerOpenstacksPostCreated creates a ServiceBrokerOpenstacksPostCreated with default headers values

func (*ServiceBrokerOpenstacksPostCreated) Error

func (*ServiceBrokerOpenstacksPostCreated) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksPostInternalServerError

type ServiceBrokerOpenstacksPostInternalServerError struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksPostInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerOpenstacksPostInternalServerError

func NewServiceBrokerOpenstacksPostInternalServerError() *ServiceBrokerOpenstacksPostInternalServerError

NewServiceBrokerOpenstacksPostInternalServerError creates a ServiceBrokerOpenstacksPostInternalServerError with default headers values

func (*ServiceBrokerOpenstacksPostInternalServerError) Error

func (*ServiceBrokerOpenstacksPostInternalServerError) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksPostOK

type ServiceBrokerOpenstacksPostOK struct {
	Payload *models.OpenStack
}
ServiceBrokerOpenstacksPostOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerOpenstacksPostOK

func NewServiceBrokerOpenstacksPostOK() *ServiceBrokerOpenstacksPostOK

NewServiceBrokerOpenstacksPostOK creates a ServiceBrokerOpenstacksPostOK with default headers values

func (*ServiceBrokerOpenstacksPostOK) Error

func (*ServiceBrokerOpenstacksPostOK) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksPostParams

type ServiceBrokerOpenstacksPostParams struct {

	/* Body.

	   Parameters for the creation of a new Open Stack Instance
	*/
	Body *models.OpenStackCreate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksPostParams contains all the parameters to send to the API endpoint

for the service broker openstacks post operation.

Typically these are written to a http.Request.

func NewServiceBrokerOpenstacksPostParams

func NewServiceBrokerOpenstacksPostParams() *ServiceBrokerOpenstacksPostParams

NewServiceBrokerOpenstacksPostParams creates a new ServiceBrokerOpenstacksPostParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerOpenstacksPostParamsWithContext

func NewServiceBrokerOpenstacksPostParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksPostParams

NewServiceBrokerOpenstacksPostParamsWithContext creates a new ServiceBrokerOpenstacksPostParams object with the ability to set a context for a request.

func NewServiceBrokerOpenstacksPostParamsWithHTTPClient

func NewServiceBrokerOpenstacksPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksPostParams

NewServiceBrokerOpenstacksPostParamsWithHTTPClient creates a new ServiceBrokerOpenstacksPostParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerOpenstacksPostParamsWithTimeout

func NewServiceBrokerOpenstacksPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksPostParams

NewServiceBrokerOpenstacksPostParamsWithTimeout creates a new ServiceBrokerOpenstacksPostParams object with the ability to set a timeout on a request.

func (*ServiceBrokerOpenstacksPostParams) SetBody

SetBody adds the body to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) SetContext

SetContext adds the context to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerOpenstacksPostParams) SetDefaults()

SetDefaults hydrates default values in the service broker openstacks post params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksPostParams) SetHTTPClient

func (o *ServiceBrokerOpenstacksPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) SetTimeout

func (o *ServiceBrokerOpenstacksPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) WithBody

WithBody adds the body to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) WithContext

WithContext adds the context to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker openstacks post params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) WithTimeout

WithTimeout adds the timeout to the service broker openstacks post params

func (*ServiceBrokerOpenstacksPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerOpenstacksPostReader

type ServiceBrokerOpenstacksPostReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksPostReader is a Reader for the ServiceBrokerOpenstacksPost structure.

func (*ServiceBrokerOpenstacksPostReader) ReadResponse

func (o *ServiceBrokerOpenstacksPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ServiceBrokerOpenstacksPostUnprocessableEntity

type ServiceBrokerOpenstacksPostUnprocessableEntity struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksPostUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable Entity

func NewServiceBrokerOpenstacksPostUnprocessableEntity

func NewServiceBrokerOpenstacksPostUnprocessableEntity() *ServiceBrokerOpenstacksPostUnprocessableEntity

NewServiceBrokerOpenstacksPostUnprocessableEntity creates a ServiceBrokerOpenstacksPostUnprocessableEntity with default headers values

func (*ServiceBrokerOpenstacksPostUnprocessableEntity) Error

func (*ServiceBrokerOpenstacksPostUnprocessableEntity) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksServersGetBadRequest

type ServiceBrokerOpenstacksServersGetBadRequest struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksServersGetBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewServiceBrokerOpenstacksServersGetBadRequest

func NewServiceBrokerOpenstacksServersGetBadRequest() *ServiceBrokerOpenstacksServersGetBadRequest

NewServiceBrokerOpenstacksServersGetBadRequest creates a ServiceBrokerOpenstacksServersGetBadRequest with default headers values

func (*ServiceBrokerOpenstacksServersGetBadRequest) Error

func (*ServiceBrokerOpenstacksServersGetBadRequest) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksServersGetInternalServerError

type ServiceBrokerOpenstacksServersGetInternalServerError struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksServersGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerOpenstacksServersGetInternalServerError

func NewServiceBrokerOpenstacksServersGetInternalServerError() *ServiceBrokerOpenstacksServersGetInternalServerError

NewServiceBrokerOpenstacksServersGetInternalServerError creates a ServiceBrokerOpenstacksServersGetInternalServerError with default headers values

func (*ServiceBrokerOpenstacksServersGetInternalServerError) Error

func (*ServiceBrokerOpenstacksServersGetInternalServerError) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksServersGetNotFound

type ServiceBrokerOpenstacksServersGetNotFound struct {
	Payload *models.Error
}
ServiceBrokerOpenstacksServersGetNotFound describes a response with status code 404, with default header values.

Not Found

func NewServiceBrokerOpenstacksServersGetNotFound

func NewServiceBrokerOpenstacksServersGetNotFound() *ServiceBrokerOpenstacksServersGetNotFound

NewServiceBrokerOpenstacksServersGetNotFound creates a ServiceBrokerOpenstacksServersGetNotFound with default headers values

func (*ServiceBrokerOpenstacksServersGetNotFound) Error

func (*ServiceBrokerOpenstacksServersGetNotFound) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksServersGetOK

type ServiceBrokerOpenstacksServersGetOK struct {
	Payload *models.HostPVMInstance
}
ServiceBrokerOpenstacksServersGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerOpenstacksServersGetOK

func NewServiceBrokerOpenstacksServersGetOK() *ServiceBrokerOpenstacksServersGetOK

NewServiceBrokerOpenstacksServersGetOK creates a ServiceBrokerOpenstacksServersGetOK with default headers values

func (*ServiceBrokerOpenstacksServersGetOK) Error

func (*ServiceBrokerOpenstacksServersGetOK) GetPayload added in v1.1.0

type ServiceBrokerOpenstacksServersGetParams

type ServiceBrokerOpenstacksServersGetParams struct {

	/* OpenstackID.

	   Openstack ID
	*/
	OpenstackID string

	/* PvmInstanceID.

	   PCloud PVM Instance ID
	*/
	PvmInstanceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksServersGetParams contains all the parameters to send to the API endpoint

for the service broker openstacks servers get operation.

Typically these are written to a http.Request.

func NewServiceBrokerOpenstacksServersGetParams

func NewServiceBrokerOpenstacksServersGetParams() *ServiceBrokerOpenstacksServersGetParams

NewServiceBrokerOpenstacksServersGetParams creates a new ServiceBrokerOpenstacksServersGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerOpenstacksServersGetParamsWithContext

func NewServiceBrokerOpenstacksServersGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksServersGetParams

NewServiceBrokerOpenstacksServersGetParamsWithContext creates a new ServiceBrokerOpenstacksServersGetParams object with the ability to set a context for a request.

func NewServiceBrokerOpenstacksServersGetParamsWithHTTPClient

func NewServiceBrokerOpenstacksServersGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksServersGetParams

NewServiceBrokerOpenstacksServersGetParamsWithHTTPClient creates a new ServiceBrokerOpenstacksServersGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerOpenstacksServersGetParamsWithTimeout

func NewServiceBrokerOpenstacksServersGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksServersGetParams

NewServiceBrokerOpenstacksServersGetParamsWithTimeout creates a new ServiceBrokerOpenstacksServersGetParams object with the ability to set a timeout on a request.

func (*ServiceBrokerOpenstacksServersGetParams) SetContext

SetContext adds the context to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerOpenstacksServersGetParams) SetDefaults()

SetDefaults hydrates default values in the service broker openstacks servers get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksServersGetParams) SetHTTPClient

func (o *ServiceBrokerOpenstacksServersGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) SetOpenstackID

func (o *ServiceBrokerOpenstacksServersGetParams) SetOpenstackID(openstackID string)

SetOpenstackID adds the openstackId to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) SetPvmInstanceID

func (o *ServiceBrokerOpenstacksServersGetParams) SetPvmInstanceID(pvmInstanceID string)

SetPvmInstanceID adds the pvmInstanceId to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) SetTimeout

func (o *ServiceBrokerOpenstacksServersGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WithContext

WithContext adds the context to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker openstacks servers get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerOpenstacksServersGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WithOpenstackID

WithOpenstackID adds the openstackID to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WithPvmInstanceID

WithPvmInstanceID adds the pvmInstanceID to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WithTimeout

WithTimeout adds the timeout to the service broker openstacks servers get params

func (*ServiceBrokerOpenstacksServersGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerOpenstacksServersGetReader

type ServiceBrokerOpenstacksServersGetReader struct {
	// contains filtered or unexported fields
}

ServiceBrokerOpenstacksServersGetReader is a Reader for the ServiceBrokerOpenstacksServersGet structure.

func (*ServiceBrokerOpenstacksServersGetReader) ReadResponse

func (o *ServiceBrokerOpenstacksServersGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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