Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBroker(params *CreateBrokerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBrokerOK, error)
- func (a *Client) GetBroker(params *GetBrokerParams, authInfo runtime.ClientAuthInfoWriter) (*GetBrokerOK, error)
- func (a *Client) QueryBrokers(params *QueryBrokersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryBrokersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateBrokerOK
- type CreateBrokerParams
- func (o *CreateBrokerParams) SetBody(body *models.V1CreateBrokerRequest)
- func (o *CreateBrokerParams) SetContext(ctx context.Context)
- func (o *CreateBrokerParams) SetHTTPClient(client *http.Client)
- func (o *CreateBrokerParams) SetTimeout(timeout time.Duration)
- func (o *CreateBrokerParams) WithBody(body *models.V1CreateBrokerRequest) *CreateBrokerParams
- func (o *CreateBrokerParams) WithContext(ctx context.Context) *CreateBrokerParams
- func (o *CreateBrokerParams) WithHTTPClient(client *http.Client) *CreateBrokerParams
- func (o *CreateBrokerParams) WithTimeout(timeout time.Duration) *CreateBrokerParams
- func (o *CreateBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBrokerReader
- type GetBrokerOK
- type GetBrokerParams
- func (o *GetBrokerParams) SetBrokerID(brokerID string)
- func (o *GetBrokerParams) SetContext(ctx context.Context)
- func (o *GetBrokerParams) SetHTTPClient(client *http.Client)
- func (o *GetBrokerParams) SetTimeout(timeout time.Duration)
- func (o *GetBrokerParams) WithBrokerID(brokerID string) *GetBrokerParams
- func (o *GetBrokerParams) WithContext(ctx context.Context) *GetBrokerParams
- func (o *GetBrokerParams) WithHTTPClient(client *http.Client) *GetBrokerParams
- func (o *GetBrokerParams) WithTimeout(timeout time.Duration) *GetBrokerParams
- func (o *GetBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBrokerReader
- type QueryBrokersOK
- type QueryBrokersParams
- func (o *QueryBrokersParams) SetAccountID(accountID *string)
- func (o *QueryBrokersParams) SetBrokerID(brokerID []string)
- func (o *QueryBrokersParams) SetContext(ctx context.Context)
- func (o *QueryBrokersParams) SetDisplayName(displayName *string)
- func (o *QueryBrokersParams) SetHTTPClient(client *http.Client)
- func (o *QueryBrokersParams) SetOrganisationID(organisationID *string)
- func (o *QueryBrokersParams) SetTimeout(timeout time.Duration)
- func (o *QueryBrokersParams) WithAccountID(accountID *string) *QueryBrokersParams
- func (o *QueryBrokersParams) WithBrokerID(brokerID []string) *QueryBrokersParams
- func (o *QueryBrokersParams) WithContext(ctx context.Context) *QueryBrokersParams
- func (o *QueryBrokersParams) WithDisplayName(displayName *string) *QueryBrokersParams
- func (o *QueryBrokersParams) WithHTTPClient(client *http.Client) *QueryBrokersParams
- func (o *QueryBrokersParams) WithOrganisationID(organisationID *string) *QueryBrokersParams
- func (o *QueryBrokersParams) WithTimeout(timeout time.Duration) *QueryBrokersParams
- func (o *QueryBrokersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryBrokersReader
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 brokers API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new brokers API client.
func (*Client) CreateBroker ¶
func (a *Client) CreateBroker(params *CreateBrokerParams, authInfo runtime.ClientAuthInfoWriter) (*CreateBrokerOK, error)
CreateBroker create broker API
func (*Client) GetBroker ¶
func (a *Client) GetBroker(params *GetBrokerParams, authInfo runtime.ClientAuthInfoWriter) (*GetBrokerOK, error)
GetBroker get broker API
func (*Client) QueryBrokers ¶
func (a *Client) QueryBrokers(params *QueryBrokersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryBrokersOK, error)
QueryBrokers query brokers API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateBrokerOK ¶
type CreateBrokerOK struct {
Payload models.V1CreateBrokerResponse
}
CreateBrokerOK handles this case with default header values.
CreateBrokerOK create broker o k
func NewCreateBrokerOK ¶
func NewCreateBrokerOK() *CreateBrokerOK
NewCreateBrokerOK creates a CreateBrokerOK with default headers values
func (*CreateBrokerOK) Error ¶
func (o *CreateBrokerOK) Error() string
type CreateBrokerParams ¶
type CreateBrokerParams struct { /*Body*/ Body *models.V1CreateBrokerRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBrokerParams contains all the parameters to send to the API endpoint for the create broker operation typically these are written to a http.Request
func NewCreateBrokerParams ¶
func NewCreateBrokerParams() *CreateBrokerParams
NewCreateBrokerParams creates a new CreateBrokerParams object with the default values initialized.
func NewCreateBrokerParamsWithContext ¶
func NewCreateBrokerParamsWithContext(ctx context.Context) *CreateBrokerParams
NewCreateBrokerParamsWithContext creates a new CreateBrokerParams object with the default values initialized, and the ability to set a context for a request
func NewCreateBrokerParamsWithHTTPClient ¶
func NewCreateBrokerParamsWithHTTPClient(client *http.Client) *CreateBrokerParams
NewCreateBrokerParamsWithHTTPClient creates a new CreateBrokerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateBrokerParamsWithTimeout ¶
func NewCreateBrokerParamsWithTimeout(timeout time.Duration) *CreateBrokerParams
NewCreateBrokerParamsWithTimeout creates a new CreateBrokerParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateBrokerParams) SetBody ¶
func (o *CreateBrokerParams) SetBody(body *models.V1CreateBrokerRequest)
SetBody adds the body to the create broker params
func (*CreateBrokerParams) SetContext ¶
func (o *CreateBrokerParams) SetContext(ctx context.Context)
SetContext adds the context to the create broker params
func (*CreateBrokerParams) SetHTTPClient ¶
func (o *CreateBrokerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create broker params
func (*CreateBrokerParams) SetTimeout ¶
func (o *CreateBrokerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create broker params
func (*CreateBrokerParams) WithBody ¶
func (o *CreateBrokerParams) WithBody(body *models.V1CreateBrokerRequest) *CreateBrokerParams
WithBody adds the body to the create broker params
func (*CreateBrokerParams) WithContext ¶
func (o *CreateBrokerParams) WithContext(ctx context.Context) *CreateBrokerParams
WithContext adds the context to the create broker params
func (*CreateBrokerParams) WithHTTPClient ¶
func (o *CreateBrokerParams) WithHTTPClient(client *http.Client) *CreateBrokerParams
WithHTTPClient adds the HTTPClient to the create broker params
func (*CreateBrokerParams) WithTimeout ¶
func (o *CreateBrokerParams) WithTimeout(timeout time.Duration) *CreateBrokerParams
WithTimeout adds the timeout to the create broker params
func (*CreateBrokerParams) WriteToRequest ¶
func (o *CreateBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBrokerReader ¶
type CreateBrokerReader struct {
// contains filtered or unexported fields
}
CreateBrokerReader is a Reader for the CreateBroker structure.
func (*CreateBrokerReader) ReadResponse ¶
func (o *CreateBrokerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBrokerOK ¶
type GetBrokerOK struct {
Payload *models.V1GetBrokerResponse
}
GetBrokerOK handles this case with default header values.
GetBrokerOK get broker o k
func NewGetBrokerOK ¶
func NewGetBrokerOK() *GetBrokerOK
NewGetBrokerOK creates a GetBrokerOK with default headers values
func (*GetBrokerOK) Error ¶
func (o *GetBrokerOK) Error() string
type GetBrokerParams ¶
type GetBrokerParams struct { /*BrokerID*/ BrokerID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBrokerParams contains all the parameters to send to the API endpoint for the get broker operation typically these are written to a http.Request
func NewGetBrokerParams ¶
func NewGetBrokerParams() *GetBrokerParams
NewGetBrokerParams creates a new GetBrokerParams object with the default values initialized.
func NewGetBrokerParamsWithContext ¶
func NewGetBrokerParamsWithContext(ctx context.Context) *GetBrokerParams
NewGetBrokerParamsWithContext creates a new GetBrokerParams object with the default values initialized, and the ability to set a context for a request
func NewGetBrokerParamsWithHTTPClient ¶
func NewGetBrokerParamsWithHTTPClient(client *http.Client) *GetBrokerParams
NewGetBrokerParamsWithHTTPClient creates a new GetBrokerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBrokerParamsWithTimeout ¶
func NewGetBrokerParamsWithTimeout(timeout time.Duration) *GetBrokerParams
NewGetBrokerParamsWithTimeout creates a new GetBrokerParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBrokerParams) SetBrokerID ¶
func (o *GetBrokerParams) SetBrokerID(brokerID string)
SetBrokerID adds the brokerId to the get broker params
func (*GetBrokerParams) SetContext ¶
func (o *GetBrokerParams) SetContext(ctx context.Context)
SetContext adds the context to the get broker params
func (*GetBrokerParams) SetHTTPClient ¶
func (o *GetBrokerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get broker params
func (*GetBrokerParams) SetTimeout ¶
func (o *GetBrokerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get broker params
func (*GetBrokerParams) WithBrokerID ¶
func (o *GetBrokerParams) WithBrokerID(brokerID string) *GetBrokerParams
WithBrokerID adds the brokerID to the get broker params
func (*GetBrokerParams) WithContext ¶
func (o *GetBrokerParams) WithContext(ctx context.Context) *GetBrokerParams
WithContext adds the context to the get broker params
func (*GetBrokerParams) WithHTTPClient ¶
func (o *GetBrokerParams) WithHTTPClient(client *http.Client) *GetBrokerParams
WithHTTPClient adds the HTTPClient to the get broker params
func (*GetBrokerParams) WithTimeout ¶
func (o *GetBrokerParams) WithTimeout(timeout time.Duration) *GetBrokerParams
WithTimeout adds the timeout to the get broker params
func (*GetBrokerParams) WriteToRequest ¶
func (o *GetBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBrokerReader ¶
type GetBrokerReader struct {
// contains filtered or unexported fields
}
GetBrokerReader is a Reader for the GetBroker structure.
func (*GetBrokerReader) ReadResponse ¶
func (o *GetBrokerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryBrokersOK ¶
type QueryBrokersOK struct {
Payload *models.V1QueryBrokersResponse
}
QueryBrokersOK handles this case with default header values.
QueryBrokersOK query brokers o k
func NewQueryBrokersOK ¶
func NewQueryBrokersOK() *QueryBrokersOK
NewQueryBrokersOK creates a QueryBrokersOK with default headers values
func (*QueryBrokersOK) Error ¶
func (o *QueryBrokersOK) Error() string
type QueryBrokersParams ¶
type QueryBrokersParams struct { /*AccountID*/ AccountID *string /*BrokerID*/ BrokerID []string /*DisplayName*/ DisplayName *string /*OrganisationID*/ OrganisationID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryBrokersParams contains all the parameters to send to the API endpoint for the query brokers operation typically these are written to a http.Request
func NewQueryBrokersParams ¶
func NewQueryBrokersParams() *QueryBrokersParams
NewQueryBrokersParams creates a new QueryBrokersParams object with the default values initialized.
func NewQueryBrokersParamsWithContext ¶
func NewQueryBrokersParamsWithContext(ctx context.Context) *QueryBrokersParams
NewQueryBrokersParamsWithContext creates a new QueryBrokersParams object with the default values initialized, and the ability to set a context for a request
func NewQueryBrokersParamsWithHTTPClient ¶
func NewQueryBrokersParamsWithHTTPClient(client *http.Client) *QueryBrokersParams
NewQueryBrokersParamsWithHTTPClient creates a new QueryBrokersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewQueryBrokersParamsWithTimeout ¶
func NewQueryBrokersParamsWithTimeout(timeout time.Duration) *QueryBrokersParams
NewQueryBrokersParamsWithTimeout creates a new QueryBrokersParams object with the default values initialized, and the ability to set a timeout on a request
func (*QueryBrokersParams) SetAccountID ¶
func (o *QueryBrokersParams) SetAccountID(accountID *string)
SetAccountID adds the accountId to the query brokers params
func (*QueryBrokersParams) SetBrokerID ¶
func (o *QueryBrokersParams) SetBrokerID(brokerID []string)
SetBrokerID adds the brokerId to the query brokers params
func (*QueryBrokersParams) SetContext ¶
func (o *QueryBrokersParams) SetContext(ctx context.Context)
SetContext adds the context to the query brokers params
func (*QueryBrokersParams) SetDisplayName ¶
func (o *QueryBrokersParams) SetDisplayName(displayName *string)
SetDisplayName adds the displayName to the query brokers params
func (*QueryBrokersParams) SetHTTPClient ¶
func (o *QueryBrokersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query brokers params
func (*QueryBrokersParams) SetOrganisationID ¶
func (o *QueryBrokersParams) SetOrganisationID(organisationID *string)
SetOrganisationID adds the organisationId to the query brokers params
func (*QueryBrokersParams) SetTimeout ¶
func (o *QueryBrokersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query brokers params
func (*QueryBrokersParams) WithAccountID ¶
func (o *QueryBrokersParams) WithAccountID(accountID *string) *QueryBrokersParams
WithAccountID adds the accountID to the query brokers params
func (*QueryBrokersParams) WithBrokerID ¶
func (o *QueryBrokersParams) WithBrokerID(brokerID []string) *QueryBrokersParams
WithBrokerID adds the brokerID to the query brokers params
func (*QueryBrokersParams) WithContext ¶
func (o *QueryBrokersParams) WithContext(ctx context.Context) *QueryBrokersParams
WithContext adds the context to the query brokers params
func (*QueryBrokersParams) WithDisplayName ¶
func (o *QueryBrokersParams) WithDisplayName(displayName *string) *QueryBrokersParams
WithDisplayName adds the displayName to the query brokers params
func (*QueryBrokersParams) WithHTTPClient ¶
func (o *QueryBrokersParams) WithHTTPClient(client *http.Client) *QueryBrokersParams
WithHTTPClient adds the HTTPClient to the query brokers params
func (*QueryBrokersParams) WithOrganisationID ¶
func (o *QueryBrokersParams) WithOrganisationID(organisationID *string) *QueryBrokersParams
WithOrganisationID adds the organisationID to the query brokers params
func (*QueryBrokersParams) WithTimeout ¶
func (o *QueryBrokersParams) WithTimeout(timeout time.Duration) *QueryBrokersParams
WithTimeout adds the timeout to the query brokers params
func (*QueryBrokersParams) WriteToRequest ¶
func (o *QueryBrokersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryBrokersReader ¶
type QueryBrokersReader struct {
// contains filtered or unexported fields
}
QueryBrokersReader is a Reader for the QueryBrokers structure.
func (*QueryBrokersReader) ReadResponse ¶
func (o *QueryBrokersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.