scan_all package - github.com/MartijnStraatman/harbor-go-client/pkg/sdk/v2.0/client/scan_all - Go Packages

scan_all

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {

	// CreateScanAllSchedule creates a schedule or a manual trigger for the scan all job
	//
	// This endpoint is for creating a schedule or a manual trigger for the scan all job, which scans all of images in Harbor.
	CreateScanAllSchedule(ctx context.Context, params *CreateScanAllScheduleParams) (*CreateScanAllScheduleCreated, error)

	// GetLatestScanAllMetrics gets the metrics of the latest scan all process
	//
	// Get the metrics of the latest scan all process
	GetLatestScanAllMetrics(ctx context.Context, params *GetLatestScanAllMetricsParams) (*GetLatestScanAllMetricsOK, error)

	// GetLatestScheduledScanAllMetrics gets the metrics of the latest scheduled scan all process
	//
	// Get the metrics of the latest scheduled scan all process
	GetLatestScheduledScanAllMetrics(ctx context.Context, params *GetLatestScheduledScanAllMetricsParams) (*GetLatestScheduledScanAllMetricsOK, error)

	// GetScanAllSchedule gets scan all s schedule
	//
	// This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor.
	GetScanAllSchedule(ctx context.Context, params *GetScanAllScheduleParams) (*GetScanAllScheduleOK, error)

	// StopScanAll stops scan all job execution
	//
	// Stop scanAll job execution
	StopScanAll(ctx context.Context, params *StopScanAllParams) (*StopScanAllAccepted, error)

	// UpdateScanAllSchedule updates scan all s schedule
	//
	// This endpoint is for updating the schedule of scan all job, which scans all of images in Harbor.
	UpdateScanAllSchedule(ctx context.Context, params *UpdateScanAllScheduleParams) (*UpdateScanAllScheduleOK, error)
}

API is the interface of the scan all client.

type Client

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

Client for scan all API

func New

New creates a new scan all API client.

func (*Client) CreateScanAllSchedule

func (a *Client) CreateScanAllSchedule(ctx context.Context, params *CreateScanAllScheduleParams) (*CreateScanAllScheduleCreated, error)

CreateScanAllSchedule creates a schedule or a manual trigger for the scan all job.

This endpoint is for creating a schedule or a manual trigger for the scan all job, which scans all of images in Harbor..

func (*Client) GetLatestScanAllMetrics

func (a *Client) GetLatestScanAllMetrics(ctx context.Context, params *GetLatestScanAllMetricsParams) (*GetLatestScanAllMetricsOK, error)

GetLatestScanAllMetrics gets the metrics of the latest scan all process.

Get the metrics of the latest scan all process.

func (*Client) GetLatestScheduledScanAllMetrics

func (a *Client) GetLatestScheduledScanAllMetrics(ctx context.Context, params *GetLatestScheduledScanAllMetricsParams) (*GetLatestScheduledScanAllMetricsOK, error)

GetLatestScheduledScanAllMetrics gets the metrics of the latest scheduled scan all process.

Get the metrics of the latest scheduled scan all process.

func (*Client) GetScanAllSchedule

func (a *Client) GetScanAllSchedule(ctx context.Context, params *GetScanAllScheduleParams) (*GetScanAllScheduleOK, error)

GetScanAllSchedule gets scan all s schedule.

This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor..

func (*Client) StopScanAll

func (a *Client) StopScanAll(ctx context.Context, params *StopScanAllParams) (*StopScanAllAccepted, error)

StopScanAll stops scan all job execution.

Stop scanAll job execution.

func (*Client) UpdateScanAllSchedule

func (a *Client) UpdateScanAllSchedule(ctx context.Context, params *UpdateScanAllScheduleParams) (*UpdateScanAllScheduleOK, error)

UpdateScanAllSchedule updates scan all s schedule.

This endpoint is for updating the schedule of scan all job, which scans all of images in Harbor..

type CreateScanAllScheduleBadRequest

type CreateScanAllScheduleBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllScheduleBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateScanAllScheduleBadRequest

func NewCreateScanAllScheduleBadRequest() *CreateScanAllScheduleBadRequest

NewCreateScanAllScheduleBadRequest creates a CreateScanAllScheduleBadRequest with default headers values

func (*CreateScanAllScheduleBadRequest) Code

Code gets the status code for the create scan all schedule bad request response

func (*CreateScanAllScheduleBadRequest) Error

func (*CreateScanAllScheduleBadRequest) GetPayload

func (*CreateScanAllScheduleBadRequest) IsClientError

func (o *CreateScanAllScheduleBadRequest) IsClientError() bool

IsClientError returns true when this create scan all schedule bad request response has a 4xx status code

func (*CreateScanAllScheduleBadRequest) IsCode

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

IsCode returns true when this create scan all schedule bad request response a status code equal to that given

func (*CreateScanAllScheduleBadRequest) IsRedirect

func (o *CreateScanAllScheduleBadRequest) IsRedirect() bool

IsRedirect returns true when this create scan all schedule bad request response has a 3xx status code

func (*CreateScanAllScheduleBadRequest) IsServerError

func (o *CreateScanAllScheduleBadRequest) IsServerError() bool

IsServerError returns true when this create scan all schedule bad request response has a 5xx status code

func (*CreateScanAllScheduleBadRequest) IsSuccess

func (o *CreateScanAllScheduleBadRequest) IsSuccess() bool

IsSuccess returns true when this create scan all schedule bad request response has a 2xx status code

func (*CreateScanAllScheduleBadRequest) String

type CreateScanAllScheduleConflict

type CreateScanAllScheduleConflict struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllScheduleConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateScanAllScheduleConflict

func NewCreateScanAllScheduleConflict() *CreateScanAllScheduleConflict

NewCreateScanAllScheduleConflict creates a CreateScanAllScheduleConflict with default headers values

func (*CreateScanAllScheduleConflict) Code

Code gets the status code for the create scan all schedule conflict response

func (*CreateScanAllScheduleConflict) Error

func (*CreateScanAllScheduleConflict) GetPayload

func (o *CreateScanAllScheduleConflict) GetPayload() *models.Errors

func (*CreateScanAllScheduleConflict) IsClientError

func (o *CreateScanAllScheduleConflict) IsClientError() bool

IsClientError returns true when this create scan all schedule conflict response has a 4xx status code

func (*CreateScanAllScheduleConflict) IsCode

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

IsCode returns true when this create scan all schedule conflict response a status code equal to that given

func (*CreateScanAllScheduleConflict) IsRedirect

func (o *CreateScanAllScheduleConflict) IsRedirect() bool

IsRedirect returns true when this create scan all schedule conflict response has a 3xx status code

func (*CreateScanAllScheduleConflict) IsServerError

func (o *CreateScanAllScheduleConflict) IsServerError() bool

IsServerError returns true when this create scan all schedule conflict response has a 5xx status code

func (*CreateScanAllScheduleConflict) IsSuccess

func (o *CreateScanAllScheduleConflict) IsSuccess() bool

IsSuccess returns true when this create scan all schedule conflict response has a 2xx status code

func (*CreateScanAllScheduleConflict) String

type CreateScanAllScheduleCreated

type CreateScanAllScheduleCreated struct {

	// The location of the resource
	Location string

	// The ID of the corresponding request for the response
	XRequestID string
}

CreateScanAllScheduleCreated describes a response with status code 201, with default header values.

Created

func NewCreateScanAllScheduleCreated

func NewCreateScanAllScheduleCreated() *CreateScanAllScheduleCreated

NewCreateScanAllScheduleCreated creates a CreateScanAllScheduleCreated with default headers values

func (*CreateScanAllScheduleCreated) Code

Code gets the status code for the create scan all schedule created response

func (*CreateScanAllScheduleCreated) Error

func (*CreateScanAllScheduleCreated) IsClientError

func (o *CreateScanAllScheduleCreated) IsClientError() bool

IsClientError returns true when this create scan all schedule created response has a 4xx status code

func (*CreateScanAllScheduleCreated) IsCode

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

IsCode returns true when this create scan all schedule created response a status code equal to that given

func (*CreateScanAllScheduleCreated) IsRedirect

func (o *CreateScanAllScheduleCreated) IsRedirect() bool

IsRedirect returns true when this create scan all schedule created response has a 3xx status code

func (*CreateScanAllScheduleCreated) IsServerError

func (o *CreateScanAllScheduleCreated) IsServerError() bool

IsServerError returns true when this create scan all schedule created response has a 5xx status code

func (*CreateScanAllScheduleCreated) IsSuccess

func (o *CreateScanAllScheduleCreated) IsSuccess() bool

IsSuccess returns true when this create scan all schedule created response has a 2xx status code

func (*CreateScanAllScheduleCreated) String

type CreateScanAllScheduleForbidden

type CreateScanAllScheduleForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllScheduleForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateScanAllScheduleForbidden

func NewCreateScanAllScheduleForbidden() *CreateScanAllScheduleForbidden

NewCreateScanAllScheduleForbidden creates a CreateScanAllScheduleForbidden with default headers values

func (*CreateScanAllScheduleForbidden) Code

Code gets the status code for the create scan all schedule forbidden response

func (*CreateScanAllScheduleForbidden) Error

