app_versions

package
v0.0.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

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 (*GetAPIV2AppVersionsBadRequest) GetPayload

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 (*GetAPIV2AppVersionsConflict) GetPayload

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 (*GetAPIV2AppVersionsForbidden) GetPayload

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 (*GetAPIV2AppVersionsInternalServerError) GetPayload

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 (*GetAPIV2AppVersionsNotFound) GetPayload

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

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

WithChart adds the chart to the get API v2 app versions params

func (*GetAPIV2AppVersionsParams) WithContext

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

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

WithID adds the id to the get API v2 app versions params

func (*GetAPIV2AppVersionsParams) WithLimit

WithLimit adds the limit to the get API v2 app versions params

func (*GetAPIV2AppVersionsParams) WithTimeout

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

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 (*GetAPIV2AppVersionsProxyAuthenticationRequired) GetPayload

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 (*GetAPIV2AppVersionsSelectorBadRequest) GetPayload

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 (*GetAPIV2AppVersionsSelectorConflict) GetPayload

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 (*GetAPIV2AppVersionsSelectorForbidden) GetPayload

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 (*GetAPIV2AppVersionsSelectorInternalServerError) GetPayload

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 (*GetAPIV2AppVersionsSelectorNotFound) GetPayload

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 (*GetAPIV2AppVersionsSelectorOK) GetPayload

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

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

WithContext adds the context to the get API v2 app versions selector params

func (*GetAPIV2AppVersionsSelectorParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API v2 app versions selector params

func (*GetAPIV2AppVersionsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 app versions selector params

func (*GetAPIV2AppVersionsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 app versions selector params

func (*GetAPIV2AppVersionsSelectorParams) WriteToRequest

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 (*GetAPIV2AppVersionsSelectorProxyAuthenticationRequired) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorBadRequest) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorConflict) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorForbidden) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorInternalServerError) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorNotFound) GetPayload

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 (*GetAPIV2SelectorsAppVersionsSelectorOK) GetPayload

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

SetContext adds the context to the get API v2 selectors app versions selector params

func (*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

SetTimeout adds the timeout to the get API v2 selectors app versions selector params

func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithContext

WithContext adds the context to the get API v2 selectors app versions selector params

func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get API v2 selectors app versions selector params

func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 selectors app versions selector params

func (*GetAPIV2SelectorsAppVersionsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 selectors app versions selector params

func (*GetAPIV2SelectorsAppVersionsSelectorParams) WriteToRequest

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 (*GetAPIV2SelectorsAppVersionsSelectorProxyAuthenticationRequired) GetPayload

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 (*PostAPIV2AppVersionsBadRequest) GetPayload

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 (*PostAPIV2AppVersionsConflict) GetPayload

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 (*PostAPIV2AppVersionsForbidden) GetPayload

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 (*PostAPIV2AppVersionsInternalServerError) GetPayload

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 (*PostAPIV2AppVersionsNotFound) GetPayload

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

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

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

WithAppVersion adds the appVersion to the post API v2 app versions params

func (*PostAPIV2AppVersionsParams) WithContext

WithContext adds the context to the post API v2 app versions params

func (*PostAPIV2AppVersionsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post API v2 app versions params

func (*PostAPIV2AppVersionsParams) WithTimeout

WithTimeout adds the timeout to the post API v2 app versions params

func (*PostAPIV2AppVersionsParams) WriteToRequest

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 (*PostAPIV2AppVersionsProxyAuthenticationRequired) GetPayload

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL