Documentation
¶
Index ¶
- type Client
- func (a *Client) GetAPIV2ChartVersions(params *GetAPIV2ChartVersionsParams, opts ...ClientOption) (*GetAPIV2ChartVersionsOK, error)
- func (a *Client) GetAPIV2ChartVersionsSelector(params *GetAPIV2ChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2ChartVersionsSelectorOK, error)
- func (a *Client) GetAPIV2SelectorsChartVersionsSelector(params *GetAPIV2SelectorsChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsChartVersionsSelectorOK, error)
- func (a *Client) PostAPIV2ChartVersions(params *PostAPIV2ChartVersionsParams, opts ...ClientOption) (*PostAPIV2ChartVersionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIV2ChartVersionsBadRequest
- type GetAPIV2ChartVersionsConflict
- type GetAPIV2ChartVersionsForbidden
- type GetAPIV2ChartVersionsInternalServerError
- type GetAPIV2ChartVersionsNotFound
- type GetAPIV2ChartVersionsOK
- type GetAPIV2ChartVersionsParams
- func NewGetAPIV2ChartVersionsParams() *GetAPIV2ChartVersionsParams
- func NewGetAPIV2ChartVersionsParamsWithContext(ctx context.Context) *GetAPIV2ChartVersionsParams
- func NewGetAPIV2ChartVersionsParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsParams
- func NewGetAPIV2ChartVersionsParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) SetChart(chart *string)
- func (o *GetAPIV2ChartVersionsParams) SetChartVersion(chartVersion *string)
- func (o *GetAPIV2ChartVersionsParams) SetContext(ctx context.Context)
- func (o *GetAPIV2ChartVersionsParams) SetCreatedAt(createdAt *string)
- func (o *GetAPIV2ChartVersionsParams) SetDefaults()
- func (o *GetAPIV2ChartVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2ChartVersionsParams) SetID(id *int64)
- func (o *GetAPIV2ChartVersionsParams) SetLimit(limit *int64)
- func (o *GetAPIV2ChartVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2ChartVersionsParams) SetUpdatedAt(updatedAt *string)
- func (o *GetAPIV2ChartVersionsParams) WithChart(chart *string) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithChartVersion(chartVersion *string) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithContext(ctx context.Context) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithCreatedAt(createdAt *string) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithDefaults() *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithID(id *int64) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithLimit(limit *int64) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WithUpdatedAt(updatedAt *string) *GetAPIV2ChartVersionsParams
- func (o *GetAPIV2ChartVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2ChartVersionsProxyAuthenticationRequired
- type GetAPIV2ChartVersionsReader
- type GetAPIV2ChartVersionsSelectorBadRequest
- type GetAPIV2ChartVersionsSelectorConflict
- type GetAPIV2ChartVersionsSelectorForbidden
- type GetAPIV2ChartVersionsSelectorInternalServerError
- type GetAPIV2ChartVersionsSelectorNotFound
- type GetAPIV2ChartVersionsSelectorOK
- type GetAPIV2ChartVersionsSelectorParams
- func NewGetAPIV2ChartVersionsSelectorParams() *GetAPIV2ChartVersionsSelectorParams
- func NewGetAPIV2ChartVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2ChartVersionsSelectorParams
- func NewGetAPIV2ChartVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsSelectorParams
- func NewGetAPIV2ChartVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2ChartVersionsSelectorParams) SetDefaults()
- func (o *GetAPIV2ChartVersionsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2ChartVersionsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2ChartVersionsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2ChartVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) WithDefaults() *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) WithSelector(selector string) *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsSelectorParams
- func (o *GetAPIV2ChartVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired
- type GetAPIV2ChartVersionsSelectorReader
- type GetAPIV2SelectorsChartVersionsSelectorBadRequest
- type GetAPIV2SelectorsChartVersionsSelectorConflict
- type GetAPIV2SelectorsChartVersionsSelectorForbidden
- type GetAPIV2SelectorsChartVersionsSelectorInternalServerError
- type GetAPIV2SelectorsChartVersionsSelectorNotFound
- type GetAPIV2SelectorsChartVersionsSelectorOK
- type GetAPIV2SelectorsChartVersionsSelectorParams
- func NewGetAPIV2SelectorsChartVersionsSelectorParams() *GetAPIV2SelectorsChartVersionsSelectorParams
- func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsChartVersionsSelectorParams
- func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsChartVersionsSelectorParams
- func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetDefaults()
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithDefaults() *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsChartVersionsSelectorParams
- func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired
- type GetAPIV2SelectorsChartVersionsSelectorReader
- type PostAPIV2ChartVersionsBadRequest
- type PostAPIV2ChartVersionsConflict
- type PostAPIV2ChartVersionsForbidden
- type PostAPIV2ChartVersionsInternalServerError
- type PostAPIV2ChartVersionsNotFound
- type PostAPIV2ChartVersionsOK
- type PostAPIV2ChartVersionsParams
- func NewPostAPIV2ChartVersionsParams() *PostAPIV2ChartVersionsParams
- func NewPostAPIV2ChartVersionsParamsWithContext(ctx context.Context) *PostAPIV2ChartVersionsParams
- func NewPostAPIV2ChartVersionsParamsWithHTTPClient(client *http.Client) *PostAPIV2ChartVersionsParams
- func NewPostAPIV2ChartVersionsParamsWithTimeout(timeout time.Duration) *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) SetChartVersion(chartVersion *models.V2controllersCreatableChartVersion)
- func (o *PostAPIV2ChartVersionsParams) SetContext(ctx context.Context)
- func (o *PostAPIV2ChartVersionsParams) SetDefaults()
- func (o *PostAPIV2ChartVersionsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV2ChartVersionsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV2ChartVersionsParams) WithChartVersion(chartVersion *models.V2controllersCreatableChartVersion) *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) WithContext(ctx context.Context) *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) WithDefaults() *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) WithHTTPClient(client *http.Client) *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) WithTimeout(timeout time.Duration) *PostAPIV2ChartVersionsParams
- func (o *PostAPIV2ChartVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV2ChartVersionsProxyAuthenticationRequired
- type PostAPIV2ChartVersionsReader
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 chart versions API
func (*Client) GetAPIV2ChartVersions ¶
func (a *Client) GetAPIV2ChartVersions(params *GetAPIV2ChartVersionsParams, opts ...ClientOption) (*GetAPIV2ChartVersionsOK, error)
GetAPIV2ChartVersions lists chart version entries
List existing ChartVersion entries, ordered by most recently updated.
func (*Client) GetAPIV2ChartVersionsSelector ¶
func (a *Client) GetAPIV2ChartVersionsSelector(params *GetAPIV2ChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2ChartVersionsSelectorOK, error)
GetAPIV2ChartVersionsSelector gets a chart version entry
Get an existing ChartVersion entry via one its "selector"--its numeric ID.
func (*Client) GetAPIV2SelectorsChartVersionsSelector ¶
func (a *Client) GetAPIV2SelectorsChartVersionsSelector(params *GetAPIV2SelectorsChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsChartVersionsSelectorOK, error)
GetAPIV2SelectorsChartVersionsSelector lists chart version selectors
Validate a given ChartVersion selector and provide any other selectors that would match the same ChartVersion.
func (*Client) PostAPIV2ChartVersions ¶
func (a *Client) PostAPIV2ChartVersions(params *PostAPIV2ChartVersionsParams, opts ...ClientOption) (*PostAPIV2ChartVersionsOK, error)
PostAPIV2ChartVersions creates a new chart version entry
Create a new ChartVersion entry. Note that fields are immutable after creation.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetAPIV2ChartVersions(params *GetAPIV2ChartVersionsParams, opts ...ClientOption) (*GetAPIV2ChartVersionsOK, error) GetAPIV2ChartVersionsSelector(params *GetAPIV2ChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2ChartVersionsSelectorOK, error) GetAPIV2SelectorsChartVersionsSelector(params *GetAPIV2SelectorsChartVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsChartVersionsSelectorOK, error) PostAPIV2ChartVersions(params *PostAPIV2ChartVersionsParams, opts ...ClientOption) (*PostAPIV2ChartVersionsOK, 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 chart versions API client.
type GetAPIV2ChartVersionsBadRequest ¶
type GetAPIV2ChartVersionsBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2ChartVersionsBadRequest ¶
func NewGetAPIV2ChartVersionsBadRequest() *GetAPIV2ChartVersionsBadRequest
NewGetAPIV2ChartVersionsBadRequest creates a GetAPIV2ChartVersionsBadRequest with default headers values
func (*GetAPIV2ChartVersionsBadRequest) Error ¶
func (o *GetAPIV2ChartVersionsBadRequest) Error() string
func (*GetAPIV2ChartVersionsBadRequest) GetPayload ¶
func (o *GetAPIV2ChartVersionsBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsConflict ¶
type GetAPIV2ChartVersionsConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2ChartVersionsConflict ¶
func NewGetAPIV2ChartVersionsConflict() *GetAPIV2ChartVersionsConflict
NewGetAPIV2ChartVersionsConflict creates a GetAPIV2ChartVersionsConflict with default headers values
func (*GetAPIV2ChartVersionsConflict) Error ¶
func (o *GetAPIV2ChartVersionsConflict) Error() string
func (*GetAPIV2ChartVersionsConflict) GetPayload ¶
func (o *GetAPIV2ChartVersionsConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsForbidden ¶
type GetAPIV2ChartVersionsForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2ChartVersionsForbidden ¶
func NewGetAPIV2ChartVersionsForbidden() *GetAPIV2ChartVersionsForbidden
NewGetAPIV2ChartVersionsForbidden creates a GetAPIV2ChartVersionsForbidden with default headers values
func (*GetAPIV2ChartVersionsForbidden) Error ¶
func (o *GetAPIV2ChartVersionsForbidden) Error() string
func (*GetAPIV2ChartVersionsForbidden) GetPayload ¶
func (o *GetAPIV2ChartVersionsForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsInternalServerError ¶
type GetAPIV2ChartVersionsInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2ChartVersionsInternalServerError ¶
func NewGetAPIV2ChartVersionsInternalServerError() *GetAPIV2ChartVersionsInternalServerError
NewGetAPIV2ChartVersionsInternalServerError creates a GetAPIV2ChartVersionsInternalServerError with default headers values
func (*GetAPIV2ChartVersionsInternalServerError) Error ¶
func (o *GetAPIV2ChartVersionsInternalServerError) Error() string
func (*GetAPIV2ChartVersionsInternalServerError) GetPayload ¶
func (o *GetAPIV2ChartVersionsInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsNotFound ¶
type GetAPIV2ChartVersionsNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2ChartVersionsNotFound ¶
func NewGetAPIV2ChartVersionsNotFound() *GetAPIV2ChartVersionsNotFound
NewGetAPIV2ChartVersionsNotFound creates a GetAPIV2ChartVersionsNotFound with default headers values
func (*GetAPIV2ChartVersionsNotFound) Error ¶
func (o *GetAPIV2ChartVersionsNotFound) Error() string
func (*GetAPIV2ChartVersionsNotFound) GetPayload ¶
func (o *GetAPIV2ChartVersionsNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsOK ¶
type GetAPIV2ChartVersionsOK struct {
Payload []*models.V2controllersChartVersion
}
GetAPIV2ChartVersionsOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2ChartVersionsOK ¶
func NewGetAPIV2ChartVersionsOK() *GetAPIV2ChartVersionsOK
NewGetAPIV2ChartVersionsOK creates a GetAPIV2ChartVersionsOK with default headers values
func (*GetAPIV2ChartVersionsOK) Error ¶
func (o *GetAPIV2ChartVersionsOK) Error() string
func (*GetAPIV2ChartVersionsOK) GetPayload ¶
func (o *GetAPIV2ChartVersionsOK) GetPayload() []*models.V2controllersChartVersion
type GetAPIV2ChartVersionsParams ¶
type GetAPIV2ChartVersionsParams struct { /* Chart. Required when creating */ Chart *string /* ChartVersion. Required when creating */ ChartVersion *string // CreatedAt. CreatedAt *string // ID. ID *int64 /* Limit. An optional limit to the number of entries returned */ Limit *int64 // UpdatedAt. UpdatedAt *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2ChartVersionsParams contains all the parameters to send to the API endpoint
for the get API v2 chart versions operation. Typically these are written to a http.Request.
func NewGetAPIV2ChartVersionsParams ¶
func NewGetAPIV2ChartVersionsParams() *GetAPIV2ChartVersionsParams
NewGetAPIV2ChartVersionsParams creates a new GetAPIV2ChartVersionsParams 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 NewGetAPIV2ChartVersionsParamsWithContext ¶
func NewGetAPIV2ChartVersionsParamsWithContext(ctx context.Context) *GetAPIV2ChartVersionsParams
NewGetAPIV2ChartVersionsParamsWithContext creates a new GetAPIV2ChartVersionsParams object with the ability to set a context for a request.
func NewGetAPIV2ChartVersionsParamsWithHTTPClient ¶
func NewGetAPIV2ChartVersionsParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsParams
NewGetAPIV2ChartVersionsParamsWithHTTPClient creates a new GetAPIV2ChartVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2ChartVersionsParamsWithTimeout ¶
func NewGetAPIV2ChartVersionsParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsParams
NewGetAPIV2ChartVersionsParamsWithTimeout creates a new GetAPIV2ChartVersionsParams object with the ability to set a timeout on a request.
func (*GetAPIV2ChartVersionsParams) SetChart ¶
func (o *GetAPIV2ChartVersionsParams) SetChart(chart *string)
SetChart adds the chart to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetChartVersion ¶
func (o *GetAPIV2ChartVersionsParams) SetChartVersion(chartVersion *string)
SetChartVersion adds the chartVersion to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetContext ¶
func (o *GetAPIV2ChartVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetCreatedAt ¶
func (o *GetAPIV2ChartVersionsParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetDefaults ¶
func (o *GetAPIV2ChartVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 chart versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ChartVersionsParams) SetHTTPClient ¶
func (o *GetAPIV2ChartVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetID ¶
func (o *GetAPIV2ChartVersionsParams) SetID(id *int64)
SetID adds the id to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetLimit ¶
func (o *GetAPIV2ChartVersionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetTimeout ¶
func (o *GetAPIV2ChartVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) SetUpdatedAt ¶
func (o *GetAPIV2ChartVersionsParams) SetUpdatedAt(updatedAt *string)
SetUpdatedAt adds the updatedAt to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithChart ¶
func (o *GetAPIV2ChartVersionsParams) WithChart(chart *string) *GetAPIV2ChartVersionsParams
WithChart adds the chart to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithChartVersion ¶
func (o *GetAPIV2ChartVersionsParams) WithChartVersion(chartVersion *string) *GetAPIV2ChartVersionsParams
WithChartVersion adds the chartVersion to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithContext ¶
func (o *GetAPIV2ChartVersionsParams) WithContext(ctx context.Context) *GetAPIV2ChartVersionsParams
WithContext adds the context to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithCreatedAt ¶
func (o *GetAPIV2ChartVersionsParams) WithCreatedAt(createdAt *string) *GetAPIV2ChartVersionsParams
WithCreatedAt adds the createdAt to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithDefaults ¶
func (o *GetAPIV2ChartVersionsParams) WithDefaults() *GetAPIV2ChartVersionsParams
WithDefaults hydrates default values in the get API v2 chart versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ChartVersionsParams) WithHTTPClient ¶
func (o *GetAPIV2ChartVersionsParams) WithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsParams
WithHTTPClient adds the HTTPClient to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithID ¶
func (o *GetAPIV2ChartVersionsParams) WithID(id *int64) *GetAPIV2ChartVersionsParams
WithID adds the id to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithLimit ¶
func (o *GetAPIV2ChartVersionsParams) WithLimit(limit *int64) *GetAPIV2ChartVersionsParams
WithLimit adds the limit to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithTimeout ¶
func (o *GetAPIV2ChartVersionsParams) WithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsParams
WithTimeout adds the timeout to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WithUpdatedAt ¶
func (o *GetAPIV2ChartVersionsParams) WithUpdatedAt(updatedAt *string) *GetAPIV2ChartVersionsParams
WithUpdatedAt adds the updatedAt to the get API v2 chart versions params
func (*GetAPIV2ChartVersionsParams) WriteToRequest ¶
func (o *GetAPIV2ChartVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2ChartVersionsProxyAuthenticationRequired ¶
type GetAPIV2ChartVersionsProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2ChartVersionsProxyAuthenticationRequired ¶
func NewGetAPIV2ChartVersionsProxyAuthenticationRequired() *GetAPIV2ChartVersionsProxyAuthenticationRequired
NewGetAPIV2ChartVersionsProxyAuthenticationRequired creates a GetAPIV2ChartVersionsProxyAuthenticationRequired with default headers values
func (*GetAPIV2ChartVersionsProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2ChartVersionsProxyAuthenticationRequired) Error() string
func (*GetAPIV2ChartVersionsProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2ChartVersionsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsReader ¶
type GetAPIV2ChartVersionsReader struct {
// contains filtered or unexported fields
}
GetAPIV2ChartVersionsReader is a Reader for the GetAPIV2ChartVersions structure.
func (*GetAPIV2ChartVersionsReader) ReadResponse ¶
func (o *GetAPIV2ChartVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2ChartVersionsSelectorBadRequest ¶
type GetAPIV2ChartVersionsSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2ChartVersionsSelectorBadRequest ¶
func NewGetAPIV2ChartVersionsSelectorBadRequest() *GetAPIV2ChartVersionsSelectorBadRequest
NewGetAPIV2ChartVersionsSelectorBadRequest creates a GetAPIV2ChartVersionsSelectorBadRequest with default headers values
func (*GetAPIV2ChartVersionsSelectorBadRequest) Error ¶
func (o *GetAPIV2ChartVersionsSelectorBadRequest) Error() string
func (*GetAPIV2ChartVersionsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorConflict ¶
type GetAPIV2ChartVersionsSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2ChartVersionsSelectorConflict ¶
func NewGetAPIV2ChartVersionsSelectorConflict() *GetAPIV2ChartVersionsSelectorConflict
NewGetAPIV2ChartVersionsSelectorConflict creates a GetAPIV2ChartVersionsSelectorConflict with default headers values
func (*GetAPIV2ChartVersionsSelectorConflict) Error ¶
func (o *GetAPIV2ChartVersionsSelectorConflict) Error() string
func (*GetAPIV2ChartVersionsSelectorConflict) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorForbidden ¶
type GetAPIV2ChartVersionsSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2ChartVersionsSelectorForbidden ¶
func NewGetAPIV2ChartVersionsSelectorForbidden() *GetAPIV2ChartVersionsSelectorForbidden
NewGetAPIV2ChartVersionsSelectorForbidden creates a GetAPIV2ChartVersionsSelectorForbidden with default headers values
func (*GetAPIV2ChartVersionsSelectorForbidden) Error ¶
func (o *GetAPIV2ChartVersionsSelectorForbidden) Error() string
func (*GetAPIV2ChartVersionsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorInternalServerError ¶
type GetAPIV2ChartVersionsSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2ChartVersionsSelectorInternalServerError ¶
func NewGetAPIV2ChartVersionsSelectorInternalServerError() *GetAPIV2ChartVersionsSelectorInternalServerError
NewGetAPIV2ChartVersionsSelectorInternalServerError creates a GetAPIV2ChartVersionsSelectorInternalServerError with default headers values
func (*GetAPIV2ChartVersionsSelectorInternalServerError) Error ¶
func (o *GetAPIV2ChartVersionsSelectorInternalServerError) Error() string
func (*GetAPIV2ChartVersionsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorNotFound ¶
type GetAPIV2ChartVersionsSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2ChartVersionsSelectorNotFound ¶
func NewGetAPIV2ChartVersionsSelectorNotFound() *GetAPIV2ChartVersionsSelectorNotFound
NewGetAPIV2ChartVersionsSelectorNotFound creates a GetAPIV2ChartVersionsSelectorNotFound with default headers values
func (*GetAPIV2ChartVersionsSelectorNotFound) Error ¶
func (o *GetAPIV2ChartVersionsSelectorNotFound) Error() string
func (*GetAPIV2ChartVersionsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorOK ¶
type GetAPIV2ChartVersionsSelectorOK struct {
Payload *models.V2controllersChartVersion
}
GetAPIV2ChartVersionsSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2ChartVersionsSelectorOK ¶
func NewGetAPIV2ChartVersionsSelectorOK() *GetAPIV2ChartVersionsSelectorOK
NewGetAPIV2ChartVersionsSelectorOK creates a GetAPIV2ChartVersionsSelectorOK with default headers values
func (*GetAPIV2ChartVersionsSelectorOK) Error ¶
func (o *GetAPIV2ChartVersionsSelectorOK) Error() string
func (*GetAPIV2ChartVersionsSelectorOK) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorOK) GetPayload() *models.V2controllersChartVersion
type GetAPIV2ChartVersionsSelectorParams ¶
type GetAPIV2ChartVersionsSelectorParams struct { /* Selector. The ChartVersion to get's selector: name or numeric ID */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2ChartVersionsSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 chart versions selector operation. Typically these are written to a http.Request.
func NewGetAPIV2ChartVersionsSelectorParams ¶
func NewGetAPIV2ChartVersionsSelectorParams() *GetAPIV2ChartVersionsSelectorParams
NewGetAPIV2ChartVersionsSelectorParams creates a new GetAPIV2ChartVersionsSelectorParams 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 NewGetAPIV2ChartVersionsSelectorParamsWithContext ¶
func NewGetAPIV2ChartVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2ChartVersionsSelectorParams
NewGetAPIV2ChartVersionsSelectorParamsWithContext creates a new GetAPIV2ChartVersionsSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2ChartVersionsSelectorParamsWithHTTPClient ¶
func NewGetAPIV2ChartVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsSelectorParams
NewGetAPIV2ChartVersionsSelectorParamsWithHTTPClient creates a new GetAPIV2ChartVersionsSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2ChartVersionsSelectorParamsWithTimeout ¶
func NewGetAPIV2ChartVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsSelectorParams
NewGetAPIV2ChartVersionsSelectorParamsWithTimeout creates a new GetAPIV2ChartVersionsSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2ChartVersionsSelectorParams) SetContext ¶
func (o *GetAPIV2ChartVersionsSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) SetDefaults ¶
func (o *GetAPIV2ChartVersionsSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 chart versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ChartVersionsSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2ChartVersionsSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) SetSelector ¶
func (o *GetAPIV2ChartVersionsSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) SetTimeout ¶
func (o *GetAPIV2ChartVersionsSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) WithContext ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2ChartVersionsSelectorParams
WithContext adds the context to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) WithDefaults ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WithDefaults() *GetAPIV2ChartVersionsSelectorParams
WithDefaults hydrates default values in the get API v2 chart versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2ChartVersionsSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2ChartVersionsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) WithSelector ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WithSelector(selector string) *GetAPIV2ChartVersionsSelectorParams
WithSelector adds the selector to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) WithTimeout ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2ChartVersionsSelectorParams
WithTimeout adds the timeout to the get API v2 chart versions selector params
func (*GetAPIV2ChartVersionsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2ChartVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired ¶
type GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2ChartVersionsSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2ChartVersionsSelectorProxyAuthenticationRequired() *GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired
NewGetAPIV2ChartVersionsSelectorProxyAuthenticationRequired creates a GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2ChartVersionsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2ChartVersionsSelectorReader ¶
type GetAPIV2ChartVersionsSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2ChartVersionsSelectorReader is a Reader for the GetAPIV2ChartVersionsSelector structure.
func (*GetAPIV2ChartVersionsSelectorReader) ReadResponse ¶
func (o *GetAPIV2ChartVersionsSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2SelectorsChartVersionsSelectorBadRequest ¶
type GetAPIV2SelectorsChartVersionsSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2SelectorsChartVersionsSelectorBadRequest ¶
func NewGetAPIV2SelectorsChartVersionsSelectorBadRequest() *GetAPIV2SelectorsChartVersionsSelectorBadRequest
NewGetAPIV2SelectorsChartVersionsSelectorBadRequest creates a GetAPIV2SelectorsChartVersionsSelectorBadRequest with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorBadRequest) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorBadRequest) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorConflict ¶
type GetAPIV2SelectorsChartVersionsSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2SelectorsChartVersionsSelectorConflict ¶
func NewGetAPIV2SelectorsChartVersionsSelectorConflict() *GetAPIV2SelectorsChartVersionsSelectorConflict
NewGetAPIV2SelectorsChartVersionsSelectorConflict creates a GetAPIV2SelectorsChartVersionsSelectorConflict with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorConflict) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorConflict) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorConflict) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorForbidden ¶
type GetAPIV2SelectorsChartVersionsSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2SelectorsChartVersionsSelectorForbidden ¶
func NewGetAPIV2SelectorsChartVersionsSelectorForbidden() *GetAPIV2SelectorsChartVersionsSelectorForbidden
NewGetAPIV2SelectorsChartVersionsSelectorForbidden creates a GetAPIV2SelectorsChartVersionsSelectorForbidden with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorForbidden) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorForbidden) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorInternalServerError ¶
type GetAPIV2SelectorsChartVersionsSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2SelectorsChartVersionsSelectorInternalServerError ¶
func NewGetAPIV2SelectorsChartVersionsSelectorInternalServerError() *GetAPIV2SelectorsChartVersionsSelectorInternalServerError
NewGetAPIV2SelectorsChartVersionsSelectorInternalServerError creates a GetAPIV2SelectorsChartVersionsSelectorInternalServerError with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorInternalServerError) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorInternalServerError) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorNotFound ¶
type GetAPIV2SelectorsChartVersionsSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2SelectorsChartVersionsSelectorNotFound ¶
func NewGetAPIV2SelectorsChartVersionsSelectorNotFound() *GetAPIV2SelectorsChartVersionsSelectorNotFound
NewGetAPIV2SelectorsChartVersionsSelectorNotFound creates a GetAPIV2SelectorsChartVersionsSelectorNotFound with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorNotFound) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorNotFound) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorOK ¶
type GetAPIV2SelectorsChartVersionsSelectorOK struct {
Payload []string
}
GetAPIV2SelectorsChartVersionsSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2SelectorsChartVersionsSelectorOK ¶
func NewGetAPIV2SelectorsChartVersionsSelectorOK() *GetAPIV2SelectorsChartVersionsSelectorOK
NewGetAPIV2SelectorsChartVersionsSelectorOK creates a GetAPIV2SelectorsChartVersionsSelectorOK with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorOK) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorOK) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorOK) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorOK) GetPayload() []string
type GetAPIV2SelectorsChartVersionsSelectorParams ¶
type GetAPIV2SelectorsChartVersionsSelectorParams struct { /* Selector. The selector of the ChartVersion to list other selectors for */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2SelectorsChartVersionsSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 selectors chart versions selector operation. Typically these are written to a http.Request.
func NewGetAPIV2SelectorsChartVersionsSelectorParams ¶
func NewGetAPIV2SelectorsChartVersionsSelectorParams() *GetAPIV2SelectorsChartVersionsSelectorParams
NewGetAPIV2SelectorsChartVersionsSelectorParams creates a new GetAPIV2SelectorsChartVersionsSelectorParams 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 NewGetAPIV2SelectorsChartVersionsSelectorParamsWithContext ¶
func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsChartVersionsSelectorParams
NewGetAPIV2SelectorsChartVersionsSelectorParamsWithContext creates a new GetAPIV2SelectorsChartVersionsSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithHTTPClient ¶
func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsChartVersionsSelectorParams
NewGetAPIV2SelectorsChartVersionsSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsChartVersionsSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithTimeout ¶
func NewGetAPIV2SelectorsChartVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsChartVersionsSelectorParams
NewGetAPIV2SelectorsChartVersionsSelectorParamsWithTimeout creates a new GetAPIV2SelectorsChartVersionsSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2SelectorsChartVersionsSelectorParams) SetContext ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) SetDefaults ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 selectors chart versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsChartVersionsSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) SetSelector ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) SetTimeout ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WithContext ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsChartVersionsSelectorParams
WithContext adds the context to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WithDefaults ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithDefaults() *GetAPIV2SelectorsChartVersionsSelectorParams
WithDefaults hydrates default values in the get API v2 selectors chart versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsChartVersionsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WithSelector ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsChartVersionsSelectorParams
WithSelector adds the selector to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WithTimeout ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsChartVersionsSelectorParams
WithTimeout adds the timeout to the get API v2 selectors chart versions selector params
func (*GetAPIV2SelectorsChartVersionsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired ¶
type GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired
NewGetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsChartVersionsSelectorReader ¶
type GetAPIV2SelectorsChartVersionsSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2SelectorsChartVersionsSelectorReader is a Reader for the GetAPIV2SelectorsChartVersionsSelector structure.
func (*GetAPIV2SelectorsChartVersionsSelectorReader) ReadResponse ¶
func (o *GetAPIV2SelectorsChartVersionsSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV2ChartVersionsBadRequest ¶
type PostAPIV2ChartVersionsBadRequest struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIV2ChartVersionsBadRequest ¶
func NewPostAPIV2ChartVersionsBadRequest() *PostAPIV2ChartVersionsBadRequest
NewPostAPIV2ChartVersionsBadRequest creates a PostAPIV2ChartVersionsBadRequest with default headers values
func (*PostAPIV2ChartVersionsBadRequest) Error ¶
func (o *PostAPIV2ChartVersionsBadRequest) Error() string
func (*PostAPIV2ChartVersionsBadRequest) GetPayload ¶
func (o *PostAPIV2ChartVersionsBadRequest) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsConflict ¶
type PostAPIV2ChartVersionsConflict struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsConflict describes a response with status code 409, with default header values.
Conflict
func NewPostAPIV2ChartVersionsConflict ¶
func NewPostAPIV2ChartVersionsConflict() *PostAPIV2ChartVersionsConflict
NewPostAPIV2ChartVersionsConflict creates a PostAPIV2ChartVersionsConflict with default headers values
func (*PostAPIV2ChartVersionsConflict) Error ¶
func (o *PostAPIV2ChartVersionsConflict) Error() string
func (*PostAPIV2ChartVersionsConflict) GetPayload ¶
func (o *PostAPIV2ChartVersionsConflict) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsForbidden ¶
type PostAPIV2ChartVersionsForbidden struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostAPIV2ChartVersionsForbidden ¶
func NewPostAPIV2ChartVersionsForbidden() *PostAPIV2ChartVersionsForbidden
NewPostAPIV2ChartVersionsForbidden creates a PostAPIV2ChartVersionsForbidden with default headers values
func (*PostAPIV2ChartVersionsForbidden) Error ¶
func (o *PostAPIV2ChartVersionsForbidden) Error() string
func (*PostAPIV2ChartVersionsForbidden) GetPayload ¶
func (o *PostAPIV2ChartVersionsForbidden) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsInternalServerError ¶
type PostAPIV2ChartVersionsInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIV2ChartVersionsInternalServerError ¶
func NewPostAPIV2ChartVersionsInternalServerError() *PostAPIV2ChartVersionsInternalServerError
NewPostAPIV2ChartVersionsInternalServerError creates a PostAPIV2ChartVersionsInternalServerError with default headers values
func (*PostAPIV2ChartVersionsInternalServerError) Error ¶
func (o *PostAPIV2ChartVersionsInternalServerError) Error() string
func (*PostAPIV2ChartVersionsInternalServerError) GetPayload ¶
func (o *PostAPIV2ChartVersionsInternalServerError) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsNotFound ¶
type PostAPIV2ChartVersionsNotFound struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostAPIV2ChartVersionsNotFound ¶
func NewPostAPIV2ChartVersionsNotFound() *PostAPIV2ChartVersionsNotFound
NewPostAPIV2ChartVersionsNotFound creates a PostAPIV2ChartVersionsNotFound with default headers values
func (*PostAPIV2ChartVersionsNotFound) Error ¶
func (o *PostAPIV2ChartVersionsNotFound) Error() string
func (*PostAPIV2ChartVersionsNotFound) GetPayload ¶
func (o *PostAPIV2ChartVersionsNotFound) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsOK ¶
type PostAPIV2ChartVersionsOK struct {
Payload *models.V2controllersChartVersion
}
PostAPIV2ChartVersionsOK describes a response with status code 200, with default header values.
OK
func NewPostAPIV2ChartVersionsOK ¶
func NewPostAPIV2ChartVersionsOK() *PostAPIV2ChartVersionsOK
NewPostAPIV2ChartVersionsOK creates a PostAPIV2ChartVersionsOK with default headers values
func (*PostAPIV2ChartVersionsOK) Error ¶
func (o *PostAPIV2ChartVersionsOK) Error() string
func (*PostAPIV2ChartVersionsOK) GetPayload ¶
func (o *PostAPIV2ChartVersionsOK) GetPayload() *models.V2controllersChartVersion
type PostAPIV2ChartVersionsParams ¶
type PostAPIV2ChartVersionsParams struct { /* ChartVersion. The ChartVersion to create */ ChartVersion *models.V2controllersCreatableChartVersion Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV2ChartVersionsParams contains all the parameters to send to the API endpoint
for the post API v2 chart versions operation. Typically these are written to a http.Request.
func NewPostAPIV2ChartVersionsParams ¶
func NewPostAPIV2ChartVersionsParams() *PostAPIV2ChartVersionsParams
NewPostAPIV2ChartVersionsParams creates a new PostAPIV2ChartVersionsParams 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 NewPostAPIV2ChartVersionsParamsWithContext ¶
func NewPostAPIV2ChartVersionsParamsWithContext(ctx context.Context) *PostAPIV2ChartVersionsParams
NewPostAPIV2ChartVersionsParamsWithContext creates a new PostAPIV2ChartVersionsParams object with the ability to set a context for a request.
func NewPostAPIV2ChartVersionsParamsWithHTTPClient ¶
func NewPostAPIV2ChartVersionsParamsWithHTTPClient(client *http.Client) *PostAPIV2ChartVersionsParams
NewPostAPIV2ChartVersionsParamsWithHTTPClient creates a new PostAPIV2ChartVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIV2ChartVersionsParamsWithTimeout ¶
func NewPostAPIV2ChartVersionsParamsWithTimeout(timeout time.Duration) *PostAPIV2ChartVersionsParams
NewPostAPIV2ChartVersionsParamsWithTimeout creates a new PostAPIV2ChartVersionsParams object with the ability to set a timeout on a request.
func (*PostAPIV2ChartVersionsParams) SetChartVersion ¶
func (o *PostAPIV2ChartVersionsParams) SetChartVersion(chartVersion *models.V2controllersCreatableChartVersion)
SetChartVersion adds the chartVersion to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) SetContext ¶
func (o *PostAPIV2ChartVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) SetDefaults ¶
func (o *PostAPIV2ChartVersionsParams) SetDefaults()
SetDefaults hydrates default values in the post API v2 chart versions params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ChartVersionsParams) SetHTTPClient ¶
func (o *PostAPIV2ChartVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) SetTimeout ¶
func (o *PostAPIV2ChartVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) WithChartVersion ¶
func (o *PostAPIV2ChartVersionsParams) WithChartVersion(chartVersion *models.V2controllersCreatableChartVersion) *PostAPIV2ChartVersionsParams
WithChartVersion adds the chartVersion to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) WithContext ¶
func (o *PostAPIV2ChartVersionsParams) WithContext(ctx context.Context) *PostAPIV2ChartVersionsParams
WithContext adds the context to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) WithDefaults ¶
func (o *PostAPIV2ChartVersionsParams) WithDefaults() *PostAPIV2ChartVersionsParams
WithDefaults hydrates default values in the post API v2 chart versions params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ChartVersionsParams) WithHTTPClient ¶
func (o *PostAPIV2ChartVersionsParams) WithHTTPClient(client *http.Client) *PostAPIV2ChartVersionsParams
WithHTTPClient adds the HTTPClient to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) WithTimeout ¶
func (o *PostAPIV2ChartVersionsParams) WithTimeout(timeout time.Duration) *PostAPIV2ChartVersionsParams
WithTimeout adds the timeout to the post API v2 chart versions params
func (*PostAPIV2ChartVersionsParams) WriteToRequest ¶
func (o *PostAPIV2ChartVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV2ChartVersionsProxyAuthenticationRequired ¶
type PostAPIV2ChartVersionsProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartVersionsProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewPostAPIV2ChartVersionsProxyAuthenticationRequired ¶
func NewPostAPIV2ChartVersionsProxyAuthenticationRequired() *PostAPIV2ChartVersionsProxyAuthenticationRequired
NewPostAPIV2ChartVersionsProxyAuthenticationRequired creates a PostAPIV2ChartVersionsProxyAuthenticationRequired with default headers values
func (*PostAPIV2ChartVersionsProxyAuthenticationRequired) Error ¶
func (o *PostAPIV2ChartVersionsProxyAuthenticationRequired) Error() string
func (*PostAPIV2ChartVersionsProxyAuthenticationRequired) GetPayload ¶
func (o *PostAPIV2ChartVersionsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ChartVersionsReader ¶
type PostAPIV2ChartVersionsReader struct {
// contains filtered or unexported fields
}
PostAPIV2ChartVersionsReader is a Reader for the PostAPIV2ChartVersions structure.
func (*PostAPIV2ChartVersionsReader) ReadResponse ¶
func (o *PostAPIV2ChartVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- chart_versions_client.go
- get_api_v2_chart_versions_parameters.go
- get_api_v2_chart_versions_responses.go
- get_api_v2_chart_versions_selector_parameters.go
- get_api_v2_chart_versions_selector_responses.go
- get_api_v2_selectors_chart_versions_selector_parameters.go
- get_api_v2_selectors_chart_versions_selector_responses.go
- post_api_v2_chart_versions_parameters.go
- post_api_v2_chart_versions_responses.go