Documentation ¶
Index ¶
- type Client
- func (a *Client) GetServiceClassByName(params *GetServiceClassByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceClassByNameOK, error)
- func (a *Client) GetServiceClasses(params *GetServiceClassesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceClassesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetServiceClassByNameBadRequest
- type GetServiceClassByNameDefault
- type GetServiceClassByNameForbidden
- type GetServiceClassByNameNotFound
- type GetServiceClassByNameOK
- type GetServiceClassByNameParams
- func NewGetServiceClassByNameParams() *GetServiceClassByNameParams
- func NewGetServiceClassByNameParamsWithContext(ctx context.Context) *GetServiceClassByNameParams
- func NewGetServiceClassByNameParamsWithHTTPClient(client *http.Client) *GetServiceClassByNameParams
- func NewGetServiceClassByNameParamsWithTimeout(timeout time.Duration) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) SetContext(ctx context.Context)
- func (o *GetServiceClassByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceClassByNameParams) SetServiceClassName(serviceClassName string)
- func (o *GetServiceClassByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceClassByNameParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetServiceClassByNameParams) WithContext(ctx context.Context) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) WithHTTPClient(client *http.Client) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) WithServiceClassName(serviceClassName string) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) WithTimeout(timeout time.Duration) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceClassByNameParams
- func (o *GetServiceClassByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceClassByNameReader
- type GetServiceClassByNameUnauthorized
- type GetServiceClassesDefault
- type GetServiceClassesForbidden
- type GetServiceClassesOK
- type GetServiceClassesParams
- func NewGetServiceClassesParams() *GetServiceClassesParams
- func NewGetServiceClassesParamsWithContext(ctx context.Context) *GetServiceClassesParams
- func NewGetServiceClassesParamsWithHTTPClient(client *http.Client) *GetServiceClassesParams
- func NewGetServiceClassesParamsWithTimeout(timeout time.Duration) *GetServiceClassesParams
- func (o *GetServiceClassesParams) SetBroker(broker *string)
- func (o *GetServiceClassesParams) SetContext(ctx context.Context)
- func (o *GetServiceClassesParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceClassesParams) SetTags(tags []string)
- func (o *GetServiceClassesParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceClassesParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetServiceClassesParams) WithBroker(broker *string) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WithContext(ctx context.Context) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WithHTTPClient(client *http.Client) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WithTags(tags []string) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WithTimeout(timeout time.Duration) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceClassesParams
- func (o *GetServiceClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceClassesReader
- type GetServiceClassesUnauthorized
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 service class API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new service class API client.
func (*Client) GetServiceClassByName ¶
func (a *Client) GetServiceClassByName(params *GetServiceClassByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceClassByNameOK, error)
GetServiceClassByName finds service class by name
Returns a single service class
func (*Client) GetServiceClasses ¶
func (a *Client) GetServiceClasses(params *GetServiceClassesParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceClassesOK, error)
GetServiceClasses lists all existing service classes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetServiceClassByNameBadRequest ¶
GetServiceClassByNameBadRequest handles this case with default header values.
Invalid name supplied
func NewGetServiceClassByNameBadRequest ¶
func NewGetServiceClassByNameBadRequest() *GetServiceClassByNameBadRequest
NewGetServiceClassByNameBadRequest creates a GetServiceClassByNameBadRequest with default headers values
func (*GetServiceClassByNameBadRequest) Error ¶
func (o *GetServiceClassByNameBadRequest) Error() string
type GetServiceClassByNameDefault ¶
type GetServiceClassByNameDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceClassByNameDefault handles this case with default header values.
Generic error response
func NewGetServiceClassByNameDefault ¶
func NewGetServiceClassByNameDefault(code int) *GetServiceClassByNameDefault
NewGetServiceClassByNameDefault creates a GetServiceClassByNameDefault with default headers values
func (*GetServiceClassByNameDefault) Code ¶
func (o *GetServiceClassByNameDefault) Code() int
Code gets the status code for the get service class by name default response
func (*GetServiceClassByNameDefault) Error ¶
func (o *GetServiceClassByNameDefault) Error() string
type GetServiceClassByNameForbidden ¶ added in v0.1.18
GetServiceClassByNameForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetServiceClassByNameForbidden ¶ added in v0.1.18
func NewGetServiceClassByNameForbidden() *GetServiceClassByNameForbidden
NewGetServiceClassByNameForbidden creates a GetServiceClassByNameForbidden with default headers values
func (*GetServiceClassByNameForbidden) Error ¶ added in v0.1.18
func (o *GetServiceClassByNameForbidden) Error() string
type GetServiceClassByNameNotFound ¶
GetServiceClassByNameNotFound handles this case with default header values.
Service class not found
func NewGetServiceClassByNameNotFound ¶
func NewGetServiceClassByNameNotFound() *GetServiceClassByNameNotFound
NewGetServiceClassByNameNotFound creates a GetServiceClassByNameNotFound with default headers values
func (*GetServiceClassByNameNotFound) Error ¶
func (o *GetServiceClassByNameNotFound) Error() string
type GetServiceClassByNameOK ¶
type GetServiceClassByNameOK struct {
Payload *v1.ServiceClass
}
GetServiceClassByNameOK handles this case with default header values.
successful operation
func NewGetServiceClassByNameOK ¶
func NewGetServiceClassByNameOK() *GetServiceClassByNameOK
NewGetServiceClassByNameOK creates a GetServiceClassByNameOK with default headers values
func (*GetServiceClassByNameOK) Error ¶
func (o *GetServiceClassByNameOK) Error() string
type GetServiceClassByNameParams ¶
type GetServiceClassByNameParams struct { /*XDispatchOrg*/ XDispatchOrg string /*ServiceClassName Name of service class to return */ ServiceClassName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceClassByNameParams contains all the parameters to send to the API endpoint for the get service class by name operation typically these are written to a http.Request
func NewGetServiceClassByNameParams ¶
func NewGetServiceClassByNameParams() *GetServiceClassByNameParams
NewGetServiceClassByNameParams creates a new GetServiceClassByNameParams object with the default values initialized.
func NewGetServiceClassByNameParamsWithContext ¶
func NewGetServiceClassByNameParamsWithContext(ctx context.Context) *GetServiceClassByNameParams
NewGetServiceClassByNameParamsWithContext creates a new GetServiceClassByNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceClassByNameParamsWithHTTPClient ¶
func NewGetServiceClassByNameParamsWithHTTPClient(client *http.Client) *GetServiceClassByNameParams
NewGetServiceClassByNameParamsWithHTTPClient creates a new GetServiceClassByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceClassByNameParamsWithTimeout ¶
func NewGetServiceClassByNameParamsWithTimeout(timeout time.Duration) *GetServiceClassByNameParams
NewGetServiceClassByNameParamsWithTimeout creates a new GetServiceClassByNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceClassByNameParams) SetContext ¶
func (o *GetServiceClassByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get service class by name params
func (*GetServiceClassByNameParams) SetHTTPClient ¶
func (o *GetServiceClassByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service class by name params
func (*GetServiceClassByNameParams) SetServiceClassName ¶
func (o *GetServiceClassByNameParams) SetServiceClassName(serviceClassName string)
SetServiceClassName adds the serviceClassName to the get service class by name params
func (*GetServiceClassByNameParams) SetTimeout ¶
func (o *GetServiceClassByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service class by name params
func (*GetServiceClassByNameParams) SetXDispatchOrg ¶ added in v0.1.19
func (o *GetServiceClassByNameParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the get service class by name params
func (*GetServiceClassByNameParams) WithContext ¶
func (o *GetServiceClassByNameParams) WithContext(ctx context.Context) *GetServiceClassByNameParams
WithContext adds the context to the get service class by name params
func (*GetServiceClassByNameParams) WithHTTPClient ¶
func (o *GetServiceClassByNameParams) WithHTTPClient(client *http.Client) *GetServiceClassByNameParams
WithHTTPClient adds the HTTPClient to the get service class by name params
func (*GetServiceClassByNameParams) WithServiceClassName ¶
func (o *GetServiceClassByNameParams) WithServiceClassName(serviceClassName string) *GetServiceClassByNameParams
WithServiceClassName adds the serviceClassName to the get service class by name params
func (*GetServiceClassByNameParams) WithTimeout ¶
func (o *GetServiceClassByNameParams) WithTimeout(timeout time.Duration) *GetServiceClassByNameParams
WithTimeout adds the timeout to the get service class by name params
func (*GetServiceClassByNameParams) WithXDispatchOrg ¶ added in v0.1.19
func (o *GetServiceClassByNameParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceClassByNameParams
WithXDispatchOrg adds the xDispatchOrg to the get service class by name params
func (*GetServiceClassByNameParams) WriteToRequest ¶
func (o *GetServiceClassByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceClassByNameReader ¶
type GetServiceClassByNameReader struct {
// contains filtered or unexported fields
}
GetServiceClassByNameReader is a Reader for the GetServiceClassByName structure.
func (*GetServiceClassByNameReader) ReadResponse ¶
func (o *GetServiceClassByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceClassByNameUnauthorized ¶ added in v0.1.18
type GetServiceClassByNameUnauthorized struct {
}GetServiceClassByNameUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetServiceClassByNameUnauthorized ¶ added in v0.1.18
func NewGetServiceClassByNameUnauthorized() *GetServiceClassByNameUnauthorized
NewGetServiceClassByNameUnauthorized creates a GetServiceClassByNameUnauthorized with default headers values
func (*GetServiceClassByNameUnauthorized) Error ¶ added in v0.1.18
func (o *GetServiceClassByNameUnauthorized) Error() string
type GetServiceClassesDefault ¶
type GetServiceClassesDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceClassesDefault handles this case with default header values.
Generic error response
func NewGetServiceClassesDefault ¶
func NewGetServiceClassesDefault(code int) *GetServiceClassesDefault
NewGetServiceClassesDefault creates a GetServiceClassesDefault with default headers values
func (*GetServiceClassesDefault) Code ¶
func (o *GetServiceClassesDefault) Code() int
Code gets the status code for the get service classes default response
func (*GetServiceClassesDefault) Error ¶
func (o *GetServiceClassesDefault) Error() string
type GetServiceClassesForbidden ¶ added in v0.1.18
GetServiceClassesForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetServiceClassesForbidden ¶ added in v0.1.18
func NewGetServiceClassesForbidden() *GetServiceClassesForbidden
NewGetServiceClassesForbidden creates a GetServiceClassesForbidden with default headers values
func (*GetServiceClassesForbidden) Error ¶ added in v0.1.18
func (o *GetServiceClassesForbidden) Error() string
type GetServiceClassesOK ¶
type GetServiceClassesOK struct {
Payload []*v1.ServiceClass
}
GetServiceClassesOK handles this case with default header values.
successful operation
func NewGetServiceClassesOK ¶
func NewGetServiceClassesOK() *GetServiceClassesOK
NewGetServiceClassesOK creates a GetServiceClassesOK with default headers values
func (*GetServiceClassesOK) Error ¶
func (o *GetServiceClassesOK) Error() string
type GetServiceClassesParams ¶
type GetServiceClassesParams struct { /*XDispatchOrg*/ XDispatchOrg string /*Broker Broker name */ Broker *string /*Tags Filter on service class tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceClassesParams contains all the parameters to send to the API endpoint for the get service classes operation typically these are written to a http.Request
func NewGetServiceClassesParams ¶
func NewGetServiceClassesParams() *GetServiceClassesParams
NewGetServiceClassesParams creates a new GetServiceClassesParams object with the default values initialized.
func NewGetServiceClassesParamsWithContext ¶
func NewGetServiceClassesParamsWithContext(ctx context.Context) *GetServiceClassesParams
NewGetServiceClassesParamsWithContext creates a new GetServiceClassesParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceClassesParamsWithHTTPClient ¶
func NewGetServiceClassesParamsWithHTTPClient(client *http.Client) *GetServiceClassesParams
NewGetServiceClassesParamsWithHTTPClient creates a new GetServiceClassesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceClassesParamsWithTimeout ¶
func NewGetServiceClassesParamsWithTimeout(timeout time.Duration) *GetServiceClassesParams
NewGetServiceClassesParamsWithTimeout creates a new GetServiceClassesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceClassesParams) SetBroker ¶
func (o *GetServiceClassesParams) SetBroker(broker *string)
SetBroker adds the broker to the get service classes params
func (*GetServiceClassesParams) SetContext ¶
func (o *GetServiceClassesParams) SetContext(ctx context.Context)
SetContext adds the context to the get service classes params
func (*GetServiceClassesParams) SetHTTPClient ¶
func (o *GetServiceClassesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service classes params
func (*GetServiceClassesParams) SetTags ¶
func (o *GetServiceClassesParams) SetTags(tags []string)
SetTags adds the tags to the get service classes params
func (*GetServiceClassesParams) SetTimeout ¶
func (o *GetServiceClassesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service classes params
func (*GetServiceClassesParams) SetXDispatchOrg ¶ added in v0.1.19
func (o *GetServiceClassesParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg to the get service classes params
func (*GetServiceClassesParams) WithBroker ¶
func (o *GetServiceClassesParams) WithBroker(broker *string) *GetServiceClassesParams
WithBroker adds the broker to the get service classes params
func (*GetServiceClassesParams) WithContext ¶
func (o *GetServiceClassesParams) WithContext(ctx context.Context) *GetServiceClassesParams
WithContext adds the context to the get service classes params
func (*GetServiceClassesParams) WithHTTPClient ¶
func (o *GetServiceClassesParams) WithHTTPClient(client *http.Client) *GetServiceClassesParams
WithHTTPClient adds the HTTPClient to the get service classes params
func (*GetServiceClassesParams) WithTags ¶
func (o *GetServiceClassesParams) WithTags(tags []string) *GetServiceClassesParams
WithTags adds the tags to the get service classes params
func (*GetServiceClassesParams) WithTimeout ¶
func (o *GetServiceClassesParams) WithTimeout(timeout time.Duration) *GetServiceClassesParams
WithTimeout adds the timeout to the get service classes params
func (*GetServiceClassesParams) WithXDispatchOrg ¶ added in v0.1.19
func (o *GetServiceClassesParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceClassesParams
WithXDispatchOrg adds the xDispatchOrg to the get service classes params
func (*GetServiceClassesParams) WriteToRequest ¶
func (o *GetServiceClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceClassesReader ¶
type GetServiceClassesReader struct {
// contains filtered or unexported fields
}
GetServiceClassesReader is a Reader for the GetServiceClasses structure.
func (*GetServiceClassesReader) ReadResponse ¶
func (o *GetServiceClassesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceClassesUnauthorized ¶ added in v0.1.18
type GetServiceClassesUnauthorized struct {
}GetServiceClassesUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetServiceClassesUnauthorized ¶ added in v0.1.18
func NewGetServiceClassesUnauthorized() *GetServiceClassesUnauthorized
NewGetServiceClassesUnauthorized creates a GetServiceClassesUnauthorized with default headers values
func (*GetServiceClassesUnauthorized) Error ¶ added in v0.1.18
func (o *GetServiceClassesUnauthorized) Error() string