Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateScanAllSchedule(params *CreateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateScanAllScheduleCreated, error)
- func (a *Client) GetLatestScanAllMetrics(params *GetLatestScanAllMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLatestScanAllMetricsOK, error)
- func (a *Client) GetLatestScheduledScanAllMetrics(params *GetLatestScheduledScanAllMetricsParams, ...) (*GetLatestScheduledScanAllMetricsOK, error)
- func (a *Client) GetScanAllSchedule(params *GetScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetScanAllScheduleOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StopScanAll(params *StopScanAllParams, authInfo runtime.ClientAuthInfoWriter) (*StopScanAllAccepted, error)
- func (a *Client) UpdateScanAllSchedule(params *UpdateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScanAllScheduleOK, error)
- type ClientService
- type CreateScanAllScheduleBadRequest
- type CreateScanAllScheduleConflict
- type CreateScanAllScheduleCreated
- type CreateScanAllScheduleForbidden
- type CreateScanAllScheduleInternalServerError
- type CreateScanAllScheduleParams
- func NewCreateScanAllScheduleParams() *CreateScanAllScheduleParams
- func NewCreateScanAllScheduleParamsWithContext(ctx context.Context) *CreateScanAllScheduleParams
- func NewCreateScanAllScheduleParamsWithHTTPClient(client *http.Client) *CreateScanAllScheduleParams
- func NewCreateScanAllScheduleParamsWithTimeout(timeout time.Duration) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) SetContext(ctx context.Context)
- func (o *CreateScanAllScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateScanAllScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *CreateScanAllScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateScanAllScheduleParams) SetXRequestID(xRequestID *string)
- func (o *CreateScanAllScheduleParams) WithContext(ctx context.Context) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithHTTPClient(client *http.Client) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithSchedule(schedule *model.Schedule) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithTimeout(timeout time.Duration) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithXRequestID(xRequestID *string) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateScanAllSchedulePreconditionFailed
- type CreateScanAllScheduleReader
- type CreateScanAllScheduleUnauthorized
- type GetLatestScanAllMetricsForbidden
- type GetLatestScanAllMetricsInternalServerError
- type GetLatestScanAllMetricsOK
- type GetLatestScanAllMetricsParams
- func NewGetLatestScanAllMetricsParams() *GetLatestScanAllMetricsParams
- func NewGetLatestScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScanAllMetricsParams
- func NewGetLatestScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScanAllMetricsParams
- func NewGetLatestScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScanAllMetricsParams
- func (o *GetLatestScanAllMetricsParams) SetContext(ctx context.Context)
- func (o *GetLatestScanAllMetricsParams) SetHTTPClient(client *http.Client)
- func (o *GetLatestScanAllMetricsParams) SetTimeout(timeout time.Duration)
- func (o *GetLatestScanAllMetricsParams) SetXRequestID(xRequestID *string)
- func (o *GetLatestScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScanAllMetricsParams
- func (o *GetLatestScanAllMetricsParams) WithHTTPClient(client *http.Client) *GetLatestScanAllMetricsParams
- func (o *GetLatestScanAllMetricsParams) WithTimeout(timeout time.Duration) *GetLatestScanAllMetricsParams
- func (o *GetLatestScanAllMetricsParams) WithXRequestID(xRequestID *string) *GetLatestScanAllMetricsParams
- func (o *GetLatestScanAllMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLatestScanAllMetricsPreconditionFailed
- type GetLatestScanAllMetricsReader
- type GetLatestScanAllMetricsUnauthorized
- type GetLatestScheduledScanAllMetricsForbidden
- type GetLatestScheduledScanAllMetricsInternalServerError
- type GetLatestScheduledScanAllMetricsOK
- type GetLatestScheduledScanAllMetricsParams
- func NewGetLatestScheduledScanAllMetricsParams() *GetLatestScheduledScanAllMetricsParams
- func NewGetLatestScheduledScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
- func NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScheduledScanAllMetricsParams
- func NewGetLatestScheduledScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScheduledScanAllMetricsParams
- func (o *GetLatestScheduledScanAllMetricsParams) SetContext(ctx context.Context)
- func (o *GetLatestScheduledScanAllMetricsParams) SetHTTPClient(client *http.Client)
- func (o *GetLatestScheduledScanAllMetricsParams) SetTimeout(timeout time.Duration)
- func (o *GetLatestScheduledScanAllMetricsParams) SetXRequestID(xRequestID *string)
- func (o *GetLatestScheduledScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
- func (o *GetLatestScheduledScanAllMetricsParams) WithHTTPClient(client *http.Client) *GetLatestScheduledScanAllMetricsParams
- func (o *GetLatestScheduledScanAllMetricsParams) WithTimeout(timeout time.Duration) *GetLatestScheduledScanAllMetricsParams
- func (o *GetLatestScheduledScanAllMetricsParams) WithXRequestID(xRequestID *string) *GetLatestScheduledScanAllMetricsParams
- func (o *GetLatestScheduledScanAllMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLatestScheduledScanAllMetricsPreconditionFailed
- type GetLatestScheduledScanAllMetricsReader
- type GetLatestScheduledScanAllMetricsUnauthorized
- type GetScanAllScheduleForbidden
- type GetScanAllScheduleInternalServerError
- type GetScanAllScheduleOK
- type GetScanAllScheduleParams
- func NewGetScanAllScheduleParams() *GetScanAllScheduleParams
- func NewGetScanAllScheduleParamsWithContext(ctx context.Context) *GetScanAllScheduleParams
- func NewGetScanAllScheduleParamsWithHTTPClient(client *http.Client) *GetScanAllScheduleParams
- func NewGetScanAllScheduleParamsWithTimeout(timeout time.Duration) *GetScanAllScheduleParams
- func (o *GetScanAllScheduleParams) SetContext(ctx context.Context)
- func (o *GetScanAllScheduleParams) SetHTTPClient(client *http.Client)
- func (o *GetScanAllScheduleParams) SetTimeout(timeout time.Duration)
- func (o *GetScanAllScheduleParams) SetXRequestID(xRequestID *string)
- func (o *GetScanAllScheduleParams) WithContext(ctx context.Context) *GetScanAllScheduleParams
- func (o *GetScanAllScheduleParams) WithHTTPClient(client *http.Client) *GetScanAllScheduleParams
- func (o *GetScanAllScheduleParams) WithTimeout(timeout time.Duration) *GetScanAllScheduleParams
- func (o *GetScanAllScheduleParams) WithXRequestID(xRequestID *string) *GetScanAllScheduleParams
- func (o *GetScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScanAllSchedulePreconditionFailed
- type GetScanAllScheduleReader
- type GetScanAllScheduleUnauthorized
- type StopScanAllAccepted
- type StopScanAllBadRequest
- type StopScanAllForbidden
- type StopScanAllInternalServerError
- type StopScanAllParams
- func (o *StopScanAllParams) SetContext(ctx context.Context)
- func (o *StopScanAllParams) SetHTTPClient(client *http.Client)
- func (o *StopScanAllParams) SetTimeout(timeout time.Duration)
- func (o *StopScanAllParams) SetXRequestID(xRequestID *string)
- func (o *StopScanAllParams) WithContext(ctx context.Context) *StopScanAllParams
- func (o *StopScanAllParams) WithHTTPClient(client *http.Client) *StopScanAllParams
- func (o *StopScanAllParams) WithTimeout(timeout time.Duration) *StopScanAllParams
- func (o *StopScanAllParams) WithXRequestID(xRequestID *string) *StopScanAllParams
- func (o *StopScanAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopScanAllReader
- type StopScanAllUnauthorized
- type UpdateScanAllScheduleBadRequest
- type UpdateScanAllScheduleForbidden
- type UpdateScanAllScheduleInternalServerError
- type UpdateScanAllScheduleOK
- type UpdateScanAllScheduleParams
- func NewUpdateScanAllScheduleParams() *UpdateScanAllScheduleParams
- func NewUpdateScanAllScheduleParamsWithContext(ctx context.Context) *UpdateScanAllScheduleParams
- func NewUpdateScanAllScheduleParamsWithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams
- func NewUpdateScanAllScheduleParamsWithTimeout(timeout time.Duration) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateScanAllScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScanAllScheduleParams) SetSchedule(schedule *model.Schedule)
- func (o *UpdateScanAllScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateScanAllScheduleParams) SetXRequestID(xRequestID *string)
- func (o *UpdateScanAllScheduleParams) WithContext(ctx context.Context) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithSchedule(schedule *model.Schedule) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithTimeout(timeout time.Duration) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithXRequestID(xRequestID *string) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateScanAllSchedulePreconditionFailed
- type UpdateScanAllScheduleReader
- type UpdateScanAllScheduleUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for scan all API
func (*Client) CreateScanAllSchedule ¶
func (a *Client) CreateScanAllSchedule(params *CreateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *GetLatestScanAllMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *GetLatestScheduledScanAllMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *GetScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StopScanAll ¶
func (a *Client) StopScanAll(params *StopScanAllParams, authInfo runtime.ClientAuthInfoWriter) (*StopScanAllAccepted, error)
StopScanAll stops scan all job execution
Stop scanAll job execution
func (*Client) UpdateScanAllSchedule ¶
func (a *Client) UpdateScanAllSchedule(params *UpdateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService ¶
type ClientService interface { CreateScanAllSchedule(params *CreateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*CreateScanAllScheduleCreated, error) GetLatestScanAllMetrics(params *GetLatestScanAllMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLatestScanAllMetricsOK, error) GetLatestScheduledScanAllMetrics(params *GetLatestScheduledScanAllMetricsParams, authInfo runtime.ClientAuthInfoWriter) (*GetLatestScheduledScanAllMetricsOK, error) GetScanAllSchedule(params *GetScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*GetScanAllScheduleOK, error) StopScanAll(params *StopScanAllParams, authInfo runtime.ClientAuthInfoWriter) (*StopScanAllAccepted, error) UpdateScanAllSchedule(params *UpdateScanAllScheduleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateScanAllScheduleOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new scan all API client.
type CreateScanAllScheduleBadRequest ¶
type CreateScanAllScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateScanAllScheduleBadRequest handles this case with default header values.
Bad request
func NewCreateScanAllScheduleBadRequest ¶
func NewCreateScanAllScheduleBadRequest() *CreateScanAllScheduleBadRequest
NewCreateScanAllScheduleBadRequest creates a CreateScanAllScheduleBadRequest with default headers values
func (*CreateScanAllScheduleBadRequest) Error ¶
func (o *CreateScanAllScheduleBadRequest) Error() string
func (*CreateScanAllScheduleBadRequest) GetPayload ¶
func (o *CreateScanAllScheduleBadRequest) GetPayload() *model.Errors
type CreateScanAllScheduleConflict ¶
type CreateScanAllScheduleConflict struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateScanAllScheduleConflict handles this case with default header values.
Conflict
func NewCreateScanAllScheduleConflict ¶
func NewCreateScanAllScheduleConflict() *CreateScanAllScheduleConflict
NewCreateScanAllScheduleConflict creates a CreateScanAllScheduleConflict with default headers values
func (*CreateScanAllScheduleConflict) Error ¶
func (o *CreateScanAllScheduleConflict) Error() string
func (*CreateScanAllScheduleConflict) GetPayload ¶
func (o *CreateScanAllScheduleConflict) GetPayload() *model.Errors
type CreateScanAllScheduleCreated ¶
type CreateScanAllScheduleCreated struct { /*The location of the resource */ Location string /*The ID of the corresponding request for the response */ XRequestID string }
CreateScanAllScheduleCreated handles this case with default header values.
Created
func NewCreateScanAllScheduleCreated ¶
func NewCreateScanAllScheduleCreated() *CreateScanAllScheduleCreated
NewCreateScanAllScheduleCreated creates a CreateScanAllScheduleCreated with default headers values
func (*CreateScanAllScheduleCreated) Error ¶
func (o *CreateScanAllScheduleCreated) Error() string
type CreateScanAllScheduleForbidden ¶
type CreateScanAllScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateScanAllScheduleForbidden handles this case with default header values.
Forbidden
func NewCreateScanAllScheduleForbidden ¶
func NewCreateScanAllScheduleForbidden() *CreateScanAllScheduleForbidden
NewCreateScanAllScheduleForbidden creates a CreateScanAllScheduleForbidden with default headers values
func (*CreateScanAllScheduleForbidden) Error ¶
func (o *CreateScanAllScheduleForbidden) Error() string
func (*CreateScanAllScheduleForbidden) GetPayload ¶
func (o *CreateScanAllScheduleForbidden) GetPayload() *model.Errors
type CreateScanAllScheduleInternalServerError ¶
type CreateScanAllScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
CreateScanAllScheduleInternalServerError handles this case with default header values.
Internal server error
func NewCreateScanAllScheduleInternalServerError ¶
func NewCreateScanAllScheduleInternalServerError() *CreateScanAllScheduleInternalServerError
NewCreateScanAllScheduleInternalServerError creates a CreateScanAllScheduleInternalServerError with default headers values
func (*CreateScanAllScheduleInternalServerError) Error ¶
func (o *CreateScanAllScheduleInternalServerError) Error() string
func (*CreateScanAllScheduleInternalServerError) GetPayload ¶
func (o *CreateScanAllScheduleInternalServerError) GetPayload() *model.Errors
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 *model.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 values initialized.
func NewCreateScanAllScheduleParamsWithContext ¶
func NewCreateScanAllScheduleParamsWithContext(ctx context.Context) *CreateScanAllScheduleParams
NewCreateScanAllScheduleParamsWithContext creates a new CreateScanAllScheduleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *model.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 ¶
func (o *CreateScanAllScheduleParams) WithContext(ctx context.Context) *CreateScanAllScheduleParams
WithContext adds the context to the create scan all schedule params
func (*CreateScanAllScheduleParams) WithHTTPClient ¶
func (o *CreateScanAllScheduleParams) WithHTTPClient(client *http.Client) *CreateScanAllScheduleParams
WithHTTPClient adds the HTTPClient to the create scan all schedule params
func (*CreateScanAllScheduleParams) WithSchedule ¶
func (o *CreateScanAllScheduleParams) WithSchedule(schedule *model.Schedule) *CreateScanAllScheduleParams
WithSchedule adds the schedule to the create scan all schedule params
func (*CreateScanAllScheduleParams) WithTimeout ¶
func (o *CreateScanAllScheduleParams) WithTimeout(timeout time.Duration) *CreateScanAllScheduleParams
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 ¶
func (o *CreateScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *model.Errors }
CreateScanAllSchedulePreconditionFailed handles this case with default header values.
Precondition failed
func NewCreateScanAllSchedulePreconditionFailed ¶
func NewCreateScanAllSchedulePreconditionFailed() *CreateScanAllSchedulePreconditionFailed
NewCreateScanAllSchedulePreconditionFailed creates a CreateScanAllSchedulePreconditionFailed with default headers values
func (*CreateScanAllSchedulePreconditionFailed) Error ¶
func (o *CreateScanAllSchedulePreconditionFailed) Error() string
func (*CreateScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *CreateScanAllSchedulePreconditionFailed) GetPayload() *model.Errors
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 { string }XRequestID
CreateScanAllScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewCreateScanAllScheduleUnauthorized ¶
func NewCreateScanAllScheduleUnauthorized() *CreateScanAllScheduleUnauthorized
NewCreateScanAllScheduleUnauthorized creates a CreateScanAllScheduleUnauthorized with default headers values
func (*CreateScanAllScheduleUnauthorized) Error ¶
func (o *CreateScanAllScheduleUnauthorized) Error() string
func (*CreateScanAllScheduleUnauthorized) GetPayload ¶
func (o *CreateScanAllScheduleUnauthorized) GetPayload() *model.Errors
type GetLatestScanAllMetricsForbidden ¶
type GetLatestScanAllMetricsForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetLatestScanAllMetricsForbidden handles this case with default header values.
Forbidden
func NewGetLatestScanAllMetricsForbidden ¶
func NewGetLatestScanAllMetricsForbidden() *GetLatestScanAllMetricsForbidden
NewGetLatestScanAllMetricsForbidden creates a GetLatestScanAllMetricsForbidden with default headers values
func (*GetLatestScanAllMetricsForbidden) Error ¶
func (o *GetLatestScanAllMetricsForbidden) Error() string
func (*GetLatestScanAllMetricsForbidden) GetPayload ¶
func (o *GetLatestScanAllMetricsForbidden) GetPayload() *model.Errors
type GetLatestScanAllMetricsInternalServerError ¶
type GetLatestScanAllMetricsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetLatestScanAllMetricsInternalServerError handles this case with default header values.
Internal server error
func NewGetLatestScanAllMetricsInternalServerError ¶
func NewGetLatestScanAllMetricsInternalServerError() *GetLatestScanAllMetricsInternalServerError
NewGetLatestScanAllMetricsInternalServerError creates a GetLatestScanAllMetricsInternalServerError with default headers values
func (*GetLatestScanAllMetricsInternalServerError) Error ¶
func (o *GetLatestScanAllMetricsInternalServerError) Error() string
func (*GetLatestScanAllMetricsInternalServerError) GetPayload ¶
func (o *GetLatestScanAllMetricsInternalServerError) GetPayload() *model.Errors
type GetLatestScanAllMetricsOK ¶
GetLatestScanAllMetricsOK handles this case 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() *model.Stats
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 values initialized.
func NewGetLatestScanAllMetricsParamsWithContext ¶
func NewGetLatestScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScanAllMetricsParams
NewGetLatestScanAllMetricsParamsWithContext creates a new GetLatestScanAllMetricsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetLatestScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScanAllMetricsParams
WithContext adds the context to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) WithHTTPClient ¶
func (o *GetLatestScanAllMetricsParams) WithHTTPClient(client *http.Client) *GetLatestScanAllMetricsParams
WithHTTPClient adds the HTTPClient to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) WithTimeout ¶
func (o *GetLatestScanAllMetricsParams) WithTimeout(timeout time.Duration) *GetLatestScanAllMetricsParams
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 ¶
func (o *GetLatestScanAllMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *model.Errors }
GetLatestScanAllMetricsPreconditionFailed handles this case with default header values.
Precondition failed
func NewGetLatestScanAllMetricsPreconditionFailed ¶
func NewGetLatestScanAllMetricsPreconditionFailed() *GetLatestScanAllMetricsPreconditionFailed
NewGetLatestScanAllMetricsPreconditionFailed creates a GetLatestScanAllMetricsPreconditionFailed with default headers values
func (*GetLatestScanAllMetricsPreconditionFailed) Error ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) Error() string
func (*GetLatestScanAllMetricsPreconditionFailed) GetPayload ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) GetPayload() *model.Errors
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 { string }XRequestID
GetLatestScanAllMetricsUnauthorized handles this case with default header values.
Unauthorized
func NewGetLatestScanAllMetricsUnauthorized ¶
func NewGetLatestScanAllMetricsUnauthorized() *GetLatestScanAllMetricsUnauthorized
NewGetLatestScanAllMetricsUnauthorized creates a GetLatestScanAllMetricsUnauthorized with default headers values
func (*GetLatestScanAllMetricsUnauthorized) Error ¶
func (o *GetLatestScanAllMetricsUnauthorized) Error() string
func (*GetLatestScanAllMetricsUnauthorized) GetPayload ¶
func (o *GetLatestScanAllMetricsUnauthorized) GetPayload() *model.Errors
type GetLatestScheduledScanAllMetricsForbidden ¶
type GetLatestScheduledScanAllMetricsForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetLatestScheduledScanAllMetricsForbidden handles this case with default header values.
Forbidden
func NewGetLatestScheduledScanAllMetricsForbidden ¶
func NewGetLatestScheduledScanAllMetricsForbidden() *GetLatestScheduledScanAllMetricsForbidden
NewGetLatestScheduledScanAllMetricsForbidden creates a GetLatestScheduledScanAllMetricsForbidden with default headers values
func (*GetLatestScheduledScanAllMetricsForbidden) Error ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) Error() string
func (*GetLatestScheduledScanAllMetricsForbidden) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) GetPayload() *model.Errors
type GetLatestScheduledScanAllMetricsInternalServerError ¶
type GetLatestScheduledScanAllMetricsInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetLatestScheduledScanAllMetricsInternalServerError handles this case with default header values.
Internal server error
func NewGetLatestScheduledScanAllMetricsInternalServerError ¶
func NewGetLatestScheduledScanAllMetricsInternalServerError() *GetLatestScheduledScanAllMetricsInternalServerError
NewGetLatestScheduledScanAllMetricsInternalServerError creates a GetLatestScheduledScanAllMetricsInternalServerError with default headers values
func (*GetLatestScheduledScanAllMetricsInternalServerError) Error ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) Error() string
func (*GetLatestScheduledScanAllMetricsInternalServerError) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) GetPayload() *model.Errors
type GetLatestScheduledScanAllMetricsOK ¶
GetLatestScheduledScanAllMetricsOK handles this case with default header values.
OK
func NewGetLatestScheduledScanAllMetricsOK ¶
func NewGetLatestScheduledScanAllMetricsOK() *GetLatestScheduledScanAllMetricsOK
NewGetLatestScheduledScanAllMetricsOK creates a GetLatestScheduledScanAllMetricsOK with default headers values
func (*GetLatestScheduledScanAllMetricsOK) Error ¶
func (o *GetLatestScheduledScanAllMetricsOK) Error() string
func (*GetLatestScheduledScanAllMetricsOK) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsOK) GetPayload() *model.Stats
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 values initialized.
func NewGetLatestScheduledScanAllMetricsParamsWithContext ¶
func NewGetLatestScheduledScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
NewGetLatestScheduledScanAllMetricsParamsWithContext creates a new GetLatestScheduledScanAllMetricsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*GetLatestScheduledScanAllMetricsParams) SetContext ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the get latest scheduled scan all metrics params
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 ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
WithContext adds the context to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WithHTTPClient ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithHTTPClient(client *http.Client) *GetLatestScheduledScanAllMetricsParams
WithHTTPClient adds the HTTPClient to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WithTimeout ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithTimeout(timeout time.Duration) *GetLatestScheduledScanAllMetricsParams
WithTimeout adds the timeout to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WithXRequestID ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithXRequestID(xRequestID *string) *GetLatestScheduledScanAllMetricsParams
WithXRequestID adds the xRequestID to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WriteToRequest ¶
func (o *GetLatestScheduledScanAllMetricsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *model.Errors }
GetLatestScheduledScanAllMetricsPreconditionFailed handles this case with default header values.
Precondition failed
func NewGetLatestScheduledScanAllMetricsPreconditionFailed ¶
func NewGetLatestScheduledScanAllMetricsPreconditionFailed() *GetLatestScheduledScanAllMetricsPreconditionFailed
NewGetLatestScheduledScanAllMetricsPreconditionFailed creates a GetLatestScheduledScanAllMetricsPreconditionFailed with default headers values
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) Error ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) Error() string
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload() *model.Errors
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 { string }XRequestID
GetLatestScheduledScanAllMetricsUnauthorized handles this case with default header values.
Unauthorized
func NewGetLatestScheduledScanAllMetricsUnauthorized ¶
func NewGetLatestScheduledScanAllMetricsUnauthorized() *GetLatestScheduledScanAllMetricsUnauthorized
NewGetLatestScheduledScanAllMetricsUnauthorized creates a GetLatestScheduledScanAllMetricsUnauthorized with default headers values
func (*GetLatestScheduledScanAllMetricsUnauthorized) Error ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) Error() string
func (*GetLatestScheduledScanAllMetricsUnauthorized) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) GetPayload() *model.Errors
type GetScanAllScheduleForbidden ¶
type GetScanAllScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetScanAllScheduleForbidden handles this case with default header values.
Forbidden
func NewGetScanAllScheduleForbidden ¶
func NewGetScanAllScheduleForbidden() *GetScanAllScheduleForbidden
NewGetScanAllScheduleForbidden creates a GetScanAllScheduleForbidden with default headers values
func (*GetScanAllScheduleForbidden) Error ¶
func (o *GetScanAllScheduleForbidden) Error() string
func (*GetScanAllScheduleForbidden) GetPayload ¶
func (o *GetScanAllScheduleForbidden) GetPayload() *model.Errors
type GetScanAllScheduleInternalServerError ¶
type GetScanAllScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetScanAllScheduleInternalServerError handles this case with default header values.
Internal server error
func NewGetScanAllScheduleInternalServerError ¶
func NewGetScanAllScheduleInternalServerError() *GetScanAllScheduleInternalServerError
NewGetScanAllScheduleInternalServerError creates a GetScanAllScheduleInternalServerError with default headers values
func (*GetScanAllScheduleInternalServerError) Error ¶
func (o *GetScanAllScheduleInternalServerError) Error() string
func (*GetScanAllScheduleInternalServerError) GetPayload ¶
func (o *GetScanAllScheduleInternalServerError) GetPayload() *model.Errors
type GetScanAllScheduleOK ¶
GetScanAllScheduleOK handles this case 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() *model.Schedule
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 values initialized.
func NewGetScanAllScheduleParamsWithContext ¶
func NewGetScanAllScheduleParamsWithContext(ctx context.Context) *GetScanAllScheduleParams
NewGetScanAllScheduleParamsWithContext creates a new GetScanAllScheduleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetScanAllScheduleParams) WithContext(ctx context.Context) *GetScanAllScheduleParams
WithContext adds the context to the get scan all schedule params
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 ¶
func (o *GetScanAllScheduleParams) WithTimeout(timeout time.Duration) *GetScanAllScheduleParams
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 ¶
func (o *GetScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *model.Errors }
GetScanAllSchedulePreconditionFailed handles this case with default header values.
Precondition failed
func NewGetScanAllSchedulePreconditionFailed ¶
func NewGetScanAllSchedulePreconditionFailed() *GetScanAllSchedulePreconditionFailed
NewGetScanAllSchedulePreconditionFailed creates a GetScanAllSchedulePreconditionFailed with default headers values
func (*GetScanAllSchedulePreconditionFailed) Error ¶
func (o *GetScanAllSchedulePreconditionFailed) Error() string
func (*GetScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *GetScanAllSchedulePreconditionFailed) GetPayload() *model.Errors
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 { string }XRequestID
GetScanAllScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewGetScanAllScheduleUnauthorized ¶
func NewGetScanAllScheduleUnauthorized() *GetScanAllScheduleUnauthorized
NewGetScanAllScheduleUnauthorized creates a GetScanAllScheduleUnauthorized with default headers values
func (*GetScanAllScheduleUnauthorized) Error ¶
func (o *GetScanAllScheduleUnauthorized) Error() string
func (*GetScanAllScheduleUnauthorized) GetPayload ¶
func (o *GetScanAllScheduleUnauthorized) GetPayload() *model.Errors
type StopScanAllAccepted ¶
type StopScanAllAccepted struct { /*The ID of the corresponding request for the response */ XRequestID string }
StopScanAllAccepted handles this case 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
type StopScanAllBadRequest ¶
type StopScanAllBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopScanAllBadRequest handles this case 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() *model.Errors
type StopScanAllForbidden ¶
type StopScanAllForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopScanAllForbidden handles this case 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() *model.Errors
type StopScanAllInternalServerError ¶
type StopScanAllInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
StopScanAllInternalServerError handles this case with default header values.
Internal server error
func NewStopScanAllInternalServerError ¶
func NewStopScanAllInternalServerError() *StopScanAllInternalServerError
NewStopScanAllInternalServerError creates a StopScanAllInternalServerError with default headers values
func (*StopScanAllInternalServerError) Error ¶
func (o *StopScanAllInternalServerError) Error() string
func (*StopScanAllInternalServerError) GetPayload ¶
func (o *StopScanAllInternalServerError) GetPayload() *model.Errors
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 values initialized.
func NewStopScanAllParamsWithContext ¶
func NewStopScanAllParamsWithContext(ctx context.Context) *StopScanAllParams
NewStopScanAllParamsWithContext creates a new StopScanAllParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 { string }XRequestID
StopScanAllUnauthorized handles this case 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() *model.Errors
type UpdateScanAllScheduleBadRequest ¶
type UpdateScanAllScheduleBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateScanAllScheduleBadRequest handles this case with default header values.
Bad request
func NewUpdateScanAllScheduleBadRequest ¶
func NewUpdateScanAllScheduleBadRequest() *UpdateScanAllScheduleBadRequest
NewUpdateScanAllScheduleBadRequest creates a UpdateScanAllScheduleBadRequest with default headers values
func (*UpdateScanAllScheduleBadRequest) Error ¶
func (o *UpdateScanAllScheduleBadRequest) Error() string
func (*UpdateScanAllScheduleBadRequest) GetPayload ¶
func (o *UpdateScanAllScheduleBadRequest) GetPayload() *model.Errors
type UpdateScanAllScheduleForbidden ¶
type UpdateScanAllScheduleForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateScanAllScheduleForbidden handles this case with default header values.
Forbidden
func NewUpdateScanAllScheduleForbidden ¶
func NewUpdateScanAllScheduleForbidden() *UpdateScanAllScheduleForbidden
NewUpdateScanAllScheduleForbidden creates a UpdateScanAllScheduleForbidden with default headers values
func (*UpdateScanAllScheduleForbidden) Error ¶
func (o *UpdateScanAllScheduleForbidden) Error() string
func (*UpdateScanAllScheduleForbidden) GetPayload ¶
func (o *UpdateScanAllScheduleForbidden) GetPayload() *model.Errors
type UpdateScanAllScheduleInternalServerError ¶
type UpdateScanAllScheduleInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateScanAllScheduleInternalServerError handles this case with default header values.
Internal server error
func NewUpdateScanAllScheduleInternalServerError ¶
func NewUpdateScanAllScheduleInternalServerError() *UpdateScanAllScheduleInternalServerError
NewUpdateScanAllScheduleInternalServerError creates a UpdateScanAllScheduleInternalServerError with default headers values
func (*UpdateScanAllScheduleInternalServerError) Error ¶
func (o *UpdateScanAllScheduleInternalServerError) Error() string
func (*UpdateScanAllScheduleInternalServerError) GetPayload ¶
func (o *UpdateScanAllScheduleInternalServerError) GetPayload() *model.Errors
type UpdateScanAllScheduleOK ¶
type UpdateScanAllScheduleOK struct { /*The ID of the corresponding request for the response */ XRequestID string }
UpdateScanAllScheduleOK handles this case 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
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 *model.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 values initialized.
func NewUpdateScanAllScheduleParamsWithContext ¶
func NewUpdateScanAllScheduleParamsWithContext(ctx context.Context) *UpdateScanAllScheduleParams
NewUpdateScanAllScheduleParamsWithContext creates a new UpdateScanAllScheduleParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *model.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 ¶
func (o *UpdateScanAllScheduleParams) WithContext(ctx context.Context) *UpdateScanAllScheduleParams
WithContext adds the context to the update scan all schedule params
func (*UpdateScanAllScheduleParams) WithHTTPClient ¶
func (o *UpdateScanAllScheduleParams) WithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams
WithHTTPClient adds the HTTPClient to the update scan all schedule params
func (*UpdateScanAllScheduleParams) WithSchedule ¶
func (o *UpdateScanAllScheduleParams) WithSchedule(schedule *model.Schedule) *UpdateScanAllScheduleParams
WithSchedule adds the schedule to the update scan all schedule params
func (*UpdateScanAllScheduleParams) WithTimeout ¶
func (o *UpdateScanAllScheduleParams) WithTimeout(timeout time.Duration) *UpdateScanAllScheduleParams
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 ¶
func (o *UpdateScanAllScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 *model.Errors }
UpdateScanAllSchedulePreconditionFailed handles this case with default header values.
Precondition failed
func NewUpdateScanAllSchedulePreconditionFailed ¶
func NewUpdateScanAllSchedulePreconditionFailed() *UpdateScanAllSchedulePreconditionFailed
NewUpdateScanAllSchedulePreconditionFailed creates a UpdateScanAllSchedulePreconditionFailed with default headers values
func (*UpdateScanAllSchedulePreconditionFailed) Error ¶
func (o *UpdateScanAllSchedulePreconditionFailed) Error() string
func (*UpdateScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *UpdateScanAllSchedulePreconditionFailed) GetPayload() *model.Errors
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 { string }XRequestID
UpdateScanAllScheduleUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateScanAllScheduleUnauthorized ¶
func NewUpdateScanAllScheduleUnauthorized() *UpdateScanAllScheduleUnauthorized
NewUpdateScanAllScheduleUnauthorized creates a UpdateScanAllScheduleUnauthorized with default headers values
func (*UpdateScanAllScheduleUnauthorized) Error ¶
func (o *UpdateScanAllScheduleUnauthorized) Error() string
func (*UpdateScanAllScheduleUnauthorized) GetPayload ¶
func (o *UpdateScanAllScheduleUnauthorized) GetPayload() *model.Errors
Source Files ¶
- create_scan_all_schedule_parameters.go
- create_scan_all_schedule_responses.go
- get_latest_scan_all_metrics_parameters.go
- get_latest_scan_all_metrics_responses.go
- get_latest_scheduled_scan_all_metrics_parameters.go
- get_latest_scheduled_scan_all_metrics_responses.go
- get_scan_all_schedule_parameters.go
- get_scan_all_schedule_responses.go
- scan_all_client.go
- stop_scan_all_parameters.go
- stop_scan_all_responses.go
- update_scan_all_schedule_parameters.go
- update_scan_all_schedule_responses.go