scan_all

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CreateScanAllScheduleBadRequestCode int = 400

CreateScanAllScheduleBadRequestCode is the HTTP code returned for type CreateScanAllScheduleBadRequest

View Source
const CreateScanAllScheduleConflictCode int = 409

CreateScanAllScheduleConflictCode is the HTTP code returned for type CreateScanAllScheduleConflict

View Source
const CreateScanAllScheduleCreatedCode int = 201

CreateScanAllScheduleCreatedCode is the HTTP code returned for type CreateScanAllScheduleCreated

View Source
const CreateScanAllScheduleForbiddenCode int = 403

CreateScanAllScheduleForbiddenCode is the HTTP code returned for type CreateScanAllScheduleForbidden

View Source
const CreateScanAllScheduleInternalServerErrorCode int = 500

CreateScanAllScheduleInternalServerErrorCode is the HTTP code returned for type CreateScanAllScheduleInternalServerError

View Source
const CreateScanAllSchedulePreconditionFailedCode int = 412

CreateScanAllSchedulePreconditionFailedCode is the HTTP code returned for type CreateScanAllSchedulePreconditionFailed

View Source
const CreateScanAllScheduleUnauthorizedCode int = 401

CreateScanAllScheduleUnauthorizedCode is the HTTP code returned for type CreateScanAllScheduleUnauthorized

View Source
const GetLatestScanAllMetricsForbiddenCode int = 403

GetLatestScanAllMetricsForbiddenCode is the HTTP code returned for type GetLatestScanAllMetricsForbidden

View Source
const GetLatestScanAllMetricsInternalServerErrorCode int = 500

GetLatestScanAllMetricsInternalServerErrorCode is the HTTP code returned for type GetLatestScanAllMetricsInternalServerError

View Source
const GetLatestScanAllMetricsOKCode int = 200

GetLatestScanAllMetricsOKCode is the HTTP code returned for type GetLatestScanAllMetricsOK

View Source
const GetLatestScanAllMetricsPreconditionFailedCode int = 412

GetLatestScanAllMetricsPreconditionFailedCode is the HTTP code returned for type GetLatestScanAllMetricsPreconditionFailed

View Source
const GetLatestScanAllMetricsUnauthorizedCode int = 401

GetLatestScanAllMetricsUnauthorizedCode is the HTTP code returned for type GetLatestScanAllMetricsUnauthorized

View Source
const GetLatestScheduledScanAllMetricsForbiddenCode int = 403

GetLatestScheduledScanAllMetricsForbiddenCode is the HTTP code returned for type GetLatestScheduledScanAllMetricsForbidden

View Source
const GetLatestScheduledScanAllMetricsInternalServerErrorCode int = 500

GetLatestScheduledScanAllMetricsInternalServerErrorCode is the HTTP code returned for type GetLatestScheduledScanAllMetricsInternalServerError

View Source
const GetLatestScheduledScanAllMetricsOKCode int = 200

GetLatestScheduledScanAllMetricsOKCode is the HTTP code returned for type GetLatestScheduledScanAllMetricsOK

View Source
const GetLatestScheduledScanAllMetricsPreconditionFailedCode int = 412

GetLatestScheduledScanAllMetricsPreconditionFailedCode is the HTTP code returned for type GetLatestScheduledScanAllMetricsPreconditionFailed

View Source
const GetLatestScheduledScanAllMetricsUnauthorizedCode int = 401

GetLatestScheduledScanAllMetricsUnauthorizedCode is the HTTP code returned for type GetLatestScheduledScanAllMetricsUnauthorized

View Source
const GetScanAllScheduleForbiddenCode int = 403

GetScanAllScheduleForbiddenCode is the HTTP code returned for type GetScanAllScheduleForbidden

View Source
const GetScanAllScheduleInternalServerErrorCode int = 500

GetScanAllScheduleInternalServerErrorCode is the HTTP code returned for type GetScanAllScheduleInternalServerError

View Source
const GetScanAllScheduleOKCode int = 200

GetScanAllScheduleOKCode is the HTTP code returned for type GetScanAllScheduleOK

View Source
const GetScanAllSchedulePreconditionFailedCode int = 412

GetScanAllSchedulePreconditionFailedCode is the HTTP code returned for type GetScanAllSchedulePreconditionFailed

View Source
const GetScanAllScheduleUnauthorizedCode int = 401

GetScanAllScheduleUnauthorizedCode is the HTTP code returned for type GetScanAllScheduleUnauthorized

View Source
const UpdateScanAllScheduleBadRequestCode int = 400

UpdateScanAllScheduleBadRequestCode is the HTTP code returned for type UpdateScanAllScheduleBadRequest

View Source
const UpdateScanAllScheduleForbiddenCode int = 403

UpdateScanAllScheduleForbiddenCode is the HTTP code returned for type UpdateScanAllScheduleForbidden

View Source
const UpdateScanAllScheduleInternalServerErrorCode int = 500

UpdateScanAllScheduleInternalServerErrorCode is the HTTP code returned for type UpdateScanAllScheduleInternalServerError

View Source
const UpdateScanAllScheduleOKCode int = 200

UpdateScanAllScheduleOKCode is the HTTP code returned for type UpdateScanAllScheduleOK

View Source
const UpdateScanAllSchedulePreconditionFailedCode int = 412

UpdateScanAllSchedulePreconditionFailedCode is the HTTP code returned for type UpdateScanAllSchedulePreconditionFailed

View Source
const UpdateScanAllScheduleUnauthorizedCode int = 401

UpdateScanAllScheduleUnauthorizedCode is the HTTP code returned for type UpdateScanAllScheduleUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateScanAllSchedule

type CreateScanAllSchedule struct {
	Context *middleware.Context
	Handler CreateScanAllScheduleHandler
}

CreateScanAllSchedule swagger:route POST /system/scanAll/schedule scanAll createScanAllSchedule

Create 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 NewCreateScanAllSchedule

func NewCreateScanAllSchedule(ctx *middleware.Context, handler CreateScanAllScheduleHandler) *CreateScanAllSchedule

NewCreateScanAllSchedule creates a new http.Handler for the create scan all schedule operation

func (*CreateScanAllSchedule) ServeHTTP

