verifications

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptTextEventStream

func WithAcceptTextEventStream(r *runtime.ClientOperation)

WithAcceptTextEventStream sets the Accept header to "text/event-stream".

Types

type AbortVerificationOK

type AbortVerificationOK struct {
}

AbortVerificationOK describes a response with status code 200, with default header values.

Success

func NewAbortVerificationOK

func NewAbortVerificationOK() *AbortVerificationOK

NewAbortVerificationOK creates a AbortVerificationOK with default headers values

func (*AbortVerificationOK) Code

func (o *AbortVerificationOK) Code() int

Code gets the status code for the abort verification o k response

func (*AbortVerificationOK) Error

func (o *AbortVerificationOK) Error() string

func (*AbortVerificationOK) IsClientError

func (o *AbortVerificationOK) IsClientError() bool

IsClientError returns true when this abort verification o k response has a 4xx status code

func (*AbortVerificationOK) IsCode

func (o *AbortVerificationOK) IsCode(code int) bool

IsCode returns true when this abort verification o k response a status code equal to that given

func (*AbortVerificationOK) IsRedirect

func (o *AbortVerificationOK) IsRedirect() bool

IsRedirect returns true when this abort verification o k response has a 3xx status code

func (*AbortVerificationOK) IsServerError

func (o *AbortVerificationOK) IsServerError() bool

IsServerError returns true when this abort verification o k response has a 5xx status code

func (*AbortVerificationOK) IsSuccess

func (o *AbortVerificationOK) IsSuccess() bool

IsSuccess returns true when this abort verification o k response has a 2xx status code

func (*AbortVerificationOK) String

func (o *AbortVerificationOK) String() string

type AbortVerificationParams

