charts

package
v0.0.110 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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 charts API

func (*Client) DeleteAPIV2ChartsSelector

func (a *Client) DeleteAPIV2ChartsSelector(params *DeleteAPIV2ChartsSelectorParams, opts ...ClientOption) (*DeleteAPIV2ChartsSelectorOK, error)

DeleteAPIV2ChartsSelector deletes a chart entry

Delete an existing Chart entry via one of its "selectors": name or numeric ID.

func (*Client) GetAPIV2Charts

func (a *Client) GetAPIV2Charts(params *GetAPIV2ChartsParams, opts ...ClientOption) (*GetAPIV2ChartsOK, error)

GetAPIV2Charts lists chart entries

List existing Chart entries, ordered by most recently updated.

func (*Client) GetAPIV2ChartsSelector

func (a *Client) GetAPIV2ChartsSelector(params *GetAPIV2ChartsSelectorParams, opts ...ClientOption) (*GetAPIV2ChartsSelectorOK, error)

GetAPIV2ChartsSelector gets a chart entry

Get an existing Chart entry via one of its "selectors": name or numeric ID.

func (*Client) GetAPIV2SelectorsChartsSelector

func (a *Client) GetAPIV2SelectorsChartsSelector(params *GetAPIV2SelectorsChartsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsChartsSelectorOK, error)

GetAPIV2SelectorsChartsSelector lists chart selectors

Validate a given Chart selector and provide any other selectors that would match the same Chart.

func (*Client) PatchAPIV2ChartsSelector

func (a *Client) PatchAPIV2ChartsSelector(params *PatchAPIV2ChartsSelectorParams, opts ...ClientOption) (*PatchAPIV2ChartsSelectorOK, error)

PatchAPIV2ChartsSelector edits a chart entry

Edit an existing Chart entry via one of its "selectors": name or numeric ID. Note that only mutable fields are available here, immutable fields can only be set using /create.

func (*Client) PostAPIV2Charts

func (a *Client) PostAPIV2Charts(params *PostAPIV2ChartsParams, opts ...ClientOption) (*PostAPIV2ChartsOK, *PostAPIV2ChartsCreated, error)

PostAPIV2Charts creates a new chart entry

Create a new Chart entry. Note that some fields are immutable after creation; /edit lists mutable fields.

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 {
	DeleteAPIV2ChartsSelector(params *DeleteAPIV2ChartsSelectorParams, opts ...ClientOption) (*DeleteAPIV2ChartsSelectorOK, error)

	GetAPIV2Charts(params *GetAPIV2ChartsParams, opts ...ClientOption) (*GetAPIV2ChartsOK, error)

	GetAPIV2ChartsSelector(params *GetAPIV2ChartsSelectorParams, opts ...ClientOption) (*GetAPIV2ChartsSelectorOK, error)

	GetAPIV2SelectorsChartsSelector(params *GetAPIV2SelectorsChartsSelectorParams, opts ...ClientOption) (*GetAPIV2SelectorsChartsSelectorOK, error)

	PatchAPIV2ChartsSelector(params *PatchAPIV2ChartsSelectorParams, opts ...ClientOption) (*PatchAPIV2ChartsSelectorOK, error)

	PostAPIV2Charts(params *PostAPIV2ChartsParams, opts ...ClientOption) (*PostAPIV2ChartsOK, *PostAPIV2ChartsCreated, 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 charts API client.

type DeleteAPIV2ChartsSelectorBadRequest

type DeleteAPIV2ChartsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteAPIV2ChartsSelectorBadRequest

func NewDeleteAPIV2ChartsSelectorBadRequest() *DeleteAPIV2ChartsSelectorBadRequest

NewDeleteAPIV2ChartsSelectorBadRequest creates a DeleteAPIV2ChartsSelectorBadRequest with default headers values

func (*DeleteAPIV2ChartsSelectorBadRequest) Error

func (*DeleteAPIV2ChartsSelectorBadRequest) GetPayload

type DeleteAPIV2ChartsSelectorConflict

type DeleteAPIV2ChartsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewDeleteAPIV2ChartsSelectorConflict

func NewDeleteAPIV2ChartsSelectorConflict() *DeleteAPIV2ChartsSelectorConflict

NewDeleteAPIV2ChartsSelectorConflict creates a DeleteAPIV2ChartsSelectorConflict with default headers values

func (*DeleteAPIV2ChartsSelectorConflict) Error

func (*DeleteAPIV2ChartsSelectorConflict) GetPayload

type DeleteAPIV2ChartsSelectorForbidden

type DeleteAPIV2ChartsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteAPIV2ChartsSelectorForbidden

func NewDeleteAPIV2ChartsSelectorForbidden() *DeleteAPIV2ChartsSelectorForbidden

NewDeleteAPIV2ChartsSelectorForbidden creates a DeleteAPIV2ChartsSelectorForbidden with default headers values

func (*DeleteAPIV2ChartsSelectorForbidden) Error

func (*DeleteAPIV2ChartsSelectorForbidden) GetPayload

type DeleteAPIV2ChartsSelectorInternalServerError

type DeleteAPIV2ChartsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewDeleteAPIV2ChartsSelectorInternalServerError

func NewDeleteAPIV2ChartsSelectorInternalServerError() *DeleteAPIV2ChartsSelectorInternalServerError

NewDeleteAPIV2ChartsSelectorInternalServerError creates a DeleteAPIV2ChartsSelectorInternalServerError with default headers values

func (*DeleteAPIV2ChartsSelectorInternalServerError) Error

func (*DeleteAPIV2ChartsSelectorInternalServerError) GetPayload

type DeleteAPIV2ChartsSelectorNotFound

type DeleteAPIV2ChartsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteAPIV2ChartsSelectorNotFound

func NewDeleteAPIV2ChartsSelectorNotFound() *DeleteAPIV2ChartsSelectorNotFound

NewDeleteAPIV2ChartsSelectorNotFound creates a DeleteAPIV2ChartsSelectorNotFound with default headers values

func (*DeleteAPIV2ChartsSelectorNotFound) Error

func (*DeleteAPIV2ChartsSelectorNotFound) GetPayload

type DeleteAPIV2ChartsSelectorOK

type DeleteAPIV2ChartsSelectorOK struct {
	Payload *models.V2controllersChart
}
DeleteAPIV2ChartsSelectorOK describes a response with status code 200, with default header values.

OK

func NewDeleteAPIV2ChartsSelectorOK

func NewDeleteAPIV2ChartsSelectorOK() *DeleteAPIV2ChartsSelectorOK

NewDeleteAPIV2ChartsSelectorOK creates a DeleteAPIV2ChartsSelectorOK with default headers values

func (*DeleteAPIV2ChartsSelectorOK) Error

func (*DeleteAPIV2ChartsSelectorOK) GetPayload

type DeleteAPIV2ChartsSelectorParams

type DeleteAPIV2ChartsSelectorParams struct {

	/* Selector.

	   The Chart to delete's selector: name or numeric ID
	*/
	Selector string

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

DeleteAPIV2ChartsSelectorParams contains all the parameters to send to the API endpoint

for the delete API v2 charts selector operation.

Typically these are written to a http.Request.

func NewDeleteAPIV2ChartsSelectorParams

func NewDeleteAPIV2ChartsSelectorParams() *DeleteAPIV2ChartsSelectorParams

NewDeleteAPIV2ChartsSelectorParams creates a new DeleteAPIV2ChartsSelectorParams 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 NewDeleteAPIV2ChartsSelectorParamsWithContext

func NewDeleteAPIV2ChartsSelectorParamsWithContext(ctx context.Context) *DeleteAPIV2ChartsSelectorParams

NewDeleteAPIV2ChartsSelectorParamsWithContext creates a new DeleteAPIV2ChartsSelectorParams object with the ability to set a context for a request.

func NewDeleteAPIV2ChartsSelectorParamsWithHTTPClient

func NewDeleteAPIV2ChartsSelectorParamsWithHTTPClient(client *http.Client) *DeleteAPIV2ChartsSelectorParams

NewDeleteAPIV2ChartsSelectorParamsWithHTTPClient creates a new DeleteAPIV2ChartsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIV2ChartsSelectorParamsWithTimeout

func NewDeleteAPIV2ChartsSelectorParamsWithTimeout(timeout time.Duration) *DeleteAPIV2ChartsSelectorParams

NewDeleteAPIV2ChartsSelectorParamsWithTimeout creates a new DeleteAPIV2ChartsSelectorParams object with the ability to set a timeout on a request.

func (*DeleteAPIV2ChartsSelectorParams) SetContext

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

SetContext adds the context to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) SetDefaults

func (o *DeleteAPIV2ChartsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the delete API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIV2ChartsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) SetSelector

func (o *DeleteAPIV2ChartsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) WithContext

WithContext adds the context to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) WithDefaults

WithDefaults hydrates default values in the delete API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIV2ChartsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) WithSelector

