Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAPIV2AppVersions(params *GetAPIV2AppVersionsParams, opts ...ClientOption) (*GetAPIV2AppVersionsOK, error)
- func (a *Client) GetAPIV2AppVersionsSelector(params *GetAPIV2AppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2AppVersionsSelectorOK, error)
- func (a *Client) GetAPIV2SelectorsAppVersionsSelector(params *GetAPIV2SelectorsAppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsAppVersionsSelectorOK, error)
- func (a *Client) PostAPIV2AppVersions(params *PostAPIV2AppVersionsParams, opts ...ClientOption) (*PostAPIV2AppVersionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAPIV2AppVersionsBadRequest
- type GetAPIV2AppVersionsConflict
- type GetAPIV2AppVersionsForbidden
- type GetAPIV2AppVersionsInternalServerError
- type GetAPIV2AppVersionsNotFound
- type GetAPIV2AppVersionsOK
- type GetAPIV2AppVersionsParams
- func NewGetAPIV2AppVersionsParams() *GetAPIV2AppVersionsParams
- func NewGetAPIV2AppVersionsParamsWithContext(ctx context.Context) *GetAPIV2AppVersionsParams
- func NewGetAPIV2AppVersionsParamsWithHTTPClient(client *http.Client) *GetAPIV2AppVersionsParams
- func NewGetAPIV2AppVersionsParamsWithTimeout(timeout time.Duration) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) SetAppVersion(appVersion *string)
- func (o *GetAPIV2AppVersionsParams) SetChart(chart *string)
- func (o *GetAPIV2AppVersionsParams) SetContext(ctx context.Context)
- func (o *GetAPIV2AppVersionsParams) SetCreatedAt(createdAt *string)
- func (o *GetAPIV2AppVersionsParams) SetDefaults()
- func (o *GetAPIV2AppVersionsParams) SetGitBranch(gitBranch *string)
- func (o *GetAPIV2AppVersionsParams) SetGitCommit(gitCommit *string)
- func (o *GetAPIV2AppVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2AppVersionsParams) SetID(id *int64)
- func (o *GetAPIV2AppVersionsParams) SetLimit(limit *int64)
- func (o *GetAPIV2AppVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2AppVersionsParams) SetUpdatedAt(updatedAt *string)
- func (o *GetAPIV2AppVersionsParams) WithAppVersion(appVersion *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithChart(chart *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithContext(ctx context.Context) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithCreatedAt(createdAt *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithDefaults() *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithGitBranch(gitBranch *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithGitCommit(gitCommit *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithHTTPClient(client *http.Client) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithID(id *int64) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithLimit(limit *int64) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithTimeout(timeout time.Duration) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WithUpdatedAt(updatedAt *string) *GetAPIV2AppVersionsParams
- func (o *GetAPIV2AppVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2AppVersionsProxyAuthenticationRequired
- type GetAPIV2AppVersionsReader
- type GetAPIV2AppVersionsSelectorBadRequest
- type GetAPIV2AppVersionsSelectorConflict
- type GetAPIV2AppVersionsSelectorForbidden
- type GetAPIV2AppVersionsSelectorInternalServerError
- type GetAPIV2AppVersionsSelectorNotFound
- type GetAPIV2AppVersionsSelectorOK
- type GetAPIV2AppVersionsSelectorParams
- func NewGetAPIV2AppVersionsSelectorParams() *GetAPIV2AppVersionsSelectorParams
- func NewGetAPIV2AppVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2AppVersionsSelectorParams
- func NewGetAPIV2AppVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2AppVersionsSelectorParams
- func NewGetAPIV2AppVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2AppVersionsSelectorParams) SetDefaults()
- func (o *GetAPIV2AppVersionsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2AppVersionsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2AppVersionsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2AppVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) WithDefaults() *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) WithSelector(selector string) *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2AppVersionsSelectorParams
- func (o *GetAPIV2AppVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2AppVersionsSelectorProxyAuthenticationRequired
- type GetAPIV2AppVersionsSelectorReader
- type GetAPIV2SelectorsAppVersionsSelectorBadRequest
- type GetAPIV2SelectorsAppVersionsSelectorConflict
- type GetAPIV2SelectorsAppVersionsSelectorForbidden
- type GetAPIV2SelectorsAppVersionsSelectorInternalServerError
- type GetAPIV2SelectorsAppVersionsSelectorNotFound
- type GetAPIV2SelectorsAppVersionsSelectorOK
- type GetAPIV2SelectorsAppVersionsSelectorParams
- func NewGetAPIV2SelectorsAppVersionsSelectorParams() *GetAPIV2SelectorsAppVersionsSelectorParams
- func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsAppVersionsSelectorParams
- func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsAppVersionsSelectorParams
- func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetContext(ctx context.Context)
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetDefaults()
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetSelector(selector string)
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithDefaults() *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsAppVersionsSelectorParams
- func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired
- type GetAPIV2SelectorsAppVersionsSelectorReader
- type PostAPIV2AppVersionsBadRequest
- type PostAPIV2AppVersionsConflict
- type PostAPIV2AppVersionsForbidden
- type PostAPIV2AppVersionsInternalServerError
- type PostAPIV2AppVersionsNotFound
- type PostAPIV2AppVersionsOK
- type PostAPIV2AppVersionsParams
- func NewPostAPIV2AppVersionsParams() *PostAPIV2AppVersionsParams
- func NewPostAPIV2AppVersionsParamsWithContext(ctx context.Context) *PostAPIV2AppVersionsParams
- func NewPostAPIV2AppVersionsParamsWithHTTPClient(client *http.Client) *PostAPIV2AppVersionsParams
- func NewPostAPIV2AppVersionsParamsWithTimeout(timeout time.Duration) *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) SetAppVersion(appVersion *models.V2controllersCreatableAppVersion)
- func (o *PostAPIV2AppVersionsParams) SetContext(ctx context.Context)
- func (o *PostAPIV2AppVersionsParams) SetDefaults()
- func (o *PostAPIV2AppVersionsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV2AppVersionsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV2AppVersionsParams) WithAppVersion(appVersion *models.V2controllersCreatableAppVersion) *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) WithContext(ctx context.Context) *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) WithDefaults() *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) WithHTTPClient(client *http.Client) *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) WithTimeout(timeout time.Duration) *PostAPIV2AppVersionsParams
- func (o *PostAPIV2AppVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV2AppVersionsProxyAuthenticationRequired
- type PostAPIV2AppVersionsReader
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 app versions API
func (*Client) GetAPIV2AppVersions ¶
func (a *Client) GetAPIV2AppVersions(params *GetAPIV2AppVersionsParams, opts ...ClientOption) (*GetAPIV2AppVersionsOK, error)
GetAPIV2AppVersions lists app version entries
List existing AppVersion entries, ordered by most recently updated.
func (*Client) GetAPIV2AppVersionsSelector ¶
func (a *Client) GetAPIV2AppVersionsSelector(params *GetAPIV2AppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2AppVersionsSelectorOK, error)
GetAPIV2AppVersionsSelector gets a app version entry
Get an existing AppVersion entry via one its "selector"--its numeric ID.
func (*Client) GetAPIV2SelectorsAppVersionsSelector ¶
func (a *Client) GetAPIV2SelectorsAppVersionsSelector(params *GetAPIV2SelectorsAppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsAppVersionsSelectorOK, error)
GetAPIV2SelectorsAppVersionsSelector lists app version selectors
Validate a given AppVersion selector and provide any other selectors that would match the same AppVersion.
func (*Client) PostAPIV2AppVersions ¶
func (a *Client) PostAPIV2AppVersions(params *PostAPIV2AppVersionsParams, opts ...ClientOption) (*PostAPIV2AppVersionsOK, error)
PostAPIV2AppVersions creates a new app version entry
Create a new AppVersion 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 { GetAPIV2AppVersions(params *GetAPIV2AppVersionsParams, opts ...ClientOption) (*GetAPIV2AppVersionsOK, error) GetAPIV2AppVersionsSelector(params *GetAPIV2AppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2AppVersionsSelectorOK, error) GetAPIV2SelectorsAppVersionsSelector(params *GetAPIV2SelectorsAppVersionsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsAppVersionsSelectorOK, error) PostAPIV2AppVersions(params *PostAPIV2AppVersionsParams, opts ...ClientOption) (*PostAPIV2AppVersionsOK, 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 app versions API client.
type GetAPIV2AppVersionsBadRequest ¶
type GetAPIV2AppVersionsBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2AppVersionsBadRequest ¶
func NewGetAPIV2AppVersionsBadRequest() *GetAPIV2AppVersionsBadRequest
NewGetAPIV2AppVersionsBadRequest creates a GetAPIV2AppVersionsBadRequest with default headers values
func (*GetAPIV2AppVersionsBadRequest) Error ¶
func (o *GetAPIV2AppVersionsBadRequest) Error() string
func (*GetAPIV2AppVersionsBadRequest) GetPayload ¶
func (o *GetAPIV2AppVersionsBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsConflict ¶
type GetAPIV2AppVersionsConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2AppVersionsConflict ¶
func NewGetAPIV2AppVersionsConflict() *GetAPIV2AppVersionsConflict
NewGetAPIV2AppVersionsConflict creates a GetAPIV2AppVersionsConflict with default headers values
func (*GetAPIV2AppVersionsConflict) Error ¶
func (o *GetAPIV2AppVersionsConflict) Error() string
func (*GetAPIV2AppVersionsConflict) GetPayload ¶
func (o *GetAPIV2AppVersionsConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsForbidden ¶
type GetAPIV2AppVersionsForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2AppVersionsForbidden ¶
func NewGetAPIV2AppVersionsForbidden() *GetAPIV2AppVersionsForbidden
NewGetAPIV2AppVersionsForbidden creates a GetAPIV2AppVersionsForbidden with default headers values
func (*GetAPIV2AppVersionsForbidden) Error ¶
func (o *GetAPIV2AppVersionsForbidden) Error() string
func (*GetAPIV2AppVersionsForbidden) GetPayload ¶
func (o *GetAPIV2AppVersionsForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsInternalServerError ¶
type GetAPIV2AppVersionsInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2AppVersionsInternalServerError ¶
func NewGetAPIV2AppVersionsInternalServerError() *GetAPIV2AppVersionsInternalServerError
NewGetAPIV2AppVersionsInternalServerError creates a GetAPIV2AppVersionsInternalServerError with default headers values
func (*GetAPIV2AppVersionsInternalServerError) Error ¶
func (o *GetAPIV2AppVersionsInternalServerError) Error() string
func (*GetAPIV2AppVersionsInternalServerError) GetPayload ¶
func (o *GetAPIV2AppVersionsInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsNotFound ¶
type GetAPIV2AppVersionsNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2AppVersionsNotFound ¶
func NewGetAPIV2AppVersionsNotFound() *GetAPIV2AppVersionsNotFound
NewGetAPIV2AppVersionsNotFound creates a GetAPIV2AppVersionsNotFound with default headers values
func (*GetAPIV2AppVersionsNotFound) Error ¶
func (o *GetAPIV2AppVersionsNotFound) Error() string
func (*GetAPIV2AppVersionsNotFound) GetPayload ¶
func (o *GetAPIV2AppVersionsNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsOK ¶
type GetAPIV2AppVersionsOK struct {
Payload []*models.V2controllersAppVersion
}
GetAPIV2AppVersionsOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2AppVersionsOK ¶
func NewGetAPIV2AppVersionsOK() *GetAPIV2AppVersionsOK
NewGetAPIV2AppVersionsOK creates a GetAPIV2AppVersionsOK with default headers values
func (*GetAPIV2AppVersionsOK) Error ¶
func (o *GetAPIV2AppVersionsOK) Error() string
func (*GetAPIV2AppVersionsOK) GetPayload ¶
func (o *GetAPIV2AppVersionsOK) GetPayload() []*models.V2controllersAppVersion
type GetAPIV2AppVersionsParams ¶
type GetAPIV2AppVersionsParams struct { /* AppVersion. Required when creating */ AppVersion *string /* Chart. Required when creating */ Chart *string // CreatedAt. CreatedAt *string // GitBranch. GitBranch *string // GitCommit. GitCommit *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 }
GetAPIV2AppVersionsParams contains all the parameters to send to the API endpoint
for the get API v2 app versions operation. Typically these are written to a http.Request.
func NewGetAPIV2AppVersionsParams ¶
func NewGetAPIV2AppVersionsParams() *GetAPIV2AppVersionsParams
NewGetAPIV2AppVersionsParams creates a new GetAPIV2AppVersionsParams 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 NewGetAPIV2AppVersionsParamsWithContext ¶
func NewGetAPIV2AppVersionsParamsWithContext(ctx context.Context) *GetAPIV2AppVersionsParams
NewGetAPIV2AppVersionsParamsWithContext creates a new GetAPIV2AppVersionsParams object with the ability to set a context for a request.
func NewGetAPIV2AppVersionsParamsWithHTTPClient ¶
func NewGetAPIV2AppVersionsParamsWithHTTPClient(client *http.Client) *GetAPIV2AppVersionsParams
NewGetAPIV2AppVersionsParamsWithHTTPClient creates a new GetAPIV2AppVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2AppVersionsParamsWithTimeout ¶
func NewGetAPIV2AppVersionsParamsWithTimeout(timeout time.Duration) *GetAPIV2AppVersionsParams
NewGetAPIV2AppVersionsParamsWithTimeout creates a new GetAPIV2AppVersionsParams object with the ability to set a timeout on a request.
func (*GetAPIV2AppVersionsParams) SetAppVersion ¶
func (o *GetAPIV2AppVersionsParams) SetAppVersion(appVersion *string)
SetAppVersion adds the appVersion to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetChart ¶
func (o *GetAPIV2AppVersionsParams) SetChart(chart *string)
SetChart adds the chart to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetContext ¶
func (o *GetAPIV2AppVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetCreatedAt ¶
func (o *GetAPIV2AppVersionsParams) SetCreatedAt(createdAt *string)
SetCreatedAt adds the createdAt to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetDefaults ¶
func (o *GetAPIV2AppVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 app versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2AppVersionsParams) SetGitBranch ¶
func (o *GetAPIV2AppVersionsParams) SetGitBranch(gitBranch *string)
SetGitBranch adds the gitBranch to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetGitCommit ¶
func (o *GetAPIV2AppVersionsParams) SetGitCommit(gitCommit *string)
SetGitCommit adds the gitCommit to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetHTTPClient ¶
func (o *GetAPIV2AppVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetID ¶
func (o *GetAPIV2AppVersionsParams) SetID(id *int64)
SetID adds the id to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetLimit ¶
func (o *GetAPIV2AppVersionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetTimeout ¶
func (o *GetAPIV2AppVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) SetUpdatedAt ¶
func (o *GetAPIV2AppVersionsParams) SetUpdatedAt(updatedAt *string)
SetUpdatedAt adds the updatedAt to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithAppVersion ¶
func (o *GetAPIV2AppVersionsParams) WithAppVersion(appVersion *string) *GetAPIV2AppVersionsParams
WithAppVersion adds the appVersion to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithChart ¶
func (o *GetAPIV2AppVersionsParams) WithChart(chart *string) *GetAPIV2AppVersionsParams
WithChart adds the chart to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithContext ¶
func (o *GetAPIV2AppVersionsParams) WithContext(ctx context.Context) *GetAPIV2AppVersionsParams
WithContext adds the context to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithCreatedAt ¶
func (o *GetAPIV2AppVersionsParams) WithCreatedAt(createdAt *string) *GetAPIV2AppVersionsParams
WithCreatedAt adds the createdAt to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithDefaults ¶
func (o *GetAPIV2AppVersionsParams) WithDefaults() *GetAPIV2AppVersionsParams
WithDefaults hydrates default values in the get API v2 app versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2AppVersionsParams) WithGitBranch ¶
func (o *GetAPIV2AppVersionsParams) WithGitBranch(gitBranch *string) *GetAPIV2AppVersionsParams
WithGitBranch adds the gitBranch to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithGitCommit ¶
func (o *GetAPIV2AppVersionsParams) WithGitCommit(gitCommit *string) *GetAPIV2AppVersionsParams
WithGitCommit adds the gitCommit to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithHTTPClient ¶
func (o *GetAPIV2AppVersionsParams) WithHTTPClient(client *http.Client) *GetAPIV2AppVersionsParams
WithHTTPClient adds the HTTPClient to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithID ¶
func (o *GetAPIV2AppVersionsParams) WithID(id *int64) *GetAPIV2AppVersionsParams
WithID adds the id to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithLimit ¶
func (o *GetAPIV2AppVersionsParams) WithLimit(limit *int64) *GetAPIV2AppVersionsParams
WithLimit adds the limit to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithTimeout ¶
func (o *GetAPIV2AppVersionsParams) WithTimeout(timeout time.Duration) *GetAPIV2AppVersionsParams
WithTimeout adds the timeout to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WithUpdatedAt ¶
func (o *GetAPIV2AppVersionsParams) WithUpdatedAt(updatedAt *string) *GetAPIV2AppVersionsParams
WithUpdatedAt adds the updatedAt to the get API v2 app versions params
func (*GetAPIV2AppVersionsParams) WriteToRequest ¶
func (o *GetAPIV2AppVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2AppVersionsProxyAuthenticationRequired ¶
type GetAPIV2AppVersionsProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2AppVersionsProxyAuthenticationRequired ¶
func NewGetAPIV2AppVersionsProxyAuthenticationRequired() *GetAPIV2AppVersionsProxyAuthenticationRequired
NewGetAPIV2AppVersionsProxyAuthenticationRequired creates a GetAPIV2AppVersionsProxyAuthenticationRequired with default headers values
func (*GetAPIV2AppVersionsProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2AppVersionsProxyAuthenticationRequired) Error() string
func (*GetAPIV2AppVersionsProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2AppVersionsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsReader ¶
type GetAPIV2AppVersionsReader struct {
// contains filtered or unexported fields
}
GetAPIV2AppVersionsReader is a Reader for the GetAPIV2AppVersions structure.
func (*GetAPIV2AppVersionsReader) ReadResponse ¶
func (o *GetAPIV2AppVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2AppVersionsSelectorBadRequest ¶
type GetAPIV2AppVersionsSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2AppVersionsSelectorBadRequest ¶
func NewGetAPIV2AppVersionsSelectorBadRequest() *GetAPIV2AppVersionsSelectorBadRequest
NewGetAPIV2AppVersionsSelectorBadRequest creates a GetAPIV2AppVersionsSelectorBadRequest with default headers values
func (*GetAPIV2AppVersionsSelectorBadRequest) Error ¶
func (o *GetAPIV2AppVersionsSelectorBadRequest) Error() string
func (*GetAPIV2AppVersionsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorConflict ¶
type GetAPIV2AppVersionsSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2AppVersionsSelectorConflict ¶
func NewGetAPIV2AppVersionsSelectorConflict() *GetAPIV2AppVersionsSelectorConflict
NewGetAPIV2AppVersionsSelectorConflict creates a GetAPIV2AppVersionsSelectorConflict with default headers values
func (*GetAPIV2AppVersionsSelectorConflict) Error ¶
func (o *GetAPIV2AppVersionsSelectorConflict) Error() string
func (*GetAPIV2AppVersionsSelectorConflict) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorForbidden ¶
type GetAPIV2AppVersionsSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2AppVersionsSelectorForbidden ¶
func NewGetAPIV2AppVersionsSelectorForbidden() *GetAPIV2AppVersionsSelectorForbidden
NewGetAPIV2AppVersionsSelectorForbidden creates a GetAPIV2AppVersionsSelectorForbidden with default headers values
func (*GetAPIV2AppVersionsSelectorForbidden) Error ¶
func (o *GetAPIV2AppVersionsSelectorForbidden) Error() string
func (*GetAPIV2AppVersionsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorInternalServerError ¶
type GetAPIV2AppVersionsSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2AppVersionsSelectorInternalServerError ¶
func NewGetAPIV2AppVersionsSelectorInternalServerError() *GetAPIV2AppVersionsSelectorInternalServerError
NewGetAPIV2AppVersionsSelectorInternalServerError creates a GetAPIV2AppVersionsSelectorInternalServerError with default headers values
func (*GetAPIV2AppVersionsSelectorInternalServerError) Error ¶
func (o *GetAPIV2AppVersionsSelectorInternalServerError) Error() string
func (*GetAPIV2AppVersionsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorNotFound ¶
type GetAPIV2AppVersionsSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2AppVersionsSelectorNotFound ¶
func NewGetAPIV2AppVersionsSelectorNotFound() *GetAPIV2AppVersionsSelectorNotFound
NewGetAPIV2AppVersionsSelectorNotFound creates a GetAPIV2AppVersionsSelectorNotFound with default headers values
func (*GetAPIV2AppVersionsSelectorNotFound) Error ¶
func (o *GetAPIV2AppVersionsSelectorNotFound) Error() string
func (*GetAPIV2AppVersionsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorOK ¶
type GetAPIV2AppVersionsSelectorOK struct {
Payload *models.V2controllersAppVersion
}
GetAPIV2AppVersionsSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2AppVersionsSelectorOK ¶
func NewGetAPIV2AppVersionsSelectorOK() *GetAPIV2AppVersionsSelectorOK
NewGetAPIV2AppVersionsSelectorOK creates a GetAPIV2AppVersionsSelectorOK with default headers values
func (*GetAPIV2AppVersionsSelectorOK) Error ¶
func (o *GetAPIV2AppVersionsSelectorOK) Error() string
func (*GetAPIV2AppVersionsSelectorOK) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorOK) GetPayload() *models.V2controllersAppVersion
type GetAPIV2AppVersionsSelectorParams ¶
type GetAPIV2AppVersionsSelectorParams struct { /* Selector. The AppVersion to get's selector: name or numeric ID */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2AppVersionsSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 app versions selector operation. Typically these are written to a http.Request.
func NewGetAPIV2AppVersionsSelectorParams ¶
func NewGetAPIV2AppVersionsSelectorParams() *GetAPIV2AppVersionsSelectorParams
NewGetAPIV2AppVersionsSelectorParams creates a new GetAPIV2AppVersionsSelectorParams 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 NewGetAPIV2AppVersionsSelectorParamsWithContext ¶
func NewGetAPIV2AppVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2AppVersionsSelectorParams
NewGetAPIV2AppVersionsSelectorParamsWithContext creates a new GetAPIV2AppVersionsSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2AppVersionsSelectorParamsWithHTTPClient ¶
func NewGetAPIV2AppVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2AppVersionsSelectorParams
NewGetAPIV2AppVersionsSelectorParamsWithHTTPClient creates a new GetAPIV2AppVersionsSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2AppVersionsSelectorParamsWithTimeout ¶
func NewGetAPIV2AppVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2AppVersionsSelectorParams
NewGetAPIV2AppVersionsSelectorParamsWithTimeout creates a new GetAPIV2AppVersionsSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2AppVersionsSelectorParams) SetContext ¶
func (o *GetAPIV2AppVersionsSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) SetDefaults ¶
func (o *GetAPIV2AppVersionsSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 app versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2AppVersionsSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2AppVersionsSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) SetSelector ¶
func (o *GetAPIV2AppVersionsSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) SetTimeout ¶
func (o *GetAPIV2AppVersionsSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) WithContext ¶
func (o *GetAPIV2AppVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2AppVersionsSelectorParams
WithContext adds the context to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) WithDefaults ¶
func (o *GetAPIV2AppVersionsSelectorParams) WithDefaults() *GetAPIV2AppVersionsSelectorParams
WithDefaults hydrates default values in the get API v2 app versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2AppVersionsSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2AppVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2AppVersionsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) WithSelector ¶
func (o *GetAPIV2AppVersionsSelectorParams) WithSelector(selector string) *GetAPIV2AppVersionsSelectorParams
WithSelector adds the selector to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) WithTimeout ¶
func (o *GetAPIV2AppVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2AppVersionsSelectorParams
WithTimeout adds the timeout to the get API v2 app versions selector params
func (*GetAPIV2AppVersionsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2AppVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2AppVersionsSelectorProxyAuthenticationRequired ¶
type GetAPIV2AppVersionsSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2AppVersionsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2AppVersionsSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2AppVersionsSelectorProxyAuthenticationRequired() *GetAPIV2AppVersionsSelectorProxyAuthenticationRequired
NewGetAPIV2AppVersionsSelectorProxyAuthenticationRequired creates a GetAPIV2AppVersionsSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2AppVersionsSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2AppVersionsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2AppVersionsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2AppVersionsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2AppVersionsSelectorReader ¶
type GetAPIV2AppVersionsSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2AppVersionsSelectorReader is a Reader for the GetAPIV2AppVersionsSelector structure.
func (*GetAPIV2AppVersionsSelectorReader) ReadResponse ¶
func (o *GetAPIV2AppVersionsSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIV2SelectorsAppVersionsSelectorBadRequest ¶
type GetAPIV2SelectorsAppVersionsSelectorBadRequest struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetAPIV2SelectorsAppVersionsSelectorBadRequest ¶
func NewGetAPIV2SelectorsAppVersionsSelectorBadRequest() *GetAPIV2SelectorsAppVersionsSelectorBadRequest
NewGetAPIV2SelectorsAppVersionsSelectorBadRequest creates a GetAPIV2SelectorsAppVersionsSelectorBadRequest with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorBadRequest) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorBadRequest) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorBadRequest) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorBadRequest) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorConflict ¶
type GetAPIV2SelectorsAppVersionsSelectorConflict struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorConflict describes a response with status code 409, with default header values.
Conflict
func NewGetAPIV2SelectorsAppVersionsSelectorConflict ¶
func NewGetAPIV2SelectorsAppVersionsSelectorConflict() *GetAPIV2SelectorsAppVersionsSelectorConflict
NewGetAPIV2SelectorsAppVersionsSelectorConflict creates a GetAPIV2SelectorsAppVersionsSelectorConflict with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorConflict) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorConflict) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorConflict) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorConflict) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorForbidden ¶
type GetAPIV2SelectorsAppVersionsSelectorForbidden struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAPIV2SelectorsAppVersionsSelectorForbidden ¶
func NewGetAPIV2SelectorsAppVersionsSelectorForbidden() *GetAPIV2SelectorsAppVersionsSelectorForbidden
NewGetAPIV2SelectorsAppVersionsSelectorForbidden creates a GetAPIV2SelectorsAppVersionsSelectorForbidden with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorForbidden) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorForbidden) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorForbidden) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorForbidden) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorInternalServerError ¶
type GetAPIV2SelectorsAppVersionsSelectorInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAPIV2SelectorsAppVersionsSelectorInternalServerError ¶
func NewGetAPIV2SelectorsAppVersionsSelectorInternalServerError() *GetAPIV2SelectorsAppVersionsSelectorInternalServerError
NewGetAPIV2SelectorsAppVersionsSelectorInternalServerError creates a GetAPIV2SelectorsAppVersionsSelectorInternalServerError with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorInternalServerError) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorInternalServerError) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorInternalServerError) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorInternalServerError) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorNotFound ¶
type GetAPIV2SelectorsAppVersionsSelectorNotFound struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetAPIV2SelectorsAppVersionsSelectorNotFound ¶
func NewGetAPIV2SelectorsAppVersionsSelectorNotFound() *GetAPIV2SelectorsAppVersionsSelectorNotFound
NewGetAPIV2SelectorsAppVersionsSelectorNotFound creates a GetAPIV2SelectorsAppVersionsSelectorNotFound with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorNotFound) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorNotFound) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorNotFound) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorNotFound) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorOK ¶
type GetAPIV2SelectorsAppVersionsSelectorOK struct {
Payload []string
}
GetAPIV2SelectorsAppVersionsSelectorOK describes a response with status code 200, with default header values.
OK
func NewGetAPIV2SelectorsAppVersionsSelectorOK ¶
func NewGetAPIV2SelectorsAppVersionsSelectorOK() *GetAPIV2SelectorsAppVersionsSelectorOK
NewGetAPIV2SelectorsAppVersionsSelectorOK creates a GetAPIV2SelectorsAppVersionsSelectorOK with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorOK) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorOK) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorOK) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorOK) GetPayload() []string
type GetAPIV2SelectorsAppVersionsSelectorParams ¶
type GetAPIV2SelectorsAppVersionsSelectorParams struct { /* Selector. The selector of the AppVersion to list other selectors for */ Selector string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIV2SelectorsAppVersionsSelectorParams contains all the parameters to send to the API endpoint
for the get API v2 selectors app versions selector operation. Typically these are written to a http.Request.
func NewGetAPIV2SelectorsAppVersionsSelectorParams ¶
func NewGetAPIV2SelectorsAppVersionsSelectorParams() *GetAPIV2SelectorsAppVersionsSelectorParams
NewGetAPIV2SelectorsAppVersionsSelectorParams creates a new GetAPIV2SelectorsAppVersionsSelectorParams 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 NewGetAPIV2SelectorsAppVersionsSelectorParamsWithContext ¶
func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsAppVersionsSelectorParams
NewGetAPIV2SelectorsAppVersionsSelectorParamsWithContext creates a new GetAPIV2SelectorsAppVersionsSelectorParams object with the ability to set a context for a request.
func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithHTTPClient ¶
func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsAppVersionsSelectorParams
NewGetAPIV2SelectorsAppVersionsSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsAppVersionsSelectorParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithTimeout ¶
func NewGetAPIV2SelectorsAppVersionsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsAppVersionsSelectorParams
NewGetAPIV2SelectorsAppVersionsSelectorParamsWithTimeout creates a new GetAPIV2SelectorsAppVersionsSelectorParams object with the ability to set a timeout on a request.
func (*GetAPIV2SelectorsAppVersionsSelectorParams) SetContext ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetContext(ctx context.Context)
SetContext adds the context to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) SetDefaults ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetDefaults()
SetDefaults hydrates default values in the get API v2 selectors app versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsAppVersionsSelectorParams) SetHTTPClient ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) SetSelector ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetSelector(selector string)
SetSelector adds the selector to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) SetTimeout ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithContext ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithContext(ctx context.Context) *GetAPIV2SelectorsAppVersionsSelectorParams
WithContext adds the context to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithDefaults ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithDefaults() *GetAPIV2SelectorsAppVersionsSelectorParams
WithDefaults hydrates default values in the get API v2 selectors app versions selector params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithHTTPClient ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithHTTPClient(client *http.Client) *GetAPIV2SelectorsAppVersionsSelectorParams
WithHTTPClient adds the HTTPClient to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithSelector ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithSelector(selector string) *GetAPIV2SelectorsAppVersionsSelectorParams
WithSelector adds the selector to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithTimeout ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WithTimeout(timeout time.Duration) *GetAPIV2SelectorsAppVersionsSelectorParams
WithTimeout adds the timeout to the get API v2 selectors app versions selector params
func (*GetAPIV2SelectorsAppVersionsSelectorParams) WriteToRequest ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired ¶
type GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewGetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired ¶
func NewGetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired
NewGetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired with default headers values
func (*GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired) Error ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired) Error() string
func (*GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired) GetPayload ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type GetAPIV2SelectorsAppVersionsSelectorReader ¶
type GetAPIV2SelectorsAppVersionsSelectorReader struct {
// contains filtered or unexported fields
}
GetAPIV2SelectorsAppVersionsSelectorReader is a Reader for the GetAPIV2SelectorsAppVersionsSelector structure.
func (*GetAPIV2SelectorsAppVersionsSelectorReader) ReadResponse ¶
func (o *GetAPIV2SelectorsAppVersionsSelectorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIV2AppVersionsBadRequest ¶
type PostAPIV2AppVersionsBadRequest struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIV2AppVersionsBadRequest ¶
func NewPostAPIV2AppVersionsBadRequest() *PostAPIV2AppVersionsBadRequest
NewPostAPIV2AppVersionsBadRequest creates a PostAPIV2AppVersionsBadRequest with default headers values
func (*PostAPIV2AppVersionsBadRequest) Error ¶
func (o *PostAPIV2AppVersionsBadRequest) Error() string
func (*PostAPIV2AppVersionsBadRequest) GetPayload ¶
func (o *PostAPIV2AppVersionsBadRequest) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsConflict ¶
type PostAPIV2AppVersionsConflict struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsConflict describes a response with status code 409, with default header values.
Conflict
func NewPostAPIV2AppVersionsConflict ¶
func NewPostAPIV2AppVersionsConflict() *PostAPIV2AppVersionsConflict
NewPostAPIV2AppVersionsConflict creates a PostAPIV2AppVersionsConflict with default headers values
func (*PostAPIV2AppVersionsConflict) Error ¶
func (o *PostAPIV2AppVersionsConflict) Error() string
func (*PostAPIV2AppVersionsConflict) GetPayload ¶
func (o *PostAPIV2AppVersionsConflict) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsForbidden ¶
type PostAPIV2AppVersionsForbidden struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostAPIV2AppVersionsForbidden ¶
func NewPostAPIV2AppVersionsForbidden() *PostAPIV2AppVersionsForbidden
NewPostAPIV2AppVersionsForbidden creates a PostAPIV2AppVersionsForbidden with default headers values
func (*PostAPIV2AppVersionsForbidden) Error ¶
func (o *PostAPIV2AppVersionsForbidden) Error() string
func (*PostAPIV2AppVersionsForbidden) GetPayload ¶
func (o *PostAPIV2AppVersionsForbidden) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsInternalServerError ¶
type PostAPIV2AppVersionsInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIV2AppVersionsInternalServerError ¶
func NewPostAPIV2AppVersionsInternalServerError() *PostAPIV2AppVersionsInternalServerError
NewPostAPIV2AppVersionsInternalServerError creates a PostAPIV2AppVersionsInternalServerError with default headers values
func (*PostAPIV2AppVersionsInternalServerError) Error ¶
func (o *PostAPIV2AppVersionsInternalServerError) Error() string
func (*PostAPIV2AppVersionsInternalServerError) GetPayload ¶
func (o *PostAPIV2AppVersionsInternalServerError) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsNotFound ¶
type PostAPIV2AppVersionsNotFound struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostAPIV2AppVersionsNotFound ¶
func NewPostAPIV2AppVersionsNotFound() *PostAPIV2AppVersionsNotFound
NewPostAPIV2AppVersionsNotFound creates a PostAPIV2AppVersionsNotFound with default headers values
func (*PostAPIV2AppVersionsNotFound) Error ¶
func (o *PostAPIV2AppVersionsNotFound) Error() string
func (*PostAPIV2AppVersionsNotFound) GetPayload ¶
func (o *PostAPIV2AppVersionsNotFound) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsOK ¶
type PostAPIV2AppVersionsOK struct {
Payload *models.V2controllersAppVersion
}
PostAPIV2AppVersionsOK describes a response with status code 200, with default header values.
OK
func NewPostAPIV2AppVersionsOK ¶
func NewPostAPIV2AppVersionsOK() *PostAPIV2AppVersionsOK
NewPostAPIV2AppVersionsOK creates a PostAPIV2AppVersionsOK with default headers values
func (*PostAPIV2AppVersionsOK) Error ¶
func (o *PostAPIV2AppVersionsOK) Error() string
func (*PostAPIV2AppVersionsOK) GetPayload ¶
func (o *PostAPIV2AppVersionsOK) GetPayload() *models.V2controllersAppVersion
type PostAPIV2AppVersionsParams ¶
type PostAPIV2AppVersionsParams struct { /* AppVersion. The AppVersion to create */ AppVersion *models.V2controllersCreatableAppVersion Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV2AppVersionsParams contains all the parameters to send to the API endpoint
for the post API v2 app versions operation. Typically these are written to a http.Request.
func NewPostAPIV2AppVersionsParams ¶
func NewPostAPIV2AppVersionsParams() *PostAPIV2AppVersionsParams
NewPostAPIV2AppVersionsParams creates a new PostAPIV2AppVersionsParams 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 NewPostAPIV2AppVersionsParamsWithContext ¶
func NewPostAPIV2AppVersionsParamsWithContext(ctx context.Context) *PostAPIV2AppVersionsParams
NewPostAPIV2AppVersionsParamsWithContext creates a new PostAPIV2AppVersionsParams object with the ability to set a context for a request.
func NewPostAPIV2AppVersionsParamsWithHTTPClient ¶
func NewPostAPIV2AppVersionsParamsWithHTTPClient(client *http.Client) *PostAPIV2AppVersionsParams
NewPostAPIV2AppVersionsParamsWithHTTPClient creates a new PostAPIV2AppVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIV2AppVersionsParamsWithTimeout ¶
func NewPostAPIV2AppVersionsParamsWithTimeout(timeout time.Duration) *PostAPIV2AppVersionsParams
NewPostAPIV2AppVersionsParamsWithTimeout creates a new PostAPIV2AppVersionsParams object with the ability to set a timeout on a request.
func (*PostAPIV2AppVersionsParams) SetAppVersion ¶
func (o *PostAPIV2AppVersionsParams) SetAppVersion(appVersion *models.V2controllersCreatableAppVersion)
SetAppVersion adds the appVersion to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) SetContext ¶
func (o *PostAPIV2AppVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) SetDefaults ¶
func (o *PostAPIV2AppVersionsParams) SetDefaults()
SetDefaults hydrates default values in the post API v2 app versions params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2AppVersionsParams) SetHTTPClient ¶
func (o *PostAPIV2AppVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) SetTimeout ¶
func (o *PostAPIV2AppVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) WithAppVersion ¶
func (o *PostAPIV2AppVersionsParams) WithAppVersion(appVersion *models.V2controllersCreatableAppVersion) *PostAPIV2AppVersionsParams
WithAppVersion adds the appVersion to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) WithContext ¶
func (o *PostAPIV2AppVersionsParams) WithContext(ctx context.Context) *PostAPIV2AppVersionsParams
WithContext adds the context to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) WithDefaults ¶
func (o *PostAPIV2AppVersionsParams) WithDefaults() *PostAPIV2AppVersionsParams
WithDefaults hydrates default values in the post API v2 app versions params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2AppVersionsParams) WithHTTPClient ¶
func (o *PostAPIV2AppVersionsParams) WithHTTPClient(client *http.Client) *PostAPIV2AppVersionsParams
WithHTTPClient adds the HTTPClient to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) WithTimeout ¶
func (o *PostAPIV2AppVersionsParams) WithTimeout(timeout time.Duration) *PostAPIV2AppVersionsParams
WithTimeout adds the timeout to the post API v2 app versions params
func (*PostAPIV2AppVersionsParams) WriteToRequest ¶
func (o *PostAPIV2AppVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV2AppVersionsProxyAuthenticationRequired ¶
type PostAPIV2AppVersionsProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2AppVersionsProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewPostAPIV2AppVersionsProxyAuthenticationRequired ¶
func NewPostAPIV2AppVersionsProxyAuthenticationRequired() *PostAPIV2AppVersionsProxyAuthenticationRequired
NewPostAPIV2AppVersionsProxyAuthenticationRequired creates a PostAPIV2AppVersionsProxyAuthenticationRequired with default headers values
func (*PostAPIV2AppVersionsProxyAuthenticationRequired) Error ¶
func (o *PostAPIV2AppVersionsProxyAuthenticationRequired) Error() string
func (*PostAPIV2AppVersionsProxyAuthenticationRequired) GetPayload ¶
func (o *PostAPIV2AppVersionsProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2AppVersionsReader ¶
type PostAPIV2AppVersionsReader struct {
// contains filtered or unexported fields
}
PostAPIV2AppVersionsReader is a Reader for the PostAPIV2AppVersions structure.
func (*PostAPIV2AppVersionsReader) ReadResponse ¶
func (o *PostAPIV2AppVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- app_versions_client.go
- get_api_v2_app_versions_parameters.go
- get_api_v2_app_versions_responses.go
- get_api_v2_app_versions_selector_parameters.go
- get_api_v2_app_versions_selector_responses.go
- get_api_v2_selectors_app_versions_selector_parameters.go
- get_api_v2_selectors_app_versions_selector_responses.go
- post_api_v2_app_versions_parameters.go
- post_api_v2_app_versions_responses.go