type AbortVerificationParams struct {

	/* Project.

	   Project name
	*/
	Project string

	/* Stage.

	   Stage name
	*/
	Stage string

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

AbortVerificationParams contains all the parameters to send to the API endpoint

for the abort verification operation.

Typically these are written to a http.Request.

func NewAbortVerificationParams

func NewAbortVerificationParams() *AbortVerificationParams

NewAbortVerificationParams creates a new AbortVerificationParams 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 NewAbortVerificationParamsWithContext

func NewAbortVerificationParamsWithContext(ctx context.Context) *AbortVerificationParams

NewAbortVerificationParamsWithContext creates a new AbortVerificationParams object with the ability to set a context for a request.

func NewAbortVerificationParamsWithHTTPClient

func NewAbortVerificationParamsWithHTTPClient(client *http.Client) *AbortVerificationParams

NewAbortVerificationParamsWithHTTPClient creates a new AbortVerificationParams object with the ability to set a custom HTTPClient for a request.

func NewAbortVerificationParamsWithTimeout

func NewAbortVerificationParamsWithTimeout(timeout time.Duration) *AbortVerificationParams

NewAbortVerificationParamsWithTimeout creates a new AbortVerificationParams object with the ability to set a timeout on a request.

func (*AbortVerificationParams) SetContext

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

SetContext adds the context to the abort verification params

func (*AbortVerificationParams) SetDefaults

func (o *AbortVerificationParams) SetDefaults()

SetDefaults hydrates default values in the abort verification params (not the query body).

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

func (*AbortVerificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the abort verification params

func (*AbortVerificationParams) SetProject

func (o *AbortVerificationParams) SetProject(project string)

SetProject adds the project to the abort verification params

func (*AbortVerificationParams) SetStage

func (o *AbortVerificationParams) SetStage(stage string)

SetStage adds the stage to the abort verification params

func (*AbortVerificationParams) SetTimeout

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

SetTimeout adds the timeout to the abort verification params

func (*AbortVerificationParams) WithContext

WithContext adds the context to the abort verification params

func (*AbortVerificationParams) WithDefaults

WithDefaults hydrates default values in the abort verification params (not the query body).

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

func (*AbortVerificationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the abort verification params

func (*AbortVerificationParams) WithProject

func (o *AbortVerificationParams) WithProject(project string) *AbortVerificationParams

WithProject adds the project to the abort verification params

func (*AbortVerificationParams) WithStage

WithStage adds the stage to the abort verification params

func (*AbortVerificationParams) WithTimeout

WithTimeout adds the timeout to the abort verification params

func (*AbortVerificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AbortVerificationReader

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

AbortVerificationReader is a Reader for the AbortVerification structure.

func (*AbortVerificationReader) ReadResponse

func (o *AbortVerificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for verifications API

func (*Client) AbortVerification

func (a *Client) AbortVerification(params *AbortVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortVerificationOK, error)

AbortVerification aborts a running verification process

Abort a running Verification process.

func (*Client) DeleteAnalysisTemplate

func (a *Client) DeleteAnalysisTemplate(params *DeleteAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAnalysisTemplateNoContent, error)

DeleteAnalysisTemplate deletes an analysis template

Delete an AnalysisTemplate resource from a project's namespace.

func (*Client) DeleteClusterAnalysisTemplate

DeleteClusterAnalysisTemplate deletes a cluster analysis template

Delete a ClusterAnalysisTemplate resource.

func (*Client) GetAnalysisRun

func (a *Client) GetAnalysisRun(params *GetAnalysisRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisRunOK, error)

GetAnalysisRun retrieves an analysis run

Retrieve an AnalysisRun resource from a project's namespace.

func (*Client) GetAnalysisRunLogs

func (a *Client) GetAnalysisRunLogs(params *GetAnalysisRunLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisRunLogsOK, error)

GetAnalysisRunLogs streams analysis run logs

Stream logs from an AnalysisRun job as Server-Sent Events (SSE).

func (*Client) GetAnalysisTemplate

func (a *Client) GetAnalysisTemplate(params *GetAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisTemplateOK, error)
GetAnalysisTemplate retrieves an analysis template

Retrieve an AnalysisTemplate resource from a project's

namespace.

func (*Client) GetClusterAnalysisTemplate

func (a *Client) GetClusterAnalysisTemplate(params *GetClusterAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAnalysisTemplateOK, error)

GetClusterAnalysisTemplate retrieves a cluster analysis template

Retrieve a ClusterAnalysisTemplate by name.

func (*Client) ListAnalysisTemplates

func (a *Client) ListAnalysisTemplates(params *ListAnalysisTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnalysisTemplatesOK, error)

ListAnalysisTemplates lists analysis templates

List AnalysisTemplate resources from a project's namespace.

func (*Client) ListClusterAnalysisTemplates

func (a *Client) ListClusterAnalysisTemplates(params *ListClusterAnalysisTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterAnalysisTemplatesOK, error)
ListClusterAnalysisTemplates lists cluster analysis templates

List ClusterAnalysisTemplate resources. Returns a

ClusterAnalysisTemplateList resource.

func (*Client) Reverify

func (a *Client) Reverify(params *ReverifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReverifyOK, error)
Reverify reverifies freight

Trigger re-verification of the Freight currently in use by a

Stage.

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 may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	AbortVerification(params *AbortVerificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AbortVerificationOK, error)

	DeleteAnalysisTemplate(params *DeleteAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAnalysisTemplateNoContent, error)

	DeleteClusterAnalysisTemplate(params *DeleteClusterAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterAnalysisTemplateNoContent, error)

	GetAnalysisRun(params *GetAnalysisRunParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisRunOK, error)

	GetAnalysisRunLogs(params *GetAnalysisRunLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisRunLogsOK, error)

	GetAnalysisTemplate(params *GetAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAnalysisTemplateOK, error)

	GetClusterAnalysisTemplate(params *GetClusterAnalysisTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterAnalysisTemplateOK, error)

	ListAnalysisTemplates(params *ListAnalysisTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnalysisTemplatesOK, error)

	ListClusterAnalysisTemplates(params *ListClusterAnalysisTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClusterAnalysisTemplatesOK, error)

	Reverify(params *ReverifyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReverifyOK, 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 verifications API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new verifications API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new verifications API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type DeleteAnalysisTemplateNoContent

type DeleteAnalysisTemplateNoContent struct {
}

DeleteAnalysisTemplateNoContent describes a response with status code 204, with default header values.

Deleted successfully

func NewDeleteAnalysisTemplateNoContent

func NewDeleteAnalysisTemplateNoContent() *DeleteAnalysisTemplateNoContent

NewDeleteAnalysisTemplateNoContent creates a DeleteAnalysisTemplateNoContent with default headers values

func (*DeleteAnalysisTemplateNoContent) Code

Code gets the status code for the delete analysis template no content response

func (*DeleteAnalysisTemplateNoContent) Error

func (*DeleteAnalysisTemplateNoContent) IsClientError

func (o *DeleteAnalysisTemplateNoContent) IsClientError() bool

IsClientError returns true when this delete analysis template no content response has a 4xx status code

func (*DeleteAnalysisTemplateNoContent) IsCode

func (o *DeleteAnalysisTemplateNoContent) IsCode(code int) bool

IsCode returns true when this delete analysis template no content response a status code equal to that given

func (*DeleteAnalysisTemplateNoContent) IsRedirect

func (o *DeleteAnalysisTemplateNoContent) IsRedirect() bool

IsRedirect returns true when this delete analysis template no content response has a 3xx status code

func (*DeleteAnalysisTemplateNoContent) IsServerError

func (o *DeleteAnalysisTemplateNoContent) IsServerError() bool

IsServerError returns true when this delete analysis template no content response has a 5xx status code

func (*DeleteAnalysisTemplateNoContent) IsSuccess

func (o *DeleteAnalysisTemplateNoContent) IsSuccess() bool

IsSuccess returns true when this delete analysis template no content response has a 2xx status code

func (*DeleteAnalysisTemplateNoContent) String

type DeleteAnalysisTemplateParams

type DeleteAnalysisTemplateParams struct {

	/* AnalysisTemplate.

	   AnalysisTemplate name
	*/
	AnalysisTemplate string

	/* Project.

	   Project name
	*/
	Project string

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

DeleteAnalysisTemplateParams contains all the parameters to send to the API endpoint

for the delete analysis template operation.

Typically these are written to a http.Request.

func NewDeleteAnalysisTemplateParams

func NewDeleteAnalysisTemplateParams() *DeleteAnalysisTemplateParams

NewDeleteAnalysisTemplateParams creates a new DeleteAnalysisTemplateParams 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 NewDeleteAnalysisTemplateParamsWithContext

func NewDeleteAnalysisTemplateParamsWithContext(ctx context.Context) *DeleteAnalysisTemplateParams

NewDeleteAnalysisTemplateParamsWithContext creates a new DeleteAnalysisTemplateParams object with the ability to set a context for a request.

func NewDeleteAnalysisTemplateParamsWithHTTPClient

func NewDeleteAnalysisTemplateParamsWithHTTPClient(client *http.Client) *DeleteAnalysisTemplateParams

NewDeleteAnalysisTemplateParamsWithHTTPClient creates a new DeleteAnalysisTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAnalysisTemplateParamsWithTimeout

func NewDeleteAnalysisTemplateParamsWithTimeout(timeout time.Duration) *DeleteAnalysisTemplateParams

NewDeleteAnalysisTemplateParamsWithTimeout creates a new DeleteAnalysisTemplateParams object with the ability to set a timeout on a request.

func (*DeleteAnalysisTemplateParams) SetAnalysisTemplate

func (o *DeleteAnalysisTemplateParams) SetAnalysisTemplate(analysisTemplate string)

SetAnalysisTemplate adds the analysisTemplate to the delete analysis template params

func (*DeleteAnalysisTemplateParams) SetContext

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

SetContext adds the context to the delete analysis template params

func (*DeleteAnalysisTemplateParams) SetDefaults

func (o *DeleteAnalysisTemplateParams) SetDefaults()

SetDefaults hydrates default values in the delete analysis template params (not the query body).

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

func (*DeleteAnalysisTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete analysis template params

func (*DeleteAnalysisTemplateParams) SetProject

func (o *DeleteAnalysisTemplateParams) SetProject(project string)

SetProject adds the project to the delete analysis template params

func (*DeleteAnalysisTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WithAnalysisTemplate

func (o *DeleteAnalysisTemplateParams) WithAnalysisTemplate(analysisTemplate string) *DeleteAnalysisTemplateParams

WithAnalysisTemplate adds the analysisTemplate to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WithContext

WithContext adds the context to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WithDefaults

WithDefaults hydrates default values in the delete analysis template params (not the query body).

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

func (*DeleteAnalysisTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WithProject

WithProject adds the project to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete analysis template params

func (*DeleteAnalysisTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAnalysisTemplateReader

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

DeleteAnalysisTemplateReader is a Reader for the DeleteAnalysisTemplate structure.

func (*DeleteAnalysisTemplateReader) ReadResponse

func (o *DeleteAnalysisTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type DeleteClusterAnalysisTemplateNoContent

type DeleteClusterAnalysisTemplateNoContent struct {
}

DeleteClusterAnalysisTemplateNoContent describes a response with status code 204, with default header values.

Deleted successfully

func NewDeleteClusterAnalysisTemplateNoContent

func NewDeleteClusterAnalysisTemplateNoContent() *DeleteClusterAnalysisTemplateNoContent

NewDeleteClusterAnalysisTemplateNoContent creates a DeleteClusterAnalysisTemplateNoContent with default headers values

func (*DeleteClusterAnalysisTemplateNoContent) Code

Code gets the status code for the delete cluster analysis template no content response

func (*DeleteClusterAnalysisTemplateNoContent) Error

func (*DeleteClusterAnalysisTemplateNoContent) IsClientError

func (o *DeleteClusterAnalysisTemplateNoContent) IsClientError() bool

IsClientError returns true when this delete cluster analysis template no content response has a 4xx status code

func (*DeleteClusterAnalysisTemplateNoContent) IsCode

IsCode returns true when this delete cluster analysis template no content response a status code equal to that given

func (*DeleteClusterAnalysisTemplateNoContent) IsRedirect

IsRedirect returns true when this delete cluster analysis template no content response has a 3xx status code

func (*DeleteClusterAnalysisTemplateNoContent) IsServerError

func (o *DeleteClusterAnalysisTemplateNoContent) IsServerError() bool

IsServerError returns true when this delete cluster analysis template no content response has a 5xx status code

func (*DeleteClusterAnalysisTemplateNoContent) IsSuccess

IsSuccess returns true when this delete cluster analysis template no content response has a 2xx status code

func (*DeleteClusterAnalysisTemplateNoContent) String

type DeleteClusterAnalysisTemplateParams

type DeleteClusterAnalysisTemplateParams struct {

	/* ClusterAnalysisTemplate.

	   ClusterAnalysisTemplate name
	*/
	ClusterAnalysisTemplate string

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

DeleteClusterAnalysisTemplateParams contains all the parameters to send to the API endpoint

for the delete cluster analysis template operation.

Typically these are written to a http.Request.

func NewDeleteClusterAnalysisTemplateParams

func NewDeleteClusterAnalysisTemplateParams() *DeleteClusterAnalysisTemplateParams

NewDeleteClusterAnalysisTemplateParams creates a new DeleteClusterAnalysisTemplateParams 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 NewDeleteClusterAnalysisTemplateParamsWithContext

func NewDeleteClusterAnalysisTemplateParamsWithContext(ctx context.Context) *DeleteClusterAnalysisTemplateParams

NewDeleteClusterAnalysisTemplateParamsWithContext creates a new DeleteClusterAnalysisTemplateParams object with the ability to set a context for a request.

func NewDeleteClusterAnalysisTemplateParamsWithHTTPClient

func NewDeleteClusterAnalysisTemplateParamsWithHTTPClient(client *http.Client) *DeleteClusterAnalysisTemplateParams

NewDeleteClusterAnalysisTemplateParamsWithHTTPClient creates a new DeleteClusterAnalysisTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterAnalysisTemplateParamsWithTimeout

func NewDeleteClusterAnalysisTemplateParamsWithTimeout(timeout time.Duration) *DeleteClusterAnalysisTemplateParams

NewDeleteClusterAnalysisTemplateParamsWithTimeout creates a new DeleteClusterAnalysisTemplateParams object with the ability to set a timeout on a request.

func (*DeleteClusterAnalysisTemplateParams) SetClusterAnalysisTemplate

func (o *DeleteClusterAnalysisTemplateParams) SetClusterAnalysisTemplate(clusterAnalysisTemplate string)

SetClusterAnalysisTemplate adds the clusterAnalysisTemplate to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) SetContext

SetContext adds the context to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) SetDefaults

func (o *DeleteClusterAnalysisTemplateParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster analysis template params (not the query body).

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

func (*DeleteClusterAnalysisTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) WithClusterAnalysisTemplate

func (o *DeleteClusterAnalysisTemplateParams) WithClusterAnalysisTemplate(clusterAnalysisTemplate string) *DeleteClusterAnalysisTemplateParams

WithClusterAnalysisTemplate adds the clusterAnalysisTemplate to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) WithContext

WithContext adds the context to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) WithDefaults

WithDefaults hydrates default values in the delete cluster analysis template params (not the query body).

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

func (*DeleteClusterAnalysisTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) WithTimeout

WithTimeout adds the timeout to the delete cluster analysis template params

func (*DeleteClusterAnalysisTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteClusterAnalysisTemplateReader

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

DeleteClusterAnalysisTemplateReader is a Reader for the DeleteClusterAnalysisTemplate structure.

func (*DeleteClusterAnalysisTemplateReader) ReadResponse

func (o *DeleteClusterAnalysisTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAnalysisRunLogsOK

type GetAnalysisRunLogsOK struct {
	Payload string
}

GetAnalysisRunLogsOK describes a response with status code 200, with default header values.

Log stream (SSE)

func NewGetAnalysisRunLogsOK

func NewGetAnalysisRunLogsOK() *GetAnalysisRunLogsOK

NewGetAnalysisRunLogsOK creates a GetAnalysisRunLogsOK with default headers values

func (*GetAnalysisRunLogsOK) Code

func (o *GetAnalysisRunLogsOK) Code() int

Code gets the status code for the get analysis run logs o k response

func (*GetAnalysisRunLogsOK) Error

func (o *GetAnalysisRunLogsOK) Error() string

func (*GetAnalysisRunLogsOK) GetPayload

func (o *GetAnalysisRunLogsOK) GetPayload() string

func (*GetAnalysisRunLogsOK) IsClientError

func (o *GetAnalysisRunLogsOK) IsClientError() bool

IsClientError returns true when this get analysis run logs o k response has a 4xx status code

func (*GetAnalysisRunLogsOK) IsCode

func (o *GetAnalysisRunLogsOK) IsCode(code int) bool

IsCode returns true when this get analysis run logs o k response a status code equal to that given

func (*GetAnalysisRunLogsOK) IsRedirect

func (o *GetAnalysisRunLogsOK) IsRedirect() bool

IsRedirect returns true when this get analysis run logs o k response has a 3xx status code

func (*GetAnalysisRunLogsOK) IsServerError

func (o *GetAnalysisRunLogsOK) IsServerError() bool

IsServerError returns true when this get analysis run logs o k response has a 5xx status code

func (*GetAnalysisRunLogsOK) IsSuccess

func (o *GetAnalysisRunLogsOK) IsSuccess() bool

IsSuccess returns true when this get analysis run logs o k response has a 2xx status code

func (*GetAnalysisRunLogsOK) String

func (o *GetAnalysisRunLogsOK) String() string

type GetAnalysisRunLogsParams

type GetAnalysisRunLogsParams struct {

	/* AnalysisRun.

	   AnalysisRun name
	*/
	AnalysisRun string

	/* ContainerName.

	   Container name
	*/
	ContainerName *string

	/* MetricName.

	   Metric name
	*/
	MetricName *string

	/* Project.

	   Project name
	*/
	Project string

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

GetAnalysisRunLogsParams contains all the parameters to send to the API endpoint

for the get analysis run logs operation.

Typically these are written to a http.Request.

func NewGetAnalysisRunLogsParams

func NewGetAnalysisRunLogsParams() *GetAnalysisRunLogsParams

NewGetAnalysisRunLogsParams creates a new GetAnalysisRunLogsParams 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 NewGetAnalysisRunLogsParamsWithContext

func NewGetAnalysisRunLogsParamsWithContext(ctx context.Context) *GetAnalysisRunLogsParams

NewGetAnalysisRunLogsParamsWithContext creates a new GetAnalysisRunLogsParams object with the ability to set a context for a request.

func NewGetAnalysisRunLogsParamsWithHTTPClient

func NewGetAnalysisRunLogsParamsWithHTTPClient(client *http.Client) *GetAnalysisRunLogsParams

NewGetAnalysisRunLogsParamsWithHTTPClient creates a new GetAnalysisRunLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAnalysisRunLogsParamsWithTimeout

func NewGetAnalysisRunLogsParamsWithTimeout(timeout time.Duration) *GetAnalysisRunLogsParams

NewGetAnalysisRunLogsParamsWithTimeout creates a new GetAnalysisRunLogsParams object with the ability to set a timeout on a request.

func (*GetAnalysisRunLogsParams) SetAnalysisRun

func (o *GetAnalysisRunLogsParams) SetAnalysisRun(analysisRun string)

SetAnalysisRun adds the analysisRun to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetContainerName

func (o *GetAnalysisRunLogsParams) SetContainerName(containerName *string)

SetContainerName adds the containerName to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetContext

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

SetContext adds the context to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetDefaults

func (o *GetAnalysisRunLogsParams) SetDefaults()

SetDefaults hydrates default values in the get analysis run logs params (not the query body).

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

func (*GetAnalysisRunLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetMetricName

func (o *GetAnalysisRunLogsParams) SetMetricName(metricName *string)

SetMetricName adds the metricName to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetProject

func (o *GetAnalysisRunLogsParams) SetProject(project string)

SetProject adds the project to the get analysis run logs params

func (*GetAnalysisRunLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithAnalysisRun

func (o *GetAnalysisRunLogsParams) WithAnalysisRun(analysisRun string) *GetAnalysisRunLogsParams

WithAnalysisRun adds the analysisRun to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithContainerName

func (o *GetAnalysisRunLogsParams) WithContainerName(containerName *string) *GetAnalysisRunLogsParams

WithContainerName adds the containerName to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithContext

WithContext adds the context to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithDefaults

WithDefaults hydrates default values in the get analysis run logs params (not the query body).

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

func (*GetAnalysisRunLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithMetricName

func (o *GetAnalysisRunLogsParams) WithMetricName(metricName *string) *GetAnalysisRunLogsParams

WithMetricName adds the metricName to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithProject

func (o *GetAnalysisRunLogsParams) WithProject(project string) *GetAnalysisRunLogsParams

WithProject adds the project to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WithTimeout

WithTimeout adds the timeout to the get analysis run logs params

func (*GetAnalysisRunLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnalysisRunLogsReader

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

GetAnalysisRunLogsReader is a Reader for the GetAnalysisRunLogs structure.

func (*GetAnalysisRunLogsReader) ReadResponse

func (o *GetAnalysisRunLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAnalysisRunOK

type GetAnalysisRunOK struct {
	Payload any
}

GetAnalysisRunOK describes a response with status code 200, with default header values.

AnalysisRun custom resource (github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1.AnalysisRun)

func NewGetAnalysisRunOK

func NewGetAnalysisRunOK() *GetAnalysisRunOK

NewGetAnalysisRunOK creates a GetAnalysisRunOK with default headers values

func (*GetAnalysisRunOK) Code

func (o *GetAnalysisRunOK) Code() int

Code gets the status code for the get analysis run o k response

func (*GetAnalysisRunOK) Error

func (o *GetAnalysisRunOK) Error() string

func (*GetAnalysisRunOK) GetPayload

func (o *GetAnalysisRunOK) GetPayload() any

func (*GetAnalysisRunOK) IsClientError

func (o *GetAnalysisRunOK) IsClientError() bool

IsClientError returns true when this get analysis run o k response has a 4xx status code

func (*GetAnalysisRunOK) IsCode

func (o *GetAnalysisRunOK) IsCode(code int) bool

IsCode returns true when this get analysis run o k response a status code equal to that given

func (*GetAnalysisRunOK) IsRedirect

func (o *GetAnalysisRunOK) IsRedirect() bool

IsRedirect returns true when this get analysis run o k response has a 3xx status code

func (*GetAnalysisRunOK) IsServerError

func (o *GetAnalysisRunOK) IsServerError() bool

IsServerError returns true when this get analysis run o k response has a 5xx status code

func (*GetAnalysisRunOK) IsSuccess

func (o *GetAnalysisRunOK) IsSuccess() bool

IsSuccess returns true when this get analysis run o k response has a 2xx status code

func (*GetAnalysisRunOK) String

func (o *GetAnalysisRunOK) String() string

type GetAnalysisRunParams

type GetAnalysisRunParams struct {

	/* AnalysisRun.

	   AnalysisRun name
	*/
	AnalysisRun string

	/* Project.

	   Project name
	*/
	Project string

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

GetAnalysisRunParams contains all the parameters to send to the API endpoint

for the get analysis run operation.

Typically these are written to a http.Request.

func NewGetAnalysisRunParams

func NewGetAnalysisRunParams() *GetAnalysisRunParams

NewGetAnalysisRunParams creates a new GetAnalysisRunParams 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 NewGetAnalysisRunParamsWithContext

func NewGetAnalysisRunParamsWithContext(ctx context.Context) *GetAnalysisRunParams

NewGetAnalysisRunParamsWithContext creates a new GetAnalysisRunParams object with the ability to set a context for a request.

func NewGetAnalysisRunParamsWithHTTPClient

func NewGetAnalysisRunParamsWithHTTPClient(client *http.Client) *GetAnalysisRunParams

NewGetAnalysisRunParamsWithHTTPClient creates a new GetAnalysisRunParams object with the ability to set a custom HTTPClient for a request.

func NewGetAnalysisRunParamsWithTimeout

func NewGetAnalysisRunParamsWithTimeout(timeout time.Duration) *GetAnalysisRunParams

NewGetAnalysisRunParamsWithTimeout creates a new GetAnalysisRunParams object with the ability to set a timeout on a request.

func (*GetAnalysisRunParams) SetAnalysisRun

func (o *GetAnalysisRunParams) SetAnalysisRun(analysisRun string)

SetAnalysisRun adds the analysisRun to the get analysis run params

func (*GetAnalysisRunParams) SetContext

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

SetContext adds the context to the get analysis run params

func (*GetAnalysisRunParams) SetDefaults

func (o *GetAnalysisRunParams) SetDefaults()

SetDefaults hydrates default values in the get analysis run params (not the query body).

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

func (*GetAnalysisRunParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get analysis run params

func (*GetAnalysisRunParams) SetProject

func (o *GetAnalysisRunParams) SetProject(project string)

SetProject adds the project to the get analysis run params

func (*GetAnalysisRunParams) SetTimeout

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

SetTimeout adds the timeout to the get analysis run params

func (*GetAnalysisRunParams) WithAnalysisRun

func (o *GetAnalysisRunParams) WithAnalysisRun(analysisRun string) *GetAnalysisRunParams

WithAnalysisRun adds the analysisRun to the get analysis run params

func (*GetAnalysisRunParams) WithContext

WithContext adds the context to the get analysis run params

func (*GetAnalysisRunParams) WithDefaults

func (o *GetAnalysisRunParams) WithDefaults() *GetAnalysisRunParams

WithDefaults hydrates default values in the get analysis run params (not the query body).

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

func (*GetAnalysisRunParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get analysis run params

func (*GetAnalysisRunParams) WithProject

func (o *GetAnalysisRunParams) WithProject(project string) *GetAnalysisRunParams

WithProject adds the project to the get analysis run params

func (*GetAnalysisRunParams) WithTimeout

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

WithTimeout adds the timeout to the get analysis run params

func (*GetAnalysisRunParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAnalysisRunReader

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

GetAnalysisRunReader is a Reader for the GetAnalysisRun structure.

func (*GetAnalysisRunReader) ReadResponse

func (o *GetAnalysisRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetAnalysisTemplateOK

type GetAnalysisTemplateOK struct {
	Payload any
}

GetAnalysisTemplateOK describes a response with status code 200, with default header values.

AnalysisTemplate custom resource (github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1.AnalysisTemplate)

func NewGetAnalysisTemplateOK

func NewGetAnalysisTemplateOK() *GetAnalysisTemplateOK

NewGetAnalysisTemplateOK creates a GetAnalysisTemplateOK with default headers values

func (*GetAnalysisTemplateOK) Code

func (o *GetAnalysisTemplateOK) Code() int

Code gets the status code for the get analysis template o k response

func (*GetAnalysisTemplateOK) Error

func (o *GetAnalysisTemplateOK) Error() string

func (*GetAnalysisTemplateOK) GetPayload

func (o *GetAnalysisTemplateOK) GetPayload() any

func (*GetAnalysisTemplateOK) IsClientError

func (o *GetAnalysisTemplateOK) IsClientError() bool

IsClientError returns true when this get analysis template o k response has a 4xx status code

func (*GetAnalysisTemplateOK) IsCode

func (o *GetAnalysisTemplateOK) IsCode(code int) bool

IsCode returns true when this get analysis template o k response a status code equal to that given

func (*GetAnalysisTemplateOK) IsRedirect

func (o *GetAnalysisTemplateOK) IsRedirect() bool

IsRedirect returns true when this get analysis template o k response has a 3xx status code

func (*GetAnalysisTemplateOK) IsServerError

func (o *GetAnalysisTemplateOK) IsServerError() bool

IsServerError returns true when this get analysis template o k response has a 5xx status code

func (*GetAnalysisTemplateOK) IsSuccess

func (o *GetAnalysisTemplateOK) IsSuccess() bool

IsSuccess returns true when this get analysis template o k response has a 2xx status code

func (*GetAnalysisTemplateOK) String

func (o *GetAnalysisTemplateOK) String() string

type GetAnalysisTemplateParams

type GetAnalysisTemplateParams struct {

	/* AnalysisTemplate.

	   AnalysisTemplate name
	*/
	AnalysisTemplate string

	/* Project.

	   Project name
	*/
	Project string

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

GetAnalysisTemplateParams contains all the parameters to send to the API endpoint

for the get analysis template operation.

Typically these are written to a http.Request.

func NewGetAnalysisTemplateParams

func NewGetAnalysisTemplateParams() *GetAnalysisTemplateParams

NewGetAnalysisTemplateParams creates a new GetAnalysisTemplateParams 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 NewGetAnalysisTemplateParamsWithContext

func NewGetAnalysisTemplateParamsWithContext(ctx context.Context) *GetAnalysisTemplateParams

NewGetAnalysisTemplateParamsWithContext creates a new GetAnalysisTemplateParams object with the ability to set a context for a request.

func NewGetAnalysisTemplateParamsWithHTTPClient

func NewGetAnalysisTemplateParamsWithHTTPClient(client *http.Client) *GetAnalysisTemplateParams

NewGetAnalysisTemplateParamsWithHTTPClient creates a new GetAnalysisTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewGetAnalysisTemplateParamsWithTimeout

func NewGetAnalysisTemplateParamsWithTimeout(timeout time.Duration) *GetAnalysisTemplateParams

NewGetAnalysisTemplateParamsWithTimeout creates a new GetAnalysisTemplateParams object with the ability to set a timeout on a request.

func (*GetAnalysisTemplateParams) SetAnalysisTemplate

func (o *GetAnalysisTemplateParams) SetAnalysisTemplate(analysisTemplate string)

SetAnalysisTemplate adds the analysisTemplate to the get analysis template params

func (*GetAnalysisTemplateParams) SetContext

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

SetContext adds the context to the get analysis template params

func (*GetAnalysisTemplateParams) SetDefaults

func (o *GetAnalysisTemplateParams) SetDefaults()

SetDefaults hydrates default values in the get analysis template params (not the query body).

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

func (*GetAnalysisTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get analysis template params

func (*GetAnalysisTemplateParams) SetProject

func (o *GetAnalysisTemplateParams) SetProject(project string)

SetProject adds the project to the get analysis template params

func (*GetAnalysisTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get analysis template params

func (*GetAnalysisTemplateParams) WithAnalysisTemplate

func (o *GetAnalysisTemplateParams) WithAnalysisTemplate(analysisTemplate string) *GetAnalysisTemplateParams

WithAnalysisTemplate adds the analysisTemplate to the get analysis template params

func (*GetAnalysisTemplateParams) WithContext

WithContext adds the context to the get analysis template params

func (*GetAnalysisTemplateParams) WithDefaults

WithDefaults hydrates default values in the get analysis template params (not the query body).

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

func (*GetAnalysisTemplateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get analysis template params

func (*GetAnalysisTemplateParams) WithProject

WithProject adds the project to the get analysis template params

func (*GetAnalysisTemplateParams) WithTimeout

WithTimeout adds the timeout to the get analysis template params

func (*GetAnalysisTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAnalysisTemplateReader

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

GetAnalysisTemplateReader is a Reader for the GetAnalysisTemplate structure.

func (*GetAnalysisTemplateReader) ReadResponse

func (o *GetAnalysisTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type GetClusterAnalysisTemplateOK

type GetClusterAnalysisTemplateOK struct {
	Payload any
}

GetClusterAnalysisTemplateOK describes a response with status code 200, with default header values.

ClusterAnalysisTemplate custom resource (github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1.ClusterAnalysisTemplate)

func NewGetClusterAnalysisTemplateOK

func NewGetClusterAnalysisTemplateOK() *GetClusterAnalysisTemplateOK

NewGetClusterAnalysisTemplateOK creates a GetClusterAnalysisTemplateOK with default headers values

func (*GetClusterAnalysisTemplateOK) Code

Code gets the status code for the get cluster analysis template o k response

func (*GetClusterAnalysisTemplateOK) Error

func (*GetClusterAnalysisTemplateOK) GetPayload

func (o *GetClusterAnalysisTemplateOK) GetPayload() any

func (*GetClusterAnalysisTemplateOK) IsClientError

func (o *GetClusterAnalysisTemplateOK) IsClientError() bool

IsClientError returns true when this get cluster analysis template o k response has a 4xx status code

func (*GetClusterAnalysisTemplateOK) IsCode

func (o *GetClusterAnalysisTemplateOK) IsCode(code int) bool

IsCode returns true when this get cluster analysis template o k response a status code equal to that given

func (*GetClusterAnalysisTemplateOK) IsRedirect

func (o *GetClusterAnalysisTemplateOK) IsRedirect() bool

IsRedirect returns true when this get cluster analysis template o k response has a 3xx status code

func (*GetClusterAnalysisTemplateOK) IsServerError

func (o *GetClusterAnalysisTemplateOK) IsServerError() bool

IsServerError returns true when this get cluster analysis template o k response has a 5xx status code

func (*GetClusterAnalysisTemplateOK) IsSuccess

func (o *GetClusterAnalysisTemplateOK) IsSuccess() bool

IsSuccess returns true when this get cluster analysis template o k response has a 2xx status code

func (*GetClusterAnalysisTemplateOK) String

type GetClusterAnalysisTemplateParams

type GetClusterAnalysisTemplateParams struct {

	/* ClusterAnalysisTemplate.

	   ClusterAnalysisTemplate name
	*/
	ClusterAnalysisTemplate string

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

GetClusterAnalysisTemplateParams contains all the parameters to send to the API endpoint

for the get cluster analysis template operation.

Typically these are written to a http.Request.

func NewGetClusterAnalysisTemplateParams

func NewGetClusterAnalysisTemplateParams() *GetClusterAnalysisTemplateParams

NewGetClusterAnalysisTemplateParams creates a new GetClusterAnalysisTemplateParams 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 NewGetClusterAnalysisTemplateParamsWithContext

func NewGetClusterAnalysisTemplateParamsWithContext(ctx context.Context) *GetClusterAnalysisTemplateParams

NewGetClusterAnalysisTemplateParamsWithContext creates a new GetClusterAnalysisTemplateParams object with the ability to set a context for a request.

func NewGetClusterAnalysisTemplateParamsWithHTTPClient

func NewGetClusterAnalysisTemplateParamsWithHTTPClient(client *http.Client) *GetClusterAnalysisTemplateParams

NewGetClusterAnalysisTemplateParamsWithHTTPClient creates a new GetClusterAnalysisTemplateParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterAnalysisTemplateParamsWithTimeout

func NewGetClusterAnalysisTemplateParamsWithTimeout(timeout time.Duration) *GetClusterAnalysisTemplateParams

NewGetClusterAnalysisTemplateParamsWithTimeout creates a new GetClusterAnalysisTemplateParams object with the ability to set a timeout on a request.

func (*GetClusterAnalysisTemplateParams) SetClusterAnalysisTemplate

func (o *GetClusterAnalysisTemplateParams) SetClusterAnalysisTemplate(clusterAnalysisTemplate string)

SetClusterAnalysisTemplate adds the clusterAnalysisTemplate to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) SetContext

SetContext adds the context to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) SetDefaults

func (o *GetClusterAnalysisTemplateParams) SetDefaults()

SetDefaults hydrates default values in the get cluster analysis template params (not the query body).

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

func (*GetClusterAnalysisTemplateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) WithClusterAnalysisTemplate

func (o *GetClusterAnalysisTemplateParams) WithClusterAnalysisTemplate(clusterAnalysisTemplate string) *GetClusterAnalysisTemplateParams

WithClusterAnalysisTemplate adds the clusterAnalysisTemplate to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) WithContext

WithContext adds the context to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) WithDefaults

WithDefaults hydrates default values in the get cluster analysis template params (not the query body).

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

func (*GetClusterAnalysisTemplateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) WithTimeout

WithTimeout adds the timeout to the get cluster analysis template params

func (*GetClusterAnalysisTemplateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterAnalysisTemplateReader

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

GetClusterAnalysisTemplateReader is a Reader for the GetClusterAnalysisTemplate structure.

func (*GetClusterAnalysisTemplateReader) ReadResponse

func (o *GetClusterAnalysisTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListAnalysisTemplatesOK

type ListAnalysisTemplatesOK struct {
	Payload any
}

ListAnalysisTemplatesOK describes a response with status code 200, with default header values.

AnalysisTemplateList custom resource (github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1.AnalysisTemplateList)

func NewListAnalysisTemplatesOK

func NewListAnalysisTemplatesOK() *ListAnalysisTemplatesOK

NewListAnalysisTemplatesOK creates a ListAnalysisTemplatesOK with default headers values

func (*ListAnalysisTemplatesOK) Code

func (o *ListAnalysisTemplatesOK) Code() int

Code gets the status code for the list analysis templates o k response

func (*ListAnalysisTemplatesOK) Error

func (o *ListAnalysisTemplatesOK) Error() string

func (*ListAnalysisTemplatesOK) GetPayload

func (o *ListAnalysisTemplatesOK) GetPayload() any

func (*ListAnalysisTemplatesOK) IsClientError

func (o *ListAnalysisTemplatesOK) IsClientError() bool

IsClientError returns true when this list analysis templates o k response has a 4xx status code

func (*ListAnalysisTemplatesOK) IsCode

func (o *ListAnalysisTemplatesOK) IsCode(code int) bool

IsCode returns true when this list analysis templates o k response a status code equal to that given

func (*ListAnalysisTemplatesOK) IsRedirect

func (o *ListAnalysisTemplatesOK) IsRedirect() bool

IsRedirect returns true when this list analysis templates o k response has a 3xx status code

func (*ListAnalysisTemplatesOK) IsServerError

func (o *ListAnalysisTemplatesOK) IsServerError() bool

IsServerError returns true when this list analysis templates o k response has a 5xx status code

func (*ListAnalysisTemplatesOK) IsSuccess

func (o *ListAnalysisTemplatesOK) IsSuccess() bool

IsSuccess returns true when this list analysis templates o k response has a 2xx status code

func (*ListAnalysisTemplatesOK) String

func (o *ListAnalysisTemplatesOK) String() string

type ListAnalysisTemplatesParams

type ListAnalysisTemplatesParams struct {

	/* Project.

	   Project name
	*/
	Project string

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

ListAnalysisTemplatesParams contains all the parameters to send to the API endpoint

for the list analysis templates operation.

Typically these are written to a http.Request.

func NewListAnalysisTemplatesParams

func NewListAnalysisTemplatesParams() *ListAnalysisTemplatesParams

NewListAnalysisTemplatesParams creates a new ListAnalysisTemplatesParams 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 NewListAnalysisTemplatesParamsWithContext

func NewListAnalysisTemplatesParamsWithContext(ctx context.Context) *ListAnalysisTemplatesParams

NewListAnalysisTemplatesParamsWithContext creates a new ListAnalysisTemplatesParams object with the ability to set a context for a request.

func NewListAnalysisTemplatesParamsWithHTTPClient

func NewListAnalysisTemplatesParamsWithHTTPClient(client *http.Client) *ListAnalysisTemplatesParams

NewListAnalysisTemplatesParamsWithHTTPClient creates a new ListAnalysisTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewListAnalysisTemplatesParamsWithTimeout

func NewListAnalysisTemplatesParamsWithTimeout(timeout time.Duration) *ListAnalysisTemplatesParams

NewListAnalysisTemplatesParamsWithTimeout creates a new ListAnalysisTemplatesParams object with the ability to set a timeout on a request.

func (*ListAnalysisTemplatesParams) SetContext

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

SetContext adds the context to the list analysis templates params

func (*ListAnalysisTemplatesParams) SetDefaults

func (o *ListAnalysisTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the list analysis templates params (not the query body).

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

func (*ListAnalysisTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list analysis templates params

func (*ListAnalysisTemplatesParams) SetProject

func (o *ListAnalysisTemplatesParams) SetProject(project string)

SetProject adds the project to the list analysis templates params

func (*ListAnalysisTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the list analysis templates params

func (*ListAnalysisTemplatesParams) WithContext

WithContext adds the context to the list analysis templates params

func (*ListAnalysisTemplatesParams) WithDefaults

WithDefaults hydrates default values in the list analysis templates params (not the query body).

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

func (*ListAnalysisTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list analysis templates params

func (*ListAnalysisTemplatesParams) WithProject

WithProject adds the project to the list analysis templates params

func (*ListAnalysisTemplatesParams) WithTimeout

WithTimeout adds the timeout to the list analysis templates params

func (*ListAnalysisTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAnalysisTemplatesReader

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

ListAnalysisTemplatesReader is a Reader for the ListAnalysisTemplates structure.

func (*ListAnalysisTemplatesReader) ReadResponse

func (o *ListAnalysisTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ListClusterAnalysisTemplatesOK

type ListClusterAnalysisTemplatesOK struct {
	Payload any
}

ListClusterAnalysisTemplatesOK describes a response with status code 200, with default header values.

ClusterAnalysisTemplateList custom resource (github.com/argoproj/argo-rollouts/pkg/apis/rollouts/v1alpha1.ClusterAnalysisTemplateList)

func NewListClusterAnalysisTemplatesOK

func NewListClusterAnalysisTemplatesOK() *ListClusterAnalysisTemplatesOK

NewListClusterAnalysisTemplatesOK creates a ListClusterAnalysisTemplatesOK with default headers values

func (*ListClusterAnalysisTemplatesOK) Code

Code gets the status code for the list cluster analysis templates o k response

func (*ListClusterAnalysisTemplatesOK) Error

func (*ListClusterAnalysisTemplatesOK) GetPayload

func (o *ListClusterAnalysisTemplatesOK) GetPayload() any

func (*ListClusterAnalysisTemplatesOK) IsClientError

func (o *ListClusterAnalysisTemplatesOK) IsClientError() bool

IsClientError returns true when this list cluster analysis templates o k response has a 4xx status code

func (*ListClusterAnalysisTemplatesOK) IsCode

func (o *ListClusterAnalysisTemplatesOK) IsCode(code int) bool

IsCode returns true when this list cluster analysis templates o k response a status code equal to that given

func (*ListClusterAnalysisTemplatesOK) IsRedirect

func (o *ListClusterAnalysisTemplatesOK) IsRedirect() bool

IsRedirect returns true when this list cluster analysis templates o k response has a 3xx status code

func (*ListClusterAnalysisTemplatesOK) IsServerError

func (o *ListClusterAnalysisTemplatesOK) IsServerError() bool

IsServerError returns true when this list cluster analysis templates o k response has a 5xx status code

func (*ListClusterAnalysisTemplatesOK) IsSuccess

func (o *ListClusterAnalysisTemplatesOK) IsSuccess() bool

IsSuccess returns true when this list cluster analysis templates o k response has a 2xx status code

func (*ListClusterAnalysisTemplatesOK) String

type ListClusterAnalysisTemplatesParams

type ListClusterAnalysisTemplatesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClusterAnalysisTemplatesParams contains all the parameters to send to the API endpoint

for the list cluster analysis templates operation.

Typically these are written to a http.Request.

func NewListClusterAnalysisTemplatesParams

func NewListClusterAnalysisTemplatesParams() *ListClusterAnalysisTemplatesParams

NewListClusterAnalysisTemplatesParams creates a new ListClusterAnalysisTemplatesParams 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 NewListClusterAnalysisTemplatesParamsWithContext

func NewListClusterAnalysisTemplatesParamsWithContext(ctx context.Context) *ListClusterAnalysisTemplatesParams

NewListClusterAnalysisTemplatesParamsWithContext creates a new ListClusterAnalysisTemplatesParams object with the ability to set a context for a request.

func NewListClusterAnalysisTemplatesParamsWithHTTPClient

func NewListClusterAnalysisTemplatesParamsWithHTTPClient(client *http.Client) *ListClusterAnalysisTemplatesParams

NewListClusterAnalysisTemplatesParamsWithHTTPClient creates a new ListClusterAnalysisTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewListClusterAnalysisTemplatesParamsWithTimeout

func NewListClusterAnalysisTemplatesParamsWithTimeout(timeout time.Duration) *ListClusterAnalysisTemplatesParams

NewListClusterAnalysisTemplatesParamsWithTimeout creates a new ListClusterAnalysisTemplatesParams object with the ability to set a timeout on a request.

func (*ListClusterAnalysisTemplatesParams) SetContext

SetContext adds the context to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) SetDefaults

func (o *ListClusterAnalysisTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the list cluster analysis templates params (not the query body).

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

func (*ListClusterAnalysisTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) WithContext

WithContext adds the context to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) WithDefaults

WithDefaults hydrates default values in the list cluster analysis templates params (not the query body).

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

func (*ListClusterAnalysisTemplatesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) WithTimeout

WithTimeout adds the timeout to the list cluster analysis templates params

func (*ListClusterAnalysisTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClusterAnalysisTemplatesReader

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

ListClusterAnalysisTemplatesReader is a Reader for the ListClusterAnalysisTemplates structure.

func (*ListClusterAnalysisTemplatesReader) ReadResponse

func (o *ListClusterAnalysisTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)

ReadResponse reads a server response into the received o.

type ReverifyOK

type ReverifyOK struct {
}

ReverifyOK describes a response with status code 200, with default header values.

Success

func NewReverifyOK

func NewReverifyOK() *ReverifyOK

NewReverifyOK creates a ReverifyOK with default headers values

func (*ReverifyOK) Code

func (o *ReverifyOK) Code() int

Code gets the status code for the reverify o k response

func (*ReverifyOK) Error

func (o *ReverifyOK) Error() string

func (*ReverifyOK) IsClientError

func (o *ReverifyOK) IsClientError() bool

IsClientError returns true when this reverify o k response has a 4xx status code

func (*ReverifyOK) IsCode

func (o *ReverifyOK) IsCode(code int) bool

IsCode returns true when this reverify o k response a status code equal to that given

func (*ReverifyOK) IsRedirect

func (o *ReverifyOK) IsRedirect() bool

IsRedirect returns true when this reverify o k response has a 3xx status code

func (*ReverifyOK) IsServerError

func (o *ReverifyOK) IsServerError() bool

IsServerError returns true when this reverify o k response has a 5xx status code

func (*ReverifyOK) IsSuccess

func (o *ReverifyOK) IsSuccess() bool

IsSuccess returns true when this reverify o k response has a 2xx status code

func (*ReverifyOK) String

func (o *ReverifyOK) String() string

type ReverifyParams

type ReverifyParams struct {

	/* Project.

	   Project name
	*/
	Project string

	/* Stage.

	   Stage name
	*/
	Stage string

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

ReverifyParams contains all the parameters to send to the API endpoint

for the reverify operation.

Typically these are written to a http.Request.

func NewReverifyParams

func NewReverifyParams() *ReverifyParams

NewReverifyParams creates a new ReverifyParams 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 NewReverifyParamsWithContext

func NewReverifyParamsWithContext(ctx context.Context) *ReverifyParams

NewReverifyParamsWithContext creates a new ReverifyParams object with the ability to set a context for a request.

func NewReverifyParamsWithHTTPClient

func NewReverifyParamsWithHTTPClient(client *http.Client) *ReverifyParams

NewReverifyParamsWithHTTPClient creates a new ReverifyParams object with the ability to set a custom HTTPClient for a request.

func NewReverifyParamsWithTimeout

func NewReverifyParamsWithTimeout(timeout time.Duration) *ReverifyParams

NewReverifyParamsWithTimeout creates a new ReverifyParams object with the ability to set a timeout on a request.

func (*ReverifyParams) SetContext

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

SetContext adds the context to the reverify params

func (*ReverifyParams) SetDefaults

func (o *ReverifyParams) SetDefaults()

SetDefaults hydrates default values in the reverify params (not the query body).

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

func (*ReverifyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reverify params

func (*ReverifyParams) SetProject

func (o *ReverifyParams) SetProject(project string)

SetProject adds the project to the reverify params

func (*ReverifyParams) SetStage

func (o *ReverifyParams) SetStage(stage string)

SetStage adds the stage to the reverify params

func (*ReverifyParams) SetTimeout

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

SetTimeout adds the timeout to the reverify params

func (*ReverifyParams) WithContext

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

WithContext adds the context to the reverify params

func (*ReverifyParams) WithDefaults

func (o *ReverifyParams) WithDefaults() *ReverifyParams

WithDefaults hydrates default values in the reverify params (not the query body).

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

func (*ReverifyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reverify params

func (*ReverifyParams) WithProject

func (o *ReverifyParams) WithProject(project string) *ReverifyParams

WithProject adds the project to the reverify params

func (*ReverifyParams) WithStage

func (o *ReverifyParams) WithStage(stage string) *ReverifyParams

WithStage adds the stage to the reverify params

func (*ReverifyParams) WithTimeout

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

WithTimeout adds the timeout to the reverify params

func (*ReverifyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReverifyReader

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

ReverifyReader is a Reader for the Reverify structure.

func (*ReverifyReader) ReadResponse

func (o *ReverifyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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