Documentation ¶
Index ¶
- type Client
- func (a *Client) ServiceBrokerOpenstacksGet(params *ServiceBrokerOpenstacksGetParams, ...) (*ServiceBrokerOpenstacksGetOK, error)
- func (a *Client) ServiceBrokerOpenstacksHostsGet(params *ServiceBrokerOpenstacksHostsGetParams, ...) (*ServiceBrokerOpenstacksHostsGetOK, error)
- func (a *Client) ServiceBrokerOpenstacksOpenstackGet(params *ServiceBrokerOpenstacksOpenstackGetParams, ...) (*ServiceBrokerOpenstacksOpenstackGetOK, error)
- func (a *Client) ServiceBrokerOpenstacksPost(params *ServiceBrokerOpenstacksPostParams, ...) (*ServiceBrokerOpenstacksPostOK, *ServiceBrokerOpenstacksPostCreated, error)
- func (a *Client) ServiceBrokerOpenstacksServersGet(params *ServiceBrokerOpenstacksServersGetParams, ...) (*ServiceBrokerOpenstacksServersGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ServiceBrokerOpenstacksGetBadRequest
- type ServiceBrokerOpenstacksGetForbidden
- type ServiceBrokerOpenstacksGetInternalServerError
- type ServiceBrokerOpenstacksGetOK
- type ServiceBrokerOpenstacksGetParams
- func NewServiceBrokerOpenstacksGetParams() *ServiceBrokerOpenstacksGetParams
- func NewServiceBrokerOpenstacksGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksGetParams
- func NewServiceBrokerOpenstacksGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksGetParams
- func NewServiceBrokerOpenstacksGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksGetParams
- func (o *ServiceBrokerOpenstacksGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerOpenstacksGetParams) SetDefaults()
- func (o *ServiceBrokerOpenstacksGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerOpenstacksGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerOpenstacksGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksGetParams
- func (o *ServiceBrokerOpenstacksGetParams) WithDefaults() *ServiceBrokerOpenstacksGetParams
- func (o *ServiceBrokerOpenstacksGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksGetParams
- func (o *ServiceBrokerOpenstacksGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksGetParams
- func (o *ServiceBrokerOpenstacksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerOpenstacksGetReader
- type ServiceBrokerOpenstacksHostsGetBadRequest
- type ServiceBrokerOpenstacksHostsGetInternalServerError
- type ServiceBrokerOpenstacksHostsGetNotFound
- type ServiceBrokerOpenstacksHostsGetOK
- type ServiceBrokerOpenstacksHostsGetParams
- func NewServiceBrokerOpenstacksHostsGetParams() *ServiceBrokerOpenstacksHostsGetParams
- func NewServiceBrokerOpenstacksHostsGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksHostsGetParams
- func NewServiceBrokerOpenstacksHostsGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksHostsGetParams
- func NewServiceBrokerOpenstacksHostsGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetDefaults()
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetHostname(hostname string)
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetOpenstackID(openstackID string)
- func (o *ServiceBrokerOpenstacksHostsGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithDefaults() *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithHostname(hostname string) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksHostsGetParams
- func (o *ServiceBrokerOpenstacksHostsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerOpenstacksHostsGetReader
- type ServiceBrokerOpenstacksOpenstackGetBadRequest
- type ServiceBrokerOpenstacksOpenstackGetInternalServerError
- type ServiceBrokerOpenstacksOpenstackGetNotFound
- type ServiceBrokerOpenstacksOpenstackGetOK
- type ServiceBrokerOpenstacksOpenstackGetParams
- func NewServiceBrokerOpenstacksOpenstackGetParams() *ServiceBrokerOpenstacksOpenstackGetParams
- func NewServiceBrokerOpenstacksOpenstackGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksOpenstackGetParams
- func NewServiceBrokerOpenstacksOpenstackGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksOpenstackGetParams
- func NewServiceBrokerOpenstacksOpenstackGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetDefaults()
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetOpenstackID(openstackID string)
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithDefaults() *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksOpenstackGetParams
- func (o *ServiceBrokerOpenstacksOpenstackGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerOpenstacksOpenstackGetReader
- type ServiceBrokerOpenstacksPostBadRequest
- type ServiceBrokerOpenstacksPostConflict
- type ServiceBrokerOpenstacksPostCreated
- type ServiceBrokerOpenstacksPostInternalServerError
- type ServiceBrokerOpenstacksPostOK
- type ServiceBrokerOpenstacksPostParams
- func NewServiceBrokerOpenstacksPostParams() *ServiceBrokerOpenstacksPostParams
- func NewServiceBrokerOpenstacksPostParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksPostParams
- func NewServiceBrokerOpenstacksPostParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksPostParams
- func NewServiceBrokerOpenstacksPostParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) SetBody(body *models.OpenStackCreate)
- func (o *ServiceBrokerOpenstacksPostParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerOpenstacksPostParams) SetDefaults()
- func (o *ServiceBrokerOpenstacksPostParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerOpenstacksPostParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerOpenstacksPostParams) WithBody(body *models.OpenStackCreate) *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) WithDefaults() *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksPostParams
- func (o *ServiceBrokerOpenstacksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerOpenstacksPostReader
- type ServiceBrokerOpenstacksPostUnprocessableEntity
- type ServiceBrokerOpenstacksServersGetBadRequest
- type ServiceBrokerOpenstacksServersGetInternalServerError
- type ServiceBrokerOpenstacksServersGetNotFound
- type ServiceBrokerOpenstacksServersGetOK
- type ServiceBrokerOpenstacksServersGetParams
- func NewServiceBrokerOpenstacksServersGetParams() *ServiceBrokerOpenstacksServersGetParams
- func NewServiceBrokerOpenstacksServersGetParamsWithContext(ctx context.Context) *ServiceBrokerOpenstacksServersGetParams
- func NewServiceBrokerOpenstacksServersGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksServersGetParams
- func NewServiceBrokerOpenstacksServersGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) SetContext(ctx context.Context)
- func (o *ServiceBrokerOpenstacksServersGetParams) SetDefaults()
- func (o *ServiceBrokerOpenstacksServersGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceBrokerOpenstacksServersGetParams) SetOpenstackID(openstackID string)
- func (o *ServiceBrokerOpenstacksServersGetParams) SetPvmInstanceID(pvmInstanceID string)
- func (o *ServiceBrokerOpenstacksServersGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceBrokerOpenstacksServersGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WithDefaults() *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WithPvmInstanceID(pvmInstanceID string) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksServersGetParams
- func (o *ServiceBrokerOpenstacksServersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceBrokerOpenstacksServersGetReader
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 ¶
func (a *Client) ServiceBrokerOpenstacksPost(params *ServiceBrokerOpenstacksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksPostOK, *ServiceBrokerOpenstacksPostCreated, error)
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
type ClientService interface { ServiceBrokerOpenstacksGet(params *ServiceBrokerOpenstacksGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksGetOK, error) ServiceBrokerOpenstacksHostsGet(params *ServiceBrokerOpenstacksHostsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksHostsGetOK, error) ServiceBrokerOpenstacksOpenstackGet(params *ServiceBrokerOpenstacksOpenstackGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksOpenstackGetOK, error) ServiceBrokerOpenstacksPost(params *ServiceBrokerOpenstacksPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksPostOK, *ServiceBrokerOpenstacksPostCreated, error) ServiceBrokerOpenstacksServersGet(params *ServiceBrokerOpenstacksServersGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceBrokerOpenstacksServersGetOK, error) SetTransport(transport runtime.ClientTransport) }
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 ¶
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 (o *ServiceBrokerOpenstacksGetBadRequest) Error() string
func (*ServiceBrokerOpenstacksGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksGetBadRequest) GetPayload() *models.Error
type ServiceBrokerOpenstacksGetForbidden ¶
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 (o *ServiceBrokerOpenstacksGetForbidden) Error() string
func (*ServiceBrokerOpenstacksGetForbidden) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksGetForbidden) GetPayload() *models.Error
type ServiceBrokerOpenstacksGetInternalServerError ¶
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 (o *ServiceBrokerOpenstacksGetInternalServerError) Error() string
func (*ServiceBrokerOpenstacksGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksGetInternalServerError) GetPayload() *models.Error
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 (o *ServiceBrokerOpenstacksGetOK) Error() string
func (*ServiceBrokerOpenstacksGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksGetOK) GetPayload() *models.OpenStacks
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 ¶
func (o *ServiceBrokerOpenstacksGetParams) SetContext(ctx context.Context)
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 ¶
func (o *ServiceBrokerOpenstacksGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksGetParams
WithContext adds the context to the service broker openstacks get params
func (*ServiceBrokerOpenstacksGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksGetParams) WithDefaults() *ServiceBrokerOpenstacksGetParams
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 ¶
func (o *ServiceBrokerOpenstacksGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksGetParams
WithHTTPClient adds the HTTPClient to the service broker openstacks get params
func (*ServiceBrokerOpenstacksGetParams) WithTimeout ¶
func (o *ServiceBrokerOpenstacksGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksGetParams
WithTimeout adds the timeout to the service broker openstacks get params
func (*ServiceBrokerOpenstacksGetParams) WriteToRequest ¶
func (o *ServiceBrokerOpenstacksGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *ServiceBrokerOpenstacksHostsGetBadRequest) Error() string
func (*ServiceBrokerOpenstacksHostsGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksHostsGetBadRequest) GetPayload() *models.Error
type ServiceBrokerOpenstacksHostsGetInternalServerError ¶
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 (o *ServiceBrokerOpenstacksHostsGetInternalServerError) Error() string
func (*ServiceBrokerOpenstacksHostsGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksHostsGetInternalServerError) GetPayload() *models.Error
type ServiceBrokerOpenstacksHostsGetNotFound ¶
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 (o *ServiceBrokerOpenstacksHostsGetNotFound) Error() string
func (*ServiceBrokerOpenstacksHostsGetNotFound) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksHostsGetNotFound) GetPayload() *models.Error
type ServiceBrokerOpenstacksHostsGetOK ¶
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 (o *ServiceBrokerOpenstacksHostsGetOK) Error() string
func (*ServiceBrokerOpenstacksHostsGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksHostsGetOK) GetPayload() *models.HostInfo
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 ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) SetContext(ctx context.Context)
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 ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksHostsGetParams
WithContext adds the context to the service broker openstacks hosts get params
func (*ServiceBrokerOpenstacksHostsGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksHostsGetParams) WithDefaults() *ServiceBrokerOpenstacksHostsGetParams
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 ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksHostsGetParams
WithHTTPClient adds the HTTPClient to the service broker openstacks hosts get params
func (*ServiceBrokerOpenstacksHostsGetParams) WithHostname ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WithHostname(hostname string) *ServiceBrokerOpenstacksHostsGetParams
WithHostname adds the hostname to the service broker openstacks hosts get params
func (*ServiceBrokerOpenstacksHostsGetParams) WithOpenstackID ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksHostsGetParams
WithOpenstackID adds the openstackID to the service broker openstacks hosts get params
func (*ServiceBrokerOpenstacksHostsGetParams) WithTimeout ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksHostsGetParams
WithTimeout adds the timeout to the service broker openstacks hosts get params
func (*ServiceBrokerOpenstacksHostsGetParams) WriteToRequest ¶
func (o *ServiceBrokerOpenstacksHostsGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *ServiceBrokerOpenstacksOpenstackGetBadRequest) Error() string
func (*ServiceBrokerOpenstacksOpenstackGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetBadRequest) GetPayload() *models.Error
type ServiceBrokerOpenstacksOpenstackGetInternalServerError ¶
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 (o *ServiceBrokerOpenstacksOpenstackGetInternalServerError) Error() string
func (*ServiceBrokerOpenstacksOpenstackGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetInternalServerError) GetPayload() *models.Error
type ServiceBrokerOpenstacksOpenstackGetNotFound ¶
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 (o *ServiceBrokerOpenstacksOpenstackGetNotFound) Error() string
func (*ServiceBrokerOpenstacksOpenstackGetNotFound) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetNotFound) GetPayload() *models.Error
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 (o *ServiceBrokerOpenstacksOpenstackGetOK) Error() string
func (*ServiceBrokerOpenstacksOpenstackGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetOK) GetPayload() *models.OpenStackInfo
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 ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetDefaults()
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 ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) WithContext ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksOpenstackGetParams
WithContext adds the context to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithDefaults() *ServiceBrokerOpenstacksOpenstackGetParams
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 ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksOpenstackGetParams
WithHTTPClient adds the HTTPClient to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) WithOpenstackID ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksOpenstackGetParams
WithOpenstackID adds the openstackID to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) WithTimeout ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksOpenstackGetParams
WithTimeout adds the timeout to the service broker openstacks openstack get params
func (*ServiceBrokerOpenstacksOpenstackGetParams) WriteToRequest ¶
func (o *ServiceBrokerOpenstacksOpenstackGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *ServiceBrokerOpenstacksPostBadRequest) Error() string
func (*ServiceBrokerOpenstacksPostBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostBadRequest) GetPayload() *models.Error
type ServiceBrokerOpenstacksPostConflict ¶
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 (o *ServiceBrokerOpenstacksPostConflict) Error() string
func (*ServiceBrokerOpenstacksPostConflict) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostConflict) GetPayload() *models.Error
type ServiceBrokerOpenstacksPostCreated ¶
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 (o *ServiceBrokerOpenstacksPostCreated) Error() string
func (*ServiceBrokerOpenstacksPostCreated) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostCreated) GetPayload() *models.OpenStack
type ServiceBrokerOpenstacksPostInternalServerError ¶
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 (o *ServiceBrokerOpenstacksPostInternalServerError) Error() string
func (*ServiceBrokerOpenstacksPostInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostInternalServerError) GetPayload() *models.Error
type ServiceBrokerOpenstacksPostOK ¶
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 (o *ServiceBrokerOpenstacksPostOK) Error() string
func (*ServiceBrokerOpenstacksPostOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostOK) GetPayload() *models.OpenStack
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 ¶
func (o *ServiceBrokerOpenstacksPostParams) SetBody(body *models.OpenStackCreate)
SetBody adds the body to the service broker openstacks post params
func (*ServiceBrokerOpenstacksPostParams) SetContext ¶
func (o *ServiceBrokerOpenstacksPostParams) SetContext(ctx context.Context)
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 ¶
func (o *ServiceBrokerOpenstacksPostParams) WithBody(body *models.OpenStackCreate) *ServiceBrokerOpenstacksPostParams
WithBody adds the body to the service broker openstacks post params
func (*ServiceBrokerOpenstacksPostParams) WithContext ¶
func (o *ServiceBrokerOpenstacksPostParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksPostParams
WithContext adds the context to the service broker openstacks post params
func (*ServiceBrokerOpenstacksPostParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostParams) WithDefaults() *ServiceBrokerOpenstacksPostParams
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 ¶
func (o *ServiceBrokerOpenstacksPostParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksPostParams
WithHTTPClient adds the HTTPClient to the service broker openstacks post params
func (*ServiceBrokerOpenstacksPostParams) WithTimeout ¶
func (o *ServiceBrokerOpenstacksPostParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksPostParams
WithTimeout adds the timeout to the service broker openstacks post params
func (*ServiceBrokerOpenstacksPostParams) WriteToRequest ¶
func (o *ServiceBrokerOpenstacksPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *ServiceBrokerOpenstacksPostUnprocessableEntity) Error() string
func (*ServiceBrokerOpenstacksPostUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksPostUnprocessableEntity) GetPayload() *models.Error
type ServiceBrokerOpenstacksServersGetBadRequest ¶
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 (o *ServiceBrokerOpenstacksServersGetBadRequest) Error() string
func (*ServiceBrokerOpenstacksServersGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksServersGetBadRequest) GetPayload() *models.Error
type ServiceBrokerOpenstacksServersGetInternalServerError ¶
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 (o *ServiceBrokerOpenstacksServersGetInternalServerError) Error() string
func (*ServiceBrokerOpenstacksServersGetInternalServerError) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksServersGetInternalServerError) GetPayload() *models.Error
type ServiceBrokerOpenstacksServersGetNotFound ¶
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 (o *ServiceBrokerOpenstacksServersGetNotFound) Error() string
func (*ServiceBrokerOpenstacksServersGetNotFound) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksServersGetNotFound) GetPayload() *models.Error
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 (o *ServiceBrokerOpenstacksServersGetOK) Error() string
func (*ServiceBrokerOpenstacksServersGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksServersGetOK) GetPayload() *models.HostPVMInstance
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 ¶
func (o *ServiceBrokerOpenstacksServersGetParams) SetContext(ctx context.Context)
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 ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WithContext(ctx context.Context) *ServiceBrokerOpenstacksServersGetParams
WithContext adds the context to the service broker openstacks servers get params
func (*ServiceBrokerOpenstacksServersGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceBrokerOpenstacksServersGetParams) WithDefaults() *ServiceBrokerOpenstacksServersGetParams
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 ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WithHTTPClient(client *http.Client) *ServiceBrokerOpenstacksServersGetParams
WithHTTPClient adds the HTTPClient to the service broker openstacks servers get params
func (*ServiceBrokerOpenstacksServersGetParams) WithOpenstackID ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WithOpenstackID(openstackID string) *ServiceBrokerOpenstacksServersGetParams
WithOpenstackID adds the openstackID to the service broker openstacks servers get params
func (*ServiceBrokerOpenstacksServersGetParams) WithPvmInstanceID ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WithPvmInstanceID(pvmInstanceID string) *ServiceBrokerOpenstacksServersGetParams
WithPvmInstanceID adds the pvmInstanceID to the service broker openstacks servers get params
func (*ServiceBrokerOpenstacksServersGetParams) WithTimeout ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WithTimeout(timeout time.Duration) *ServiceBrokerOpenstacksServersGetParams
WithTimeout adds the timeout to the service broker openstacks servers get params
func (*ServiceBrokerOpenstacksServersGetParams) WriteToRequest ¶
func (o *ServiceBrokerOpenstacksServersGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- open_stacks_client.go
- service_broker_openstacks_get_parameters.go
- service_broker_openstacks_get_responses.go
- service_broker_openstacks_hosts_get_parameters.go
- service_broker_openstacks_hosts_get_responses.go
- service_broker_openstacks_openstack_get_parameters.go
- service_broker_openstacks_openstack_get_responses.go
- service_broker_openstacks_post_parameters.go
- service_broker_openstacks_post_responses.go
- service_broker_openstacks_servers_get_parameters.go
- service_broker_openstacks_servers_get_responses.go