WithSelector adds the selector to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) WithTimeout

WithTimeout adds the timeout to the delete API v2 charts selector params

func (*DeleteAPIV2ChartsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIV2ChartsSelectorProxyAuthenticationRequired

type DeleteAPIV2ChartsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
DeleteAPIV2ChartsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewDeleteAPIV2ChartsSelectorProxyAuthenticationRequired

func NewDeleteAPIV2ChartsSelectorProxyAuthenticationRequired() *DeleteAPIV2ChartsSelectorProxyAuthenticationRequired

NewDeleteAPIV2ChartsSelectorProxyAuthenticationRequired creates a DeleteAPIV2ChartsSelectorProxyAuthenticationRequired with default headers values

func (*DeleteAPIV2ChartsSelectorProxyAuthenticationRequired) Error

func (*DeleteAPIV2ChartsSelectorProxyAuthenticationRequired) GetPayload

type DeleteAPIV2ChartsSelectorReader

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

DeleteAPIV2ChartsSelectorReader is a Reader for the DeleteAPIV2ChartsSelector structure.

func (*DeleteAPIV2ChartsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2ChartsBadRequest

type GetAPIV2ChartsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2ChartsBadRequest

func NewGetAPIV2ChartsBadRequest() *GetAPIV2ChartsBadRequest

NewGetAPIV2ChartsBadRequest creates a GetAPIV2ChartsBadRequest with default headers values

func (*GetAPIV2ChartsBadRequest) Error

func (o *GetAPIV2ChartsBadRequest) Error() string

func (*GetAPIV2ChartsBadRequest) GetPayload

type GetAPIV2ChartsConflict

type GetAPIV2ChartsConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2ChartsConflict

func NewGetAPIV2ChartsConflict() *GetAPIV2ChartsConflict

NewGetAPIV2ChartsConflict creates a GetAPIV2ChartsConflict with default headers values

func (*GetAPIV2ChartsConflict) Error

func (o *GetAPIV2ChartsConflict) Error() string

func (*GetAPIV2ChartsConflict) GetPayload

type GetAPIV2ChartsForbidden

type GetAPIV2ChartsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2ChartsForbidden

func NewGetAPIV2ChartsForbidden() *GetAPIV2ChartsForbidden

NewGetAPIV2ChartsForbidden creates a GetAPIV2ChartsForbidden with default headers values

func (*GetAPIV2ChartsForbidden) Error

func (o *GetAPIV2ChartsForbidden) Error() string

func (*GetAPIV2ChartsForbidden) GetPayload

type GetAPIV2ChartsInternalServerError

type GetAPIV2ChartsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2ChartsInternalServerError

func NewGetAPIV2ChartsInternalServerError() *GetAPIV2ChartsInternalServerError

NewGetAPIV2ChartsInternalServerError creates a GetAPIV2ChartsInternalServerError with default headers values

func (*GetAPIV2ChartsInternalServerError) Error

func (*GetAPIV2ChartsInternalServerError) GetPayload

type GetAPIV2ChartsNotFound

type GetAPIV2ChartsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2ChartsNotFound

func NewGetAPIV2ChartsNotFound() *GetAPIV2ChartsNotFound

NewGetAPIV2ChartsNotFound creates a GetAPIV2ChartsNotFound with default headers values

func (*GetAPIV2ChartsNotFound) Error

func (o *GetAPIV2ChartsNotFound) Error() string

func (*GetAPIV2ChartsNotFound) GetPayload

type GetAPIV2ChartsOK

type GetAPIV2ChartsOK struct {
	Payload []*models.V2controllersChart
}
GetAPIV2ChartsOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2ChartsOK

func NewGetAPIV2ChartsOK() *GetAPIV2ChartsOK

NewGetAPIV2ChartsOK creates a GetAPIV2ChartsOK with default headers values

func (*GetAPIV2ChartsOK) Error

func (o *GetAPIV2ChartsOK) Error() string

func (*GetAPIV2ChartsOK) GetPayload

func (o *GetAPIV2ChartsOK) GetPayload() []*models.V2controllersChart

type GetAPIV2ChartsParams

type GetAPIV2ChartsParams struct {

	// AppImageGitMainBranch.
	AppImageGitMainBranch *string

	// AppImageGitRepo.
	AppImageGitRepo *string

	/* ChartExposesEndpoint.

	   Indicates if the default subdomain, protocol, and port fields are relevant for this chart
	*/
	ChartExposesEndpoint *bool

	// ChartRepo.
	//
	// Default: "terra-helm"
	ChartRepo *string

	// CreatedAt.
	//
	// Format: date-time
	CreatedAt *strfmt.DateTime

	// DefaultPort.
	//
	// Default: 443
	DefaultPort *int64

	// DefaultProtocol.
	//
	// Default: "https"
	DefaultProtocol *string

	/* DefaultSubdomain.

	   When creating, will default to the name of the chart
	*/
	DefaultSubdomain *string

	// ID.
	ID *int64

	/* LegacyConfigsEnabled.

	   Indicates whether a chart requires config rendering from firecloud-develop
	*/
	LegacyConfigsEnabled *bool

	/* Limit.

	   An optional limit to the number of entries returned
	*/
	Limit *int64

	/* Name.

	   Required when creating
	*/
	Name *string

	// UpdatedAt.
	//
	// Format: date-time
	UpdatedAt *strfmt.DateTime

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

GetAPIV2ChartsParams contains all the parameters to send to the API endpoint

for the get API v2 charts operation.

Typically these are written to a http.Request.

func NewGetAPIV2ChartsParams

func NewGetAPIV2ChartsParams() *GetAPIV2ChartsParams

NewGetAPIV2ChartsParams creates a new GetAPIV2ChartsParams 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 NewGetAPIV2ChartsParamsWithContext

func NewGetAPIV2ChartsParamsWithContext(ctx context.Context) *GetAPIV2ChartsParams

NewGetAPIV2ChartsParamsWithContext creates a new GetAPIV2ChartsParams object with the ability to set a context for a request.

func NewGetAPIV2ChartsParamsWithHTTPClient

func NewGetAPIV2ChartsParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartsParams

NewGetAPIV2ChartsParamsWithHTTPClient creates a new GetAPIV2ChartsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2ChartsParamsWithTimeout

func NewGetAPIV2ChartsParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartsParams

NewGetAPIV2ChartsParamsWithTimeout creates a new GetAPIV2ChartsParams object with the ability to set a timeout on a request.

func (*GetAPIV2ChartsParams) SetAppImageGitMainBranch

func (o *GetAPIV2ChartsParams) SetAppImageGitMainBranch(appImageGitMainBranch *string)

SetAppImageGitMainBranch adds the appImageGitMainBranch to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetAppImageGitRepo

func (o *GetAPIV2ChartsParams) SetAppImageGitRepo(appImageGitRepo *string)

SetAppImageGitRepo adds the appImageGitRepo to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetChartExposesEndpoint added in v0.0.56

func (o *GetAPIV2ChartsParams) SetChartExposesEndpoint(chartExposesEndpoint *bool)

SetChartExposesEndpoint adds the chartExposesEndpoint to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetChartRepo

func (o *GetAPIV2ChartsParams) SetChartRepo(chartRepo *string)

SetChartRepo adds the chartRepo to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetContext

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

SetContext adds the context to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetCreatedAt

func (o *GetAPIV2ChartsParams) SetCreatedAt(createdAt *strfmt.DateTime)

SetCreatedAt adds the createdAt to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetDefaultPort added in v0.0.55

func (o *GetAPIV2ChartsParams) SetDefaultPort(defaultPort *int64)

SetDefaultPort adds the defaultPort to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetDefaultProtocol added in v0.0.55

func (o *GetAPIV2ChartsParams) SetDefaultProtocol(defaultProtocol *string)

SetDefaultProtocol adds the defaultProtocol to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetDefaultSubdomain added in v0.0.55

func (o *GetAPIV2ChartsParams) SetDefaultSubdomain(defaultSubdomain *string)

SetDefaultSubdomain adds the defaultSubdomain to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetDefaults

func (o *GetAPIV2ChartsParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 charts params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2ChartsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetID

func (o *GetAPIV2ChartsParams) SetID(id *int64)

SetID adds the id to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetLegacyConfigsEnabled added in v0.0.64

func (o *GetAPIV2ChartsParams) SetLegacyConfigsEnabled(legacyConfigsEnabled *bool)

SetLegacyConfigsEnabled adds the legacyConfigsEnabled to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetLimit

func (o *GetAPIV2ChartsParams) SetLimit(limit *int64)

SetLimit adds the limit to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetName

func (o *GetAPIV2ChartsParams) SetName(name *string)

SetName adds the name to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 charts params

func (*GetAPIV2ChartsParams) SetUpdatedAt

func (o *GetAPIV2ChartsParams) SetUpdatedAt(updatedAt *strfmt.DateTime)

SetUpdatedAt adds the updatedAt to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithAppImageGitMainBranch

func (o *GetAPIV2ChartsParams) WithAppImageGitMainBranch(appImageGitMainBranch *string) *GetAPIV2ChartsParams

WithAppImageGitMainBranch adds the appImageGitMainBranch to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithAppImageGitRepo

func (o *GetAPIV2ChartsParams) WithAppImageGitRepo(appImageGitRepo *string) *GetAPIV2ChartsParams

WithAppImageGitRepo adds the appImageGitRepo to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithChartExposesEndpoint added in v0.0.56

func (o *GetAPIV2ChartsParams) WithChartExposesEndpoint(chartExposesEndpoint *bool) *GetAPIV2ChartsParams

WithChartExposesEndpoint adds the chartExposesEndpoint to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithChartRepo

func (o *GetAPIV2ChartsParams) WithChartRepo(chartRepo *string) *GetAPIV2ChartsParams

WithChartRepo adds the chartRepo to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithContext

WithContext adds the context to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithCreatedAt

func (o *GetAPIV2ChartsParams) WithCreatedAt(createdAt *strfmt.DateTime) *GetAPIV2ChartsParams

WithCreatedAt adds the createdAt to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithDefaultPort added in v0.0.55

func (o *GetAPIV2ChartsParams) WithDefaultPort(defaultPort *int64) *GetAPIV2ChartsParams

WithDefaultPort adds the defaultPort to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithDefaultProtocol added in v0.0.55

func (o *GetAPIV2ChartsParams) WithDefaultProtocol(defaultProtocol *string) *GetAPIV2ChartsParams

WithDefaultProtocol adds the defaultProtocol to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithDefaultSubdomain added in v0.0.55

func (o *GetAPIV2ChartsParams) WithDefaultSubdomain(defaultSubdomain *string) *GetAPIV2ChartsParams

WithDefaultSubdomain adds the defaultSubdomain to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithDefaults

func (o *GetAPIV2ChartsParams) WithDefaults() *GetAPIV2ChartsParams

WithDefaults hydrates default values in the get API v2 charts params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2ChartsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithID

WithID adds the id to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithLegacyConfigsEnabled added in v0.0.64

func (o *GetAPIV2ChartsParams) WithLegacyConfigsEnabled(legacyConfigsEnabled *bool) *GetAPIV2ChartsParams

WithLegacyConfigsEnabled adds the legacyConfigsEnabled to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithLimit

func (o *GetAPIV2ChartsParams) WithLimit(limit *int64) *GetAPIV2ChartsParams

WithLimit adds the limit to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithName

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

WithName adds the name to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithTimeout

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

WithTimeout adds the timeout to the get API v2 charts params

func (*GetAPIV2ChartsParams) WithUpdatedAt

func (o *GetAPIV2ChartsParams) WithUpdatedAt(updatedAt *strfmt.DateTime) *GetAPIV2ChartsParams

WithUpdatedAt adds the updatedAt to the get API v2 charts params

func (*GetAPIV2ChartsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIV2ChartsProxyAuthenticationRequired

type GetAPIV2ChartsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2ChartsProxyAuthenticationRequired

func NewGetAPIV2ChartsProxyAuthenticationRequired() *GetAPIV2ChartsProxyAuthenticationRequired

NewGetAPIV2ChartsProxyAuthenticationRequired creates a GetAPIV2ChartsProxyAuthenticationRequired with default headers values

func (*GetAPIV2ChartsProxyAuthenticationRequired) Error

func (*GetAPIV2ChartsProxyAuthenticationRequired) GetPayload

type GetAPIV2ChartsReader

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

GetAPIV2ChartsReader is a Reader for the GetAPIV2Charts structure.

func (*GetAPIV2ChartsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2ChartsSelectorBadRequest

type GetAPIV2ChartsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2ChartsSelectorBadRequest

func NewGetAPIV2ChartsSelectorBadRequest() *GetAPIV2ChartsSelectorBadRequest

NewGetAPIV2ChartsSelectorBadRequest creates a GetAPIV2ChartsSelectorBadRequest with default headers values

func (*GetAPIV2ChartsSelectorBadRequest) Error

func (*GetAPIV2ChartsSelectorBadRequest) GetPayload

type GetAPIV2ChartsSelectorConflict

type GetAPIV2ChartsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2ChartsSelectorConflict

func NewGetAPIV2ChartsSelectorConflict() *GetAPIV2ChartsSelectorConflict

NewGetAPIV2ChartsSelectorConflict creates a GetAPIV2ChartsSelectorConflict with default headers values

func (*GetAPIV2ChartsSelectorConflict) Error

func (*GetAPIV2ChartsSelectorConflict) GetPayload

type GetAPIV2ChartsSelectorForbidden

type GetAPIV2ChartsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2ChartsSelectorForbidden

func NewGetAPIV2ChartsSelectorForbidden() *GetAPIV2ChartsSelectorForbidden

NewGetAPIV2ChartsSelectorForbidden creates a GetAPIV2ChartsSelectorForbidden with default headers values

func (*GetAPIV2ChartsSelectorForbidden) Error

func (*GetAPIV2ChartsSelectorForbidden) GetPayload

type GetAPIV2ChartsSelectorInternalServerError

type GetAPIV2ChartsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2ChartsSelectorInternalServerError

func NewGetAPIV2ChartsSelectorInternalServerError() *GetAPIV2ChartsSelectorInternalServerError

NewGetAPIV2ChartsSelectorInternalServerError creates a GetAPIV2ChartsSelectorInternalServerError with default headers values

func (*GetAPIV2ChartsSelectorInternalServerError) Error

func (*GetAPIV2ChartsSelectorInternalServerError) GetPayload

type GetAPIV2ChartsSelectorNotFound

type GetAPIV2ChartsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2ChartsSelectorNotFound

func NewGetAPIV2ChartsSelectorNotFound() *GetAPIV2ChartsSelectorNotFound

NewGetAPIV2ChartsSelectorNotFound creates a GetAPIV2ChartsSelectorNotFound with default headers values

func (*GetAPIV2ChartsSelectorNotFound) Error

func (*GetAPIV2ChartsSelectorNotFound) GetPayload

type GetAPIV2ChartsSelectorOK

type GetAPIV2ChartsSelectorOK struct {
	Payload *models.V2controllersChart
}
GetAPIV2ChartsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2ChartsSelectorOK

func NewGetAPIV2ChartsSelectorOK() *GetAPIV2ChartsSelectorOK

NewGetAPIV2ChartsSelectorOK creates a GetAPIV2ChartsSelectorOK with default headers values

func (*GetAPIV2ChartsSelectorOK) Error

func (o *GetAPIV2ChartsSelectorOK) Error() string

func (*GetAPIV2ChartsSelectorOK) GetPayload

type GetAPIV2ChartsSelectorParams

type GetAPIV2ChartsSelectorParams struct {

	/* Selector.

	   The Chart to get's selector: name or numeric ID
	*/
	Selector string

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

GetAPIV2ChartsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 charts selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2ChartsSelectorParams

func NewGetAPIV2ChartsSelectorParams() *GetAPIV2ChartsSelectorParams

NewGetAPIV2ChartsSelectorParams creates a new GetAPIV2ChartsSelectorParams 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 NewGetAPIV2ChartsSelectorParamsWithContext

func NewGetAPIV2ChartsSelectorParamsWithContext(ctx context.Context) *GetAPIV2ChartsSelectorParams

NewGetAPIV2ChartsSelectorParamsWithContext creates a new GetAPIV2ChartsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2ChartsSelectorParamsWithHTTPClient

func NewGetAPIV2ChartsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2ChartsSelectorParams

NewGetAPIV2ChartsSelectorParamsWithHTTPClient creates a new GetAPIV2ChartsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2ChartsSelectorParamsWithTimeout

func NewGetAPIV2ChartsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2ChartsSelectorParams

NewGetAPIV2ChartsSelectorParamsWithTimeout creates a new GetAPIV2ChartsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2ChartsSelectorParams) SetContext

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

SetContext adds the context to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) SetDefaults

func (o *GetAPIV2ChartsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2ChartsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) SetSelector

func (o *GetAPIV2ChartsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) WithContext

WithContext adds the context to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2ChartsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 charts selector params

func (*GetAPIV2ChartsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2ChartsSelectorProxyAuthenticationRequired

type GetAPIV2ChartsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2ChartsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2ChartsSelectorProxyAuthenticationRequired

func NewGetAPIV2ChartsSelectorProxyAuthenticationRequired() *GetAPIV2ChartsSelectorProxyAuthenticationRequired

NewGetAPIV2ChartsSelectorProxyAuthenticationRequired creates a GetAPIV2ChartsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2ChartsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2ChartsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2ChartsSelectorReader

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

GetAPIV2ChartsSelectorReader is a Reader for the GetAPIV2ChartsSelector structure.

func (*GetAPIV2ChartsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIV2SelectorsChartsSelectorBadRequest

type GetAPIV2SelectorsChartsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewGetAPIV2SelectorsChartsSelectorBadRequest

func NewGetAPIV2SelectorsChartsSelectorBadRequest() *GetAPIV2SelectorsChartsSelectorBadRequest

NewGetAPIV2SelectorsChartsSelectorBadRequest creates a GetAPIV2SelectorsChartsSelectorBadRequest with default headers values

func (*GetAPIV2SelectorsChartsSelectorBadRequest) Error

func (*GetAPIV2SelectorsChartsSelectorBadRequest) GetPayload

type GetAPIV2SelectorsChartsSelectorConflict

type GetAPIV2SelectorsChartsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewGetAPIV2SelectorsChartsSelectorConflict

func NewGetAPIV2SelectorsChartsSelectorConflict() *GetAPIV2SelectorsChartsSelectorConflict

NewGetAPIV2SelectorsChartsSelectorConflict creates a GetAPIV2SelectorsChartsSelectorConflict with default headers values

func (*GetAPIV2SelectorsChartsSelectorConflict) Error

func (*GetAPIV2SelectorsChartsSelectorConflict) GetPayload

type GetAPIV2SelectorsChartsSelectorForbidden

type GetAPIV2SelectorsChartsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAPIV2SelectorsChartsSelectorForbidden

func NewGetAPIV2SelectorsChartsSelectorForbidden() *GetAPIV2SelectorsChartsSelectorForbidden

NewGetAPIV2SelectorsChartsSelectorForbidden creates a GetAPIV2SelectorsChartsSelectorForbidden with default headers values

func (*GetAPIV2SelectorsChartsSelectorForbidden) Error

func (*GetAPIV2SelectorsChartsSelectorForbidden) GetPayload

type GetAPIV2SelectorsChartsSelectorInternalServerError

type GetAPIV2SelectorsChartsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAPIV2SelectorsChartsSelectorInternalServerError

func NewGetAPIV2SelectorsChartsSelectorInternalServerError() *GetAPIV2SelectorsChartsSelectorInternalServerError

NewGetAPIV2SelectorsChartsSelectorInternalServerError creates a GetAPIV2SelectorsChartsSelectorInternalServerError with default headers values

func (*GetAPIV2SelectorsChartsSelectorInternalServerError) Error

func (*GetAPIV2SelectorsChartsSelectorInternalServerError) GetPayload

type GetAPIV2SelectorsChartsSelectorNotFound

type GetAPIV2SelectorsChartsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetAPIV2SelectorsChartsSelectorNotFound

func NewGetAPIV2SelectorsChartsSelectorNotFound() *GetAPIV2SelectorsChartsSelectorNotFound

NewGetAPIV2SelectorsChartsSelectorNotFound creates a GetAPIV2SelectorsChartsSelectorNotFound with default headers values

func (*GetAPIV2SelectorsChartsSelectorNotFound) Error

func (*GetAPIV2SelectorsChartsSelectorNotFound) GetPayload

type GetAPIV2SelectorsChartsSelectorOK

type GetAPIV2SelectorsChartsSelectorOK struct {
	Payload []string
}
GetAPIV2SelectorsChartsSelectorOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV2SelectorsChartsSelectorOK

func NewGetAPIV2SelectorsChartsSelectorOK() *GetAPIV2SelectorsChartsSelectorOK

NewGetAPIV2SelectorsChartsSelectorOK creates a GetAPIV2SelectorsChartsSelectorOK with default headers values

func (*GetAPIV2SelectorsChartsSelectorOK) Error

func (*GetAPIV2SelectorsChartsSelectorOK) GetPayload

func (o *GetAPIV2SelectorsChartsSelectorOK) GetPayload() []string

type GetAPIV2SelectorsChartsSelectorParams

type GetAPIV2SelectorsChartsSelectorParams struct {

	/* Selector.

	   The selector of the Chart to list other selectors for
	*/
	Selector string

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

GetAPIV2SelectorsChartsSelectorParams contains all the parameters to send to the API endpoint

for the get API v2 selectors charts selector operation.

Typically these are written to a http.Request.

func NewGetAPIV2SelectorsChartsSelectorParams

func NewGetAPIV2SelectorsChartsSelectorParams() *GetAPIV2SelectorsChartsSelectorParams

NewGetAPIV2SelectorsChartsSelectorParams creates a new GetAPIV2SelectorsChartsSelectorParams 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 NewGetAPIV2SelectorsChartsSelectorParamsWithContext

func NewGetAPIV2SelectorsChartsSelectorParamsWithContext(ctx context.Context) *GetAPIV2SelectorsChartsSelectorParams

NewGetAPIV2SelectorsChartsSelectorParamsWithContext creates a new GetAPIV2SelectorsChartsSelectorParams object with the ability to set a context for a request.

func NewGetAPIV2SelectorsChartsSelectorParamsWithHTTPClient

func NewGetAPIV2SelectorsChartsSelectorParamsWithHTTPClient(client *http.Client) *GetAPIV2SelectorsChartsSelectorParams

NewGetAPIV2SelectorsChartsSelectorParamsWithHTTPClient creates a new GetAPIV2SelectorsChartsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV2SelectorsChartsSelectorParamsWithTimeout

func NewGetAPIV2SelectorsChartsSelectorParamsWithTimeout(timeout time.Duration) *GetAPIV2SelectorsChartsSelectorParams

NewGetAPIV2SelectorsChartsSelectorParamsWithTimeout creates a new GetAPIV2SelectorsChartsSelectorParams object with the ability to set a timeout on a request.

func (*GetAPIV2SelectorsChartsSelectorParams) SetContext

SetContext adds the context to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) SetDefaults

func (o *GetAPIV2SelectorsChartsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the get API v2 selectors charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2SelectorsChartsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) SetSelector

func (o *GetAPIV2SelectorsChartsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) WithContext

WithContext adds the context to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) WithDefaults

WithDefaults hydrates default values in the get API v2 selectors charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIV2SelectorsChartsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) WithSelector

WithSelector adds the selector to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) WithTimeout

WithTimeout adds the timeout to the get API v2 selectors charts selector params

func (*GetAPIV2SelectorsChartsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired

type GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewGetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired

func NewGetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired() *GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired

NewGetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired creates a GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired with default headers values

func (*GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired) Error

func (*GetAPIV2SelectorsChartsSelectorProxyAuthenticationRequired) GetPayload

type GetAPIV2SelectorsChartsSelectorReader

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

GetAPIV2SelectorsChartsSelectorReader is a Reader for the GetAPIV2SelectorsChartsSelector structure.

func (*GetAPIV2SelectorsChartsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIV2ChartsSelectorBadRequest

type PatchAPIV2ChartsSelectorBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPatchAPIV2ChartsSelectorBadRequest

func NewPatchAPIV2ChartsSelectorBadRequest() *PatchAPIV2ChartsSelectorBadRequest

NewPatchAPIV2ChartsSelectorBadRequest creates a PatchAPIV2ChartsSelectorBadRequest with default headers values

func (*PatchAPIV2ChartsSelectorBadRequest) Error

func (*PatchAPIV2ChartsSelectorBadRequest) GetPayload

type PatchAPIV2ChartsSelectorConflict

type PatchAPIV2ChartsSelectorConflict struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorConflict describes a response with status code 409, with default header values.

Conflict

func NewPatchAPIV2ChartsSelectorConflict

func NewPatchAPIV2ChartsSelectorConflict() *PatchAPIV2ChartsSelectorConflict

NewPatchAPIV2ChartsSelectorConflict creates a PatchAPIV2ChartsSelectorConflict with default headers values

func (*PatchAPIV2ChartsSelectorConflict) Error

func (*PatchAPIV2ChartsSelectorConflict) GetPayload

type PatchAPIV2ChartsSelectorForbidden

type PatchAPIV2ChartsSelectorForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPatchAPIV2ChartsSelectorForbidden

func NewPatchAPIV2ChartsSelectorForbidden() *PatchAPIV2ChartsSelectorForbidden

NewPatchAPIV2ChartsSelectorForbidden creates a PatchAPIV2ChartsSelectorForbidden with default headers values

func (*PatchAPIV2ChartsSelectorForbidden) Error

func (*PatchAPIV2ChartsSelectorForbidden) GetPayload

type PatchAPIV2ChartsSelectorInternalServerError

type PatchAPIV2ChartsSelectorInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPatchAPIV2ChartsSelectorInternalServerError

func NewPatchAPIV2ChartsSelectorInternalServerError() *PatchAPIV2ChartsSelectorInternalServerError

NewPatchAPIV2ChartsSelectorInternalServerError creates a PatchAPIV2ChartsSelectorInternalServerError with default headers values

func (*PatchAPIV2ChartsSelectorInternalServerError) Error

func (*PatchAPIV2ChartsSelectorInternalServerError) GetPayload

type PatchAPIV2ChartsSelectorNotFound

type PatchAPIV2ChartsSelectorNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorNotFound describes a response with status code 404, with default header values.

Not Found

func NewPatchAPIV2ChartsSelectorNotFound

func NewPatchAPIV2ChartsSelectorNotFound() *PatchAPIV2ChartsSelectorNotFound

NewPatchAPIV2ChartsSelectorNotFound creates a PatchAPIV2ChartsSelectorNotFound with default headers values

func (*PatchAPIV2ChartsSelectorNotFound) Error

func (*PatchAPIV2ChartsSelectorNotFound) GetPayload

type PatchAPIV2ChartsSelectorOK

type PatchAPIV2ChartsSelectorOK struct {
	Payload *models.V2controllersChart
}
PatchAPIV2ChartsSelectorOK describes a response with status code 200, with default header values.

OK

func NewPatchAPIV2ChartsSelectorOK

func NewPatchAPIV2ChartsSelectorOK() *PatchAPIV2ChartsSelectorOK

NewPatchAPIV2ChartsSelectorOK creates a PatchAPIV2ChartsSelectorOK with default headers values

func (*PatchAPIV2ChartsSelectorOK) Error

func (*PatchAPIV2ChartsSelectorOK) GetPayload

type PatchAPIV2ChartsSelectorParams

type PatchAPIV2ChartsSelectorParams struct {

	/* Chart.

	   The edits to make to the Chart
	*/
	Chart *models.V2controllersEditableChart

	/* Selector.

	   The Chart to edit's selector: name or numeric ID
	*/
	Selector string

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

PatchAPIV2ChartsSelectorParams contains all the parameters to send to the API endpoint

for the patch API v2 charts selector operation.

Typically these are written to a http.Request.

func NewPatchAPIV2ChartsSelectorParams

func NewPatchAPIV2ChartsSelectorParams() *PatchAPIV2ChartsSelectorParams

NewPatchAPIV2ChartsSelectorParams creates a new PatchAPIV2ChartsSelectorParams 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 NewPatchAPIV2ChartsSelectorParamsWithContext

func NewPatchAPIV2ChartsSelectorParamsWithContext(ctx context.Context) *PatchAPIV2ChartsSelectorParams

NewPatchAPIV2ChartsSelectorParamsWithContext creates a new PatchAPIV2ChartsSelectorParams object with the ability to set a context for a request.

func NewPatchAPIV2ChartsSelectorParamsWithHTTPClient

func NewPatchAPIV2ChartsSelectorParamsWithHTTPClient(client *http.Client) *PatchAPIV2ChartsSelectorParams

NewPatchAPIV2ChartsSelectorParamsWithHTTPClient creates a new PatchAPIV2ChartsSelectorParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIV2ChartsSelectorParamsWithTimeout

func NewPatchAPIV2ChartsSelectorParamsWithTimeout(timeout time.Duration) *PatchAPIV2ChartsSelectorParams

NewPatchAPIV2ChartsSelectorParamsWithTimeout creates a new PatchAPIV2ChartsSelectorParams object with the ability to set a timeout on a request.

func (*PatchAPIV2ChartsSelectorParams) SetChart

SetChart adds the chart to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) SetContext

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

SetContext adds the context to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) SetDefaults

func (o *PatchAPIV2ChartsSelectorParams) SetDefaults()

SetDefaults hydrates default values in the patch API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIV2ChartsSelectorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) SetSelector

func (o *PatchAPIV2ChartsSelectorParams) SetSelector(selector string)

SetSelector adds the selector to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) SetTimeout

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

SetTimeout adds the timeout to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WithChart

WithChart adds the chart to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WithContext

WithContext adds the context to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WithDefaults

WithDefaults hydrates default values in the patch API v2 charts selector params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIV2ChartsSelectorParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WithSelector

WithSelector adds the selector to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WithTimeout

WithTimeout adds the timeout to the patch API v2 charts selector params

func (*PatchAPIV2ChartsSelectorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIV2ChartsSelectorProxyAuthenticationRequired

type PatchAPIV2ChartsSelectorProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PatchAPIV2ChartsSelectorProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPatchAPIV2ChartsSelectorProxyAuthenticationRequired

func NewPatchAPIV2ChartsSelectorProxyAuthenticationRequired() *PatchAPIV2ChartsSelectorProxyAuthenticationRequired

NewPatchAPIV2ChartsSelectorProxyAuthenticationRequired creates a PatchAPIV2ChartsSelectorProxyAuthenticationRequired with default headers values

func (*PatchAPIV2ChartsSelectorProxyAuthenticationRequired) Error

func (*PatchAPIV2ChartsSelectorProxyAuthenticationRequired) GetPayload

type PatchAPIV2ChartsSelectorReader

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

PatchAPIV2ChartsSelectorReader is a Reader for the PatchAPIV2ChartsSelector structure.

func (*PatchAPIV2ChartsSelectorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIV2ChartsBadRequest

type PostAPIV2ChartsBadRequest struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewPostAPIV2ChartsBadRequest

func NewPostAPIV2ChartsBadRequest() *PostAPIV2ChartsBadRequest

NewPostAPIV2ChartsBadRequest creates a PostAPIV2ChartsBadRequest with default headers values

func (*PostAPIV2ChartsBadRequest) Error

func (o *PostAPIV2ChartsBadRequest) Error() string

func (*PostAPIV2ChartsBadRequest) GetPayload

type PostAPIV2ChartsConflict

type PostAPIV2ChartsConflict struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsConflict describes a response with status code 409, with default header values.

Conflict

func NewPostAPIV2ChartsConflict

func NewPostAPIV2ChartsConflict() *PostAPIV2ChartsConflict

NewPostAPIV2ChartsConflict creates a PostAPIV2ChartsConflict with default headers values

func (*PostAPIV2ChartsConflict) Error

func (o *PostAPIV2ChartsConflict) Error() string

func (*PostAPIV2ChartsConflict) GetPayload

type PostAPIV2ChartsCreated added in v0.0.29

type PostAPIV2ChartsCreated struct {
	Payload *models.V2controllersChart
}
PostAPIV2ChartsCreated describes a response with status code 201, with default header values.

Created

func NewPostAPIV2ChartsCreated added in v0.0.29

func NewPostAPIV2ChartsCreated() *PostAPIV2ChartsCreated

NewPostAPIV2ChartsCreated creates a PostAPIV2ChartsCreated with default headers values

func (*PostAPIV2ChartsCreated) Error added in v0.0.29

func (o *PostAPIV2ChartsCreated) Error() string

func (*PostAPIV2ChartsCreated) GetPayload added in v0.0.29

type PostAPIV2ChartsForbidden

type PostAPIV2ChartsForbidden struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPostAPIV2ChartsForbidden

func NewPostAPIV2ChartsForbidden() *PostAPIV2ChartsForbidden

NewPostAPIV2ChartsForbidden creates a PostAPIV2ChartsForbidden with default headers values

func (*PostAPIV2ChartsForbidden) Error

func (o *PostAPIV2ChartsForbidden) Error() string

func (*PostAPIV2ChartsForbidden) GetPayload

type PostAPIV2ChartsInternalServerError

type PostAPIV2ChartsInternalServerError struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewPostAPIV2ChartsInternalServerError

func NewPostAPIV2ChartsInternalServerError() *PostAPIV2ChartsInternalServerError

NewPostAPIV2ChartsInternalServerError creates a PostAPIV2ChartsInternalServerError with default headers values

func (*PostAPIV2ChartsInternalServerError) Error

func (*PostAPIV2ChartsInternalServerError) GetPayload

type PostAPIV2ChartsNotFound

type PostAPIV2ChartsNotFound struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsNotFound describes a response with status code 404, with default header values.

Not Found

func NewPostAPIV2ChartsNotFound

func NewPostAPIV2ChartsNotFound() *PostAPIV2ChartsNotFound

NewPostAPIV2ChartsNotFound creates a PostAPIV2ChartsNotFound with default headers values

func (*PostAPIV2ChartsNotFound) Error

func (o *PostAPIV2ChartsNotFound) Error() string

func (*PostAPIV2ChartsNotFound) GetPayload

type PostAPIV2ChartsOK

type PostAPIV2ChartsOK struct {
	Payload *models.V2controllersChart
}
PostAPIV2ChartsOK describes a response with status code 200, with default header values.

OK

func NewPostAPIV2ChartsOK

func NewPostAPIV2ChartsOK() *PostAPIV2ChartsOK

NewPostAPIV2ChartsOK creates a PostAPIV2ChartsOK with default headers values

func (*PostAPIV2ChartsOK) Error

func (o *PostAPIV2ChartsOK) Error() string

func (*PostAPIV2ChartsOK) GetPayload

func (o *PostAPIV2ChartsOK) GetPayload() *models.V2controllersChart

type PostAPIV2ChartsParams

type PostAPIV2ChartsParams struct {

	/* Chart.

	   The Chart to create
	*/
	Chart *models.V2controllersCreatableChart

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

PostAPIV2ChartsParams contains all the parameters to send to the API endpoint

for the post API v2 charts operation.

Typically these are written to a http.Request.

func NewPostAPIV2ChartsParams

func NewPostAPIV2ChartsParams() *PostAPIV2ChartsParams

NewPostAPIV2ChartsParams creates a new PostAPIV2ChartsParams 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 NewPostAPIV2ChartsParamsWithContext

func NewPostAPIV2ChartsParamsWithContext(ctx context.Context) *PostAPIV2ChartsParams

NewPostAPIV2ChartsParamsWithContext creates a new PostAPIV2ChartsParams object with the ability to set a context for a request.

func NewPostAPIV2ChartsParamsWithHTTPClient

func NewPostAPIV2ChartsParamsWithHTTPClient(client *http.Client) *PostAPIV2ChartsParams

NewPostAPIV2ChartsParamsWithHTTPClient creates a new PostAPIV2ChartsParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIV2ChartsParamsWithTimeout

func NewPostAPIV2ChartsParamsWithTimeout(timeout time.Duration) *PostAPIV2ChartsParams

NewPostAPIV2ChartsParamsWithTimeout creates a new PostAPIV2ChartsParams object with the ability to set a timeout on a request.

func (*PostAPIV2ChartsParams) SetChart

SetChart adds the chart to the post API v2 charts params

func (*PostAPIV2ChartsParams) SetContext

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

SetContext adds the context to the post API v2 charts params

func (*PostAPIV2ChartsParams) SetDefaults

func (o *PostAPIV2ChartsParams) SetDefaults()

SetDefaults hydrates default values in the post API v2 charts params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV2ChartsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API v2 charts params

func (*PostAPIV2ChartsParams) SetTimeout

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

SetTimeout adds the timeout to the post API v2 charts params

func (*PostAPIV2ChartsParams) WithChart

WithChart adds the chart to the post API v2 charts params

func (*PostAPIV2ChartsParams) WithContext

WithContext adds the context to the post API v2 charts params

func (*PostAPIV2ChartsParams) WithDefaults

func (o *PostAPIV2ChartsParams) WithDefaults() *PostAPIV2ChartsParams

WithDefaults hydrates default values in the post API v2 charts params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIV2ChartsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API v2 charts params

func (*PostAPIV2ChartsParams) WithTimeout

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

WithTimeout adds the timeout to the post API v2 charts params

func (*PostAPIV2ChartsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostAPIV2ChartsProxyAuthenticationRequired

type PostAPIV2ChartsProxyAuthenticationRequired struct {
	Payload *models.ErrorsErrorResponse
}
PostAPIV2ChartsProxyAuthenticationRequired describes a response with status code 407, with default header values.

Proxy Authentication Required

func NewPostAPIV2ChartsProxyAuthenticationRequired

func NewPostAPIV2ChartsProxyAuthenticationRequired() *PostAPIV2ChartsProxyAuthenticationRequired

NewPostAPIV2ChartsProxyAuthenticationRequired creates a PostAPIV2ChartsProxyAuthenticationRequired with default headers values

func (*PostAPIV2ChartsProxyAuthenticationRequired) Error

func (*PostAPIV2ChartsProxyAuthenticationRequired) GetPayload

type PostAPIV2ChartsReader

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

PostAPIV2ChartsReader is a Reader for the PostAPIV2Charts structure.

func (*PostAPIV2ChartsReader) ReadResponse

func (o *PostAPIV2ChartsReader) 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