scan_all

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

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

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

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) Error

func (*CreateScanAllScheduleBadRequest) GetPayload

func (*CreateScanAllScheduleBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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) Error

func (*CreateScanAllScheduleConflict) GetPayload

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

func (*CreateScanAllScheduleConflict) IsClientError added in v0.26.2

func (o *CreateScanAllScheduleConflict) IsClientError() bool

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

func (*CreateScanAllScheduleConflict) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateScanAllScheduleConflict) IsRedirect() bool

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

func (*CreateScanAllScheduleConflict) IsServerError added in v0.26.2

func (o *CreateScanAllScheduleConflict) IsServerError() bool

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

func (*CreateScanAllScheduleConflict) IsSuccess added in v0.26.2

func (o *CreateScanAllScheduleConflict) IsSuccess() bool

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

func (*CreateScanAllScheduleConflict) String added in v0.26.2

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) Error

func (*CreateScanAllScheduleCreated) IsClientError added in v0.26.2

func (o *CreateScanAllScheduleCreated) IsClientError() bool

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

func (*CreateScanAllScheduleCreated) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateScanAllScheduleCreated) IsRedirect() bool

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

func (*CreateScanAllScheduleCreated) IsServerError added in v0.26.2

func (o *CreateScanAllScheduleCreated) IsServerError() bool

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

func (*CreateScanAllScheduleCreated) IsSuccess added in v0.26.2

func (o *CreateScanAllScheduleCreated) IsSuccess() bool

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

func (*CreateScanAllScheduleCreated) String added in v0.26.2

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) Error

func (*CreateScanAllScheduleForbidden) GetPayload

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

func (*CreateScanAllScheduleForbidden) IsClientError added in v0.26.2

func (o *CreateScanAllScheduleForbidden) IsClientError() bool

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

func (*CreateScanAllScheduleForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateScanAllScheduleForbidden) IsRedirect() bool

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

func (*CreateScanAllScheduleForbidden) IsServerError added in v0.26.2

func (o *CreateScanAllScheduleForbidden) IsServerError() bool

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

func (*CreateScanAllScheduleForbidden) IsSuccess added in v0.26.2

func (o *CreateScanAllScheduleForbidden) IsSuccess() bool

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

func (*CreateScanAllScheduleForbidden) String added in v0.26.2

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) Error

func (*CreateScanAllScheduleInternalServerError) GetPayload

func (*CreateScanAllScheduleInternalServerError) IsClientError added in v0.26.2

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

func (*CreateScanAllScheduleInternalServerError) IsCode added in v0.26.2

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

func (*CreateScanAllScheduleInternalServerError) IsRedirect added in v0.26.2

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

func (*CreateScanAllScheduleInternalServerError) IsServerError added in v0.26.2

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

func (*CreateScanAllScheduleInternalServerError) IsSuccess added in v0.26.2

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

func (*CreateScanAllScheduleInternalServerError) String added in v0.26.2

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

	Context    context.Context
	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

func NewCreateScanAllScheduleParamsWithContext(ctx context.Context) *CreateScanAllScheduleParams

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

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

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

SetContext adds the context to the create scan all schedule params

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

WithContext adds the context to the create scan all schedule params

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 swagger request

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) Error

func (*CreateScanAllSchedulePreconditionFailed) GetPayload

func (*CreateScanAllSchedulePreconditionFailed) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*CreateScanAllSchedulePreconditionFailed) IsRedirect added in v0.26.2

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

func (*CreateScanAllSchedulePreconditionFailed) IsServerError added in v0.26.2

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 added in v0.26.2

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

func (*CreateScanAllSchedulePreconditionFailed) String added in v0.26.2

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) (interface{}, 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) Error

func (*CreateScanAllScheduleUnauthorized) GetPayload

func (*CreateScanAllScheduleUnauthorized) IsClientError added in v0.26.2

func (o *CreateScanAllScheduleUnauthorized) IsClientError() bool

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

func (*CreateScanAllScheduleUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *CreateScanAllScheduleUnauthorized) IsRedirect() bool

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

func (*CreateScanAllScheduleUnauthorized) IsServerError added in v0.26.2

func (o *CreateScanAllScheduleUnauthorized) IsServerError() bool

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

func (*CreateScanAllScheduleUnauthorized) IsSuccess added in v0.26.2

func (o *CreateScanAllScheduleUnauthorized) IsSuccess() bool

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

func (*CreateScanAllScheduleUnauthorized) String added in v0.26.2

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) Error

func (*GetLatestScanAllMetricsForbidden) GetPayload