func (*CreateScanAllScheduleForbidden) GetPayload

func (o *CreateScanAllScheduleForbidden) GetPayload() *models.Errors

func (*CreateScanAllScheduleForbidden) IsClientError

func (o *CreateScanAllScheduleForbidden) IsClientError() bool

IsClientError returns true when this create scan all schedule forbidden response has a 4xx status code

func (*CreateScanAllScheduleForbidden) IsCode

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

IsCode returns true when this create scan all schedule forbidden response a status code equal to that given

func (*CreateScanAllScheduleForbidden) IsRedirect

func (o *CreateScanAllScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this create scan all schedule forbidden response has a 3xx status code

func (*CreateScanAllScheduleForbidden) IsServerError

func (o *CreateScanAllScheduleForbidden) IsServerError() bool

IsServerError returns true when this create scan all schedule forbidden response has a 5xx status code

func (*CreateScanAllScheduleForbidden) IsSuccess

func (o *CreateScanAllScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this create scan all schedule forbidden response has a 2xx status code

func (*CreateScanAllScheduleForbidden) String

type CreateScanAllScheduleInternalServerError

type CreateScanAllScheduleInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewCreateScanAllScheduleInternalServerError

func NewCreateScanAllScheduleInternalServerError() *CreateScanAllScheduleInternalServerError

NewCreateScanAllScheduleInternalServerError creates a CreateScanAllScheduleInternalServerError with default headers values

func (*CreateScanAllScheduleInternalServerError) Code

Code gets the status code for the create scan all schedule internal server error response

func (*CreateScanAllScheduleInternalServerError) Error

func (*CreateScanAllScheduleInternalServerError) GetPayload

func (*CreateScanAllScheduleInternalServerError) IsClientError

IsClientError returns true when this create scan all schedule internal server error response has a 4xx status code

func (*CreateScanAllScheduleInternalServerError) IsCode

IsCode returns true when this create scan all schedule internal server error response a status code equal to that given

func (*CreateScanAllScheduleInternalServerError) IsRedirect

IsRedirect returns true when this create scan all schedule internal server error response has a 3xx status code

func (*CreateScanAllScheduleInternalServerError) IsServerError

IsServerError returns true when this create scan all schedule internal server error response has a 5xx status code

func (*CreateScanAllScheduleInternalServerError) IsSuccess

IsSuccess returns true when this create scan all schedule internal server error response has a 2xx status code

func (*CreateScanAllScheduleInternalServerError) String

type CreateScanAllScheduleParams

type CreateScanAllScheduleParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Schedule.
	//
	// Create a schedule or a manual trigger for the scan all job.
	Schedule *models.Schedule

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

CreateScanAllScheduleParams contains all the parameters to send to the API endpoint

for the create scan all schedule operation.

Typically these are written to a http.Request.

func NewCreateScanAllScheduleParams

func NewCreateScanAllScheduleParams() *CreateScanAllScheduleParams

NewCreateScanAllScheduleParams creates a new CreateScanAllScheduleParams 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 NewCreateScanAllScheduleParamsWithContext deprecated

func NewCreateScanAllScheduleParamsWithContext(ctx context.Context) *CreateScanAllScheduleParams

NewCreateScanAllScheduleParamsWithContext creates a new CreateScanAllScheduleParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of CreateScanAllScheduleParams.

func NewCreateScanAllScheduleParamsWithHTTPClient

func NewCreateScanAllScheduleParamsWithHTTPClient(client *http.Client) *CreateScanAllScheduleParams

NewCreateScanAllScheduleParamsWithHTTPClient creates a new CreateScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateScanAllScheduleParamsWithTimeout

func NewCreateScanAllScheduleParamsWithTimeout(timeout time.Duration) *CreateScanAllScheduleParams

NewCreateScanAllScheduleParamsWithTimeout creates a new CreateScanAllScheduleParams object with the ability to set a timeout on a request.

func (*CreateScanAllScheduleParams) SetContext deprecated

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

SetContext adds the context to the create scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of CreateScanAllScheduleParams.

func (*CreateScanAllScheduleParams) SetDefaults

func (o *CreateScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the create scan all schedule params (not the query body).

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

func (*CreateScanAllScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create scan all schedule params.

func (*CreateScanAllScheduleParams) SetSchedule

func (o *CreateScanAllScheduleParams) SetSchedule(schedule *models.Schedule)

SetSchedule adds the schedule to the create scan all schedule params.

func (*CreateScanAllScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the create scan all schedule params.

func (*CreateScanAllScheduleParams) SetXRequestID

func (o *CreateScanAllScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create scan all schedule params.

func (*CreateScanAllScheduleParams) WithContext deprecated

WithContext adds the context to the create scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of CreateScanAllScheduleParams.

func (*CreateScanAllScheduleParams) WithDefaults

WithDefaults hydrates default values in the create scan all schedule params (not the query body).

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

func (*CreateScanAllScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create scan all schedule params.

func (*CreateScanAllScheduleParams) WithSchedule

WithSchedule adds the schedule to the create scan all schedule params.

func (*CreateScanAllScheduleParams) WithTimeout

WithTimeout adds the timeout to the create scan all schedule params.

func (*CreateScanAllScheduleParams) WithXRequestID

func (o *CreateScanAllScheduleParams) WithXRequestID(xRequestID *string) *CreateScanAllScheduleParams

WithXRequestID adds the xRequestID to the create scan all schedule params.

func (*CreateScanAllScheduleParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type CreateScanAllSchedulePreconditionFailed

type CreateScanAllSchedulePreconditionFailed struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewCreateScanAllSchedulePreconditionFailed

func NewCreateScanAllSchedulePreconditionFailed() *CreateScanAllSchedulePreconditionFailed

NewCreateScanAllSchedulePreconditionFailed creates a CreateScanAllSchedulePreconditionFailed with default headers values

func (*CreateScanAllSchedulePreconditionFailed) Code

Code gets the status code for the create scan all schedule precondition failed response

func (*CreateScanAllSchedulePreconditionFailed) Error

func (*CreateScanAllSchedulePreconditionFailed) GetPayload

func (*CreateScanAllSchedulePreconditionFailed) IsClientError

func (o *CreateScanAllSchedulePreconditionFailed) IsClientError() bool

IsClientError returns true when this create scan all schedule precondition failed response has a 4xx status code

func (*CreateScanAllSchedulePreconditionFailed) IsCode

IsCode returns true when this create scan all schedule precondition failed response a status code equal to that given

func (*CreateScanAllSchedulePreconditionFailed) IsRedirect

IsRedirect returns true when this create scan all schedule precondition failed response has a 3xx status code

func (*CreateScanAllSchedulePreconditionFailed) IsServerError

func (o *CreateScanAllSchedulePreconditionFailed) IsServerError() bool

IsServerError returns true when this create scan all schedule precondition failed response has a 5xx status code

func (*CreateScanAllSchedulePreconditionFailed) IsSuccess

IsSuccess returns true when this create scan all schedule precondition failed response has a 2xx status code

func (*CreateScanAllSchedulePreconditionFailed) String

type CreateScanAllScheduleReader

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

CreateScanAllScheduleReader is a Reader for the CreateScanAllSchedule structure.

func (*CreateScanAllScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateScanAllScheduleUnauthorized

type CreateScanAllScheduleUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

CreateScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateScanAllScheduleUnauthorized

func NewCreateScanAllScheduleUnauthorized() *CreateScanAllScheduleUnauthorized

NewCreateScanAllScheduleUnauthorized creates a CreateScanAllScheduleUnauthorized with default headers values

func (*CreateScanAllScheduleUnauthorized) Code

Code gets the status code for the create scan all schedule unauthorized response

func (*CreateScanAllScheduleUnauthorized) Error

func (*CreateScanAllScheduleUnauthorized) GetPayload

func (*CreateScanAllScheduleUnauthorized) IsClientError

func (o *CreateScanAllScheduleUnauthorized) IsClientError() bool

IsClientError returns true when this create scan all schedule unauthorized response has a 4xx status code

func (*CreateScanAllScheduleUnauthorized) IsCode

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

IsCode returns true when this create scan all schedule unauthorized response a status code equal to that given

func (*CreateScanAllScheduleUnauthorized) IsRedirect

func (o *CreateScanAllScheduleUnauthorized) IsRedirect() bool

IsRedirect returns true when this create scan all schedule unauthorized response has a 3xx status code

func (*CreateScanAllScheduleUnauthorized) IsServerError

func (o *CreateScanAllScheduleUnauthorized) IsServerError() bool

IsServerError returns true when this create scan all schedule unauthorized response has a 5xx status code

func (*CreateScanAllScheduleUnauthorized) IsSuccess

func (o *CreateScanAllScheduleUnauthorized) IsSuccess() bool

IsSuccess returns true when this create scan all schedule unauthorized response has a 2xx status code

func (*CreateScanAllScheduleUnauthorized) String

type GetLatestScanAllMetricsForbidden

type GetLatestScanAllMetricsForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScanAllMetricsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetLatestScanAllMetricsForbidden

func NewGetLatestScanAllMetricsForbidden() *GetLatestScanAllMetricsForbidden

NewGetLatestScanAllMetricsForbidden creates a GetLatestScanAllMetricsForbidden with default headers values

func (*GetLatestScanAllMetricsForbidden) Code

Code gets the status code for the get latest scan all metrics forbidden response

func (*GetLatestScanAllMetricsForbidden) Error

func (*GetLatestScanAllMetricsForbidden) GetPayload

func (*GetLatestScanAllMetricsForbidden) IsClientError

func (o *GetLatestScanAllMetricsForbidden) IsClientError() bool

IsClientError returns true when this get latest scan all metrics forbidden response has a 4xx status code

func (*GetLatestScanAllMetricsForbidden) IsCode

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

IsCode returns true when this get latest scan all metrics forbidden response a status code equal to that given

func (*GetLatestScanAllMetricsForbidden) IsRedirect

func (o *GetLatestScanAllMetricsForbidden) IsRedirect() bool

IsRedirect returns true when this get latest scan all metrics forbidden response has a 3xx status code

func (*GetLatestScanAllMetricsForbidden) IsServerError

func (o *GetLatestScanAllMetricsForbidden) IsServerError() bool

IsServerError returns true when this get latest scan all metrics forbidden response has a 5xx status code

func (*GetLatestScanAllMetricsForbidden) IsSuccess

func (o *GetLatestScanAllMetricsForbidden) IsSuccess() bool

IsSuccess returns true when this get latest scan all metrics forbidden response has a 2xx status code

func (*GetLatestScanAllMetricsForbidden) String

type GetLatestScanAllMetricsInternalServerError

type GetLatestScanAllMetricsInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScanAllMetricsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetLatestScanAllMetricsInternalServerError

func NewGetLatestScanAllMetricsInternalServerError() *GetLatestScanAllMetricsInternalServerError

NewGetLatestScanAllMetricsInternalServerError creates a GetLatestScanAllMetricsInternalServerError with default headers values

func (*GetLatestScanAllMetricsInternalServerError) Code

Code gets the status code for the get latest scan all metrics internal server error response

func (*GetLatestScanAllMetricsInternalServerError) Error

func (*GetLatestScanAllMetricsInternalServerError) GetPayload

func (*GetLatestScanAllMetricsInternalServerError) IsClientError

IsClientError returns true when this get latest scan all metrics internal server error response has a 4xx status code

func (*GetLatestScanAllMetricsInternalServerError) IsCode

IsCode returns true when this get latest scan all metrics internal server error response a status code equal to that given

func (*GetLatestScanAllMetricsInternalServerError) IsRedirect

IsRedirect returns true when this get latest scan all metrics internal server error response has a 3xx status code

func (*GetLatestScanAllMetricsInternalServerError) IsServerError

IsServerError returns true when this get latest scan all metrics internal server error response has a 5xx status code

func (*GetLatestScanAllMetricsInternalServerError) IsSuccess

IsSuccess returns true when this get latest scan all metrics internal server error response has a 2xx status code

func (*GetLatestScanAllMetricsInternalServerError) String

type GetLatestScanAllMetricsOK

type GetLatestScanAllMetricsOK struct {
	Payload *models.Stats
}

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

OK

func NewGetLatestScanAllMetricsOK

func NewGetLatestScanAllMetricsOK() *GetLatestScanAllMetricsOK

NewGetLatestScanAllMetricsOK creates a GetLatestScanAllMetricsOK with default headers values

func (*GetLatestScanAllMetricsOK) Code

func (o *GetLatestScanAllMetricsOK) Code() int

Code gets the status code for the get latest scan all metrics o k response

func (*GetLatestScanAllMetricsOK) Error

func (o *GetLatestScanAllMetricsOK) Error() string

func (*GetLatestScanAllMetricsOK) GetPayload

func (o *GetLatestScanAllMetricsOK) GetPayload() *models.Stats

func (*GetLatestScanAllMetricsOK) IsClientError

func (o *GetLatestScanAllMetricsOK) IsClientError() bool

IsClientError returns true when this get latest scan all metrics o k response has a 4xx status code

func (*GetLatestScanAllMetricsOK) IsCode

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

IsCode returns true when this get latest scan all metrics o k response a status code equal to that given

func (*GetLatestScanAllMetricsOK) IsRedirect

func (o *GetLatestScanAllMetricsOK) IsRedirect() bool

IsRedirect returns true when this get latest scan all metrics o k response has a 3xx status code

func (*GetLatestScanAllMetricsOK) IsServerError

func (o *GetLatestScanAllMetricsOK) IsServerError() bool

IsServerError returns true when this get latest scan all metrics o k response has a 5xx status code

func (*GetLatestScanAllMetricsOK) IsSuccess

func (o *GetLatestScanAllMetricsOK) IsSuccess() bool

IsSuccess returns true when this get latest scan all metrics o k response has a 2xx status code

func (*GetLatestScanAllMetricsOK) String

func (o *GetLatestScanAllMetricsOK) String() string

type GetLatestScanAllMetricsParams

type GetLatestScanAllMetricsParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

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

GetLatestScanAllMetricsParams contains all the parameters to send to the API endpoint

for the get latest scan all metrics operation.

Typically these are written to a http.Request.

func NewGetLatestScanAllMetricsParams

func NewGetLatestScanAllMetricsParams() *GetLatestScanAllMetricsParams

NewGetLatestScanAllMetricsParams creates a new GetLatestScanAllMetricsParams 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 NewGetLatestScanAllMetricsParamsWithContext deprecated

func NewGetLatestScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScanAllMetricsParams

NewGetLatestScanAllMetricsParamsWithContext creates a new GetLatestScanAllMetricsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetLatestScanAllMetricsParams.

func NewGetLatestScanAllMetricsParamsWithHTTPClient

func NewGetLatestScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScanAllMetricsParams

NewGetLatestScanAllMetricsParamsWithHTTPClient creates a new GetLatestScanAllMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLatestScanAllMetricsParamsWithTimeout

func NewGetLatestScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScanAllMetricsParams

NewGetLatestScanAllMetricsParamsWithTimeout creates a new GetLatestScanAllMetricsParams object with the ability to set a timeout on a request.

func (*GetLatestScanAllMetricsParams) SetContext deprecated

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

SetContext adds the context to the get latest scan all metrics params.

Deprecated: use the operation call with context to pass the context instead of GetLatestScanAllMetricsParams.

func (*GetLatestScanAllMetricsParams) SetDefaults

func (o *GetLatestScanAllMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get latest scan all metrics params (not the query body).

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

func (*GetLatestScanAllMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) SetXRequestID

func (o *GetLatestScanAllMetricsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) WithContext deprecated

WithContext adds the context to the get latest scan all metrics params.

Deprecated: use the operation call with context to pass the context instead of GetLatestScanAllMetricsParams.

func (*GetLatestScanAllMetricsParams) WithDefaults

WithDefaults hydrates default values in the get latest scan all metrics params (not the query body).

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

func (*GetLatestScanAllMetricsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) WithTimeout

WithTimeout adds the timeout to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) WithXRequestID

func (o *GetLatestScanAllMetricsParams) WithXRequestID(xRequestID *string) *GetLatestScanAllMetricsParams

WithXRequestID adds the xRequestID to the get latest scan all metrics params.

func (*GetLatestScanAllMetricsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetLatestScanAllMetricsPreconditionFailed

type GetLatestScanAllMetricsPreconditionFailed struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScanAllMetricsPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewGetLatestScanAllMetricsPreconditionFailed

func NewGetLatestScanAllMetricsPreconditionFailed() *GetLatestScanAllMetricsPreconditionFailed

NewGetLatestScanAllMetricsPreconditionFailed creates a GetLatestScanAllMetricsPreconditionFailed with default headers values

func (*GetLatestScanAllMetricsPreconditionFailed) Code

Code gets the status code for the get latest scan all metrics precondition failed response

func (*GetLatestScanAllMetricsPreconditionFailed) Error

func (*GetLatestScanAllMetricsPreconditionFailed) GetPayload

func (*GetLatestScanAllMetricsPreconditionFailed) IsClientError

IsClientError returns true when this get latest scan all metrics precondition failed response has a 4xx status code

func (*GetLatestScanAllMetricsPreconditionFailed) IsCode

IsCode returns true when this get latest scan all metrics precondition failed response a status code equal to that given

func (*GetLatestScanAllMetricsPreconditionFailed) IsRedirect

IsRedirect returns true when this get latest scan all metrics precondition failed response has a 3xx status code

func (*GetLatestScanAllMetricsPreconditionFailed) IsServerError

IsServerError returns true when this get latest scan all metrics precondition failed response has a 5xx status code

func (*GetLatestScanAllMetricsPreconditionFailed) IsSuccess

IsSuccess returns true when this get latest scan all metrics precondition failed response has a 2xx status code

func (*GetLatestScanAllMetricsPreconditionFailed) String

type GetLatestScanAllMetricsReader

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

GetLatestScanAllMetricsReader is a Reader for the GetLatestScanAllMetrics structure.

func (*GetLatestScanAllMetricsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLatestScanAllMetricsUnauthorized

type GetLatestScanAllMetricsUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScanAllMetricsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetLatestScanAllMetricsUnauthorized

func NewGetLatestScanAllMetricsUnauthorized() *GetLatestScanAllMetricsUnauthorized

NewGetLatestScanAllMetricsUnauthorized creates a GetLatestScanAllMetricsUnauthorized with default headers values

func (*GetLatestScanAllMetricsUnauthorized) Code

Code gets the status code for the get latest scan all metrics unauthorized response

func (*GetLatestScanAllMetricsUnauthorized) Error

func (*GetLatestScanAllMetricsUnauthorized) GetPayload

func (*GetLatestScanAllMetricsUnauthorized) IsClientError

func (o *GetLatestScanAllMetricsUnauthorized) IsClientError() bool

IsClientError returns true when this get latest scan all metrics unauthorized response has a 4xx status code

func (*GetLatestScanAllMetricsUnauthorized) IsCode

IsCode returns true when this get latest scan all metrics unauthorized response a status code equal to that given

func (*GetLatestScanAllMetricsUnauthorized) IsRedirect

func (o *GetLatestScanAllMetricsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get latest scan all metrics unauthorized response has a 3xx status code

func (*GetLatestScanAllMetricsUnauthorized) IsServerError

func (o *GetLatestScanAllMetricsUnauthorized) IsServerError() bool

IsServerError returns true when this get latest scan all metrics unauthorized response has a 5xx status code

func (*GetLatestScanAllMetricsUnauthorized) IsSuccess

IsSuccess returns true when this get latest scan all metrics unauthorized response has a 2xx status code

func (*GetLatestScanAllMetricsUnauthorized) String

type GetLatestScheduledScanAllMetricsForbidden

type GetLatestScheduledScanAllMetricsForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScheduledScanAllMetricsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetLatestScheduledScanAllMetricsForbidden

func NewGetLatestScheduledScanAllMetricsForbidden() *GetLatestScheduledScanAllMetricsForbidden

NewGetLatestScheduledScanAllMetricsForbidden creates a GetLatestScheduledScanAllMetricsForbidden with default headers values

func (*GetLatestScheduledScanAllMetricsForbidden) Code

Code gets the status code for the get latest scheduled scan all metrics forbidden response

func (*GetLatestScheduledScanAllMetricsForbidden) Error

func (*GetLatestScheduledScanAllMetricsForbidden) GetPayload

func (*GetLatestScheduledScanAllMetricsForbidden) IsClientError

IsClientError returns true when this get latest scheduled scan all metrics forbidden response has a 4xx status code

func (*GetLatestScheduledScanAllMetricsForbidden) IsCode

IsCode returns true when this get latest scheduled scan all metrics forbidden response a status code equal to that given

func (*GetLatestScheduledScanAllMetricsForbidden) IsRedirect

IsRedirect returns true when this get latest scheduled scan all metrics forbidden response has a 3xx status code

func (*GetLatestScheduledScanAllMetricsForbidden) IsServerError

IsServerError returns true when this get latest scheduled scan all metrics forbidden response has a 5xx status code

func (*GetLatestScheduledScanAllMetricsForbidden) IsSuccess

IsSuccess returns true when this get latest scheduled scan all metrics forbidden response has a 2xx status code

func (*GetLatestScheduledScanAllMetricsForbidden) String

type GetLatestScheduledScanAllMetricsInternalServerError

type GetLatestScheduledScanAllMetricsInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScheduledScanAllMetricsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetLatestScheduledScanAllMetricsInternalServerError

func NewGetLatestScheduledScanAllMetricsInternalServerError() *GetLatestScheduledScanAllMetricsInternalServerError

NewGetLatestScheduledScanAllMetricsInternalServerError creates a GetLatestScheduledScanAllMetricsInternalServerError with default headers values

func (*GetLatestScheduledScanAllMetricsInternalServerError) Code

Code gets the status code for the get latest scheduled scan all metrics internal server error response

func (*GetLatestScheduledScanAllMetricsInternalServerError) Error

func (*GetLatestScheduledScanAllMetricsInternalServerError) GetPayload

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsClientError

IsClientError returns true when this get latest scheduled scan all metrics internal server error response has a 4xx status code

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsCode

IsCode returns true when this get latest scheduled scan all metrics internal server error response a status code equal to that given

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsRedirect

IsRedirect returns true when this get latest scheduled scan all metrics internal server error response has a 3xx status code

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsServerError

IsServerError returns true when this get latest scheduled scan all metrics internal server error response has a 5xx status code

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsSuccess

IsSuccess returns true when this get latest scheduled scan all metrics internal server error response has a 2xx status code

func (*GetLatestScheduledScanAllMetricsInternalServerError) String

type GetLatestScheduledScanAllMetricsOK

type GetLatestScheduledScanAllMetricsOK struct {
	Payload *models.Stats
}

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

OK

func NewGetLatestScheduledScanAllMetricsOK

func NewGetLatestScheduledScanAllMetricsOK() *GetLatestScheduledScanAllMetricsOK

NewGetLatestScheduledScanAllMetricsOK creates a GetLatestScheduledScanAllMetricsOK with default headers values

func (*GetLatestScheduledScanAllMetricsOK) Code

Code gets the status code for the get latest scheduled scan all metrics o k response

func (*GetLatestScheduledScanAllMetricsOK) Error

func (*GetLatestScheduledScanAllMetricsOK) GetPayload

func (*GetLatestScheduledScanAllMetricsOK) IsClientError

func (o *GetLatestScheduledScanAllMetricsOK) IsClientError() bool

IsClientError returns true when this get latest scheduled scan all metrics o k response has a 4xx status code

func (*GetLatestScheduledScanAllMetricsOK) IsCode

IsCode returns true when this get latest scheduled scan all metrics o k response a status code equal to that given

func (*GetLatestScheduledScanAllMetricsOK) IsRedirect

func (o *GetLatestScheduledScanAllMetricsOK) IsRedirect() bool

IsRedirect returns true when this get latest scheduled scan all metrics o k response has a 3xx status code

func (*GetLatestScheduledScanAllMetricsOK) IsServerError

func (o *GetLatestScheduledScanAllMetricsOK) IsServerError() bool

IsServerError returns true when this get latest scheduled scan all metrics o k response has a 5xx status code

func (*GetLatestScheduledScanAllMetricsOK) IsSuccess

IsSuccess returns true when this get latest scheduled scan all metrics o k response has a 2xx status code

func (*GetLatestScheduledScanAllMetricsOK) String

type GetLatestScheduledScanAllMetricsParams

type GetLatestScheduledScanAllMetricsParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

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

GetLatestScheduledScanAllMetricsParams contains all the parameters to send to the API endpoint

for the get latest scheduled scan all metrics operation.

Typically these are written to a http.Request.

func NewGetLatestScheduledScanAllMetricsParams

func NewGetLatestScheduledScanAllMetricsParams() *GetLatestScheduledScanAllMetricsParams

NewGetLatestScheduledScanAllMetricsParams creates a new GetLatestScheduledScanAllMetricsParams 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 NewGetLatestScheduledScanAllMetricsParamsWithContext deprecated

func NewGetLatestScheduledScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams

NewGetLatestScheduledScanAllMetricsParamsWithContext creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetLatestScheduledScanAllMetricsParams.

func NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient

func NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScheduledScanAllMetricsParams

NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewGetLatestScheduledScanAllMetricsParamsWithTimeout

func NewGetLatestScheduledScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScheduledScanAllMetricsParams

NewGetLatestScheduledScanAllMetricsParamsWithTimeout creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a timeout on a request.

func (*GetLatestScheduledScanAllMetricsParams) SetContext deprecated

SetContext adds the context to the get latest scheduled scan all metrics params.

Deprecated: use the operation call with context to pass the context instead of GetLatestScheduledScanAllMetricsParams.

func (*GetLatestScheduledScanAllMetricsParams) SetDefaults

func (o *GetLatestScheduledScanAllMetricsParams) SetDefaults()

SetDefaults hydrates default values in the get latest scheduled scan all metrics params (not the query body).

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

func (*GetLatestScheduledScanAllMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) SetXRequestID

func (o *GetLatestScheduledScanAllMetricsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) WithContext deprecated

WithContext adds the context to the get latest scheduled scan all metrics params.

Deprecated: use the operation call with context to pass the context instead of GetLatestScheduledScanAllMetricsParams.

func (*GetLatestScheduledScanAllMetricsParams) WithDefaults

WithDefaults hydrates default values in the get latest scheduled scan all metrics params (not the query body).

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

func (*GetLatestScheduledScanAllMetricsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) WithTimeout

WithTimeout adds the timeout to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) WithXRequestID

WithXRequestID adds the xRequestID to the get latest scheduled scan all metrics params.

func (*GetLatestScheduledScanAllMetricsParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetLatestScheduledScanAllMetricsPreconditionFailed

type GetLatestScheduledScanAllMetricsPreconditionFailed struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScheduledScanAllMetricsPreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewGetLatestScheduledScanAllMetricsPreconditionFailed

func NewGetLatestScheduledScanAllMetricsPreconditionFailed() *GetLatestScheduledScanAllMetricsPreconditionFailed

NewGetLatestScheduledScanAllMetricsPreconditionFailed creates a GetLatestScheduledScanAllMetricsPreconditionFailed with default headers values

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) Code

Code gets the status code for the get latest scheduled scan all metrics precondition failed response

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) Error

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsClientError

IsClientError returns true when this get latest scheduled scan all metrics precondition failed response has a 4xx status code

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsCode

IsCode returns true when this get latest scheduled scan all metrics precondition failed response a status code equal to that given

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsRedirect

IsRedirect returns true when this get latest scheduled scan all metrics precondition failed response has a 3xx status code

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsServerError

IsServerError returns true when this get latest scheduled scan all metrics precondition failed response has a 5xx status code

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsSuccess

IsSuccess returns true when this get latest scheduled scan all metrics precondition failed response has a 2xx status code

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) String

type GetLatestScheduledScanAllMetricsReader

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

GetLatestScheduledScanAllMetricsReader is a Reader for the GetLatestScheduledScanAllMetrics structure.

func (*GetLatestScheduledScanAllMetricsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetLatestScheduledScanAllMetricsUnauthorized

type GetLatestScheduledScanAllMetricsUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetLatestScheduledScanAllMetricsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetLatestScheduledScanAllMetricsUnauthorized

func NewGetLatestScheduledScanAllMetricsUnauthorized() *GetLatestScheduledScanAllMetricsUnauthorized

NewGetLatestScheduledScanAllMetricsUnauthorized creates a GetLatestScheduledScanAllMetricsUnauthorized with default headers values

func (*GetLatestScheduledScanAllMetricsUnauthorized) Code

Code gets the status code for the get latest scheduled scan all metrics unauthorized response

func (*GetLatestScheduledScanAllMetricsUnauthorized) Error

func (*GetLatestScheduledScanAllMetricsUnauthorized) GetPayload

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsClientError

IsClientError returns true when this get latest scheduled scan all metrics unauthorized response has a 4xx status code

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsCode

IsCode returns true when this get latest scheduled scan all metrics unauthorized response a status code equal to that given

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsRedirect

IsRedirect returns true when this get latest scheduled scan all metrics unauthorized response has a 3xx status code

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsServerError

IsServerError returns true when this get latest scheduled scan all metrics unauthorized response has a 5xx status code

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsSuccess

IsSuccess returns true when this get latest scheduled scan all metrics unauthorized response has a 2xx status code

func (*GetLatestScheduledScanAllMetricsUnauthorized) String

type GetScanAllScheduleForbidden

type GetScanAllScheduleForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetScanAllScheduleForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetScanAllScheduleForbidden

func NewGetScanAllScheduleForbidden() *GetScanAllScheduleForbidden

NewGetScanAllScheduleForbidden creates a GetScanAllScheduleForbidden with default headers values

func (*GetScanAllScheduleForbidden) Code

func (o *GetScanAllScheduleForbidden) Code() int

Code gets the status code for the get scan all schedule forbidden response

func (*GetScanAllScheduleForbidden) Error

func (*GetScanAllScheduleForbidden) GetPayload

func (o *GetScanAllScheduleForbidden) GetPayload() *models.Errors

func (*GetScanAllScheduleForbidden) IsClientError

func (o *GetScanAllScheduleForbidden) IsClientError() bool

IsClientError returns true when this get scan all schedule forbidden response has a 4xx status code

func (*GetScanAllScheduleForbidden) IsCode

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

IsCode returns true when this get scan all schedule forbidden response a status code equal to that given

func (*GetScanAllScheduleForbidden) IsRedirect

func (o *GetScanAllScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this get scan all schedule forbidden response has a 3xx status code

func (*GetScanAllScheduleForbidden) IsServerError

func (o *GetScanAllScheduleForbidden) IsServerError() bool

IsServerError returns true when this get scan all schedule forbidden response has a 5xx status code

func (*GetScanAllScheduleForbidden) IsSuccess

func (o *GetScanAllScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this get scan all schedule forbidden response has a 2xx status code

func (*GetScanAllScheduleForbidden) String

func (o *GetScanAllScheduleForbidden) String() string

type GetScanAllScheduleInternalServerError

type GetScanAllScheduleInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetScanAllScheduleInternalServerError

func NewGetScanAllScheduleInternalServerError() *GetScanAllScheduleInternalServerError

NewGetScanAllScheduleInternalServerError creates a GetScanAllScheduleInternalServerError with default headers values

func (*GetScanAllScheduleInternalServerError) Code

Code gets the status code for the get scan all schedule internal server error response

func (*GetScanAllScheduleInternalServerError) Error

func (*GetScanAllScheduleInternalServerError) GetPayload

func (*GetScanAllScheduleInternalServerError) IsClientError

func (o *GetScanAllScheduleInternalServerError) IsClientError() bool

IsClientError returns true when this get scan all schedule internal server error response has a 4xx status code

func (*GetScanAllScheduleInternalServerError) IsCode

IsCode returns true when this get scan all schedule internal server error response a status code equal to that given

func (*GetScanAllScheduleInternalServerError) IsRedirect

IsRedirect returns true when this get scan all schedule internal server error response has a 3xx status code

func (*GetScanAllScheduleInternalServerError) IsServerError

func (o *GetScanAllScheduleInternalServerError) IsServerError() bool

IsServerError returns true when this get scan all schedule internal server error response has a 5xx status code

func (*GetScanAllScheduleInternalServerError) IsSuccess

IsSuccess returns true when this get scan all schedule internal server error response has a 2xx status code

func (*GetScanAllScheduleInternalServerError) String

type GetScanAllScheduleOK

type GetScanAllScheduleOK struct {
	Payload *models.Schedule
}

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

Get a schedule for the scan all job, which scans all of images in Harbor.

func NewGetScanAllScheduleOK

func NewGetScanAllScheduleOK() *GetScanAllScheduleOK

NewGetScanAllScheduleOK creates a GetScanAllScheduleOK with default headers values

func (*GetScanAllScheduleOK) Code

func (o *GetScanAllScheduleOK) Code() int

Code gets the status code for the get scan all schedule o k response

func (*GetScanAllScheduleOK) Error

func (o *GetScanAllScheduleOK) Error() string

func (*GetScanAllScheduleOK) GetPayload

func (o *GetScanAllScheduleOK) GetPayload() *models.Schedule

func (*GetScanAllScheduleOK) IsClientError

func (o *GetScanAllScheduleOK) IsClientError() bool

IsClientError returns true when this get scan all schedule o k response has a 4xx status code

func (*GetScanAllScheduleOK) IsCode

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

IsCode returns true when this get scan all schedule o k response a status code equal to that given

func (*GetScanAllScheduleOK) IsRedirect

func (o *GetScanAllScheduleOK) IsRedirect() bool

IsRedirect returns true when this get scan all schedule o k response has a 3xx status code

func (*GetScanAllScheduleOK) IsServerError

func (o *GetScanAllScheduleOK) IsServerError() bool

IsServerError returns true when this get scan all schedule o k response has a 5xx status code

func (*GetScanAllScheduleOK) IsSuccess

func (o *GetScanAllScheduleOK) IsSuccess() bool

IsSuccess returns true when this get scan all schedule o k response has a 2xx status code

func (*GetScanAllScheduleOK) String

func (o *GetScanAllScheduleOK) String() string

type GetScanAllScheduleParams

type GetScanAllScheduleParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

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

GetScanAllScheduleParams contains all the parameters to send to the API endpoint

for the get scan all schedule operation.

Typically these are written to a http.Request.

func NewGetScanAllScheduleParams

func NewGetScanAllScheduleParams() *GetScanAllScheduleParams

NewGetScanAllScheduleParams creates a new GetScanAllScheduleParams 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 NewGetScanAllScheduleParamsWithContext deprecated

func NewGetScanAllScheduleParamsWithContext(ctx context.Context) *GetScanAllScheduleParams

NewGetScanAllScheduleParamsWithContext creates a new GetScanAllScheduleParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of GetScanAllScheduleParams.

func NewGetScanAllScheduleParamsWithHTTPClient

func NewGetScanAllScheduleParamsWithHTTPClient(client *http.Client) *GetScanAllScheduleParams

NewGetScanAllScheduleParamsWithHTTPClient creates a new GetScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewGetScanAllScheduleParamsWithTimeout

func NewGetScanAllScheduleParamsWithTimeout(timeout time.Duration) *GetScanAllScheduleParams

NewGetScanAllScheduleParamsWithTimeout creates a new GetScanAllScheduleParams object with the ability to set a timeout on a request.

func (*GetScanAllScheduleParams) SetContext deprecated

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

SetContext adds the context to the get scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of GetScanAllScheduleParams.

func (*GetScanAllScheduleParams) SetDefaults

func (o *GetScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the get scan all schedule params (not the query body).

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

func (*GetScanAllScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scan all schedule params.

func (*GetScanAllScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the get scan all schedule params.

func (*GetScanAllScheduleParams) SetXRequestID

func (o *GetScanAllScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get scan all schedule params.

func (*GetScanAllScheduleParams) WithContext deprecated

WithContext adds the context to the get scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of GetScanAllScheduleParams.

func (*GetScanAllScheduleParams) WithDefaults

WithDefaults hydrates default values in the get scan all schedule params (not the query body).

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

func (*GetScanAllScheduleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get scan all schedule params.

func (*GetScanAllScheduleParams) WithTimeout

WithTimeout adds the timeout to the get scan all schedule params.

func (*GetScanAllScheduleParams) WithXRequestID

func (o *GetScanAllScheduleParams) WithXRequestID(xRequestID *string) *GetScanAllScheduleParams

WithXRequestID adds the xRequestID to the get scan all schedule params.

func (*GetScanAllScheduleParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type GetScanAllSchedulePreconditionFailed

type GetScanAllSchedulePreconditionFailed struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewGetScanAllSchedulePreconditionFailed

func NewGetScanAllSchedulePreconditionFailed() *GetScanAllSchedulePreconditionFailed

NewGetScanAllSchedulePreconditionFailed creates a GetScanAllSchedulePreconditionFailed with default headers values

func (*GetScanAllSchedulePreconditionFailed) Code

Code gets the status code for the get scan all schedule precondition failed response

func (*GetScanAllSchedulePreconditionFailed) Error

func (*GetScanAllSchedulePreconditionFailed) GetPayload

func (*GetScanAllSchedulePreconditionFailed) IsClientError

func (o *GetScanAllSchedulePreconditionFailed) IsClientError() bool

IsClientError returns true when this get scan all schedule precondition failed response has a 4xx status code

func (*GetScanAllSchedulePreconditionFailed) IsCode

IsCode returns true when this get scan all schedule precondition failed response a status code equal to that given

func (*GetScanAllSchedulePreconditionFailed) IsRedirect

IsRedirect returns true when this get scan all schedule precondition failed response has a 3xx status code

func (*GetScanAllSchedulePreconditionFailed) IsServerError

func (o *GetScanAllSchedulePreconditionFailed) IsServerError() bool

IsServerError returns true when this get scan all schedule precondition failed response has a 5xx status code

func (*GetScanAllSchedulePreconditionFailed) IsSuccess

IsSuccess returns true when this get scan all schedule precondition failed response has a 2xx status code

func (*GetScanAllSchedulePreconditionFailed) String

type GetScanAllScheduleReader

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

GetScanAllScheduleReader is a Reader for the GetScanAllSchedule structure.

func (*GetScanAllScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScanAllScheduleUnauthorized

type GetScanAllScheduleUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

GetScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetScanAllScheduleUnauthorized

func NewGetScanAllScheduleUnauthorized() *GetScanAllScheduleUnauthorized

NewGetScanAllScheduleUnauthorized creates a GetScanAllScheduleUnauthorized with default headers values

func (*GetScanAllScheduleUnauthorized) Code

Code gets the status code for the get scan all schedule unauthorized response

func (*GetScanAllScheduleUnauthorized) Error

func (*GetScanAllScheduleUnauthorized) GetPayload

func (o *GetScanAllScheduleUnauthorized) GetPayload() *models.Errors

func (*GetScanAllScheduleUnauthorized) IsClientError

func (o *GetScanAllScheduleUnauthorized) IsClientError() bool

IsClientError returns true when this get scan all schedule unauthorized response has a 4xx status code

func (*GetScanAllScheduleUnauthorized) IsCode

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

IsCode returns true when this get scan all schedule unauthorized response a status code equal to that given

func (*GetScanAllScheduleUnauthorized) IsRedirect

func (o *GetScanAllScheduleUnauthorized) IsRedirect() bool

IsRedirect returns true when this get scan all schedule unauthorized response has a 3xx status code

func (*GetScanAllScheduleUnauthorized) IsServerError

func (o *GetScanAllScheduleUnauthorized) IsServerError() bool

IsServerError returns true when this get scan all schedule unauthorized response has a 5xx status code

func (*GetScanAllScheduleUnauthorized) IsSuccess

func (o *GetScanAllScheduleUnauthorized) IsSuccess() bool

IsSuccess returns true when this get scan all schedule unauthorized response has a 2xx status code

func (*GetScanAllScheduleUnauthorized) String

type StopScanAllAccepted

type StopScanAllAccepted struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

StopScanAllAccepted describes a response with status code 202, with default header values.

Accepted

func NewStopScanAllAccepted

func NewStopScanAllAccepted() *StopScanAllAccepted

NewStopScanAllAccepted creates a StopScanAllAccepted with default headers values

func (*StopScanAllAccepted) Code

func (o *StopScanAllAccepted) Code() int

Code gets the status code for the stop scan all accepted response

func (*StopScanAllAccepted) Error

func (o *StopScanAllAccepted) Error() string

func (*StopScanAllAccepted) IsClientError

func (o *StopScanAllAccepted) IsClientError() bool

IsClientError returns true when this stop scan all accepted response has a 4xx status code

func (*StopScanAllAccepted) IsCode

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

IsCode returns true when this stop scan all accepted response a status code equal to that given

func (*StopScanAllAccepted) IsRedirect

func (o *StopScanAllAccepted) IsRedirect() bool

IsRedirect returns true when this stop scan all accepted response has a 3xx status code

func (*StopScanAllAccepted) IsServerError

func (o *StopScanAllAccepted) IsServerError() bool

IsServerError returns true when this stop scan all accepted response has a 5xx status code

func (*StopScanAllAccepted) IsSuccess

func (o *StopScanAllAccepted) IsSuccess() bool

IsSuccess returns true when this stop scan all accepted response has a 2xx status code

func (*StopScanAllAccepted) String

func (o *StopScanAllAccepted) String() string

type StopScanAllBadRequest

type StopScanAllBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

StopScanAllBadRequest describes a response with status code 400, with default header values.

Bad request

func NewStopScanAllBadRequest

func NewStopScanAllBadRequest() *StopScanAllBadRequest

NewStopScanAllBadRequest creates a StopScanAllBadRequest with default headers values

func (*StopScanAllBadRequest) Code

func (o *StopScanAllBadRequest) Code() int

Code gets the status code for the stop scan all bad request response

func (*StopScanAllBadRequest) Error

func (o *StopScanAllBadRequest) Error() string

func (*StopScanAllBadRequest) GetPayload

func (o *StopScanAllBadRequest) GetPayload() *models.Errors

func (*StopScanAllBadRequest) IsClientError

func (o *StopScanAllBadRequest) IsClientError() bool

IsClientError returns true when this stop scan all bad request response has a 4xx status code

func (*StopScanAllBadRequest) IsCode

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

IsCode returns true when this stop scan all bad request response a status code equal to that given

func (*StopScanAllBadRequest) IsRedirect

func (o *StopScanAllBadRequest) IsRedirect() bool

IsRedirect returns true when this stop scan all bad request response has a 3xx status code

func (*StopScanAllBadRequest) IsServerError

func (o *StopScanAllBadRequest) IsServerError() bool

IsServerError returns true when this stop scan all bad request response has a 5xx status code

func (*StopScanAllBadRequest) IsSuccess

func (o *StopScanAllBadRequest) IsSuccess() bool

IsSuccess returns true when this stop scan all bad request response has a 2xx status code

func (*StopScanAllBadRequest) String

func (o *StopScanAllBadRequest) String() string

type StopScanAllForbidden

type StopScanAllForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

StopScanAllForbidden describes a response with status code 403, with default header values.

Forbidden

func NewStopScanAllForbidden

func NewStopScanAllForbidden() *StopScanAllForbidden

NewStopScanAllForbidden creates a StopScanAllForbidden with default headers values

func (*StopScanAllForbidden) Code

func (o *StopScanAllForbidden) Code() int

Code gets the status code for the stop scan all forbidden response

func (*StopScanAllForbidden) Error

func (o *StopScanAllForbidden) Error() string

func (*StopScanAllForbidden) GetPayload

func (o *StopScanAllForbidden) GetPayload() *models.Errors

func (*StopScanAllForbidden) IsClientError

func (o *StopScanAllForbidden) IsClientError() bool

IsClientError returns true when this stop scan all forbidden response has a 4xx status code

func (*StopScanAllForbidden) IsCode

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

IsCode returns true when this stop scan all forbidden response a status code equal to that given

func (*StopScanAllForbidden) IsRedirect

func (o *StopScanAllForbidden) IsRedirect() bool

IsRedirect returns true when this stop scan all forbidden response has a 3xx status code

func (*StopScanAllForbidden) IsServerError

func (o *StopScanAllForbidden) IsServerError() bool

IsServerError returns true when this stop scan all forbidden response has a 5xx status code

func (*StopScanAllForbidden) IsSuccess

func (o *StopScanAllForbidden) IsSuccess() bool

IsSuccess returns true when this stop scan all forbidden response has a 2xx status code

func (*StopScanAllForbidden) String

func (o *StopScanAllForbidden) String() string

type StopScanAllInternalServerError

type StopScanAllInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

StopScanAllInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewStopScanAllInternalServerError

func NewStopScanAllInternalServerError() *StopScanAllInternalServerError

NewStopScanAllInternalServerError creates a StopScanAllInternalServerError with default headers values

func (*StopScanAllInternalServerError) Code

Code gets the status code for the stop scan all internal server error response

func (*StopScanAllInternalServerError) Error

func (*StopScanAllInternalServerError) GetPayload

func (o *StopScanAllInternalServerError) GetPayload() *models.Errors

func (*StopScanAllInternalServerError) IsClientError

func (o *StopScanAllInternalServerError) IsClientError() bool

IsClientError returns true when this stop scan all internal server error response has a 4xx status code

func (*StopScanAllInternalServerError) IsCode

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

IsCode returns true when this stop scan all internal server error response a status code equal to that given

func (*StopScanAllInternalServerError) IsRedirect

func (o *StopScanAllInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop scan all internal server error response has a 3xx status code

func (*StopScanAllInternalServerError) IsServerError

func (o *StopScanAllInternalServerError) IsServerError() bool

IsServerError returns true when this stop scan all internal server error response has a 5xx status code

func (*StopScanAllInternalServerError) IsSuccess

func (o *StopScanAllInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop scan all internal server error response has a 2xx status code

func (*StopScanAllInternalServerError) String

type StopScanAllParams

type StopScanAllParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

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

StopScanAllParams contains all the parameters to send to the API endpoint

for the stop scan all operation.

Typically these are written to a http.Request.

func NewStopScanAllParams

func NewStopScanAllParams() *StopScanAllParams

NewStopScanAllParams creates a new StopScanAllParams 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 NewStopScanAllParamsWithContext deprecated

func NewStopScanAllParamsWithContext(ctx context.Context) *StopScanAllParams

NewStopScanAllParamsWithContext creates a new StopScanAllParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of StopScanAllParams.

func NewStopScanAllParamsWithHTTPClient

func NewStopScanAllParamsWithHTTPClient(client *http.Client) *StopScanAllParams

NewStopScanAllParamsWithHTTPClient creates a new StopScanAllParams object with the ability to set a custom HTTPClient for a request.

func NewStopScanAllParamsWithTimeout

func NewStopScanAllParamsWithTimeout(timeout time.Duration) *StopScanAllParams

NewStopScanAllParamsWithTimeout creates a new StopScanAllParams object with the ability to set a timeout on a request.

func (*StopScanAllParams) SetContext deprecated

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

SetContext adds the context to the stop scan all params.

Deprecated: use the operation call with context to pass the context instead of StopScanAllParams.

func (*StopScanAllParams) SetDefaults

func (o *StopScanAllParams) SetDefaults()

SetDefaults hydrates default values in the stop scan all params (not the query body).

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

func (*StopScanAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop scan all params.

func (*StopScanAllParams) SetTimeout

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

SetTimeout adds the timeout to the stop scan all params.

func (*StopScanAllParams) SetXRequestID

func (o *StopScanAllParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the stop scan all params.

func (*StopScanAllParams) WithContext deprecated

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

WithContext adds the context to the stop scan all params.

Deprecated: use the operation call with context to pass the context instead of StopScanAllParams.

func (*StopScanAllParams) WithDefaults

func (o *StopScanAllParams) WithDefaults() *StopScanAllParams

WithDefaults hydrates default values in the stop scan all params (not the query body).

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

func (*StopScanAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop scan all params.

func (*StopScanAllParams) WithTimeout

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

WithTimeout adds the timeout to the stop scan all params.

func (*StopScanAllParams) WithXRequestID

func (o *StopScanAllParams) WithXRequestID(xRequestID *string) *StopScanAllParams

WithXRequestID adds the xRequestID to the stop scan all params.

func (*StopScanAllParams) WriteToRequest

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

WriteToRequest writes these params to a runtime.ClientRequest.

type StopScanAllReader

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

StopScanAllReader is a Reader for the StopScanAll structure.

func (*StopScanAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopScanAllUnauthorized

type StopScanAllUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

StopScanAllUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewStopScanAllUnauthorized

func NewStopScanAllUnauthorized() *StopScanAllUnauthorized

NewStopScanAllUnauthorized creates a StopScanAllUnauthorized with default headers values

func (*StopScanAllUnauthorized) Code

func (o *StopScanAllUnauthorized) Code() int

Code gets the status code for the stop scan all unauthorized response

func (*StopScanAllUnauthorized) Error

func (o *StopScanAllUnauthorized) Error() string

func (*StopScanAllUnauthorized) GetPayload

func (o *StopScanAllUnauthorized) GetPayload() *models.Errors

func (*StopScanAllUnauthorized) IsClientError

func (o *StopScanAllUnauthorized) IsClientError() bool

IsClientError returns true when this stop scan all unauthorized response has a 4xx status code

func (*StopScanAllUnauthorized) IsCode

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

IsCode returns true when this stop scan all unauthorized response a status code equal to that given

func (*StopScanAllUnauthorized) IsRedirect

func (o *StopScanAllUnauthorized) IsRedirect() bool

IsRedirect returns true when this stop scan all unauthorized response has a 3xx status code

func (*StopScanAllUnauthorized) IsServerError

func (o *StopScanAllUnauthorized) IsServerError() bool

IsServerError returns true when this stop scan all unauthorized response has a 5xx status code

func (*StopScanAllUnauthorized) IsSuccess

func (o *StopScanAllUnauthorized) IsSuccess() bool

IsSuccess returns true when this stop scan all unauthorized response has a 2xx status code

func (*StopScanAllUnauthorized) String

func (o *StopScanAllUnauthorized) String() string

type UpdateScanAllScheduleBadRequest

type UpdateScanAllScheduleBadRequest struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateScanAllScheduleBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateScanAllScheduleBadRequest

func NewUpdateScanAllScheduleBadRequest() *UpdateScanAllScheduleBadRequest

NewUpdateScanAllScheduleBadRequest creates a UpdateScanAllScheduleBadRequest with default headers values

func (*UpdateScanAllScheduleBadRequest) Code

Code gets the status code for the update scan all schedule bad request response

func (*UpdateScanAllScheduleBadRequest) Error

func (*UpdateScanAllScheduleBadRequest) GetPayload

func (*UpdateScanAllScheduleBadRequest) IsClientError

func (o *UpdateScanAllScheduleBadRequest) IsClientError() bool

IsClientError returns true when this update scan all schedule bad request response has a 4xx status code

func (*UpdateScanAllScheduleBadRequest) IsCode

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

IsCode returns true when this update scan all schedule bad request response a status code equal to that given

func (*UpdateScanAllScheduleBadRequest) IsRedirect

func (o *UpdateScanAllScheduleBadRequest) IsRedirect() bool

IsRedirect returns true when this update scan all schedule bad request response has a 3xx status code

func (*UpdateScanAllScheduleBadRequest) IsServerError

func (o *UpdateScanAllScheduleBadRequest) IsServerError() bool

IsServerError returns true when this update scan all schedule bad request response has a 5xx status code

func (*UpdateScanAllScheduleBadRequest) IsSuccess

func (o *UpdateScanAllScheduleBadRequest) IsSuccess() bool

IsSuccess returns true when this update scan all schedule bad request response has a 2xx status code

func (*UpdateScanAllScheduleBadRequest) String

type UpdateScanAllScheduleForbidden

type UpdateScanAllScheduleForbidden struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateScanAllScheduleForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateScanAllScheduleForbidden

func NewUpdateScanAllScheduleForbidden() *UpdateScanAllScheduleForbidden

NewUpdateScanAllScheduleForbidden creates a UpdateScanAllScheduleForbidden with default headers values

func (*UpdateScanAllScheduleForbidden) Code

Code gets the status code for the update scan all schedule forbidden response

func (*UpdateScanAllScheduleForbidden) Error

func (*UpdateScanAllScheduleForbidden) GetPayload

func (o *UpdateScanAllScheduleForbidden) GetPayload() *models.Errors

func (*UpdateScanAllScheduleForbidden) IsClientError

func (o *UpdateScanAllScheduleForbidden) IsClientError() bool

IsClientError returns true when this update scan all schedule forbidden response has a 4xx status code

func (*UpdateScanAllScheduleForbidden) IsCode

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

IsCode returns true when this update scan all schedule forbidden response a status code equal to that given

func (*UpdateScanAllScheduleForbidden) IsRedirect

func (o *UpdateScanAllScheduleForbidden) IsRedirect() bool

IsRedirect returns true when this update scan all schedule forbidden response has a 3xx status code

func (*UpdateScanAllScheduleForbidden) IsServerError

func (o *UpdateScanAllScheduleForbidden) IsServerError() bool

IsServerError returns true when this update scan all schedule forbidden response has a 5xx status code

func (*UpdateScanAllScheduleForbidden) IsSuccess

func (o *UpdateScanAllScheduleForbidden) IsSuccess() bool

IsSuccess returns true when this update scan all schedule forbidden response has a 2xx status code

func (*UpdateScanAllScheduleForbidden) String

type UpdateScanAllScheduleInternalServerError

type UpdateScanAllScheduleInternalServerError struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateScanAllScheduleInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewUpdateScanAllScheduleInternalServerError

func NewUpdateScanAllScheduleInternalServerError() *UpdateScanAllScheduleInternalServerError

NewUpdateScanAllScheduleInternalServerError creates a UpdateScanAllScheduleInternalServerError with default headers values

func (*UpdateScanAllScheduleInternalServerError) Code

Code gets the status code for the update scan all schedule internal server error response

func (*UpdateScanAllScheduleInternalServerError) Error

func (*UpdateScanAllScheduleInternalServerError) GetPayload

func (*UpdateScanAllScheduleInternalServerError) IsClientError

IsClientError returns true when this update scan all schedule internal server error response has a 4xx status code

func (*UpdateScanAllScheduleInternalServerError) IsCode

IsCode returns true when this update scan all schedule internal server error response a status code equal to that given

func (*UpdateScanAllScheduleInternalServerError) IsRedirect

IsRedirect returns true when this update scan all schedule internal server error response has a 3xx status code

func (*UpdateScanAllScheduleInternalServerError) IsServerError

IsServerError returns true when this update scan all schedule internal server error response has a 5xx status code

func (*UpdateScanAllScheduleInternalServerError) IsSuccess

IsSuccess returns true when this update scan all schedule internal server error response has a 2xx status code

func (*UpdateScanAllScheduleInternalServerError) String

type UpdateScanAllScheduleOK

type UpdateScanAllScheduleOK struct {

	// The ID of the corresponding request for the response
	XRequestID string
}

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

Success

func NewUpdateScanAllScheduleOK

func NewUpdateScanAllScheduleOK() *UpdateScanAllScheduleOK

NewUpdateScanAllScheduleOK creates a UpdateScanAllScheduleOK with default headers values

func (*UpdateScanAllScheduleOK) Code

func (o *UpdateScanAllScheduleOK) Code() int

Code gets the status code for the update scan all schedule o k response

func (*UpdateScanAllScheduleOK) Error

func (o *UpdateScanAllScheduleOK) Error() string

func (*UpdateScanAllScheduleOK) IsClientError

func (o *UpdateScanAllScheduleOK) IsClientError() bool

IsClientError returns true when this update scan all schedule o k response has a 4xx status code

func (*UpdateScanAllScheduleOK) IsCode

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

IsCode returns true when this update scan all schedule o k response a status code equal to that given

func (*UpdateScanAllScheduleOK) IsRedirect

func (o *UpdateScanAllScheduleOK) IsRedirect() bool

IsRedirect returns true when this update scan all schedule o k response has a 3xx status code

func (*UpdateScanAllScheduleOK) IsServerError

func (o *UpdateScanAllScheduleOK) IsServerError() bool

IsServerError returns true when this update scan all schedule o k response has a 5xx status code

func (*UpdateScanAllScheduleOK) IsSuccess

func (o *UpdateScanAllScheduleOK) IsSuccess() bool

IsSuccess returns true when this update scan all schedule o k response has a 2xx status code

func (*UpdateScanAllScheduleOK) String

func (o *UpdateScanAllScheduleOK) String() string

type UpdateScanAllScheduleParams

type UpdateScanAllScheduleParams struct {

	// XRequestID.
	//
	// An unique ID for the request
	XRequestID *string

	// Schedule.
	//
	// Updates the schedule of scan all job, which scans all of images in Harbor.
	Schedule *models.Schedule

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

UpdateScanAllScheduleParams contains all the parameters to send to the API endpoint

for the update scan all schedule operation.

Typically these are written to a http.Request.

func NewUpdateScanAllScheduleParams

func NewUpdateScanAllScheduleParams() *UpdateScanAllScheduleParams

NewUpdateScanAllScheduleParams creates a new UpdateScanAllScheduleParams 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 NewUpdateScanAllScheduleParamsWithContext deprecated

func NewUpdateScanAllScheduleParamsWithContext(ctx context.Context) *UpdateScanAllScheduleParams

NewUpdateScanAllScheduleParamsWithContext creates a new UpdateScanAllScheduleParams object with the ability to set a context for a request.

Deprecated: use the operation call with context to pass the context instead of UpdateScanAllScheduleParams.

func NewUpdateScanAllScheduleParamsWithHTTPClient

func NewUpdateScanAllScheduleParamsWithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams

NewUpdateScanAllScheduleParamsWithHTTPClient creates a new UpdateScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateScanAllScheduleParamsWithTimeout

func NewUpdateScanAllScheduleParamsWithTimeout(timeout time.Duration) *UpdateScanAllScheduleParams

NewUpdateScanAllScheduleParamsWithTimeout creates a new UpdateScanAllScheduleParams object with the ability to set a timeout on a request.

func (*UpdateScanAllScheduleParams) SetContext deprecated

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

SetContext adds the context to the update scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of UpdateScanAllScheduleParams.

func (*UpdateScanAllScheduleParams) SetDefaults

func (o *UpdateScanAllScheduleParams) SetDefaults()

SetDefaults hydrates default values in the update scan all schedule params (not the query body).

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

func (*UpdateScanAllScheduleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) SetSchedule

func (o *UpdateScanAllScheduleParams) SetSchedule(schedule *models.Schedule)

SetSchedule adds the schedule to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) SetTimeout

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

SetTimeout adds the timeout to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) SetXRequestID

func (o *UpdateScanAllScheduleParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) WithContext deprecated

WithContext adds the context to the update scan all schedule params.

Deprecated: use the operation call with context to pass the context instead of UpdateScanAllScheduleParams.

func (*UpdateScanAllScheduleParams) WithDefaults

WithDefaults hydrates default values in the update scan all schedule params (not the query body).

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

func (*UpdateScanAllScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) WithSchedule

WithSchedule adds the schedule to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) WithTimeout

WithTimeout adds the timeout to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) WithXRequestID

func (o *UpdateScanAllScheduleParams) WithXRequestID(xRequestID *string) *UpdateScanAllScheduleParams

WithXRequestID adds the xRequestID to the update scan all schedule params.

func (*UpdateScanAllScheduleParams) WriteToRequest

WriteToRequest writes these params to a runtime.ClientRequest.

type UpdateScanAllSchedulePreconditionFailed

type UpdateScanAllSchedulePreconditionFailed struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.

Precondition failed

func NewUpdateScanAllSchedulePreconditionFailed

func NewUpdateScanAllSchedulePreconditionFailed() *UpdateScanAllSchedulePreconditionFailed

NewUpdateScanAllSchedulePreconditionFailed creates a UpdateScanAllSchedulePreconditionFailed with default headers values

func (*UpdateScanAllSchedulePreconditionFailed) Code

Code gets the status code for the update scan all schedule precondition failed response

func (*UpdateScanAllSchedulePreconditionFailed) Error

func (*UpdateScanAllSchedulePreconditionFailed) GetPayload

func (*UpdateScanAllSchedulePreconditionFailed) IsClientError

func (o *UpdateScanAllSchedulePreconditionFailed) IsClientError() bool

IsClientError returns true when this update scan all schedule precondition failed response has a 4xx status code

func (*UpdateScanAllSchedulePreconditionFailed) IsCode

IsCode returns true when this update scan all schedule precondition failed response a status code equal to that given

func (*UpdateScanAllSchedulePreconditionFailed) IsRedirect

IsRedirect returns true when this update scan all schedule precondition failed response has a 3xx status code

func (*UpdateScanAllSchedulePreconditionFailed) IsServerError

func (o *UpdateScanAllSchedulePreconditionFailed) IsServerError() bool

IsServerError returns true when this update scan all schedule precondition failed response has a 5xx status code

func (*UpdateScanAllSchedulePreconditionFailed) IsSuccess

IsSuccess returns true when this update scan all schedule precondition failed response has a 2xx status code

func (*UpdateScanAllSchedulePreconditionFailed) String

type UpdateScanAllScheduleReader

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

UpdateScanAllScheduleReader is a Reader for the UpdateScanAllSchedule structure.

func (*UpdateScanAllScheduleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateScanAllScheduleUnauthorized

type UpdateScanAllScheduleUnauthorized struct {

	// The ID of the corresponding request for the response
	XRequestID string

	Payload *models.Errors
}

UpdateScanAllScheduleUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateScanAllScheduleUnauthorized

func NewUpdateScanAllScheduleUnauthorized() *UpdateScanAllScheduleUnauthorized

NewUpdateScanAllScheduleUnauthorized creates a UpdateScanAllScheduleUnauthorized with default headers values

func (*UpdateScanAllScheduleUnauthorized) Code

Code gets the status code for the update scan all schedule unauthorized response

func (*UpdateScanAllScheduleUnauthorized) Error

func (*UpdateScanAllScheduleUnauthorized) GetPayload

func (*UpdateScanAllScheduleUnauthorized) IsClientError

func (o *UpdateScanAllScheduleUnauthorized) IsClientError() bool

IsClientError returns true when this update scan all schedule unauthorized response has a 4xx status code

func (*UpdateScanAllScheduleUnauthorized) IsCode

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

IsCode returns true when this update scan all schedule unauthorized response a status code equal to that given

func (*UpdateScanAllScheduleUnauthorized) IsRedirect

func (o *UpdateScanAllScheduleUnauthorized) IsRedirect() bool

IsRedirect returns true when this update scan all schedule unauthorized response has a 3xx status code

func (*UpdateScanAllScheduleUnauthorized) IsServerError

func (o *UpdateScanAllScheduleUnauthorized) IsServerError() bool

IsServerError returns true when this update scan all schedule unauthorized response has a 5xx status code

func (*UpdateScanAllScheduleUnauthorized) IsSuccess

func (o *UpdateScanAllScheduleUnauthorized) IsSuccess() bool

IsSuccess returns true when this update scan all schedule unauthorized response has a 2xx status code

func (*UpdateScanAllScheduleUnauthorized) String

Jump to

Keyboard shortcuts

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