releases

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddReleasesBadRequest

type AddReleasesBadRequest struct {
	Payload *models.APIResponse
}

AddReleasesBadRequest handles this case with default header values.

Bad Request

func NewAddReleasesBadRequest

func NewAddReleasesBadRequest() *AddReleasesBadRequest

NewAddReleasesBadRequest creates a AddReleasesBadRequest with default headers values

func (*AddReleasesBadRequest) Error

func (o *AddReleasesBadRequest) Error() string

type AddReleasesCreated

type AddReleasesCreated struct {
	Payload *models.APIResponse
}

AddReleasesCreated handles this case with default header values.

Created

func NewAddReleasesCreated

func NewAddReleasesCreated() *AddReleasesCreated

NewAddReleasesCreated creates a AddReleasesCreated with default headers values

func (*AddReleasesCreated) Error

func (o *AddReleasesCreated) Error() string

type AddReleasesInternalServerError

type AddReleasesInternalServerError struct {
	Payload *models.APIResponse
}

AddReleasesInternalServerError handles this case with default header values.

Internal Server Error

func NewAddReleasesInternalServerError

func NewAddReleasesInternalServerError() *AddReleasesInternalServerError

NewAddReleasesInternalServerError creates a AddReleasesInternalServerError with default headers values

func (*AddReleasesInternalServerError) Error

type AddReleasesParams