func (*GetLatestScanAllMetricsForbidden) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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) Error

func (*GetLatestScanAllMetricsInternalServerError) GetPayload

func (*GetLatestScanAllMetricsInternalServerError) IsClientError added in v0.26.2

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

func (*GetLatestScanAllMetricsInternalServerError) IsCode added in v0.26.2

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

func (*GetLatestScanAllMetricsInternalServerError) IsRedirect added in v0.26.2

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

func (*GetLatestScanAllMetricsInternalServerError) IsServerError added in v0.26.2

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

func (*GetLatestScanAllMetricsInternalServerError) IsSuccess added in v0.26.2

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

func (*GetLatestScanAllMetricsInternalServerError) String added in v0.26.2

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) Error

func (o *GetLatestScanAllMetricsOK) Error() string

func (*GetLatestScanAllMetricsOK) GetPayload

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

func (*GetLatestScanAllMetricsOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

func (o *GetLatestScanAllMetricsOK) String() string

type GetLatestScanAllMetricsParams

type GetLatestScanAllMetricsParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	Context    context.Context
	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

func NewGetLatestScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScanAllMetricsParams

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

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

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

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

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

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

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 swagger request

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) Error

func (*GetLatestScanAllMetricsPreconditionFailed) GetPayload

func (*GetLatestScanAllMetricsPreconditionFailed) IsClientError added in v0.26.2

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

func (*GetLatestScanAllMetricsPreconditionFailed) IsCode added in v0.26.2

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

func (*GetLatestScanAllMetricsPreconditionFailed) IsRedirect added in v0.26.2

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

func (*GetLatestScanAllMetricsPreconditionFailed) IsServerError added in v0.26.2

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

func (*GetLatestScanAllMetricsPreconditionFailed) IsSuccess added in v0.26.2

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

func (*GetLatestScanAllMetricsPreconditionFailed) String added in v0.26.2

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) (interface{}, 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) Error

func (*GetLatestScanAllMetricsUnauthorized) GetPayload

func (*GetLatestScanAllMetricsUnauthorized) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*GetLatestScanAllMetricsUnauthorized) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

func (*GetLatestScanAllMetricsUnauthorized) String added in v0.26.2

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) Error

func (*GetLatestScheduledScanAllMetricsForbidden) GetPayload

func (*GetLatestScheduledScanAllMetricsForbidden) IsClientError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsForbidden) IsCode added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsForbidden) IsRedirect added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsForbidden) IsServerError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsForbidden) IsSuccess added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsForbidden) String added in v0.26.2

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) Error

func (*GetLatestScheduledScanAllMetricsInternalServerError) GetPayload

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsClientError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsCode added in v0.26.2

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 added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsServerError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsInternalServerError) IsSuccess added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsInternalServerError) String added in v0.26.2

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) Error

func (*GetLatestScheduledScanAllMetricsOK) GetPayload

func (*GetLatestScheduledScanAllMetricsOK) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsOK) IsRedirect added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsOK) String added in v0.26.2

type GetLatestScheduledScanAllMetricsParams

type GetLatestScheduledScanAllMetricsParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	Context    context.Context
	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

func NewGetLatestScheduledScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams

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

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

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

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

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

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 swagger request

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) Error

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsClientError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsCode added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsRedirect added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsServerError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsSuccess added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) String added in v0.26.2

type GetLatestScheduledScanAllMetricsReader

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

GetLatestScheduledScanAllMetricsReader is a Reader for the GetLatestScheduledScanAllMetrics structure.

func (*GetLatestScheduledScanAllMetricsReader) ReadResponse

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

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) Error

func (*GetLatestScheduledScanAllMetricsUnauthorized) GetPayload

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsClientError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsCode added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsRedirect added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsServerError added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsUnauthorized) IsSuccess added in v0.26.2

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

func (*GetLatestScheduledScanAllMetricsUnauthorized) String added in v0.26.2

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) Error

func (*GetScanAllScheduleForbidden) GetPayload

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

func (*GetScanAllScheduleForbidden) IsClientError added in v0.26.2

func (o *GetScanAllScheduleForbidden) IsClientError() bool

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

func (*GetScanAllScheduleForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetScanAllScheduleForbidden) IsRedirect() bool

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

func (*GetScanAllScheduleForbidden) IsServerError added in v0.26.2

func (o *GetScanAllScheduleForbidden) IsServerError() bool

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

func (*GetScanAllScheduleForbidden) IsSuccess added in v0.26.2

func (o *GetScanAllScheduleForbidden) IsSuccess() bool

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