func (o *CreateScanAllSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateScanAllScheduleBadRequest

type CreateScanAllScheduleBadRequest struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllScheduleBadRequest Bad request

swagger:response createScanAllScheduleBadRequest

func NewCreateScanAllScheduleBadRequest

func NewCreateScanAllScheduleBadRequest() *CreateScanAllScheduleBadRequest

NewCreateScanAllScheduleBadRequest creates CreateScanAllScheduleBadRequest with default headers values

func (*CreateScanAllScheduleBadRequest) SetPayload

func (o *CreateScanAllScheduleBadRequest) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule bad request response

func (*CreateScanAllScheduleBadRequest) SetXRequestID

func (o *CreateScanAllScheduleBadRequest) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule bad request response

func (*CreateScanAllScheduleBadRequest) WithPayload

WithPayload adds the payload to the create scan all schedule bad request response

func (*CreateScanAllScheduleBadRequest) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule bad request response

func (*CreateScanAllScheduleBadRequest) WriteResponse

func (o *CreateScanAllScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateScanAllScheduleConflict

type CreateScanAllScheduleConflict struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllScheduleConflict Conflict

swagger:response createScanAllScheduleConflict

func NewCreateScanAllScheduleConflict

func NewCreateScanAllScheduleConflict() *CreateScanAllScheduleConflict

NewCreateScanAllScheduleConflict creates CreateScanAllScheduleConflict with default headers values

func (*CreateScanAllScheduleConflict) SetPayload

func (o *CreateScanAllScheduleConflict) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule conflict response

func (*CreateScanAllScheduleConflict) SetXRequestID

func (o *CreateScanAllScheduleConflict) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule conflict response

func (*CreateScanAllScheduleConflict) WithPayload

WithPayload adds the payload to the create scan all schedule conflict response

func (*CreateScanAllScheduleConflict) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule conflict response

func (*CreateScanAllScheduleConflict) WriteResponse

func (o *CreateScanAllScheduleConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateScanAllScheduleCreated

type CreateScanAllScheduleCreated struct {
	/*The location of the resource

	 */
	Location string `json:"Location"`
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`
}

CreateScanAllScheduleCreated Created

swagger:response createScanAllScheduleCreated

func NewCreateScanAllScheduleCreated

func NewCreateScanAllScheduleCreated() *CreateScanAllScheduleCreated

NewCreateScanAllScheduleCreated creates CreateScanAllScheduleCreated with default headers values

func (*CreateScanAllScheduleCreated) SetLocation

func (o *CreateScanAllScheduleCreated) SetLocation(location string)

SetLocation sets the location to the create scan all schedule created response

func (*CreateScanAllScheduleCreated) SetXRequestID

func (o *CreateScanAllScheduleCreated) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule created response

func (*CreateScanAllScheduleCreated) WithLocation

WithLocation adds the location to the create scan all schedule created response

func (*CreateScanAllScheduleCreated) WithXRequestID

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

WithXRequestID adds the xRequestId to the create scan all schedule created response

func (*CreateScanAllScheduleCreated) WriteResponse

func (o *CreateScanAllScheduleCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateScanAllScheduleForbidden

type CreateScanAllScheduleForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllScheduleForbidden Forbidden

swagger:response createScanAllScheduleForbidden

func NewCreateScanAllScheduleForbidden

func NewCreateScanAllScheduleForbidden() *CreateScanAllScheduleForbidden

NewCreateScanAllScheduleForbidden creates CreateScanAllScheduleForbidden with default headers values

func (*CreateScanAllScheduleForbidden) SetPayload

func (o *CreateScanAllScheduleForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule forbidden response

func (*CreateScanAllScheduleForbidden) SetXRequestID

func (o *CreateScanAllScheduleForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule forbidden response

func (*CreateScanAllScheduleForbidden) WithPayload

WithPayload adds the payload to the create scan all schedule forbidden response

func (*CreateScanAllScheduleForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule forbidden response

func (*CreateScanAllScheduleForbidden) WriteResponse

func (o *CreateScanAllScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateScanAllScheduleHandler

type CreateScanAllScheduleHandler interface {
	Handle(CreateScanAllScheduleParams, interface{}) middleware.Responder
}

CreateScanAllScheduleHandler interface for that can handle valid create scan all schedule params

type CreateScanAllScheduleHandlerFunc

type CreateScanAllScheduleHandlerFunc func(CreateScanAllScheduleParams, interface{}) middleware.Responder

CreateScanAllScheduleHandlerFunc turns a function with the right signature into a create scan all schedule handler

func (CreateScanAllScheduleHandlerFunc) Handle

func (fn CreateScanAllScheduleHandlerFunc) Handle(params CreateScanAllScheduleParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreateScanAllScheduleInternalServerError

type CreateScanAllScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllScheduleInternalServerError Internal server error

swagger:response createScanAllScheduleInternalServerError

func NewCreateScanAllScheduleInternalServerError

func NewCreateScanAllScheduleInternalServerError() *CreateScanAllScheduleInternalServerError

NewCreateScanAllScheduleInternalServerError creates CreateScanAllScheduleInternalServerError with default headers values

func (*CreateScanAllScheduleInternalServerError) SetPayload

func (o *CreateScanAllScheduleInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule internal server error response

func (*CreateScanAllScheduleInternalServerError) SetXRequestID

func (o *CreateScanAllScheduleInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule internal server error response

func (*CreateScanAllScheduleInternalServerError) WithPayload

WithPayload adds the payload to the create scan all schedule internal server error response

func (*CreateScanAllScheduleInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule internal server error response

func (*CreateScanAllScheduleInternalServerError) WriteResponse

WriteResponse to the client

type CreateScanAllScheduleParams

type CreateScanAllScheduleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Create a schedule or a manual trigger for the scan all job.
	  Required: true
	  In: body
	*/
	Schedule *models.Schedule
}

CreateScanAllScheduleParams contains all the bound params for the create scan all schedule operation typically these are obtained from a http.Request

swagger:parameters createScanAllSchedule

func NewCreateScanAllScheduleParams

func NewCreateScanAllScheduleParams() CreateScanAllScheduleParams

NewCreateScanAllScheduleParams creates a new CreateScanAllScheduleParams object no default values defined in spec.

func (*CreateScanAllScheduleParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateScanAllScheduleParams() beforehand.

type CreateScanAllSchedulePreconditionFailed

type CreateScanAllSchedulePreconditionFailed struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllSchedulePreconditionFailed Precondition failed

swagger:response createScanAllSchedulePreconditionFailed

func NewCreateScanAllSchedulePreconditionFailed

func NewCreateScanAllSchedulePreconditionFailed() *CreateScanAllSchedulePreconditionFailed

NewCreateScanAllSchedulePreconditionFailed creates CreateScanAllSchedulePreconditionFailed with default headers values

func (*CreateScanAllSchedulePreconditionFailed) SetPayload

func (o *CreateScanAllSchedulePreconditionFailed) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule precondition failed response

func (*CreateScanAllSchedulePreconditionFailed) SetXRequestID

func (o *CreateScanAllSchedulePreconditionFailed) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule precondition failed response

func (*CreateScanAllSchedulePreconditionFailed) WithPayload

WithPayload adds the payload to the create scan all schedule precondition failed response

func (*CreateScanAllSchedulePreconditionFailed) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule precondition failed response

func (*CreateScanAllSchedulePreconditionFailed) WriteResponse

WriteResponse to the client

type CreateScanAllScheduleURL

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

CreateScanAllScheduleURL generates an URL for the create scan all schedule operation

func (*CreateScanAllScheduleURL) Build

func (o *CreateScanAllScheduleURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateScanAllScheduleURL) BuildFull

func (o *CreateScanAllScheduleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateScanAllScheduleURL) Must

func (o *CreateScanAllScheduleURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateScanAllScheduleURL) SetBasePath

func (o *CreateScanAllScheduleURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateScanAllScheduleURL) String

func (o *CreateScanAllScheduleURL) String() string

String returns the string representation of the path with query string

func (*CreateScanAllScheduleURL) StringFull

func (o *CreateScanAllScheduleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateScanAllScheduleURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateScanAllScheduleUnauthorized

type CreateScanAllScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

CreateScanAllScheduleUnauthorized Unauthorized

swagger:response createScanAllScheduleUnauthorized

func NewCreateScanAllScheduleUnauthorized

func NewCreateScanAllScheduleUnauthorized() *CreateScanAllScheduleUnauthorized

NewCreateScanAllScheduleUnauthorized creates CreateScanAllScheduleUnauthorized with default headers values

func (*CreateScanAllScheduleUnauthorized) SetPayload

func (o *CreateScanAllScheduleUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the create scan all schedule unauthorized response

func (*CreateScanAllScheduleUnauthorized) SetXRequestID

func (o *CreateScanAllScheduleUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the create scan all schedule unauthorized response

func (*CreateScanAllScheduleUnauthorized) WithPayload

WithPayload adds the payload to the create scan all schedule unauthorized response

func (*CreateScanAllScheduleUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the create scan all schedule unauthorized response

func (*CreateScanAllScheduleUnauthorized) WriteResponse

func (o *CreateScanAllScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLatestScanAllMetrics

type GetLatestScanAllMetrics struct {
	Context *middleware.Context
	Handler GetLatestScanAllMetricsHandler
}

GetLatestScanAllMetrics swagger:route GET /scans/all/metrics scanAll getLatestScanAllMetrics

Get the metrics of the latest scan all process

Get the metrics of the latest scan all process

func NewGetLatestScanAllMetrics

func NewGetLatestScanAllMetrics(ctx *middleware.Context, handler GetLatestScanAllMetricsHandler) *GetLatestScanAllMetrics

NewGetLatestScanAllMetrics creates a new http.Handler for the get latest scan all metrics operation

func (*GetLatestScanAllMetrics) ServeHTTP

type GetLatestScanAllMetricsForbidden

type GetLatestScanAllMetricsForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScanAllMetricsForbidden Forbidden

swagger:response getLatestScanAllMetricsForbidden

func NewGetLatestScanAllMetricsForbidden

func NewGetLatestScanAllMetricsForbidden() *GetLatestScanAllMetricsForbidden

NewGetLatestScanAllMetricsForbidden creates GetLatestScanAllMetricsForbidden with default headers values

func (*GetLatestScanAllMetricsForbidden) SetPayload

func (o *GetLatestScanAllMetricsForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get latest scan all metrics forbidden response

func (*GetLatestScanAllMetricsForbidden) SetXRequestID

func (o *GetLatestScanAllMetricsForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scan all metrics forbidden response

func (*GetLatestScanAllMetricsForbidden) WithPayload

WithPayload adds the payload to the get latest scan all metrics forbidden response

func (*GetLatestScanAllMetricsForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scan all metrics forbidden response

func (*GetLatestScanAllMetricsForbidden) WriteResponse

func (o *GetLatestScanAllMetricsForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLatestScanAllMetricsHandler

type GetLatestScanAllMetricsHandler interface {
	Handle(GetLatestScanAllMetricsParams, interface{}) middleware.Responder
}

GetLatestScanAllMetricsHandler interface for that can handle valid get latest scan all metrics params

type GetLatestScanAllMetricsHandlerFunc

type GetLatestScanAllMetricsHandlerFunc func(GetLatestScanAllMetricsParams, interface{}) middleware.Responder

GetLatestScanAllMetricsHandlerFunc turns a function with the right signature into a get latest scan all metrics handler

func (GetLatestScanAllMetricsHandlerFunc) Handle

Handle executing the request and returning a response

type GetLatestScanAllMetricsInternalServerError

type GetLatestScanAllMetricsInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScanAllMetricsInternalServerError Internal server error

swagger:response getLatestScanAllMetricsInternalServerError

func NewGetLatestScanAllMetricsInternalServerError

func NewGetLatestScanAllMetricsInternalServerError() *GetLatestScanAllMetricsInternalServerError

NewGetLatestScanAllMetricsInternalServerError creates GetLatestScanAllMetricsInternalServerError with default headers values

func (*GetLatestScanAllMetricsInternalServerError) SetPayload

SetPayload sets the payload to the get latest scan all metrics internal server error response

func (*GetLatestScanAllMetricsInternalServerError) SetXRequestID

func (o *GetLatestScanAllMetricsInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scan all metrics internal server error response

func (*GetLatestScanAllMetricsInternalServerError) WithPayload

WithPayload adds the payload to the get latest scan all metrics internal server error response

func (*GetLatestScanAllMetricsInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scan all metrics internal server error response

func (*GetLatestScanAllMetricsInternalServerError) WriteResponse

WriteResponse to the client

type GetLatestScanAllMetricsOK

type GetLatestScanAllMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Stats `json:"body,omitempty"`
}

GetLatestScanAllMetricsOK OK

swagger:response getLatestScanAllMetricsOK

func NewGetLatestScanAllMetricsOK

func NewGetLatestScanAllMetricsOK() *GetLatestScanAllMetricsOK

NewGetLatestScanAllMetricsOK creates GetLatestScanAllMetricsOK with default headers values

func (*GetLatestScanAllMetricsOK) SetPayload

func (o *GetLatestScanAllMetricsOK) SetPayload(payload *models.Stats)

SetPayload sets the payload to the get latest scan all metrics o k response

func (*GetLatestScanAllMetricsOK) WithPayload

WithPayload adds the payload to the get latest scan all metrics o k response

func (*GetLatestScanAllMetricsOK) WriteResponse

func (o *GetLatestScanAllMetricsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetLatestScanAllMetricsParams

type GetLatestScanAllMetricsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetLatestScanAllMetricsParams contains all the bound params for the get latest scan all metrics operation typically these are obtained from a http.Request

swagger:parameters getLatestScanAllMetrics

func NewGetLatestScanAllMetricsParams

func NewGetLatestScanAllMetricsParams() GetLatestScanAllMetricsParams

NewGetLatestScanAllMetricsParams creates a new GetLatestScanAllMetricsParams object no default values defined in spec.

func (*GetLatestScanAllMetricsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetLatestScanAllMetricsParams() beforehand.

type GetLatestScanAllMetricsPreconditionFailed

type GetLatestScanAllMetricsPreconditionFailed struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScanAllMetricsPreconditionFailed Precondition failed

swagger:response getLatestScanAllMetricsPreconditionFailed

func NewGetLatestScanAllMetricsPreconditionFailed

func NewGetLatestScanAllMetricsPreconditionFailed() *GetLatestScanAllMetricsPreconditionFailed

NewGetLatestScanAllMetricsPreconditionFailed creates GetLatestScanAllMetricsPreconditionFailed with default headers values

func (*GetLatestScanAllMetricsPreconditionFailed) SetPayload

SetPayload sets the payload to the get latest scan all metrics precondition failed response

func (*GetLatestScanAllMetricsPreconditionFailed) SetXRequestID

func (o *GetLatestScanAllMetricsPreconditionFailed) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scan all metrics precondition failed response

func (*GetLatestScanAllMetricsPreconditionFailed) WithPayload

WithPayload adds the payload to the get latest scan all metrics precondition failed response

func (*GetLatestScanAllMetricsPreconditionFailed) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scan all metrics precondition failed response

func (*GetLatestScanAllMetricsPreconditionFailed) WriteResponse

WriteResponse to the client

type GetLatestScanAllMetricsURL

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

GetLatestScanAllMetricsURL generates an URL for the get latest scan all metrics operation

func (*GetLatestScanAllMetricsURL) Build

func (o *GetLatestScanAllMetricsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetLatestScanAllMetricsURL) BuildFull

func (o *GetLatestScanAllMetricsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetLatestScanAllMetricsURL) Must

func (o *GetLatestScanAllMetricsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetLatestScanAllMetricsURL) SetBasePath

func (o *GetLatestScanAllMetricsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetLatestScanAllMetricsURL) String

func (o *GetLatestScanAllMetricsURL) String() string

String returns the string representation of the path with query string

func (*GetLatestScanAllMetricsURL) StringFull

func (o *GetLatestScanAllMetricsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetLatestScanAllMetricsURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetLatestScanAllMetricsUnauthorized

type GetLatestScanAllMetricsUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScanAllMetricsUnauthorized Unauthorized

swagger:response getLatestScanAllMetricsUnauthorized

func NewGetLatestScanAllMetricsUnauthorized

func NewGetLatestScanAllMetricsUnauthorized() *GetLatestScanAllMetricsUnauthorized

NewGetLatestScanAllMetricsUnauthorized creates GetLatestScanAllMetricsUnauthorized with default headers values

func (*GetLatestScanAllMetricsUnauthorized) SetPayload

func (o *GetLatestScanAllMetricsUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get latest scan all metrics unauthorized response

func (*GetLatestScanAllMetricsUnauthorized) SetXRequestID

func (o *GetLatestScanAllMetricsUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scan all metrics unauthorized response

func (*GetLatestScanAllMetricsUnauthorized) WithPayload

WithPayload adds the payload to the get latest scan all metrics unauthorized response

func (*GetLatestScanAllMetricsUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scan all metrics unauthorized response

func (*GetLatestScanAllMetricsUnauthorized) WriteResponse

WriteResponse to the client

type GetLatestScheduledScanAllMetrics

type GetLatestScheduledScanAllMetrics struct {
	Context *middleware.Context
	Handler GetLatestScheduledScanAllMetricsHandler
}

GetLatestScheduledScanAllMetrics swagger:route GET /scans/schedule/metrics scanAll getLatestScheduledScanAllMetrics

Get the metrics of the latest scheduled scan all process

Get the metrics of the latest scheduled scan all process

func NewGetLatestScheduledScanAllMetrics

func NewGetLatestScheduledScanAllMetrics(ctx *middleware.Context, handler GetLatestScheduledScanAllMetricsHandler) *GetLatestScheduledScanAllMetrics

NewGetLatestScheduledScanAllMetrics creates a new http.Handler for the get latest scheduled scan all metrics operation

func (*GetLatestScheduledScanAllMetrics) ServeHTTP

type GetLatestScheduledScanAllMetricsForbidden

type GetLatestScheduledScanAllMetricsForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScheduledScanAllMetricsForbidden Forbidden

swagger:response getLatestScheduledScanAllMetricsForbidden

func NewGetLatestScheduledScanAllMetricsForbidden

func NewGetLatestScheduledScanAllMetricsForbidden() *GetLatestScheduledScanAllMetricsForbidden

NewGetLatestScheduledScanAllMetricsForbidden creates GetLatestScheduledScanAllMetricsForbidden with default headers values

func (*GetLatestScheduledScanAllMetricsForbidden) SetPayload

SetPayload sets the payload to the get latest scheduled scan all metrics forbidden response

func (*GetLatestScheduledScanAllMetricsForbidden) SetXRequestID

func (o *GetLatestScheduledScanAllMetricsForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scheduled scan all metrics forbidden response

func (*GetLatestScheduledScanAllMetricsForbidden) WithPayload

WithPayload adds the payload to the get latest scheduled scan all metrics forbidden response

func (*GetLatestScheduledScanAllMetricsForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scheduled scan all metrics forbidden response

func (*GetLatestScheduledScanAllMetricsForbidden) WriteResponse

WriteResponse to the client

type GetLatestScheduledScanAllMetricsHandler

type GetLatestScheduledScanAllMetricsHandler interface {
	Handle(GetLatestScheduledScanAllMetricsParams, interface{}) middleware.Responder
}

GetLatestScheduledScanAllMetricsHandler interface for that can handle valid get latest scheduled scan all metrics params

type GetLatestScheduledScanAllMetricsHandlerFunc

type GetLatestScheduledScanAllMetricsHandlerFunc func(GetLatestScheduledScanAllMetricsParams, interface{}) middleware.Responder

GetLatestScheduledScanAllMetricsHandlerFunc turns a function with the right signature into a get latest scheduled scan all metrics handler

func (GetLatestScheduledScanAllMetricsHandlerFunc) Handle

Handle executing the request and returning a response

type GetLatestScheduledScanAllMetricsInternalServerError

type GetLatestScheduledScanAllMetricsInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScheduledScanAllMetricsInternalServerError Internal server error

swagger:response getLatestScheduledScanAllMetricsInternalServerError

func NewGetLatestScheduledScanAllMetricsInternalServerError

func NewGetLatestScheduledScanAllMetricsInternalServerError() *GetLatestScheduledScanAllMetricsInternalServerError

NewGetLatestScheduledScanAllMetricsInternalServerError creates GetLatestScheduledScanAllMetricsInternalServerError with default headers values

func (*GetLatestScheduledScanAllMetricsInternalServerError) SetPayload

SetPayload sets the payload to the get latest scheduled scan all metrics internal server error response

func (*GetLatestScheduledScanAllMetricsInternalServerError) SetXRequestID

func (o *GetLatestScheduledScanAllMetricsInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scheduled scan all metrics internal server error response

func (*GetLatestScheduledScanAllMetricsInternalServerError) WithPayload

WithPayload adds the payload to the get latest scheduled scan all metrics internal server error response

func (*GetLatestScheduledScanAllMetricsInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scheduled scan all metrics internal server error response

func (*GetLatestScheduledScanAllMetricsInternalServerError) WriteResponse

WriteResponse to the client

type GetLatestScheduledScanAllMetricsOK

type GetLatestScheduledScanAllMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Stats `json:"body,omitempty"`
}

GetLatestScheduledScanAllMetricsOK OK

swagger:response getLatestScheduledScanAllMetricsOK

func NewGetLatestScheduledScanAllMetricsOK

func NewGetLatestScheduledScanAllMetricsOK() *GetLatestScheduledScanAllMetricsOK

NewGetLatestScheduledScanAllMetricsOK creates GetLatestScheduledScanAllMetricsOK with default headers values

func (*GetLatestScheduledScanAllMetricsOK) SetPayload

func (o *GetLatestScheduledScanAllMetricsOK) SetPayload(payload *models.Stats)

SetPayload sets the payload to the get latest scheduled scan all metrics o k response

func (*GetLatestScheduledScanAllMetricsOK) WithPayload

WithPayload adds the payload to the get latest scheduled scan all metrics o k response

func (*GetLatestScheduledScanAllMetricsOK) WriteResponse

WriteResponse to the client

type GetLatestScheduledScanAllMetricsParams

type GetLatestScheduledScanAllMetricsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetLatestScheduledScanAllMetricsParams contains all the bound params for the get latest scheduled scan all metrics operation typically these are obtained from a http.Request

swagger:parameters getLatestScheduledScanAllMetrics

func NewGetLatestScheduledScanAllMetricsParams

func NewGetLatestScheduledScanAllMetricsParams() GetLatestScheduledScanAllMetricsParams

NewGetLatestScheduledScanAllMetricsParams creates a new GetLatestScheduledScanAllMetricsParams object no default values defined in spec.

func (*GetLatestScheduledScanAllMetricsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetLatestScheduledScanAllMetricsParams() beforehand.

type GetLatestScheduledScanAllMetricsPreconditionFailed

type GetLatestScheduledScanAllMetricsPreconditionFailed struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScheduledScanAllMetricsPreconditionFailed Precondition failed

swagger:response getLatestScheduledScanAllMetricsPreconditionFailed

func NewGetLatestScheduledScanAllMetricsPreconditionFailed

func NewGetLatestScheduledScanAllMetricsPreconditionFailed() *GetLatestScheduledScanAllMetricsPreconditionFailed

NewGetLatestScheduledScanAllMetricsPreconditionFailed creates GetLatestScheduledScanAllMetricsPreconditionFailed with default headers values

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) SetPayload

SetPayload sets the payload to the get latest scheduled scan all metrics precondition failed response

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) SetXRequestID

func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scheduled scan all metrics precondition failed response

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) WithPayload

WithPayload adds the payload to the get latest scheduled scan all metrics precondition failed response

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scheduled scan all metrics precondition failed response

func (*GetLatestScheduledScanAllMetricsPreconditionFailed) WriteResponse

WriteResponse to the client

type GetLatestScheduledScanAllMetricsURL

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

GetLatestScheduledScanAllMetricsURL generates an URL for the get latest scheduled scan all metrics operation

func (*GetLatestScheduledScanAllMetricsURL) Build

Build a url path and query string

func (*GetLatestScheduledScanAllMetricsURL) BuildFull

func (o *GetLatestScheduledScanAllMetricsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetLatestScheduledScanAllMetricsURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetLatestScheduledScanAllMetricsURL) SetBasePath

func (o *GetLatestScheduledScanAllMetricsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetLatestScheduledScanAllMetricsURL) String

String returns the string representation of the path with query string

func (*GetLatestScheduledScanAllMetricsURL) StringFull

func (o *GetLatestScheduledScanAllMetricsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetLatestScheduledScanAllMetricsURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetLatestScheduledScanAllMetricsUnauthorized

type GetLatestScheduledScanAllMetricsUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetLatestScheduledScanAllMetricsUnauthorized Unauthorized

swagger:response getLatestScheduledScanAllMetricsUnauthorized

func NewGetLatestScheduledScanAllMetricsUnauthorized

func NewGetLatestScheduledScanAllMetricsUnauthorized() *GetLatestScheduledScanAllMetricsUnauthorized

NewGetLatestScheduledScanAllMetricsUnauthorized creates GetLatestScheduledScanAllMetricsUnauthorized with default headers values

func (*GetLatestScheduledScanAllMetricsUnauthorized) SetPayload

SetPayload sets the payload to the get latest scheduled scan all metrics unauthorized response

func (*GetLatestScheduledScanAllMetricsUnauthorized) SetXRequestID

func (o *GetLatestScheduledScanAllMetricsUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get latest scheduled scan all metrics unauthorized response

func (*GetLatestScheduledScanAllMetricsUnauthorized) WithPayload

WithPayload adds the payload to the get latest scheduled scan all metrics unauthorized response

func (*GetLatestScheduledScanAllMetricsUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get latest scheduled scan all metrics unauthorized response

func (*GetLatestScheduledScanAllMetricsUnauthorized) WriteResponse

WriteResponse to the client

type GetScanAllSchedule

type GetScanAllSchedule struct {
	Context *middleware.Context
	Handler GetScanAllScheduleHandler
}

GetScanAllSchedule swagger:route GET /system/scanAll/schedule scanAll getScanAllSchedule

Get scan all's schedule.

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

func NewGetScanAllSchedule

func NewGetScanAllSchedule(ctx *middleware.Context, handler GetScanAllScheduleHandler) *GetScanAllSchedule

NewGetScanAllSchedule creates a new http.Handler for the get scan all schedule operation

func (*GetScanAllSchedule) ServeHTTP

func (o *GetScanAllSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetScanAllScheduleForbidden

type GetScanAllScheduleForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetScanAllScheduleForbidden Forbidden

swagger:response getScanAllScheduleForbidden

func NewGetScanAllScheduleForbidden

func NewGetScanAllScheduleForbidden() *GetScanAllScheduleForbidden

NewGetScanAllScheduleForbidden creates GetScanAllScheduleForbidden with default headers values

func (*GetScanAllScheduleForbidden) SetPayload

func (o *GetScanAllScheduleForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get scan all schedule forbidden response

func (*GetScanAllScheduleForbidden) SetXRequestID

func (o *GetScanAllScheduleForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get scan all schedule forbidden response

func (*GetScanAllScheduleForbidden) WithPayload

WithPayload adds the payload to the get scan all schedule forbidden response

func (*GetScanAllScheduleForbidden) WithXRequestID

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

WithXRequestID adds the xRequestId to the get scan all schedule forbidden response

func (*GetScanAllScheduleForbidden) WriteResponse

func (o *GetScanAllScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetScanAllScheduleHandler

type GetScanAllScheduleHandler interface {
	Handle(GetScanAllScheduleParams, interface{}) middleware.Responder
}

GetScanAllScheduleHandler interface for that can handle valid get scan all schedule params

type GetScanAllScheduleHandlerFunc

type GetScanAllScheduleHandlerFunc func(GetScanAllScheduleParams, interface{}) middleware.Responder

GetScanAllScheduleHandlerFunc turns a function with the right signature into a get scan all schedule handler

func (GetScanAllScheduleHandlerFunc) Handle

func (fn GetScanAllScheduleHandlerFunc) Handle(params GetScanAllScheduleParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetScanAllScheduleInternalServerError

type GetScanAllScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetScanAllScheduleInternalServerError Internal server error

swagger:response getScanAllScheduleInternalServerError

func NewGetScanAllScheduleInternalServerError

func NewGetScanAllScheduleInternalServerError() *GetScanAllScheduleInternalServerError

NewGetScanAllScheduleInternalServerError creates GetScanAllScheduleInternalServerError with default headers values

func (*GetScanAllScheduleInternalServerError) SetPayload

func (o *GetScanAllScheduleInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get scan all schedule internal server error response

func (*GetScanAllScheduleInternalServerError) SetXRequestID

func (o *GetScanAllScheduleInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get scan all schedule internal server error response

func (*GetScanAllScheduleInternalServerError) WithPayload

WithPayload adds the payload to the get scan all schedule internal server error response

func (*GetScanAllScheduleInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get scan all schedule internal server error response

func (*GetScanAllScheduleInternalServerError) WriteResponse

WriteResponse to the client

type GetScanAllScheduleOK

type GetScanAllScheduleOK struct {

	/*
	  In: Body
	*/
	Payload *models.Schedule `json:"body,omitempty"`
}

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

swagger:response getScanAllScheduleOK

func NewGetScanAllScheduleOK

func NewGetScanAllScheduleOK() *GetScanAllScheduleOK

NewGetScanAllScheduleOK creates GetScanAllScheduleOK with default headers values

func (*GetScanAllScheduleOK) SetPayload

func (o *GetScanAllScheduleOK) SetPayload(payload *models.Schedule)

SetPayload sets the payload to the get scan all schedule o k response

func (*GetScanAllScheduleOK) WithPayload

func (o *GetScanAllScheduleOK) WithPayload(payload *models.Schedule) *GetScanAllScheduleOK

WithPayload adds the payload to the get scan all schedule o k response

func (*GetScanAllScheduleOK) WriteResponse

func (o *GetScanAllScheduleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetScanAllScheduleParams

type GetScanAllScheduleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetScanAllScheduleParams contains all the bound params for the get scan all schedule operation typically these are obtained from a http.Request

swagger:parameters getScanAllSchedule

func NewGetScanAllScheduleParams

func NewGetScanAllScheduleParams() GetScanAllScheduleParams

NewGetScanAllScheduleParams creates a new GetScanAllScheduleParams object no default values defined in spec.

func (*GetScanAllScheduleParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetScanAllScheduleParams() beforehand.

type GetScanAllSchedulePreconditionFailed

type GetScanAllSchedulePreconditionFailed struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetScanAllSchedulePreconditionFailed Precondition failed

swagger:response getScanAllSchedulePreconditionFailed

func NewGetScanAllSchedulePreconditionFailed

func NewGetScanAllSchedulePreconditionFailed() *GetScanAllSchedulePreconditionFailed

NewGetScanAllSchedulePreconditionFailed creates GetScanAllSchedulePreconditionFailed with default headers values

func (*GetScanAllSchedulePreconditionFailed) SetPayload

func (o *GetScanAllSchedulePreconditionFailed) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get scan all schedule precondition failed response

func (*GetScanAllSchedulePreconditionFailed) SetXRequestID

func (o *GetScanAllSchedulePreconditionFailed) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get scan all schedule precondition failed response

func (*GetScanAllSchedulePreconditionFailed) WithPayload

WithPayload adds the payload to the get scan all schedule precondition failed response

func (*GetScanAllSchedulePreconditionFailed) WithXRequestID

WithXRequestID adds the xRequestId to the get scan all schedule precondition failed response

func (*GetScanAllSchedulePreconditionFailed) WriteResponse

WriteResponse to the client

type GetScanAllScheduleURL

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

GetScanAllScheduleURL generates an URL for the get scan all schedule operation

func (*GetScanAllScheduleURL) Build

func (o *GetScanAllScheduleURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetScanAllScheduleURL) BuildFull

func (o *GetScanAllScheduleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetScanAllScheduleURL) Must

func (o *GetScanAllScheduleURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetScanAllScheduleURL) SetBasePath

func (o *GetScanAllScheduleURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetScanAllScheduleURL) String

func (o *GetScanAllScheduleURL) String() string

String returns the string representation of the path with query string

func (*GetScanAllScheduleURL) StringFull

func (o *GetScanAllScheduleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetScanAllScheduleURL) WithBasePath

func (o *GetScanAllScheduleURL) WithBasePath(bp string) *GetScanAllScheduleURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetScanAllScheduleUnauthorized

type GetScanAllScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

GetScanAllScheduleUnauthorized Unauthorized

swagger:response getScanAllScheduleUnauthorized

func NewGetScanAllScheduleUnauthorized

func NewGetScanAllScheduleUnauthorized() *GetScanAllScheduleUnauthorized

NewGetScanAllScheduleUnauthorized creates GetScanAllScheduleUnauthorized with default headers values

func (*GetScanAllScheduleUnauthorized) SetPayload

func (o *GetScanAllScheduleUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get scan all schedule unauthorized response

func (*GetScanAllScheduleUnauthorized) SetXRequestID

func (o *GetScanAllScheduleUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get scan all schedule unauthorized response

func (*GetScanAllScheduleUnauthorized) WithPayload

WithPayload adds the payload to the get scan all schedule unauthorized response

func (*GetScanAllScheduleUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the get scan all schedule unauthorized response

func (*GetScanAllScheduleUnauthorized) WriteResponse

func (o *GetScanAllScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateScanAllSchedule

type UpdateScanAllSchedule struct {
	Context *middleware.Context
	Handler UpdateScanAllScheduleHandler
}

UpdateScanAllSchedule swagger:route PUT /system/scanAll/schedule scanAll updateScanAllSchedule

Update scan all's schedule.

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

func NewUpdateScanAllSchedule

func NewUpdateScanAllSchedule(ctx *middleware.Context, handler UpdateScanAllScheduleHandler) *UpdateScanAllSchedule

NewUpdateScanAllSchedule creates a new http.Handler for the update scan all schedule operation

func (*UpdateScanAllSchedule) ServeHTTP

func (o *UpdateScanAllSchedule) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateScanAllScheduleBadRequest

type UpdateScanAllScheduleBadRequest struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

UpdateScanAllScheduleBadRequest Bad request

swagger:response updateScanAllScheduleBadRequest

func NewUpdateScanAllScheduleBadRequest

func NewUpdateScanAllScheduleBadRequest() *UpdateScanAllScheduleBadRequest

NewUpdateScanAllScheduleBadRequest creates UpdateScanAllScheduleBadRequest with default headers values

func (*UpdateScanAllScheduleBadRequest) SetPayload

func (o *UpdateScanAllScheduleBadRequest) SetPayload(payload *models.Errors)

SetPayload sets the payload to the update scan all schedule bad request response

func (*UpdateScanAllScheduleBadRequest) SetXRequestID

func (o *UpdateScanAllScheduleBadRequest) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule bad request response

func (*UpdateScanAllScheduleBadRequest) WithPayload

WithPayload adds the payload to the update scan all schedule bad request response

func (*UpdateScanAllScheduleBadRequest) WithXRequestID

WithXRequestID adds the xRequestId to the update scan all schedule bad request response

func (*UpdateScanAllScheduleBadRequest) WriteResponse

func (o *UpdateScanAllScheduleBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateScanAllScheduleForbidden

type UpdateScanAllScheduleForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

UpdateScanAllScheduleForbidden Forbidden

swagger:response updateScanAllScheduleForbidden

func NewUpdateScanAllScheduleForbidden

func NewUpdateScanAllScheduleForbidden() *UpdateScanAllScheduleForbidden

NewUpdateScanAllScheduleForbidden creates UpdateScanAllScheduleForbidden with default headers values

func (*UpdateScanAllScheduleForbidden) SetPayload

func (o *UpdateScanAllScheduleForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the update scan all schedule forbidden response

func (*UpdateScanAllScheduleForbidden) SetXRequestID

func (o *UpdateScanAllScheduleForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule forbidden response

func (*UpdateScanAllScheduleForbidden) WithPayload

WithPayload adds the payload to the update scan all schedule forbidden response

func (*UpdateScanAllScheduleForbidden) WithXRequestID

WithXRequestID adds the xRequestId to the update scan all schedule forbidden response

func (*UpdateScanAllScheduleForbidden) WriteResponse

func (o *UpdateScanAllScheduleForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateScanAllScheduleHandler

type UpdateScanAllScheduleHandler interface {
	Handle(UpdateScanAllScheduleParams, interface{}) middleware.Responder
}

UpdateScanAllScheduleHandler interface for that can handle valid update scan all schedule params

type UpdateScanAllScheduleHandlerFunc

type UpdateScanAllScheduleHandlerFunc func(UpdateScanAllScheduleParams, interface{}) middleware.Responder

UpdateScanAllScheduleHandlerFunc turns a function with the right signature into a update scan all schedule handler

func (UpdateScanAllScheduleHandlerFunc) Handle

func (fn UpdateScanAllScheduleHandlerFunc) Handle(params UpdateScanAllScheduleParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateScanAllScheduleInternalServerError

type UpdateScanAllScheduleInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

UpdateScanAllScheduleInternalServerError Internal server error

swagger:response updateScanAllScheduleInternalServerError

func NewUpdateScanAllScheduleInternalServerError

func NewUpdateScanAllScheduleInternalServerError() *UpdateScanAllScheduleInternalServerError

NewUpdateScanAllScheduleInternalServerError creates UpdateScanAllScheduleInternalServerError with default headers values

func (*UpdateScanAllScheduleInternalServerError) SetPayload

func (o *UpdateScanAllScheduleInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the update scan all schedule internal server error response

func (*UpdateScanAllScheduleInternalServerError) SetXRequestID

func (o *UpdateScanAllScheduleInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule internal server error response

func (*UpdateScanAllScheduleInternalServerError) WithPayload

WithPayload adds the payload to the update scan all schedule internal server error response

func (*UpdateScanAllScheduleInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the update scan all schedule internal server error response

func (*UpdateScanAllScheduleInternalServerError) WriteResponse

WriteResponse to the client

type UpdateScanAllScheduleOK

type UpdateScanAllScheduleOK struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`
}

UpdateScanAllScheduleOK Success

swagger:response updateScanAllScheduleOK

func NewUpdateScanAllScheduleOK

func NewUpdateScanAllScheduleOK() *UpdateScanAllScheduleOK

NewUpdateScanAllScheduleOK creates UpdateScanAllScheduleOK with default headers values

func (*UpdateScanAllScheduleOK) SetXRequestID

func (o *UpdateScanAllScheduleOK) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule o k response

func (*UpdateScanAllScheduleOK) WithXRequestID

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

WithXRequestID adds the xRequestId to the update scan all schedule o k response

func (*UpdateScanAllScheduleOK) WriteResponse

func (o *UpdateScanAllScheduleOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateScanAllScheduleParams

type UpdateScanAllScheduleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Updates the schedule of scan all job, which scans all of images in Harbor.
	  Required: true
	  In: body
	*/
	Schedule *models.Schedule
}

UpdateScanAllScheduleParams contains all the bound params for the update scan all schedule operation typically these are obtained from a http.Request

swagger:parameters updateScanAllSchedule

func NewUpdateScanAllScheduleParams

func NewUpdateScanAllScheduleParams() UpdateScanAllScheduleParams

NewUpdateScanAllScheduleParams creates a new UpdateScanAllScheduleParams object no default values defined in spec.

func (*UpdateScanAllScheduleParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateScanAllScheduleParams() beforehand.

type UpdateScanAllSchedulePreconditionFailed

type UpdateScanAllSchedulePreconditionFailed struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

UpdateScanAllSchedulePreconditionFailed Precondition failed

swagger:response updateScanAllSchedulePreconditionFailed

func NewUpdateScanAllSchedulePreconditionFailed

func NewUpdateScanAllSchedulePreconditionFailed() *UpdateScanAllSchedulePreconditionFailed

NewUpdateScanAllSchedulePreconditionFailed creates UpdateScanAllSchedulePreconditionFailed with default headers values

func (*UpdateScanAllSchedulePreconditionFailed) SetPayload

func (o *UpdateScanAllSchedulePreconditionFailed) SetPayload(payload *models.Errors)

SetPayload sets the payload to the update scan all schedule precondition failed response

func (*UpdateScanAllSchedulePreconditionFailed) SetXRequestID

func (o *UpdateScanAllSchedulePreconditionFailed) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule precondition failed response

func (*UpdateScanAllSchedulePreconditionFailed) WithPayload

WithPayload adds the payload to the update scan all schedule precondition failed response

func (*UpdateScanAllSchedulePreconditionFailed) WithXRequestID

WithXRequestID adds the xRequestId to the update scan all schedule precondition failed response

func (*UpdateScanAllSchedulePreconditionFailed) WriteResponse

WriteResponse to the client

type UpdateScanAllScheduleURL

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

UpdateScanAllScheduleURL generates an URL for the update scan all schedule operation

func (*UpdateScanAllScheduleURL) Build

func (o *UpdateScanAllScheduleURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateScanAllScheduleURL) BuildFull

func (o *UpdateScanAllScheduleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateScanAllScheduleURL) Must

func (o *UpdateScanAllScheduleURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateScanAllScheduleURL) SetBasePath

func (o *UpdateScanAllScheduleURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateScanAllScheduleURL) String

func (o *UpdateScanAllScheduleURL) String() string

String returns the string representation of the path with query string

func (*UpdateScanAllScheduleURL) StringFull

func (o *UpdateScanAllScheduleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateScanAllScheduleURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateScanAllScheduleUnauthorized

type UpdateScanAllScheduleUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

	/*
	  In: Body
	*/
	Payload *models.Errors `json:"body,omitempty"`
}

UpdateScanAllScheduleUnauthorized Unauthorized

swagger:response updateScanAllScheduleUnauthorized

func NewUpdateScanAllScheduleUnauthorized

func NewUpdateScanAllScheduleUnauthorized() *UpdateScanAllScheduleUnauthorized

NewUpdateScanAllScheduleUnauthorized creates UpdateScanAllScheduleUnauthorized with default headers values

func (*UpdateScanAllScheduleUnauthorized) SetPayload

func (o *UpdateScanAllScheduleUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the update scan all schedule unauthorized response

func (*UpdateScanAllScheduleUnauthorized) SetXRequestID

func (o *UpdateScanAllScheduleUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the update scan all schedule unauthorized response

func (*UpdateScanAllScheduleUnauthorized) WithPayload

WithPayload adds the payload to the update scan all schedule unauthorized response

func (*UpdateScanAllScheduleUnauthorized) WithXRequestID

WithXRequestID adds the xRequestId to the update scan all schedule unauthorized response

func (*UpdateScanAllScheduleUnauthorized) WriteResponse

func (o *UpdateScanAllScheduleUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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