type AddReleasesParams struct {

	/*ChartTar
	  The file to upload

	*/
	ChartTar os.File
	/*Labels
	  The node labels to identify applicable clusters

	*/
	Labels *string
	/*Name
	  The name of the helm release

	*/
	Name string
	/*Namespace
	  The kubernetes namespace to be used

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddReleasesParams contains all the parameters to send to the API endpoint for the add releases operation typically these are written to a http.Request

func NewAddReleasesParams

func NewAddReleasesParams() *AddReleasesParams

NewAddReleasesParams creates a new AddReleasesParams object with the default values initialized.

func NewAddReleasesParamsWithContext

func NewAddReleasesParamsWithContext(ctx context.Context) *AddReleasesParams

NewAddReleasesParamsWithContext creates a new AddReleasesParams object with the default values initialized, and the ability to set a context for a request

func NewAddReleasesParamsWithHTTPClient

func NewAddReleasesParamsWithHTTPClient(client *http.Client) *AddReleasesParams

NewAddReleasesParamsWithHTTPClient creates a new AddReleasesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddReleasesParamsWithTimeout

func NewAddReleasesParamsWithTimeout(timeout time.Duration) *AddReleasesParams

NewAddReleasesParamsWithTimeout creates a new AddReleasesParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddReleasesParams) SetChartTar

func (o *AddReleasesParams) SetChartTar(chartTar os.File)

SetChartTar adds the chartTar to the add releases params

func (*AddReleasesParams) SetContext

func (o *AddReleasesParams) SetContext(ctx context.Context)

SetContext adds the context to the add releases params

func (*AddReleasesParams) SetHTTPClient

func (o *AddReleasesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add releases params

func (*AddReleasesParams) SetLabels

func (o *AddReleasesParams) SetLabels(labels *string)

SetLabels adds the labels to the add releases params

func (*AddReleasesParams) SetName

func (o *AddReleasesParams) SetName(name string)

SetName adds the name to the add releases params

func (*AddReleasesParams) SetNamespace

func (o *AddReleasesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add releases params

func (*AddReleasesParams) SetTimeout

func (o *AddReleasesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add releases params

func (*AddReleasesParams) WithChartTar

func (o *AddReleasesParams) WithChartTar(chartTar os.File) *AddReleasesParams

WithChartTar adds the chartTar to the add releases params

func (*AddReleasesParams) WithContext

func (o *AddReleasesParams) WithContext(ctx context.Context) *AddReleasesParams

WithContext adds the context to the add releases params

func (*AddReleasesParams) WithHTTPClient

func (o *AddReleasesParams) WithHTTPClient(client *http.Client) *AddReleasesParams

WithHTTPClient adds the HTTPClient to the add releases params

func (*AddReleasesParams) WithLabels

func (o *AddReleasesParams) WithLabels(labels *string) *AddReleasesParams

WithLabels adds the labels to the add releases params

func (*AddReleasesParams) WithName

func (o *AddReleasesParams) WithName(name string) *AddReleasesParams

WithName adds the name to the add releases params

func (*AddReleasesParams) WithNamespace

func (o *AddReleasesParams) WithNamespace(namespace string) *AddReleasesParams

WithNamespace adds the namespace to the add releases params

func (*AddReleasesParams) WithTimeout

func (o *AddReleasesParams) WithTimeout(timeout time.Duration) *AddReleasesParams

WithTimeout adds the timeout to the add releases params

func (*AddReleasesParams) WriteToRequest

func (o *AddReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddReleasesReader

type AddReleasesReader struct {
	// contains filtered or unexported fields
}

AddReleasesReader is a Reader for the AddReleases structure.

func (*AddReleasesReader) ReadResponse

func (o *AddReleasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddReleasesUnauthorized

type AddReleasesUnauthorized struct {
	Payload *models.APIResponse
}

AddReleasesUnauthorized handles this case with default header values.

Unauthorized

func NewAddReleasesUnauthorized

func NewAddReleasesUnauthorized() *AddReleasesUnauthorized

NewAddReleasesUnauthorized creates a AddReleasesUnauthorized with default headers values

func (*AddReleasesUnauthorized) Error

func (o *AddReleasesUnauthorized) Error() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for releases API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new releases API client.

func (*Client) AddReleases

func (a *Client) AddReleases(params *AddReleasesParams) (*AddReleasesCreated, error)

AddReleases adds a new release to the clusters

func (*Client) DeleteRelease

func (a *Client) DeleteRelease(params *DeleteReleaseParams) (*DeleteReleaseOK, error)

DeleteRelease deletes release by ID

func (*Client) GetReleaseByID

func (a *Client) GetReleaseByID(params *GetReleaseByIDParams) (*GetReleaseByIDOK, error)

GetReleaseByID finds release by ID

Returns a single release

func (*Client) GetReleases

func (a *Client) GetReleases(params *GetReleasesParams) (*GetReleasesOK, error)

GetReleases returns all releases

Returns a list of releases

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateRelease

func (a *Client) UpdateRelease(params *UpdateReleaseParams) (*UpdateReleaseOK, error)

UpdateRelease updates an existing release

type DeleteReleaseBadRequest

type DeleteReleaseBadRequest struct {
	Payload *models.APIResponse
}

DeleteReleaseBadRequest handles this case with default header values.

Bad Request

func NewDeleteReleaseBadRequest

func NewDeleteReleaseBadRequest() *DeleteReleaseBadRequest

NewDeleteReleaseBadRequest creates a DeleteReleaseBadRequest with default headers values

func (*DeleteReleaseBadRequest) Error

func (o *DeleteReleaseBadRequest) Error() string

type DeleteReleaseInternalServerError

type DeleteReleaseInternalServerError struct {
	Payload *models.APIResponse
}

DeleteReleaseInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteReleaseInternalServerError

func NewDeleteReleaseInternalServerError() *DeleteReleaseInternalServerError

NewDeleteReleaseInternalServerError creates a DeleteReleaseInternalServerError with default headers values

func (*DeleteReleaseInternalServerError) Error

type DeleteReleaseNotFound

type DeleteReleaseNotFound struct {
	Payload *models.APIResponse
}

DeleteReleaseNotFound handles this case with default header values.

The specified resource was not found

func NewDeleteReleaseNotFound

func NewDeleteReleaseNotFound() *DeleteReleaseNotFound

NewDeleteReleaseNotFound creates a DeleteReleaseNotFound with default headers values

func (*DeleteReleaseNotFound) Error

func (o *DeleteReleaseNotFound) Error() string

type DeleteReleaseOK

type DeleteReleaseOK struct {
}

DeleteReleaseOK handles this case with default header values.

OK

func NewDeleteReleaseOK

func NewDeleteReleaseOK() *DeleteReleaseOK

NewDeleteReleaseOK creates a DeleteReleaseOK with default headers values

func (*DeleteReleaseOK) Error

func (o *DeleteReleaseOK) Error() string

type DeleteReleaseParams

type DeleteReleaseParams struct {

	/*Labels
	  The node labels to identify applicable clusters

	*/
	Labels *string
	/*ReleaseID
	  ID of release to return

	*/
	ReleaseID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteReleaseParams contains all the parameters to send to the API endpoint for the delete release operation typically these are written to a http.Request

func NewDeleteReleaseParams

func NewDeleteReleaseParams() *DeleteReleaseParams

NewDeleteReleaseParams creates a new DeleteReleaseParams object with the default values initialized.

func NewDeleteReleaseParamsWithContext

func NewDeleteReleaseParamsWithContext(ctx context.Context) *DeleteReleaseParams

NewDeleteReleaseParamsWithContext creates a new DeleteReleaseParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteReleaseParamsWithHTTPClient

func NewDeleteReleaseParamsWithHTTPClient(client *http.Client) *DeleteReleaseParams

NewDeleteReleaseParamsWithHTTPClient creates a new DeleteReleaseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteReleaseParamsWithTimeout

func NewDeleteReleaseParamsWithTimeout(timeout time.Duration) *DeleteReleaseParams

NewDeleteReleaseParamsWithTimeout creates a new DeleteReleaseParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteReleaseParams) SetContext