func (*GetScanAllScheduleForbidden) String added in v0.26.2

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) Error

func (*GetScanAllScheduleInternalServerError) GetPayload

func (*GetScanAllScheduleInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*GetScanAllScheduleInternalServerError) IsRedirect added in v0.26.2

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

func (*GetScanAllScheduleInternalServerError) IsServerError added in v0.26.2

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 added in v0.26.2

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

func (*GetScanAllScheduleInternalServerError) String added in v0.26.2

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) Error

func (o *GetScanAllScheduleOK) Error() string

func (*GetScanAllScheduleOK) GetPayload

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

func (*GetScanAllScheduleOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

func (o *GetScanAllScheduleOK) String() string

type GetScanAllScheduleParams

type GetScanAllScheduleParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	Context    context.Context
	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

func NewGetScanAllScheduleParamsWithContext(ctx context.Context) *GetScanAllScheduleParams

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

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

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

SetContext adds the context to the get scan all schedule params

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

WithContext adds the context to the get scan all schedule params

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 swagger request

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) Error

func (*GetScanAllSchedulePreconditionFailed) GetPayload

func (*GetScanAllSchedulePreconditionFailed) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*GetScanAllSchedulePreconditionFailed) IsRedirect added in v0.26.2

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

func (*GetScanAllSchedulePreconditionFailed) IsServerError added in v0.26.2

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 added in v0.26.2

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

func (*GetScanAllSchedulePreconditionFailed) String added in v0.26.2

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) (interface{}, 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) Error

func (*GetScanAllScheduleUnauthorized) GetPayload

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

func (*GetScanAllScheduleUnauthorized) IsClientError added in v0.26.2

func (o *GetScanAllScheduleUnauthorized) IsClientError() bool

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

func (*GetScanAllScheduleUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *GetScanAllScheduleUnauthorized) IsRedirect() bool

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

func (*GetScanAllScheduleUnauthorized) IsServerError added in v0.26.2

func (o *GetScanAllScheduleUnauthorized) IsServerError() bool

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

func (*GetScanAllScheduleUnauthorized) IsSuccess added in v0.26.2

func (o *GetScanAllScheduleUnauthorized) IsSuccess() bool

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

func (*GetScanAllScheduleUnauthorized) String added in v0.26.2

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) Error

func (o *StopScanAllAccepted) Error() string

func (*StopScanAllAccepted) IsClientError added in v0.26.2

func (o *StopScanAllAccepted) IsClientError() bool

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

func (*StopScanAllAccepted) IsCode added in v0.26.2

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 added in v0.26.2

func (o *StopScanAllAccepted) IsRedirect() bool

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

func (*StopScanAllAccepted) IsServerError added in v0.26.2

func (o *StopScanAllAccepted) IsServerError() bool

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

func (*StopScanAllAccepted) IsSuccess added in v0.26.2

func (o *StopScanAllAccepted) IsSuccess() bool

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

func (*StopScanAllAccepted) String added in v0.26.2

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) Error

func (o *StopScanAllBadRequest) Error() string

func (*StopScanAllBadRequest) GetPayload

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

func (*StopScanAllBadRequest) IsClientError added in v0.26.2

func (o *StopScanAllBadRequest) IsClientError() bool

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

func (*StopScanAllBadRequest) IsCode added in v0.26.2

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 added in v0.26.2

func (o *StopScanAllBadRequest) IsRedirect() bool

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

func (*StopScanAllBadRequest) IsServerError added in v0.26.2

func (o *StopScanAllBadRequest) IsServerError() bool

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

func (*StopScanAllBadRequest) IsSuccess added in v0.26.2

func (o *StopScanAllBadRequest) IsSuccess() bool

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

func (*StopScanAllBadRequest) String added in v0.26.2

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) Error

func (o *StopScanAllForbidden) Error() string

func (*StopScanAllForbidden) GetPayload

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

func (*StopScanAllForbidden) IsClientError added in v0.26.2

func (o *StopScanAllForbidden) IsClientError() bool

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

func (*StopScanAllForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *StopScanAllForbidden) IsRedirect() bool

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

func (*StopScanAllForbidden) IsServerError added in v0.26.2

func (o *StopScanAllForbidden) IsServerError() bool

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

func (*StopScanAllForbidden) IsSuccess added in v0.26.2

func (o *StopScanAllForbidden) IsSuccess() bool

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

func (*StopScanAllForbidden) String added in v0.26.2

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) Error

func (*StopScanAllInternalServerError) GetPayload

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

func (*StopScanAllInternalServerError) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

