Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteUsingDELETE(params *DeleteUsingDELETEParams) (*DeleteUsingDELETENoContent, error)
- func (a *Client) GetPageUsingGET(params *GetPageUsingGETParams) (*GetPageUsingGETOK, error)
- func (a *Client) GetUsingGET(params *GetUsingGETParams) (*GetUsingGETOK, error)
- func (a *Client) PostUsingPOST(params *PostUsingPOSTParams) (*PostUsingPOSTOK, *PostUsingPOSTCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteUsingDELETENoContent
- type DeleteUsingDELETEParams
- func NewDeleteUsingDELETEParams() *DeleteUsingDELETEParams
- func NewDeleteUsingDELETEParamsWithContext(ctx context.Context) *DeleteUsingDELETEParams
- func NewDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETEParams
- func NewDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETEParams
- func (o *DeleteUsingDELETEParams) SetContext(ctx context.Context)
- func (o *DeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUsingDELETEParams) SetSourceID(sourceID strfmt.UUID)
- func (o *DeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUsingDELETEParams) WithContext(ctx context.Context) *DeleteUsingDELETEParams
- func (o *DeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteUsingDELETEParams
- func (o *DeleteUsingDELETEParams) WithSourceID(sourceID strfmt.UUID) *DeleteUsingDELETEParams
- func (o *DeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteUsingDELETEParams
- func (o *DeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsingDELETEReader
- type DeleteUsingDELETEUnauthorized
- type GetPageUsingGETOK
- type GetPageUsingGETParams
- func NewGetPageUsingGETParams() *GetPageUsingGETParams
- func NewGetPageUsingGETParamsWithContext(ctx context.Context) *GetPageUsingGETParams
- func NewGetPageUsingGETParamsWithHTTPClient(client *http.Client) *GetPageUsingGETParams
- func NewGetPageUsingGETParamsWithTimeout(timeout time.Duration) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) SetContext(ctx context.Context)
- func (o *GetPageUsingGETParams) SetDollarOrderby(dollarOrderby []string)
- func (o *GetPageUsingGETParams) SetDollarSkip(dollarSkip *int32)
- func (o *GetPageUsingGETParams) SetDollarTop(dollarTop *int32)
- func (o *GetPageUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetPageUsingGETParams) SetProjectID(projectID *string)
- func (o *GetPageUsingGETParams) SetSearch(search *string)
- func (o *GetPageUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetPageUsingGETParams) WithContext(ctx context.Context) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithDollarTop(dollarTop *int32) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithHTTPClient(client *http.Client) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithProjectID(projectID *string) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithSearch(search *string) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WithTimeout(timeout time.Duration) *GetPageUsingGETParams
- func (o *GetPageUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPageUsingGETReader
- type GetPageUsingGETUnauthorized
- type GetUsingGETNotFound
- type GetUsingGETOK
- type GetUsingGETParams
- func (o *GetUsingGETParams) SetContext(ctx context.Context)
- func (o *GetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetUsingGETParams) SetSourceID(sourceID strfmt.UUID)
- func (o *GetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetUsingGETParams) WithContext(ctx context.Context) *GetUsingGETParams
- func (o *GetUsingGETParams) WithHTTPClient(client *http.Client) *GetUsingGETParams
- func (o *GetUsingGETParams) WithSourceID(sourceID strfmt.UUID) *GetUsingGETParams
- func (o *GetUsingGETParams) WithTimeout(timeout time.Duration) *GetUsingGETParams
- func (o *GetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsingGETReader
- type GetUsingGETUnauthorized
- type PostUsingPOSTBadRequest
- type PostUsingPOSTCreated
- type PostUsingPOSTForbidden
- type PostUsingPOSTNotFound
- type PostUsingPOSTOK
- type PostUsingPOSTParams
- func (o *PostUsingPOSTParams) SetContext(ctx context.Context)
- func (o *PostUsingPOSTParams) SetHTTPClient(client *http.Client)
- func (o *PostUsingPOSTParams) SetSource(source *models.CatalogSource)
- func (o *PostUsingPOSTParams) SetTimeout(timeout time.Duration)
- func (o *PostUsingPOSTParams) SetValidationOnly(validationOnly *bool)
- func (o *PostUsingPOSTParams) WithContext(ctx context.Context) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithHTTPClient(client *http.Client) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithSource(source *models.CatalogSource) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithTimeout(timeout time.Duration) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WithValidationOnly(validationOnly *bool) *PostUsingPOSTParams
- func (o *PostUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostUsingPOSTReader
- type PostUsingPOSTUnauthorized
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 catalog sources API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new catalog sources API client.
func (*Client) DeleteUsingDELETE ¶
func (a *Client) DeleteUsingDELETE(params *DeleteUsingDELETEParams) (*DeleteUsingDELETENoContent, error)
DeleteUsingDELETE deletes catalog source
Deletes the catalog source with the supplied ID.
func (*Client) GetPageUsingGET ¶
func (a *Client) GetPageUsingGET(params *GetPageUsingGETParams) (*GetPageUsingGETOK, error)
GetPageUsingGET fetches catalog sources
Returns a paginated list of catalog sources.
func (*Client) GetUsingGET ¶
func (a *Client) GetUsingGET(params *GetUsingGETParams) (*GetUsingGETOK, error)
GetUsingGET fetches a specific catalog source for the given ID
Returns the catalog source with the supplied ID.
func (*Client) PostUsingPOST ¶
func (a *Client) PostUsingPOST(params *PostUsingPOSTParams) (*PostUsingPOSTOK, *PostUsingPOSTCreated, error)
PostUsingPOST creates a new catalog source
Creates a catalog source and imports catalog items from it.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteUsingDELETENoContent ¶
type DeleteUsingDELETENoContent struct { }
DeleteUsingDELETENoContent handles this case with default header values.
No Content
func NewDeleteUsingDELETENoContent ¶
func NewDeleteUsingDELETENoContent() *DeleteUsingDELETENoContent
NewDeleteUsingDELETENoContent creates a DeleteUsingDELETENoContent with default headers values
func (*DeleteUsingDELETENoContent) Error ¶
func (o *DeleteUsingDELETENoContent) Error() string
type DeleteUsingDELETEParams ¶
type DeleteUsingDELETEParams struct { /*SourceID Catalog source ID */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUsingDELETEParams contains all the parameters to send to the API endpoint for the delete using d e l e t e operation typically these are written to a http.Request
func NewDeleteUsingDELETEParams ¶
func NewDeleteUsingDELETEParams() *DeleteUsingDELETEParams
NewDeleteUsingDELETEParams creates a new DeleteUsingDELETEParams object with the default values initialized.
func NewDeleteUsingDELETEParamsWithContext ¶
func NewDeleteUsingDELETEParamsWithContext(ctx context.Context) *DeleteUsingDELETEParams
NewDeleteUsingDELETEParamsWithContext creates a new DeleteUsingDELETEParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUsingDELETEParamsWithHTTPClient ¶
func NewDeleteUsingDELETEParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETEParams
NewDeleteUsingDELETEParamsWithHTTPClient creates a new DeleteUsingDELETEParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUsingDELETEParamsWithTimeout ¶
func NewDeleteUsingDELETEParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETEParams
NewDeleteUsingDELETEParamsWithTimeout creates a new DeleteUsingDELETEParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUsingDELETEParams) SetContext ¶
func (o *DeleteUsingDELETEParams) SetContext(ctx context.Context)
SetContext adds the context to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) SetHTTPClient ¶
func (o *DeleteUsingDELETEParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) SetSourceID ¶
func (o *DeleteUsingDELETEParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) SetTimeout ¶
func (o *DeleteUsingDELETEParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) WithContext ¶
func (o *DeleteUsingDELETEParams) WithContext(ctx context.Context) *DeleteUsingDELETEParams
WithContext adds the context to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) WithHTTPClient ¶
func (o *DeleteUsingDELETEParams) WithHTTPClient(client *http.Client) *DeleteUsingDELETEParams
WithHTTPClient adds the HTTPClient to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) WithSourceID ¶
func (o *DeleteUsingDELETEParams) WithSourceID(sourceID strfmt.UUID) *DeleteUsingDELETEParams
WithSourceID adds the sourceID to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) WithTimeout ¶
func (o *DeleteUsingDELETEParams) WithTimeout(timeout time.Duration) *DeleteUsingDELETEParams
WithTimeout adds the timeout to the delete using d e l e t e params
func (*DeleteUsingDELETEParams) WriteToRequest ¶
func (o *DeleteUsingDELETEParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsingDELETEReader ¶
type DeleteUsingDELETEReader struct {
// contains filtered or unexported fields
}
DeleteUsingDELETEReader is a Reader for the DeleteUsingDELETE structure.
func (*DeleteUsingDELETEReader) ReadResponse ¶
func (o *DeleteUsingDELETEReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUsingDELETEUnauthorized ¶
type DeleteUsingDELETEUnauthorized struct { }
DeleteUsingDELETEUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteUsingDELETEUnauthorized ¶
func NewDeleteUsingDELETEUnauthorized() *DeleteUsingDELETEUnauthorized
NewDeleteUsingDELETEUnauthorized creates a DeleteUsingDELETEUnauthorized with default headers values
func (*DeleteUsingDELETEUnauthorized) Error ¶
func (o *DeleteUsingDELETEUnauthorized) Error() string
type GetPageUsingGETOK ¶
type GetPageUsingGETOK struct {
Payload *models.PageOfCatalogSource
}
GetPageUsingGETOK handles this case with default header values.
OK
func NewGetPageUsingGETOK ¶
func NewGetPageUsingGETOK() *GetPageUsingGETOK
NewGetPageUsingGETOK creates a GetPageUsingGETOK with default headers values
func (*GetPageUsingGETOK) Error ¶
func (o *GetPageUsingGETOK) Error() string
func (*GetPageUsingGETOK) GetPayload ¶
func (o *GetPageUsingGETOK) GetPayload() *models.PageOfCatalogSource
type GetPageUsingGETParams ¶
type GetPageUsingGETParams struct { /*DollarOrderby Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /*DollarSkip Number of records you want to skip */ DollarSkip *int32 /*DollarTop Number of records you want */ DollarTop *int32 /*ProjectID Find sources which contains items that can be requested in the given projectId */ ProjectID *string /*Search Matches will have this string in their name or description. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPageUsingGETParams contains all the parameters to send to the API endpoint for the get page using g e t operation typically these are written to a http.Request
func NewGetPageUsingGETParams ¶
func NewGetPageUsingGETParams() *GetPageUsingGETParams
NewGetPageUsingGETParams creates a new GetPageUsingGETParams object with the default values initialized.
func NewGetPageUsingGETParamsWithContext ¶
func NewGetPageUsingGETParamsWithContext(ctx context.Context) *GetPageUsingGETParams
NewGetPageUsingGETParamsWithContext creates a new GetPageUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetPageUsingGETParamsWithHTTPClient ¶
func NewGetPageUsingGETParamsWithHTTPClient(client *http.Client) *GetPageUsingGETParams
NewGetPageUsingGETParamsWithHTTPClient creates a new GetPageUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPageUsingGETParamsWithTimeout ¶
func NewGetPageUsingGETParamsWithTimeout(timeout time.Duration) *GetPageUsingGETParams
NewGetPageUsingGETParamsWithTimeout creates a new GetPageUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPageUsingGETParams) SetContext ¶
func (o *GetPageUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get page using get params
func (*GetPageUsingGETParams) SetDollarOrderby ¶ added in v0.2.0
func (o *GetPageUsingGETParams) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get page using get params
func (*GetPageUsingGETParams) SetDollarSkip ¶ added in v0.2.0
func (o *GetPageUsingGETParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get page using get params
func (*GetPageUsingGETParams) SetDollarTop ¶ added in v0.2.0
func (o *GetPageUsingGETParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get page using get params
func (*GetPageUsingGETParams) SetHTTPClient ¶
func (o *GetPageUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get page using get params
func (*GetPageUsingGETParams) SetProjectID ¶
func (o *GetPageUsingGETParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get page using get params
func (*GetPageUsingGETParams) SetSearch ¶
func (o *GetPageUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the get page using get params
func (*GetPageUsingGETParams) SetTimeout ¶
func (o *GetPageUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get page using get params
func (*GetPageUsingGETParams) WithContext ¶
func (o *GetPageUsingGETParams) WithContext(ctx context.Context) *GetPageUsingGETParams
WithContext adds the context to the get page using get params
func (*GetPageUsingGETParams) WithDollarOrderby ¶ added in v0.2.0
func (o *GetPageUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetPageUsingGETParams
WithDollarOrderby adds the dollarOrderby to the get page using get params
func (*GetPageUsingGETParams) WithDollarSkip ¶ added in v0.2.0
func (o *GetPageUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetPageUsingGETParams
WithDollarSkip adds the dollarSkip to the get page using get params
func (*GetPageUsingGETParams) WithDollarTop ¶ added in v0.2.0
func (o *GetPageUsingGETParams) WithDollarTop(dollarTop *int32) *GetPageUsingGETParams
WithDollarTop adds the dollarTop to the get page using get params
func (*GetPageUsingGETParams) WithHTTPClient ¶
func (o *GetPageUsingGETParams) WithHTTPClient(client *http.Client) *GetPageUsingGETParams
WithHTTPClient adds the HTTPClient to the get page using get params
func (*GetPageUsingGETParams) WithProjectID ¶
func (o *GetPageUsingGETParams) WithProjectID(projectID *string) *GetPageUsingGETParams
WithProjectID adds the projectID to the get page using get params
func (*GetPageUsingGETParams) WithSearch ¶
func (o *GetPageUsingGETParams) WithSearch(search *string) *GetPageUsingGETParams
WithSearch adds the search to the get page using get params
func (*GetPageUsingGETParams) WithTimeout ¶
func (o *GetPageUsingGETParams) WithTimeout(timeout time.Duration) *GetPageUsingGETParams
WithTimeout adds the timeout to the get page using get params
func (*GetPageUsingGETParams) WriteToRequest ¶
func (o *GetPageUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPageUsingGETReader ¶
type GetPageUsingGETReader struct {
// contains filtered or unexported fields
}
GetPageUsingGETReader is a Reader for the GetPageUsingGET structure.
func (*GetPageUsingGETReader) ReadResponse ¶
func (o *GetPageUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPageUsingGETUnauthorized ¶
type GetPageUsingGETUnauthorized struct { }
GetPageUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetPageUsingGETUnauthorized ¶
func NewGetPageUsingGETUnauthorized() *GetPageUsingGETUnauthorized
NewGetPageUsingGETUnauthorized creates a GetPageUsingGETUnauthorized with default headers values
func (*GetPageUsingGETUnauthorized) Error ¶
func (o *GetPageUsingGETUnauthorized) Error() string
type GetUsingGETNotFound ¶
type GetUsingGETNotFound struct { }
GetUsingGETNotFound handles this case with default header values.
Not Found
func NewGetUsingGETNotFound ¶
func NewGetUsingGETNotFound() *GetUsingGETNotFound
NewGetUsingGETNotFound creates a GetUsingGETNotFound with default headers values
func (*GetUsingGETNotFound) Error ¶
func (o *GetUsingGETNotFound) Error() string
type GetUsingGETOK ¶
type GetUsingGETOK struct {
Payload *models.CatalogSource
}
GetUsingGETOK handles this case with default header values.
OK
func NewGetUsingGETOK ¶
func NewGetUsingGETOK() *GetUsingGETOK
NewGetUsingGETOK creates a GetUsingGETOK with default headers values
func (*GetUsingGETOK) Error ¶
func (o *GetUsingGETOK) Error() string
func (*GetUsingGETOK) GetPayload ¶
func (o *GetUsingGETOK) GetPayload() *models.CatalogSource
type GetUsingGETParams ¶
type GetUsingGETParams struct { /*SourceID Catalog source ID */ SourceID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsingGETParams contains all the parameters to send to the API endpoint for the get using g e t operation typically these are written to a http.Request
func NewGetUsingGETParams ¶
func NewGetUsingGETParams() *GetUsingGETParams
NewGetUsingGETParams creates a new GetUsingGETParams object with the default values initialized.
func NewGetUsingGETParamsWithContext ¶
func NewGetUsingGETParamsWithContext(ctx context.Context) *GetUsingGETParams
NewGetUsingGETParamsWithContext creates a new GetUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetUsingGETParamsWithHTTPClient ¶
func NewGetUsingGETParamsWithHTTPClient(client *http.Client) *GetUsingGETParams
NewGetUsingGETParamsWithHTTPClient creates a new GetUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUsingGETParamsWithTimeout ¶
func NewGetUsingGETParamsWithTimeout(timeout time.Duration) *GetUsingGETParams
NewGetUsingGETParamsWithTimeout creates a new GetUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUsingGETParams) SetContext ¶
func (o *GetUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get using get params
func (*GetUsingGETParams) SetHTTPClient ¶
func (o *GetUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get using get params
func (*GetUsingGETParams) SetSourceID ¶
func (o *GetUsingGETParams) SetSourceID(sourceID strfmt.UUID)
SetSourceID adds the sourceId to the get using get params
func (*GetUsingGETParams) SetTimeout ¶
func (o *GetUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get using get params
func (*GetUsingGETParams) WithContext ¶
func (o *GetUsingGETParams) WithContext(ctx context.Context) *GetUsingGETParams
WithContext adds the context to the get using get params
func (*GetUsingGETParams) WithHTTPClient ¶
func (o *GetUsingGETParams) WithHTTPClient(client *http.Client) *GetUsingGETParams
WithHTTPClient adds the HTTPClient to the get using get params
func (*GetUsingGETParams) WithSourceID ¶
func (o *GetUsingGETParams) WithSourceID(sourceID strfmt.UUID) *GetUsingGETParams
WithSourceID adds the sourceID to the get using get params
func (*GetUsingGETParams) WithTimeout ¶
func (o *GetUsingGETParams) WithTimeout(timeout time.Duration) *GetUsingGETParams
WithTimeout adds the timeout to the get using get params
func (*GetUsingGETParams) WriteToRequest ¶
func (o *GetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsingGETReader ¶
type GetUsingGETReader struct {
// contains filtered or unexported fields
}
GetUsingGETReader is a Reader for the GetUsingGET structure.
func (*GetUsingGETReader) ReadResponse ¶
func (o *GetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsingGETUnauthorized ¶
type GetUsingGETUnauthorized struct { }
GetUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetUsingGETUnauthorized ¶
func NewGetUsingGETUnauthorized() *GetUsingGETUnauthorized
NewGetUsingGETUnauthorized creates a GetUsingGETUnauthorized with default headers values
func (*GetUsingGETUnauthorized) Error ¶
func (o *GetUsingGETUnauthorized) Error() string
type PostUsingPOSTBadRequest ¶ added in v0.2.0
type PostUsingPOSTBadRequest struct { }
PostUsingPOSTBadRequest handles this case with default header values.
Bad Request
func NewPostUsingPOSTBadRequest ¶ added in v0.2.0
func NewPostUsingPOSTBadRequest() *PostUsingPOSTBadRequest
NewPostUsingPOSTBadRequest creates a PostUsingPOSTBadRequest with default headers values
func (*PostUsingPOSTBadRequest) Error ¶ added in v0.2.0
func (o *PostUsingPOSTBadRequest) Error() string
type PostUsingPOSTCreated ¶
type PostUsingPOSTCreated struct {
Payload *models.CatalogSource
}
PostUsingPOSTCreated handles this case with default header values.
Created
func NewPostUsingPOSTCreated ¶
func NewPostUsingPOSTCreated() *PostUsingPOSTCreated
NewPostUsingPOSTCreated creates a PostUsingPOSTCreated with default headers values
func (*PostUsingPOSTCreated) Error ¶
func (o *PostUsingPOSTCreated) Error() string
func (*PostUsingPOSTCreated) GetPayload ¶ added in v0.2.0
func (o *PostUsingPOSTCreated) GetPayload() *models.CatalogSource
type PostUsingPOSTForbidden ¶
type PostUsingPOSTForbidden struct { }
PostUsingPOSTForbidden handles this case with default header values.
Forbidden
func NewPostUsingPOSTForbidden ¶
func NewPostUsingPOSTForbidden() *PostUsingPOSTForbidden
NewPostUsingPOSTForbidden creates a PostUsingPOSTForbidden with default headers values
func (*PostUsingPOSTForbidden) Error ¶
func (o *PostUsingPOSTForbidden) Error() string
type PostUsingPOSTNotFound ¶
type PostUsingPOSTNotFound struct { }
PostUsingPOSTNotFound handles this case with default header values.
Not Found
func NewPostUsingPOSTNotFound ¶
func NewPostUsingPOSTNotFound() *PostUsingPOSTNotFound
NewPostUsingPOSTNotFound creates a PostUsingPOSTNotFound with default headers values
func (*PostUsingPOSTNotFound) Error ¶
func (o *PostUsingPOSTNotFound) Error() string
type PostUsingPOSTOK ¶
type PostUsingPOSTOK struct {
Payload *models.CatalogSource
}
PostUsingPOSTOK handles this case with default header values.
Validation is ok
func NewPostUsingPOSTOK ¶
func NewPostUsingPOSTOK() *PostUsingPOSTOK
NewPostUsingPOSTOK creates a PostUsingPOSTOK with default headers values
func (*PostUsingPOSTOK) Error ¶
func (o *PostUsingPOSTOK) Error() string
func (*PostUsingPOSTOK) GetPayload ¶
func (o *PostUsingPOSTOK) GetPayload() *models.CatalogSource
type PostUsingPOSTParams ¶
type PostUsingPOSTParams struct { /*Source The catalog source to be created */ Source *models.CatalogSource /*ValidationOnly If true, the source will not be created. It returns the number of items belonging to the source. The request will still return an error code if the source is invalid. */ ValidationOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostUsingPOSTParams contains all the parameters to send to the API endpoint for the post using p o s t operation typically these are written to a http.Request
func NewPostUsingPOSTParams ¶
func NewPostUsingPOSTParams() *PostUsingPOSTParams
NewPostUsingPOSTParams creates a new PostUsingPOSTParams object with the default values initialized.
func NewPostUsingPOSTParamsWithContext ¶
func NewPostUsingPOSTParamsWithContext(ctx context.Context) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithContext creates a new PostUsingPOSTParams object with the default values initialized, and the ability to set a context for a request
func NewPostUsingPOSTParamsWithHTTPClient ¶
func NewPostUsingPOSTParamsWithHTTPClient(client *http.Client) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithHTTPClient creates a new PostUsingPOSTParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostUsingPOSTParamsWithTimeout ¶
func NewPostUsingPOSTParamsWithTimeout(timeout time.Duration) *PostUsingPOSTParams
NewPostUsingPOSTParamsWithTimeout creates a new PostUsingPOSTParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostUsingPOSTParams) SetContext ¶
func (o *PostUsingPOSTParams) SetContext(ctx context.Context)
SetContext adds the context to the post using p o s t params
func (*PostUsingPOSTParams) SetHTTPClient ¶
func (o *PostUsingPOSTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post using p o s t params
func (*PostUsingPOSTParams) SetSource ¶
func (o *PostUsingPOSTParams) SetSource(source *models.CatalogSource)
SetSource adds the source to the post using p o s t params
func (*PostUsingPOSTParams) SetTimeout ¶
func (o *PostUsingPOSTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post using p o s t params
func (*PostUsingPOSTParams) SetValidationOnly ¶
func (o *PostUsingPOSTParams) SetValidationOnly(validationOnly *bool)
SetValidationOnly adds the validationOnly to the post using p o s t params
func (*PostUsingPOSTParams) WithContext ¶
func (o *PostUsingPOSTParams) WithContext(ctx context.Context) *PostUsingPOSTParams
WithContext adds the context to the post using p o s t params
func (*PostUsingPOSTParams) WithHTTPClient ¶
func (o *PostUsingPOSTParams) WithHTTPClient(client *http.Client) *PostUsingPOSTParams
WithHTTPClient adds the HTTPClient to the post using p o s t params
func (*PostUsingPOSTParams) WithSource ¶
func (o *PostUsingPOSTParams) WithSource(source *models.CatalogSource) *PostUsingPOSTParams
WithSource adds the source to the post using p o s t params
func (*PostUsingPOSTParams) WithTimeout ¶
func (o *PostUsingPOSTParams) WithTimeout(timeout time.Duration) *PostUsingPOSTParams
WithTimeout adds the timeout to the post using p o s t params
func (*PostUsingPOSTParams) WithValidationOnly ¶
func (o *PostUsingPOSTParams) WithValidationOnly(validationOnly *bool) *PostUsingPOSTParams
WithValidationOnly adds the validationOnly to the post using p o s t params
func (*PostUsingPOSTParams) WriteToRequest ¶
func (o *PostUsingPOSTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostUsingPOSTReader ¶
type PostUsingPOSTReader struct {
// contains filtered or unexported fields
}
PostUsingPOSTReader is a Reader for the PostUsingPOST structure.
func (*PostUsingPOSTReader) ReadResponse ¶
func (o *PostUsingPOSTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostUsingPOSTUnauthorized ¶
type PostUsingPOSTUnauthorized struct { }
PostUsingPOSTUnauthorized handles this case with default header values.
Unauthorized
func NewPostUsingPOSTUnauthorized ¶
func NewPostUsingPOSTUnauthorized() *PostUsingPOSTUnauthorized
NewPostUsingPOSTUnauthorized creates a PostUsingPOSTUnauthorized with default headers values
func (*PostUsingPOSTUnauthorized) Error ¶
func (o *PostUsingPOSTUnauthorized) Error() string