func (o *DeleteReleaseParams) SetContext(ctx context.Context)

SetContext adds the context to the delete release params

func (*DeleteReleaseParams) SetHTTPClient

func (o *DeleteReleaseParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) SetLabels

func (o *DeleteReleaseParams) SetLabels(labels *string)

SetLabels adds the labels to the delete release params

func (*DeleteReleaseParams) SetReleaseID

func (o *DeleteReleaseParams) SetReleaseID(releaseID string)

SetReleaseID adds the releaseId to the delete release params

func (*DeleteReleaseParams) SetTimeout

func (o *DeleteReleaseParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete release params

func (*DeleteReleaseParams) WithContext

WithContext adds the context to the delete release params

func (*DeleteReleaseParams) WithHTTPClient

func (o *DeleteReleaseParams) WithHTTPClient(client *http.Client) *DeleteReleaseParams

WithHTTPClient adds the HTTPClient to the delete release params

func (*DeleteReleaseParams) WithLabels

func (o *DeleteReleaseParams) WithLabels(labels *string) *DeleteReleaseParams

WithLabels adds the labels to the delete release params

func (*DeleteReleaseParams) WithReleaseID

func (o *DeleteReleaseParams) WithReleaseID(releaseID string) *DeleteReleaseParams

WithReleaseID adds the releaseID to the delete release params

func (*DeleteReleaseParams) WithTimeout

func (o *DeleteReleaseParams) WithTimeout(timeout time.Duration) *DeleteReleaseParams

WithTimeout adds the timeout to the delete release params

func (*DeleteReleaseParams) WriteToRequest

func (o *DeleteReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteReleaseReader

type DeleteReleaseReader struct {
	// contains filtered or unexported fields
}

DeleteReleaseReader is a Reader for the DeleteRelease structure.

func (*DeleteReleaseReader) ReadResponse

func (o *DeleteReleaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteReleaseUnauthorized

type DeleteReleaseUnauthorized struct {
	Payload *models.APIResponse
}

DeleteReleaseUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteReleaseUnauthorized

func NewDeleteReleaseUnauthorized() *DeleteReleaseUnauthorized

NewDeleteReleaseUnauthorized creates a DeleteReleaseUnauthorized with default headers values

func (*DeleteReleaseUnauthorized) Error

func (o *DeleteReleaseUnauthorized) Error() string

type GetReleaseByIDBadRequest

type GetReleaseByIDBadRequest struct {
	Payload *models.APIResponse
}

GetReleaseByIDBadRequest handles this case with default header values.

Bad Request

func NewGetReleaseByIDBadRequest

func NewGetReleaseByIDBadRequest() *GetReleaseByIDBadRequest

NewGetReleaseByIDBadRequest creates a GetReleaseByIDBadRequest with default headers values

func (*GetReleaseByIDBadRequest) Error

func (o *GetReleaseByIDBadRequest) Error() string

type GetReleaseByIDInternalServerError

type GetReleaseByIDInternalServerError struct {
	Payload *models.APIResponse
}

GetReleaseByIDInternalServerError handles this case with default header values.

Internal Server Error

func NewGetReleaseByIDInternalServerError

func NewGetReleaseByIDInternalServerError() *GetReleaseByIDInternalServerError

NewGetReleaseByIDInternalServerError creates a GetReleaseByIDInternalServerError with default headers values

func (*GetReleaseByIDInternalServerError) Error

type GetReleaseByIDNotFound

type GetReleaseByIDNotFound struct {
	Payload *models.APIResponse
}

GetReleaseByIDNotFound handles this case with default header values.

The specified resource was not found

func NewGetReleaseByIDNotFound

func NewGetReleaseByIDNotFound() *GetReleaseByIDNotFound

NewGetReleaseByIDNotFound creates a GetReleaseByIDNotFound with default headers values

func (*GetReleaseByIDNotFound) Error

func (o *GetReleaseByIDNotFound) Error() string

type GetReleaseByIDOK

type GetReleaseByIDOK struct {
	Payload *models.ReleaseRelease
}

GetReleaseByIDOK handles this case with default header values.

OK

func NewGetReleaseByIDOK

func NewGetReleaseByIDOK() *GetReleaseByIDOK

NewGetReleaseByIDOK creates a GetReleaseByIDOK with default headers values

func (*GetReleaseByIDOK) Error

func (o *GetReleaseByIDOK) Error() string

type GetReleaseByIDParams

type GetReleaseByIDParams struct {

	/*Labels
	  The node labels to identify applicable clusters

	*/
	Labels *string
	/*ReleaseID
	  ID of release to return

	*/
	ReleaseID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReleaseByIDParams contains all the parameters to send to the API endpoint for the get release by Id operation typically these are written to a http.Request

func NewGetReleaseByIDParams

func NewGetReleaseByIDParams() *GetReleaseByIDParams

NewGetReleaseByIDParams creates a new GetReleaseByIDParams object with the default values initialized.

func NewGetReleaseByIDParamsWithContext

func NewGetReleaseByIDParamsWithContext(ctx context.Context) *GetReleaseByIDParams

NewGetReleaseByIDParamsWithContext creates a new GetReleaseByIDParams object with the default values initialized, and the ability to set a context for a request

func NewGetReleaseByIDParamsWithHTTPClient

func NewGetReleaseByIDParamsWithHTTPClient(client *http.Client) *GetReleaseByIDParams

NewGetReleaseByIDParamsWithHTTPClient creates a new GetReleaseByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReleaseByIDParamsWithTimeout

func NewGetReleaseByIDParamsWithTimeout(timeout time.Duration) *GetReleaseByIDParams

NewGetReleaseByIDParamsWithTimeout creates a new GetReleaseByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReleaseByIDParams) SetContext

func (o *GetReleaseByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get release by Id params

func (*GetReleaseByIDParams) SetHTTPClient

func (o *GetReleaseByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get release by Id params

func (*GetReleaseByIDParams) SetLabels

func (o *GetReleaseByIDParams) SetLabels(labels *string)

SetLabels adds the labels to the get release by Id params

func (*GetReleaseByIDParams) SetReleaseID

func (o *GetReleaseByIDParams) SetReleaseID(releaseID string)

SetReleaseID adds the releaseId to the get release by Id params

func (*GetReleaseByIDParams) SetTimeout

func (o *GetReleaseByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get release by Id params

func (*GetReleaseByIDParams) WithContext

WithContext adds the context to the get release by Id params

func (*GetReleaseByIDParams) WithHTTPClient

func (o *GetReleaseByIDParams) WithHTTPClient(client *http.Client) *GetReleaseByIDParams

WithHTTPClient adds the HTTPClient to the get release by Id params

func (*GetReleaseByIDParams) WithLabels

func (o *GetReleaseByIDParams) WithLabels(labels *string) *GetReleaseByIDParams

WithLabels adds the labels to the get release by Id params

func (*GetReleaseByIDParams) WithReleaseID

func (o *GetReleaseByIDParams) WithReleaseID(releaseID string) *GetReleaseByIDParams

WithReleaseID adds the releaseID to the get release by Id params

func (*GetReleaseByIDParams) WithTimeout

func (o *GetReleaseByIDParams) WithTimeout(timeout time.Duration) *GetReleaseByIDParams

WithTimeout adds the timeout to the get release by Id params

func (*GetReleaseByIDParams) WriteToRequest

func (o *GetReleaseByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReleaseByIDReader

type GetReleaseByIDReader struct {
	// contains filtered or unexported fields
}

GetReleaseByIDReader is a Reader for the GetReleaseByID structure.

func (*GetReleaseByIDReader) ReadResponse

func (o *GetReleaseByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetReleaseByIDUnauthorized

type GetReleaseByIDUnauthorized struct {
	Payload *models.APIResponse
}

GetReleaseByIDUnauthorized handles this case with default header values.

Unauthorized

func NewGetReleaseByIDUnauthorized

func NewGetReleaseByIDUnauthorized() *GetReleaseByIDUnauthorized

NewGetReleaseByIDUnauthorized creates a GetReleaseByIDUnauthorized with default headers values

func (*GetReleaseByIDUnauthorized) Error

type GetReleasesBadRequest

type GetReleasesBadRequest struct {
	Payload *models.APIResponse
}

GetReleasesBadRequest handles this case with default header values.

Bad Request

func NewGetReleasesBadRequest

func NewGetReleasesBadRequest() *GetReleasesBadRequest

NewGetReleasesBadRequest creates a GetReleasesBadRequest with default headers values

func (*GetReleasesBadRequest) Error

func (o *GetReleasesBadRequest) Error() string

type GetReleasesInternalServerError

type GetReleasesInternalServerError struct {
	Payload *models.APIResponse
}

GetReleasesInternalServerError handles this case with default header values.

Internal Server Error

func NewGetReleasesInternalServerError

func NewGetReleasesInternalServerError() *GetReleasesInternalServerError

NewGetReleasesInternalServerError creates a GetReleasesInternalServerError with default headers values

func (*GetReleasesInternalServerError) Error

type GetReleasesOK

type GetReleasesOK struct {
	Payload models.GetReleasesOKBody
}

GetReleasesOK handles this case with default header values.

OK

func NewGetReleasesOK

func NewGetReleasesOK() *GetReleasesOK

NewGetReleasesOK creates a GetReleasesOK with default headers values

func (*GetReleasesOK) Error

func (o *GetReleasesOK) Error() string

type GetReleasesParams

type GetReleasesParams struct {

	/*Labels
	  The node labels to identify applicable clusters

	*/
	Labels *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetReleasesParams contains all the parameters to send to the API endpoint for the get releases operation typically these are written to a http.Request

func NewGetReleasesParams

func NewGetReleasesParams() *GetReleasesParams

NewGetReleasesParams creates a new GetReleasesParams object with the default values initialized.

func NewGetReleasesParamsWithContext

func NewGetReleasesParamsWithContext(ctx context.Context) *GetReleasesParams

NewGetReleasesParamsWithContext creates a new GetReleasesParams object with the default values initialized, and the ability to set a context for a request

func NewGetReleasesParamsWithHTTPClient

func NewGetReleasesParamsWithHTTPClient(client *http.Client) *GetReleasesParams

NewGetReleasesParamsWithHTTPClient creates a new GetReleasesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetReleasesParamsWithTimeout

func NewGetReleasesParamsWithTimeout(timeout time.Duration) *GetReleasesParams

NewGetReleasesParamsWithTimeout creates a new GetReleasesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetReleasesParams) SetContext

func (o *GetReleasesParams) SetContext(ctx context.Context)

SetContext adds the context to the get releases params

func (*GetReleasesParams) SetHTTPClient

func (o *GetReleasesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get releases params

func (*GetReleasesParams) SetLabels

func (o *GetReleasesParams) SetLabels(labels *string)

SetLabels adds the labels to the get releases params

func (*GetReleasesParams) SetTimeout

func (o *GetReleasesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get releases params

func (*GetReleasesParams) WithContext

func (o *GetReleasesParams) WithContext(ctx context.Context) *GetReleasesParams

WithContext adds the context to the get releases params

func (*GetReleasesParams) WithHTTPClient

func (o *GetReleasesParams) WithHTTPClient(client *http.Client) *GetReleasesParams

WithHTTPClient adds the HTTPClient to the get releases params

func (*GetReleasesParams) WithLabels

func (o *GetReleasesParams) WithLabels(labels *string) *GetReleasesParams

WithLabels adds the labels to the get releases params

func (*GetReleasesParams) WithTimeout

func (o *GetReleasesParams) WithTimeout(timeout time.Duration) *GetReleasesParams

WithTimeout adds the timeout to the get releases params

func (*GetReleasesParams) WriteToRequest

func (o *GetReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetReleasesReader

type GetReleasesReader struct {
	// contains filtered or unexported fields
}

GetReleasesReader is a Reader for the GetReleases structure.

func (*GetReleasesReader) ReadResponse

func (o *GetReleasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetReleasesUnauthorized

type GetReleasesUnauthorized struct {
	Payload *models.APIResponse
}

GetReleasesUnauthorized handles this case with default header values.

Unauthorized

func NewGetReleasesUnauthorized

func NewGetReleasesUnauthorized() *GetReleasesUnauthorized

NewGetReleasesUnauthorized creates a GetReleasesUnauthorized with default headers values

func (*GetReleasesUnauthorized) Error

func (o *GetReleasesUnauthorized) Error() string

type UpdateReleaseBadRequest

type UpdateReleaseBadRequest struct {
	Payload *models.APIResponse
}

UpdateReleaseBadRequest handles this case with default header values.

Bad Request

func NewUpdateReleaseBadRequest

func NewUpdateReleaseBadRequest() *UpdateReleaseBadRequest

NewUpdateReleaseBadRequest creates a UpdateReleaseBadRequest with default headers values

func (*UpdateReleaseBadRequest) Error

func (o *UpdateReleaseBadRequest) Error() string

type UpdateReleaseInternalServerError

type UpdateReleaseInternalServerError struct {
	Payload *models.APIResponse
}

UpdateReleaseInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateReleaseInternalServerError

func NewUpdateReleaseInternalServerError() *UpdateReleaseInternalServerError

NewUpdateReleaseInternalServerError creates a UpdateReleaseInternalServerError with default headers values

func (*UpdateReleaseInternalServerError) Error

type UpdateReleaseNotFound

type UpdateReleaseNotFound struct {
	Payload *models.APIResponse
}

UpdateReleaseNotFound handles this case with default header values.

The specified resource was not found

func NewUpdateReleaseNotFound

func NewUpdateReleaseNotFound() *UpdateReleaseNotFound

NewUpdateReleaseNotFound creates a UpdateReleaseNotFound with default headers values

func (*UpdateReleaseNotFound) Error

func (o *UpdateReleaseNotFound) Error() string

type UpdateReleaseOK

type UpdateReleaseOK struct {
}

UpdateReleaseOK handles this case with default header values.

OK

func NewUpdateReleaseOK

func NewUpdateReleaseOK() *UpdateReleaseOK

NewUpdateReleaseOK creates a UpdateReleaseOK with default headers values

func (*UpdateReleaseOK) Error

func (o *UpdateReleaseOK) Error() string

type UpdateReleaseParams

type UpdateReleaseParams struct {

	/*ChartTar
	  The file to upload

	*/
	ChartTar os.File
	/*Labels
	  The node labels to identify applicable clusters

	*/
	Labels *string
	/*ReleaseID
	  ID of release to update

	*/
	ReleaseID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateReleaseParams contains all the parameters to send to the API endpoint for the update release operation typically these are written to a http.Request

func NewUpdateReleaseParams

func NewUpdateReleaseParams() *UpdateReleaseParams

NewUpdateReleaseParams creates a new UpdateReleaseParams object with the default values initialized.

func NewUpdateReleaseParamsWithContext

func NewUpdateReleaseParamsWithContext(ctx context.Context) *UpdateReleaseParams

NewUpdateReleaseParamsWithContext creates a new UpdateReleaseParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateReleaseParamsWithHTTPClient

func NewUpdateReleaseParamsWithHTTPClient(client *http.Client) *UpdateReleaseParams

NewUpdateReleaseParamsWithHTTPClient creates a new UpdateReleaseParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateReleaseParamsWithTimeout

func NewUpdateReleaseParamsWithTimeout(timeout time.Duration) *UpdateReleaseParams

NewUpdateReleaseParamsWithTimeout creates a new UpdateReleaseParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateReleaseParams) SetChartTar

func (o *UpdateReleaseParams) SetChartTar(chartTar os.File)

SetChartTar adds the chartTar to the update release params

func (*UpdateReleaseParams) SetContext

func (o *UpdateReleaseParams) SetContext(ctx context.Context)

SetContext adds the context to the update release params

func (*UpdateReleaseParams) SetHTTPClient

func (o *UpdateReleaseParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update release params

func (*UpdateReleaseParams) SetLabels

func (o *UpdateReleaseParams) SetLabels(labels *string)

SetLabels adds the labels to the update release params

func (*UpdateReleaseParams) SetReleaseID

func (o *UpdateReleaseParams) SetReleaseID(releaseID string)

SetReleaseID adds the releaseId to the update release params

func (*UpdateReleaseParams) SetTimeout

func (o *UpdateReleaseParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update release params

func (*UpdateReleaseParams) WithChartTar

func (o *UpdateReleaseParams) WithChartTar(chartTar os.File) *UpdateReleaseParams

WithChartTar adds the chartTar to the update release params

func (*UpdateReleaseParams) WithContext

WithContext adds the context to the update release params

func (*UpdateReleaseParams) WithHTTPClient

func (o *UpdateReleaseParams) WithHTTPClient(client *http.Client) *UpdateReleaseParams

WithHTTPClient adds the HTTPClient to the update release params

func (*UpdateReleaseParams) WithLabels

func (o *UpdateReleaseParams) WithLabels(labels *string) *UpdateReleaseParams

WithLabels adds the labels to the update release params

func (*UpdateReleaseParams) WithReleaseID

func (o *UpdateReleaseParams) WithReleaseID(releaseID string) *UpdateReleaseParams

WithReleaseID adds the releaseID to the update release params

func (*UpdateReleaseParams) WithTimeout

func (o *UpdateReleaseParams) WithTimeout(timeout time.Duration) *UpdateReleaseParams

WithTimeout adds the timeout to the update release params

func (*UpdateReleaseParams) WriteToRequest

func (o *UpdateReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateReleaseReader

type UpdateReleaseReader struct {
	// contains filtered or unexported fields
}

UpdateReleaseReader is a Reader for the UpdateRelease structure.

func (*UpdateReleaseReader) ReadResponse

func (o *UpdateReleaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateReleaseUnauthorized

type UpdateReleaseUnauthorized struct {
	Payload *models.APIResponse
}

UpdateReleaseUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateReleaseUnauthorized

func NewUpdateReleaseUnauthorized() *UpdateReleaseUnauthorized

NewUpdateReleaseUnauthorized creates a UpdateReleaseUnauthorized with default headers values

func (*UpdateReleaseUnauthorized) Error

func (o *UpdateReleaseUnauthorized) Error() string

Jump to

Keyboard shortcuts

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