type StopScanAllParams

type StopScanAllParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	Context    context.Context
	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

func NewStopScanAllParamsWithContext(ctx context.Context) *StopScanAllParams

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

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

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

SetContext adds the context to the stop scan all params

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

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

WithContext adds the context to the stop scan all params

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 swagger request

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) (interface{}, 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) Error

func (o *StopScanAllUnauthorized) Error() string

func (*StopScanAllUnauthorized) GetPayload

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

func (*StopScanAllUnauthorized) IsClientError added in v0.26.2

func (o *StopScanAllUnauthorized) IsClientError() bool

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

func (*StopScanAllUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *StopScanAllUnauthorized) IsRedirect() bool

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

func (*StopScanAllUnauthorized) IsServerError added in v0.26.2

func (o *StopScanAllUnauthorized) IsServerError() bool

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

func (*StopScanAllUnauthorized) IsSuccess added in v0.26.2

func (o *StopScanAllUnauthorized) IsSuccess() bool

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

func (*StopScanAllUnauthorized) String added in v0.26.2

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) Error

func (*UpdateScanAllScheduleBadRequest) GetPayload

func (*UpdateScanAllScheduleBadRequest) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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) Error

func (*UpdateScanAllScheduleForbidden) GetPayload

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

func (*UpdateScanAllScheduleForbidden) IsClientError added in v0.26.2

func (o *UpdateScanAllScheduleForbidden) IsClientError() bool

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

func (*UpdateScanAllScheduleForbidden) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateScanAllScheduleForbidden) IsRedirect() bool

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

func (*UpdateScanAllScheduleForbidden) IsServerError added in v0.26.2

func (o *UpdateScanAllScheduleForbidden) IsServerError() bool

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

func (*UpdateScanAllScheduleForbidden) IsSuccess added in v0.26.2

func (o *UpdateScanAllScheduleForbidden) IsSuccess() bool

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

func (*UpdateScanAllScheduleForbidden) String added in v0.26.2

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) Error

func (*UpdateScanAllScheduleInternalServerError) GetPayload

func (*UpdateScanAllScheduleInternalServerError) IsClientError added in v0.26.2

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

func (*UpdateScanAllScheduleInternalServerError) IsCode added in v0.26.2

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

func (*UpdateScanAllScheduleInternalServerError) IsRedirect added in v0.26.2

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

func (*UpdateScanAllScheduleInternalServerError) IsServerError added in v0.26.2

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

func (*UpdateScanAllScheduleInternalServerError) IsSuccess added in v0.26.2

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

func (*UpdateScanAllScheduleInternalServerError) String added in v0.26.2

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) Error

func (o *UpdateScanAllScheduleOK) Error() string

func (*UpdateScanAllScheduleOK) IsClientError added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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 added in v0.26.2

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

	Context    context.Context
	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

func NewUpdateScanAllScheduleParamsWithContext(ctx context.Context) *UpdateScanAllScheduleParams

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

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

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

SetContext adds the context to the update scan all schedule params

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

WithContext adds the context to the update scan all schedule params

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 swagger request

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) Error

func (*UpdateScanAllSchedulePreconditionFailed) GetPayload

func (*UpdateScanAllSchedulePreconditionFailed) IsClientError added in v0.26.2

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 added in v0.26.2

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

func (*UpdateScanAllSchedulePreconditionFailed) IsRedirect added in v0.26.2

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

func (*UpdateScanAllSchedulePreconditionFailed) IsServerError added in v0.26.2

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 added in v0.26.2

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

func (*UpdateScanAllSchedulePreconditionFailed) String added in v0.26.2

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) (interface{}, 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) Error

func (*UpdateScanAllScheduleUnauthorized) GetPayload

func (*UpdateScanAllScheduleUnauthorized) IsClientError added in v0.26.2

func (o *UpdateScanAllScheduleUnauthorized) IsClientError() bool

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

func (*UpdateScanAllScheduleUnauthorized) IsCode added in v0.26.2

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 added in v0.26.2

func (o *UpdateScanAllScheduleUnauthorized) IsRedirect() bool

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

func (*UpdateScanAllScheduleUnauthorized) IsServerError added in v0.26.2

func (o *UpdateScanAllScheduleUnauthorized) IsServerError() bool

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

func (*UpdateScanAllScheduleUnauthorized) IsSuccess added in v0.26.2

func (o *UpdateScanAllScheduleUnauthorized) IsSuccess() bool

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

func (*UpdateScanAllScheduleUnauthorized) String added in v0.26.2

Jump to

Keyboard shortcuts

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