Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) CreateScanAllSchedule(ctx context.Context, params *CreateScanAllScheduleParams) (*CreateScanAllScheduleCreated, error)
- func (a *Client) GetLatestScanAllMetrics(ctx context.Context, params *GetLatestScanAllMetricsParams) (*GetLatestScanAllMetricsOK, error)
- func (a *Client) GetLatestScheduledScanAllMetrics(ctx context.Context, params *GetLatestScheduledScanAllMetricsParams) (*GetLatestScheduledScanAllMetricsOK, error)
- func (a *Client) GetScanAllSchedule(ctx context.Context, params *GetScanAllScheduleParams) (*GetScanAllScheduleOK, error)
- func (a *Client) StopScanAll(ctx context.Context, params *StopScanAllParams) (*StopScanAllAccepted, error)
- func (a *Client) UpdateScanAllSchedule(ctx context.Context, params *UpdateScanAllScheduleParams) (*UpdateScanAllScheduleOK, error)
- type CreateScanAllScheduleBadRequest
- func (o *CreateScanAllScheduleBadRequest) Error() string
- func (o *CreateScanAllScheduleBadRequest) GetPayload() *models.Errors
- func (o *CreateScanAllScheduleBadRequest) IsClientError() bool
- func (o *CreateScanAllScheduleBadRequest) IsCode(code int) bool
- func (o *CreateScanAllScheduleBadRequest) IsRedirect() bool
- func (o *CreateScanAllScheduleBadRequest) IsServerError() bool
- func (o *CreateScanAllScheduleBadRequest) IsSuccess() bool
- func (o *CreateScanAllScheduleBadRequest) String() string
- type CreateScanAllScheduleConflict
- func (o *CreateScanAllScheduleConflict) Error() string
- func (o *CreateScanAllScheduleConflict) GetPayload() *models.Errors
- func (o *CreateScanAllScheduleConflict) IsClientError() bool
- func (o *CreateScanAllScheduleConflict) IsCode(code int) bool
- func (o *CreateScanAllScheduleConflict) IsRedirect() bool
- func (o *CreateScanAllScheduleConflict) IsServerError() bool
- func (o *CreateScanAllScheduleConflict) IsSuccess() bool
- func (o *CreateScanAllScheduleConflict) String() string
- type CreateScanAllScheduleCreated
- func (o *CreateScanAllScheduleCreated) Error() string
- func (o *CreateScanAllScheduleCreated) IsClientError() bool
- func (o *CreateScanAllScheduleCreated) IsCode(code int) bool
- func (o *CreateScanAllScheduleCreated) IsRedirect() bool
- func (o *CreateScanAllScheduleCreated) IsServerError() bool
- func (o *CreateScanAllScheduleCreated) IsSuccess() bool
- func (o *CreateScanAllScheduleCreated) String() string
- type CreateScanAllScheduleForbidden
- func (o *CreateScanAllScheduleForbidden) Error() string
- func (o *CreateScanAllScheduleForbidden) GetPayload() *models.Errors
- func (o *CreateScanAllScheduleForbidden) IsClientError() bool
- func (o *CreateScanAllScheduleForbidden) IsCode(code int) bool
- func (o *CreateScanAllScheduleForbidden) IsRedirect() bool
- func (o *CreateScanAllScheduleForbidden) IsServerError() bool
- func (o *CreateScanAllScheduleForbidden) IsSuccess() bool
- func (o *CreateScanAllScheduleForbidden) String() string
- type CreateScanAllScheduleInternalServerError
- func (o *CreateScanAllScheduleInternalServerError) Error() string
- func (o *CreateScanAllScheduleInternalServerError) GetPayload() *models.Errors
- func (o *CreateScanAllScheduleInternalServerError) IsClientError() bool
- func (o *CreateScanAllScheduleInternalServerError) IsCode(code int) bool
- func (o *CreateScanAllScheduleInternalServerError) IsRedirect() bool
- func (o *CreateScanAllScheduleInternalServerError) IsServerError() bool
- func (o *CreateScanAllScheduleInternalServerError) IsSuccess() bool
- func (o *CreateScanAllScheduleInternalServerError) String() string
- 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) SetDefaults()
- func (o *CreateScanAllScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateScanAllScheduleParams) SetSchedule(schedule *models.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) WithDefaults() *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithHTTPClient(client *http.Client) *CreateScanAllScheduleParams
- func (o *CreateScanAllScheduleParams) WithSchedule(schedule *models.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
- func (o *CreateScanAllSchedulePreconditionFailed) Error() string
- func (o *CreateScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
- func (o *CreateScanAllSchedulePreconditionFailed) IsClientError() bool
- func (o *CreateScanAllSchedulePreconditionFailed) IsCode(code int) bool
- func (o *CreateScanAllSchedulePreconditionFailed) IsRedirect() bool
- func (o *CreateScanAllSchedulePreconditionFailed) IsServerError() bool
- func (o *CreateScanAllSchedulePreconditionFailed) IsSuccess() bool
- func (o *CreateScanAllSchedulePreconditionFailed) String() string
- type CreateScanAllScheduleReader
- type CreateScanAllScheduleUnauthorized
- func (o *CreateScanAllScheduleUnauthorized) Error() string
- func (o *CreateScanAllScheduleUnauthorized) GetPayload() *models.Errors
- func (o *CreateScanAllScheduleUnauthorized) IsClientError() bool
- func (o *CreateScanAllScheduleUnauthorized) IsCode(code int) bool
- func (o *CreateScanAllScheduleUnauthorized) IsRedirect() bool
- func (o *CreateScanAllScheduleUnauthorized) IsServerError() bool
- func (o *CreateScanAllScheduleUnauthorized) IsSuccess() bool
- func (o *CreateScanAllScheduleUnauthorized) String() string
- type GetLatestScanAllMetricsForbidden
- func (o *GetLatestScanAllMetricsForbidden) Error() string
- func (o *GetLatestScanAllMetricsForbidden) GetPayload() *models.Errors
- func (o *GetLatestScanAllMetricsForbidden) IsClientError() bool
- func (o *GetLatestScanAllMetricsForbidden) IsCode(code int) bool
- func (o *GetLatestScanAllMetricsForbidden) IsRedirect() bool
- func (o *GetLatestScanAllMetricsForbidden) IsServerError() bool
- func (o *GetLatestScanAllMetricsForbidden) IsSuccess() bool
- func (o *GetLatestScanAllMetricsForbidden) String() string
- type GetLatestScanAllMetricsInternalServerError
- func (o *GetLatestScanAllMetricsInternalServerError) Error() string
- func (o *GetLatestScanAllMetricsInternalServerError) GetPayload() *models.Errors
- func (o *GetLatestScanAllMetricsInternalServerError) IsClientError() bool
- func (o *GetLatestScanAllMetricsInternalServerError) IsCode(code int) bool
- func (o *GetLatestScanAllMetricsInternalServerError) IsRedirect() bool
- func (o *GetLatestScanAllMetricsInternalServerError) IsServerError() bool
- func (o *GetLatestScanAllMetricsInternalServerError) IsSuccess() bool
- func (o *GetLatestScanAllMetricsInternalServerError) String() string
- type GetLatestScanAllMetricsOK
- func (o *GetLatestScanAllMetricsOK) Error() string
- func (o *GetLatestScanAllMetricsOK) GetPayload() *models.Stats
- func (o *GetLatestScanAllMetricsOK) IsClientError() bool
- func (o *GetLatestScanAllMetricsOK) IsCode(code int) bool
- func (o *GetLatestScanAllMetricsOK) IsRedirect() bool
- func (o *GetLatestScanAllMetricsOK) IsServerError() bool
- func (o *GetLatestScanAllMetricsOK) IsSuccess() bool
- func (o *GetLatestScanAllMetricsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetLatestScanAllMetricsPreconditionFailed) Error() string
- func (o *GetLatestScanAllMetricsPreconditionFailed) GetPayload() *models.Errors
- func (o *GetLatestScanAllMetricsPreconditionFailed) IsClientError() bool
- func (o *GetLatestScanAllMetricsPreconditionFailed) IsCode(code int) bool
- func (o *GetLatestScanAllMetricsPreconditionFailed) IsRedirect() bool
- func (o *GetLatestScanAllMetricsPreconditionFailed) IsServerError() bool
- func (o *GetLatestScanAllMetricsPreconditionFailed) IsSuccess() bool
- func (o *GetLatestScanAllMetricsPreconditionFailed) String() string
- type GetLatestScanAllMetricsReader
- type GetLatestScanAllMetricsUnauthorized
- func (o *GetLatestScanAllMetricsUnauthorized) Error() string
- func (o *GetLatestScanAllMetricsUnauthorized) GetPayload() *models.Errors
- func (o *GetLatestScanAllMetricsUnauthorized) IsClientError() bool
- func (o *GetLatestScanAllMetricsUnauthorized) IsCode(code int) bool
- func (o *GetLatestScanAllMetricsUnauthorized) IsRedirect() bool
- func (o *GetLatestScanAllMetricsUnauthorized) IsServerError() bool
- func (o *GetLatestScanAllMetricsUnauthorized) IsSuccess() bool
- func (o *GetLatestScanAllMetricsUnauthorized) String() string
- type GetLatestScheduledScanAllMetricsForbidden
- func (o *GetLatestScheduledScanAllMetricsForbidden) Error() string
- func (o *GetLatestScheduledScanAllMetricsForbidden) GetPayload() *models.Errors
- func (o *GetLatestScheduledScanAllMetricsForbidden) IsClientError() bool
- func (o *GetLatestScheduledScanAllMetricsForbidden) IsCode(code int) bool
- func (o *GetLatestScheduledScanAllMetricsForbidden) IsRedirect() bool
- func (o *GetLatestScheduledScanAllMetricsForbidden) IsServerError() bool
- func (o *GetLatestScheduledScanAllMetricsForbidden) IsSuccess() bool
- func (o *GetLatestScheduledScanAllMetricsForbidden) String() string
- type GetLatestScheduledScanAllMetricsInternalServerError
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) Error() string
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) GetPayload() *models.Errors
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsClientError() bool
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsCode(code int) bool
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsRedirect() bool
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsServerError() bool
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsSuccess() bool
- func (o *GetLatestScheduledScanAllMetricsInternalServerError) String() string
- type GetLatestScheduledScanAllMetricsOK
- func (o *GetLatestScheduledScanAllMetricsOK) Error() string
- func (o *GetLatestScheduledScanAllMetricsOK) GetPayload() *models.Stats
- func (o *GetLatestScheduledScanAllMetricsOK) IsClientError() bool
- func (o *GetLatestScheduledScanAllMetricsOK) IsCode(code int) bool
- func (o *GetLatestScheduledScanAllMetricsOK) IsRedirect() bool
- func (o *GetLatestScheduledScanAllMetricsOK) IsServerError() bool
- func (o *GetLatestScheduledScanAllMetricsOK) IsSuccess() bool
- func (o *GetLatestScheduledScanAllMetricsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) Error() string
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload() *models.Errors
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsClientError() bool
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsCode(code int) bool
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsRedirect() bool
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsServerError() bool
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsSuccess() bool
- func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) String() string
- type GetLatestScheduledScanAllMetricsReader
- type GetLatestScheduledScanAllMetricsUnauthorized
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) Error() string
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) GetPayload() *models.Errors
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsClientError() bool
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsCode(code int) bool
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsRedirect() bool
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsServerError() bool
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsSuccess() bool
- func (o *GetLatestScheduledScanAllMetricsUnauthorized) String() string
- type GetScanAllScheduleForbidden
- func (o *GetScanAllScheduleForbidden) Error() string
- func (o *GetScanAllScheduleForbidden) GetPayload() *models.Errors
- func (o *GetScanAllScheduleForbidden) IsClientError() bool
- func (o *GetScanAllScheduleForbidden) IsCode(code int) bool
- func (o *GetScanAllScheduleForbidden) IsRedirect() bool
- func (o *GetScanAllScheduleForbidden) IsServerError() bool
- func (o *GetScanAllScheduleForbidden) IsSuccess() bool
- func (o *GetScanAllScheduleForbidden) String() string
- type GetScanAllScheduleInternalServerError
- func (o *GetScanAllScheduleInternalServerError) Error() string
- func (o *GetScanAllScheduleInternalServerError) GetPayload() *models.Errors
- func (o *GetScanAllScheduleInternalServerError) IsClientError() bool
- func (o *GetScanAllScheduleInternalServerError) IsCode(code int) bool
- func (o *GetScanAllScheduleInternalServerError) IsRedirect() bool
- func (o *GetScanAllScheduleInternalServerError) IsServerError() bool
- func (o *GetScanAllScheduleInternalServerError) IsSuccess() bool
- func (o *GetScanAllScheduleInternalServerError) String() string
- type GetScanAllScheduleOK
- func (o *GetScanAllScheduleOK) Error() string
- func (o *GetScanAllScheduleOK) GetPayload() *models.Schedule
- func (o *GetScanAllScheduleOK) IsClientError() bool
- func (o *GetScanAllScheduleOK) IsCode(code int) bool
- func (o *GetScanAllScheduleOK) IsRedirect() bool
- func (o *GetScanAllScheduleOK) IsServerError() bool
- func (o *GetScanAllScheduleOK) IsSuccess() bool
- func (o *GetScanAllScheduleOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetScanAllSchedulePreconditionFailed) Error() string
- func (o *GetScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
- func (o *GetScanAllSchedulePreconditionFailed) IsClientError() bool
- func (o *GetScanAllSchedulePreconditionFailed) IsCode(code int) bool
- func (o *GetScanAllSchedulePreconditionFailed) IsRedirect() bool
- func (o *GetScanAllSchedulePreconditionFailed) IsServerError() bool
- func (o *GetScanAllSchedulePreconditionFailed) IsSuccess() bool
- func (o *GetScanAllSchedulePreconditionFailed) String() string
- type GetScanAllScheduleReader
- type GetScanAllScheduleUnauthorized
- func (o *GetScanAllScheduleUnauthorized) Error() string
- func (o *GetScanAllScheduleUnauthorized) GetPayload() *models.Errors
- func (o *GetScanAllScheduleUnauthorized) IsClientError() bool
- func (o *GetScanAllScheduleUnauthorized) IsCode(code int) bool
- func (o *GetScanAllScheduleUnauthorized) IsRedirect() bool
- func (o *GetScanAllScheduleUnauthorized) IsServerError() bool
- func (o *GetScanAllScheduleUnauthorized) IsSuccess() bool
- func (o *GetScanAllScheduleUnauthorized) String() string
- type StopScanAllAccepted
- func (o *StopScanAllAccepted) Error() string
- func (o *StopScanAllAccepted) IsClientError() bool
- func (o *StopScanAllAccepted) IsCode(code int) bool
- func (o *StopScanAllAccepted) IsRedirect() bool
- func (o *StopScanAllAccepted) IsServerError() bool
- func (o *StopScanAllAccepted) IsSuccess() bool
- func (o *StopScanAllAccepted) String() string
- type StopScanAllBadRequest
- func (o *StopScanAllBadRequest) Error() string
- func (o *StopScanAllBadRequest) GetPayload() *models.Errors
- func (o *StopScanAllBadRequest) IsClientError() bool
- func (o *StopScanAllBadRequest) IsCode(code int) bool
- func (o *StopScanAllBadRequest) IsRedirect() bool
- func (o *StopScanAllBadRequest) IsServerError() bool
- func (o *StopScanAllBadRequest) IsSuccess() bool
- func (o *StopScanAllBadRequest) String() string
- type StopScanAllForbidden
- func (o *StopScanAllForbidden) Error() string
- func (o *StopScanAllForbidden) GetPayload() *models.Errors
- func (o *StopScanAllForbidden) IsClientError() bool
- func (o *StopScanAllForbidden) IsCode(code int) bool
- func (o *StopScanAllForbidden) IsRedirect() bool
- func (o *StopScanAllForbidden) IsServerError() bool
- func (o *StopScanAllForbidden) IsSuccess() bool
- func (o *StopScanAllForbidden) String() string
- type StopScanAllInternalServerError
- func (o *StopScanAllInternalServerError) Error() string
- func (o *StopScanAllInternalServerError) GetPayload() *models.Errors
- func (o *StopScanAllInternalServerError) IsClientError() bool
- func (o *StopScanAllInternalServerError) IsCode(code int) bool
- func (o *StopScanAllInternalServerError) IsRedirect() bool
- func (o *StopScanAllInternalServerError) IsServerError() bool
- func (o *StopScanAllInternalServerError) IsSuccess() bool
- func (o *StopScanAllInternalServerError) String() string
- type StopScanAllParams
- func (o *StopScanAllParams) SetContext(ctx context.Context)
- func (o *StopScanAllParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *StopScanAllUnauthorized) Error() string
- func (o *StopScanAllUnauthorized) GetPayload() *models.Errors
- func (o *StopScanAllUnauthorized) IsClientError() bool
- func (o *StopScanAllUnauthorized) IsCode(code int) bool
- func (o *StopScanAllUnauthorized) IsRedirect() bool
- func (o *StopScanAllUnauthorized) IsServerError() bool
- func (o *StopScanAllUnauthorized) IsSuccess() bool
- func (o *StopScanAllUnauthorized) String() string
- type UpdateScanAllScheduleBadRequest
- func (o *UpdateScanAllScheduleBadRequest) Error() string
- func (o *UpdateScanAllScheduleBadRequest) GetPayload() *models.Errors
- func (o *UpdateScanAllScheduleBadRequest) IsClientError() bool
- func (o *UpdateScanAllScheduleBadRequest) IsCode(code int) bool
- func (o *UpdateScanAllScheduleBadRequest) IsRedirect() bool
- func (o *UpdateScanAllScheduleBadRequest) IsServerError() bool
- func (o *UpdateScanAllScheduleBadRequest) IsSuccess() bool
- func (o *UpdateScanAllScheduleBadRequest) String() string
- type UpdateScanAllScheduleForbidden
- func (o *UpdateScanAllScheduleForbidden) Error() string
- func (o *UpdateScanAllScheduleForbidden) GetPayload() *models.Errors
- func (o *UpdateScanAllScheduleForbidden) IsClientError() bool
- func (o *UpdateScanAllScheduleForbidden) IsCode(code int) bool
- func (o *UpdateScanAllScheduleForbidden) IsRedirect() bool
- func (o *UpdateScanAllScheduleForbidden) IsServerError() bool
- func (o *UpdateScanAllScheduleForbidden) IsSuccess() bool
- func (o *UpdateScanAllScheduleForbidden) String() string
- type UpdateScanAllScheduleInternalServerError
- func (o *UpdateScanAllScheduleInternalServerError) Error() string
- func (o *UpdateScanAllScheduleInternalServerError) GetPayload() *models.Errors
- func (o *UpdateScanAllScheduleInternalServerError) IsClientError() bool
- func (o *UpdateScanAllScheduleInternalServerError) IsCode(code int) bool
- func (o *UpdateScanAllScheduleInternalServerError) IsRedirect() bool
- func (o *UpdateScanAllScheduleInternalServerError) IsServerError() bool
- func (o *UpdateScanAllScheduleInternalServerError) IsSuccess() bool
- func (o *UpdateScanAllScheduleInternalServerError) String() string
- type UpdateScanAllScheduleOK
- func (o *UpdateScanAllScheduleOK) Error() string
- func (o *UpdateScanAllScheduleOK) IsClientError() bool
- func (o *UpdateScanAllScheduleOK) IsCode(code int) bool
- func (o *UpdateScanAllScheduleOK) IsRedirect() bool
- func (o *UpdateScanAllScheduleOK) IsServerError() bool
- func (o *UpdateScanAllScheduleOK) IsSuccess() bool
- func (o *UpdateScanAllScheduleOK) String() string
- 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) SetDefaults()
- func (o *UpdateScanAllScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateScanAllScheduleParams) SetSchedule(schedule *models.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) WithDefaults() *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams
- func (o *UpdateScanAllScheduleParams) WithSchedule(schedule *models.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
- func (o *UpdateScanAllSchedulePreconditionFailed) Error() string
- func (o *UpdateScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
- func (o *UpdateScanAllSchedulePreconditionFailed) IsClientError() bool
- func (o *UpdateScanAllSchedulePreconditionFailed) IsCode(code int) bool
- func (o *UpdateScanAllSchedulePreconditionFailed) IsRedirect() bool
- func (o *UpdateScanAllSchedulePreconditionFailed) IsServerError() bool
- func (o *UpdateScanAllSchedulePreconditionFailed) IsSuccess() bool
- func (o *UpdateScanAllSchedulePreconditionFailed) String() string
- type UpdateScanAllScheduleReader
- type UpdateScanAllScheduleUnauthorized
- func (o *UpdateScanAllScheduleUnauthorized) Error() string
- func (o *UpdateScanAllScheduleUnauthorized) GetPayload() *models.Errors
- func (o *UpdateScanAllScheduleUnauthorized) IsClientError() bool
- func (o *UpdateScanAllScheduleUnauthorized) IsCode(code int) bool
- func (o *UpdateScanAllScheduleUnauthorized) IsRedirect() bool
- func (o *UpdateScanAllScheduleUnauthorized) IsServerError() bool
- func (o *UpdateScanAllScheduleUnauthorized) IsSuccess() bool
- func (o *UpdateScanAllScheduleUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* CreateScanAllSchedule creates a schedule or a manual trigger for the scan all job This endpoint is for creating a schedule or a manual trigger for the scan all job, which scans all of images in Harbor.*/ CreateScanAllSchedule(ctx context.Context, params *CreateScanAllScheduleParams) (*CreateScanAllScheduleCreated, error) /* GetLatestScanAllMetrics gets the metrics of the latest scan all process Get the metrics of the latest scan all process*/ GetLatestScanAllMetrics(ctx context.Context, params *GetLatestScanAllMetricsParams) (*GetLatestScanAllMetricsOK, error) /* GetLatestScheduledScanAllMetrics gets the metrics of the latest scheduled scan all process Get the metrics of the latest scheduled scan all process*/ GetLatestScheduledScanAllMetrics(ctx context.Context, params *GetLatestScheduledScanAllMetricsParams) (*GetLatestScheduledScanAllMetricsOK, error) /* GetScanAllSchedule gets scan all s schedule This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor.*/ GetScanAllSchedule(ctx context.Context, params *GetScanAllScheduleParams) (*GetScanAllScheduleOK, error) /* StopScanAll stops scan all job execution Stop scanAll job execution*/ StopScanAll(ctx context.Context, params *StopScanAllParams) (*StopScanAllAccepted, error) /* UpdateScanAllSchedule updates scan all s schedule This endpoint is for updating the schedule of scan all job, which scans all of images in Harbor.*/ UpdateScanAllSchedule(ctx context.Context, params *UpdateScanAllScheduleParams) (*UpdateScanAllScheduleOK, error) }
API is the interface of the scan all client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for scan all API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new scan all API client.
func (*Client) CreateScanAllSchedule ¶
func (a *Client) CreateScanAllSchedule(ctx context.Context, params *CreateScanAllScheduleParams) (*CreateScanAllScheduleCreated, error)
CreateScanAllSchedule creates a schedule or a manual trigger for the scan all job
This endpoint is for creating a schedule or a manual trigger for the scan all job, which scans all of images in Harbor.
func (*Client) GetLatestScanAllMetrics ¶
func (a *Client) GetLatestScanAllMetrics(ctx context.Context, params *GetLatestScanAllMetricsParams) (*GetLatestScanAllMetricsOK, error)
GetLatestScanAllMetrics gets the metrics of the latest scan all process
Get the metrics of the latest scan all process
func (*Client) GetLatestScheduledScanAllMetrics ¶
func (a *Client) GetLatestScheduledScanAllMetrics(ctx context.Context, params *GetLatestScheduledScanAllMetricsParams) (*GetLatestScheduledScanAllMetricsOK, error)
GetLatestScheduledScanAllMetrics gets the metrics of the latest scheduled scan all process
Get the metrics of the latest scheduled scan all process
func (*Client) GetScanAllSchedule ¶
func (a *Client) GetScanAllSchedule(ctx context.Context, params *GetScanAllScheduleParams) (*GetScanAllScheduleOK, error)
GetScanAllSchedule gets scan all s schedule
This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor.
func (*Client) StopScanAll ¶
func (a *Client) StopScanAll(ctx context.Context, params *StopScanAllParams) (*StopScanAllAccepted, error)
StopScanAll stops scan all job execution
Stop scanAll job execution
func (*Client) UpdateScanAllSchedule ¶
func (a *Client) UpdateScanAllSchedule(ctx context.Context, params *UpdateScanAllScheduleParams) (*UpdateScanAllScheduleOK, error)
UpdateScanAllSchedule updates scan all s schedule
This endpoint is for updating the schedule of scan all job, which scans all of images in Harbor.
type CreateScanAllScheduleBadRequest ¶
type CreateScanAllScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateScanAllScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateScanAllScheduleBadRequest ¶
func NewCreateScanAllScheduleBadRequest() *CreateScanAllScheduleBadRequest
NewCreateScanAllScheduleBadRequest creates a CreateScanAllScheduleBadRequest with default headers values
func (*CreateScanAllScheduleBadRequest) Error ¶
func (o *CreateScanAllScheduleBadRequest) Error() string
func (*CreateScanAllScheduleBadRequest) GetPayload ¶
func (o *CreateScanAllScheduleBadRequest) GetPayload() *models.Errors
func (*CreateScanAllScheduleBadRequest) IsClientError ¶
func (o *CreateScanAllScheduleBadRequest) IsClientError() bool
IsClientError returns true when this create scan all schedule bad request response has a 4xx status code
func (*CreateScanAllScheduleBadRequest) IsCode ¶
func (o *CreateScanAllScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this create scan all schedule bad request response a status code equal to that given
func (*CreateScanAllScheduleBadRequest) IsRedirect ¶
func (o *CreateScanAllScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this create scan all schedule bad request response has a 3xx status code
func (*CreateScanAllScheduleBadRequest) IsServerError ¶
func (o *CreateScanAllScheduleBadRequest) IsServerError() bool
IsServerError returns true when this create scan all schedule bad request response has a 5xx status code
func (*CreateScanAllScheduleBadRequest) IsSuccess ¶
func (o *CreateScanAllScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this create scan all schedule bad request response has a 2xx status code
func (*CreateScanAllScheduleBadRequest) String ¶
func (o *CreateScanAllScheduleBadRequest) String() string
type CreateScanAllScheduleConflict ¶
type CreateScanAllScheduleConflict struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateScanAllScheduleConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateScanAllScheduleConflict ¶
func NewCreateScanAllScheduleConflict() *CreateScanAllScheduleConflict
NewCreateScanAllScheduleConflict creates a CreateScanAllScheduleConflict with default headers values
func (*CreateScanAllScheduleConflict) Error ¶
func (o *CreateScanAllScheduleConflict) Error() string
func (*CreateScanAllScheduleConflict) GetPayload ¶
func (o *CreateScanAllScheduleConflict) GetPayload() *models.Errors
func (*CreateScanAllScheduleConflict) IsClientError ¶
func (o *CreateScanAllScheduleConflict) IsClientError() bool
IsClientError returns true when this create scan all schedule conflict response has a 4xx status code
func (*CreateScanAllScheduleConflict) IsCode ¶
func (o *CreateScanAllScheduleConflict) IsCode(code int) bool
IsCode returns true when this create scan all schedule conflict response a status code equal to that given
func (*CreateScanAllScheduleConflict) IsRedirect ¶
func (o *CreateScanAllScheduleConflict) IsRedirect() bool
IsRedirect returns true when this create scan all schedule conflict response has a 3xx status code
func (*CreateScanAllScheduleConflict) IsServerError ¶
func (o *CreateScanAllScheduleConflict) IsServerError() bool
IsServerError returns true when this create scan all schedule conflict response has a 5xx status code
func (*CreateScanAllScheduleConflict) IsSuccess ¶
func (o *CreateScanAllScheduleConflict) IsSuccess() bool
IsSuccess returns true when this create scan all schedule conflict response has a 2xx status code
func (*CreateScanAllScheduleConflict) String ¶
func (o *CreateScanAllScheduleConflict) String() string
type CreateScanAllScheduleCreated ¶
type CreateScanAllScheduleCreated struct { /* The location of the resource */ Location string /* The ID of the corresponding request for the response */ XRequestID string }
CreateScanAllScheduleCreated describes a response with status code 201, with default header values.
Created
func NewCreateScanAllScheduleCreated ¶
func NewCreateScanAllScheduleCreated() *CreateScanAllScheduleCreated
NewCreateScanAllScheduleCreated creates a CreateScanAllScheduleCreated with default headers values
func (*CreateScanAllScheduleCreated) Error ¶
func (o *CreateScanAllScheduleCreated) Error() string
func (*CreateScanAllScheduleCreated) IsClientError ¶
func (o *CreateScanAllScheduleCreated) IsClientError() bool
IsClientError returns true when this create scan all schedule created response has a 4xx status code
func (*CreateScanAllScheduleCreated) IsCode ¶
func (o *CreateScanAllScheduleCreated) IsCode(code int) bool
IsCode returns true when this create scan all schedule created response a status code equal to that given
func (*CreateScanAllScheduleCreated) IsRedirect ¶
func (o *CreateScanAllScheduleCreated) IsRedirect() bool
IsRedirect returns true when this create scan all schedule created response has a 3xx status code
func (*CreateScanAllScheduleCreated) IsServerError ¶
func (o *CreateScanAllScheduleCreated) IsServerError() bool
IsServerError returns true when this create scan all schedule created response has a 5xx status code
func (*CreateScanAllScheduleCreated) IsSuccess ¶
func (o *CreateScanAllScheduleCreated) IsSuccess() bool
IsSuccess returns true when this create scan all schedule created response has a 2xx status code
func (*CreateScanAllScheduleCreated) String ¶
func (o *CreateScanAllScheduleCreated) String() string
type CreateScanAllScheduleForbidden ¶
type CreateScanAllScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateScanAllScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateScanAllScheduleForbidden ¶
func NewCreateScanAllScheduleForbidden() *CreateScanAllScheduleForbidden
NewCreateScanAllScheduleForbidden creates a CreateScanAllScheduleForbidden with default headers values
func (*CreateScanAllScheduleForbidden) Error ¶
func (o *CreateScanAllScheduleForbidden) Error() string
func (*CreateScanAllScheduleForbidden) GetPayload ¶
func (o *CreateScanAllScheduleForbidden) GetPayload() *models.Errors
func (*CreateScanAllScheduleForbidden) IsClientError ¶
func (o *CreateScanAllScheduleForbidden) IsClientError() bool
IsClientError returns true when this create scan all schedule forbidden response has a 4xx status code
func (*CreateScanAllScheduleForbidden) IsCode ¶
func (o *CreateScanAllScheduleForbidden) IsCode(code int) bool
IsCode returns true when this create scan all schedule forbidden response a status code equal to that given
func (*CreateScanAllScheduleForbidden) IsRedirect ¶
func (o *CreateScanAllScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this create scan all schedule forbidden response has a 3xx status code
func (*CreateScanAllScheduleForbidden) IsServerError ¶
func (o *CreateScanAllScheduleForbidden) IsServerError() bool
IsServerError returns true when this create scan all schedule forbidden response has a 5xx status code
func (*CreateScanAllScheduleForbidden) IsSuccess ¶
func (o *CreateScanAllScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this create scan all schedule forbidden response has a 2xx status code
func (*CreateScanAllScheduleForbidden) String ¶
func (o *CreateScanAllScheduleForbidden) String() string
type CreateScanAllScheduleInternalServerError ¶
type CreateScanAllScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
CreateScanAllScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateScanAllScheduleInternalServerError ¶
func NewCreateScanAllScheduleInternalServerError() *CreateScanAllScheduleInternalServerError
NewCreateScanAllScheduleInternalServerError creates a CreateScanAllScheduleInternalServerError with default headers values
func (*CreateScanAllScheduleInternalServerError) Error ¶
func (o *CreateScanAllScheduleInternalServerError) Error() string
func (*CreateScanAllScheduleInternalServerError) GetPayload ¶
func (o *CreateScanAllScheduleInternalServerError) GetPayload() *models.Errors
func (*CreateScanAllScheduleInternalServerError) IsClientError ¶
func (o *CreateScanAllScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this create scan all schedule internal server error response has a 4xx status code
func (*CreateScanAllScheduleInternalServerError) IsCode ¶
func (o *CreateScanAllScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this create scan all schedule internal server error response a status code equal to that given
func (*CreateScanAllScheduleInternalServerError) IsRedirect ¶
func (o *CreateScanAllScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this create scan all schedule internal server error response has a 3xx status code
func (*CreateScanAllScheduleInternalServerError) IsServerError ¶
func (o *CreateScanAllScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this create scan all schedule internal server error response has a 5xx status code
func (*CreateScanAllScheduleInternalServerError) IsSuccess ¶
func (o *CreateScanAllScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this create scan all schedule internal server error response has a 2xx status code
func (*CreateScanAllScheduleInternalServerError) String ¶
func (o *CreateScanAllScheduleInternalServerError) String() string
type CreateScanAllScheduleParams ¶
type CreateScanAllScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Schedule. Create a schedule or a manual trigger for the scan all job. */ Schedule *models.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateScanAllScheduleParams contains all the parameters to send to the API endpoint
for the create scan all schedule operation. Typically these are written to a http.Request.
func NewCreateScanAllScheduleParams ¶
func NewCreateScanAllScheduleParams() *CreateScanAllScheduleParams
NewCreateScanAllScheduleParams creates a new CreateScanAllScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateScanAllScheduleParamsWithContext ¶
func NewCreateScanAllScheduleParamsWithContext(ctx context.Context) *CreateScanAllScheduleParams
NewCreateScanAllScheduleParamsWithContext creates a new CreateScanAllScheduleParams object with the ability to set a context for a request.
func NewCreateScanAllScheduleParamsWithHTTPClient ¶
func NewCreateScanAllScheduleParamsWithHTTPClient(client *http.Client) *CreateScanAllScheduleParams
NewCreateScanAllScheduleParamsWithHTTPClient creates a new CreateScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateScanAllScheduleParamsWithTimeout ¶
func NewCreateScanAllScheduleParamsWithTimeout(timeout time.Duration) *CreateScanAllScheduleParams
NewCreateScanAllScheduleParamsWithTimeout creates a new CreateScanAllScheduleParams object with the ability to set a timeout on a request.
func (*CreateScanAllScheduleParams) SetContext ¶
func (o *CreateScanAllScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the create scan all schedule params
func (*CreateScanAllScheduleParams) SetDefaults ¶
func (o *CreateScanAllScheduleParams) SetDefaults()
SetDefaults hydrates default values in the create scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScanAllScheduleParams) SetHTTPClient ¶
func (o *CreateScanAllScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create scan all schedule params
func (*CreateScanAllScheduleParams) SetSchedule ¶
func (o *CreateScanAllScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the create scan all schedule params
func (*CreateScanAllScheduleParams) SetTimeout ¶
func (o *CreateScanAllScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create scan all schedule params
func (*CreateScanAllScheduleParams) SetXRequestID ¶
func (o *CreateScanAllScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create scan all schedule params
func (*CreateScanAllScheduleParams) WithContext ¶
func (o *CreateScanAllScheduleParams) WithContext(ctx context.Context) *CreateScanAllScheduleParams
WithContext adds the context to the create scan all schedule params
func (*CreateScanAllScheduleParams) WithDefaults ¶
func (o *CreateScanAllScheduleParams) WithDefaults() *CreateScanAllScheduleParams
WithDefaults hydrates default values in the create scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CreateScanAllScheduleParams) WithHTTPClient ¶
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 *models.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 *models.Errors }
CreateScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewCreateScanAllSchedulePreconditionFailed ¶
func NewCreateScanAllSchedulePreconditionFailed() *CreateScanAllSchedulePreconditionFailed
NewCreateScanAllSchedulePreconditionFailed creates a CreateScanAllSchedulePreconditionFailed with default headers values
func (*CreateScanAllSchedulePreconditionFailed) Error ¶
func (o *CreateScanAllSchedulePreconditionFailed) Error() string
func (*CreateScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *CreateScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
func (*CreateScanAllSchedulePreconditionFailed) IsClientError ¶
func (o *CreateScanAllSchedulePreconditionFailed) IsClientError() bool
IsClientError returns true when this create scan all schedule precondition failed response has a 4xx status code
func (*CreateScanAllSchedulePreconditionFailed) IsCode ¶
func (o *CreateScanAllSchedulePreconditionFailed) IsCode(code int) bool
IsCode returns true when this create scan all schedule precondition failed response a status code equal to that given
func (*CreateScanAllSchedulePreconditionFailed) IsRedirect ¶
func (o *CreateScanAllSchedulePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this create scan all schedule precondition failed response has a 3xx status code
func (*CreateScanAllSchedulePreconditionFailed) IsServerError ¶
func (o *CreateScanAllSchedulePreconditionFailed) IsServerError() bool
IsServerError returns true when this create scan all schedule precondition failed response has a 5xx status code
func (*CreateScanAllSchedulePreconditionFailed) IsSuccess ¶
func (o *CreateScanAllSchedulePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this create scan all schedule precondition failed response has a 2xx status code
func (*CreateScanAllSchedulePreconditionFailed) String ¶
func (o *CreateScanAllSchedulePreconditionFailed) String() string
type CreateScanAllScheduleReader ¶
type CreateScanAllScheduleReader struct {
// contains filtered or unexported fields
}
CreateScanAllScheduleReader is a Reader for the CreateScanAllSchedule structure.
func (*CreateScanAllScheduleReader) ReadResponse ¶
func (o *CreateScanAllScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateScanAllScheduleUnauthorized ¶
type CreateScanAllScheduleUnauthorized struct { string }XRequestID
CreateScanAllScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateScanAllScheduleUnauthorized ¶
func NewCreateScanAllScheduleUnauthorized() *CreateScanAllScheduleUnauthorized
NewCreateScanAllScheduleUnauthorized creates a CreateScanAllScheduleUnauthorized with default headers values
func (*CreateScanAllScheduleUnauthorized) Error ¶
func (o *CreateScanAllScheduleUnauthorized) Error() string
func (*CreateScanAllScheduleUnauthorized) GetPayload ¶
func (o *CreateScanAllScheduleUnauthorized) GetPayload() *models.Errors
func (*CreateScanAllScheduleUnauthorized) IsClientError ¶
func (o *CreateScanAllScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this create scan all schedule unauthorized response has a 4xx status code
func (*CreateScanAllScheduleUnauthorized) IsCode ¶
func (o *CreateScanAllScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this create scan all schedule unauthorized response a status code equal to that given
func (*CreateScanAllScheduleUnauthorized) IsRedirect ¶
func (o *CreateScanAllScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this create scan all schedule unauthorized response has a 3xx status code
func (*CreateScanAllScheduleUnauthorized) IsServerError ¶
func (o *CreateScanAllScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this create scan all schedule unauthorized response has a 5xx status code
func (*CreateScanAllScheduleUnauthorized) IsSuccess ¶
func (o *CreateScanAllScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this create scan all schedule unauthorized response has a 2xx status code
func (*CreateScanAllScheduleUnauthorized) String ¶
func (o *CreateScanAllScheduleUnauthorized) String() string
type GetLatestScanAllMetricsForbidden ¶
type GetLatestScanAllMetricsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLatestScanAllMetricsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLatestScanAllMetricsForbidden ¶
func NewGetLatestScanAllMetricsForbidden() *GetLatestScanAllMetricsForbidden
NewGetLatestScanAllMetricsForbidden creates a GetLatestScanAllMetricsForbidden with default headers values
func (*GetLatestScanAllMetricsForbidden) Error ¶
func (o *GetLatestScanAllMetricsForbidden) Error() string
func (*GetLatestScanAllMetricsForbidden) GetPayload ¶
func (o *GetLatestScanAllMetricsForbidden) GetPayload() *models.Errors
func (*GetLatestScanAllMetricsForbidden) IsClientError ¶
func (o *GetLatestScanAllMetricsForbidden) IsClientError() bool
IsClientError returns true when this get latest scan all metrics forbidden response has a 4xx status code
func (*GetLatestScanAllMetricsForbidden) IsCode ¶
func (o *GetLatestScanAllMetricsForbidden) IsCode(code int) bool
IsCode returns true when this get latest scan all metrics forbidden response a status code equal to that given
func (*GetLatestScanAllMetricsForbidden) IsRedirect ¶
func (o *GetLatestScanAllMetricsForbidden) IsRedirect() bool
IsRedirect returns true when this get latest scan all metrics forbidden response has a 3xx status code
func (*GetLatestScanAllMetricsForbidden) IsServerError ¶
func (o *GetLatestScanAllMetricsForbidden) IsServerError() bool
IsServerError returns true when this get latest scan all metrics forbidden response has a 5xx status code
func (*GetLatestScanAllMetricsForbidden) IsSuccess ¶
func (o *GetLatestScanAllMetricsForbidden) IsSuccess() bool
IsSuccess returns true when this get latest scan all metrics forbidden response has a 2xx status code
func (*GetLatestScanAllMetricsForbidden) String ¶
func (o *GetLatestScanAllMetricsForbidden) String() string
type GetLatestScanAllMetricsInternalServerError ¶
type GetLatestScanAllMetricsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLatestScanAllMetricsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetLatestScanAllMetricsInternalServerError ¶
func NewGetLatestScanAllMetricsInternalServerError() *GetLatestScanAllMetricsInternalServerError
NewGetLatestScanAllMetricsInternalServerError creates a GetLatestScanAllMetricsInternalServerError with default headers values
func (*GetLatestScanAllMetricsInternalServerError) Error ¶
func (o *GetLatestScanAllMetricsInternalServerError) Error() string
func (*GetLatestScanAllMetricsInternalServerError) GetPayload ¶
func (o *GetLatestScanAllMetricsInternalServerError) GetPayload() *models.Errors
func (*GetLatestScanAllMetricsInternalServerError) IsClientError ¶
func (o *GetLatestScanAllMetricsInternalServerError) IsClientError() bool
IsClientError returns true when this get latest scan all metrics internal server error response has a 4xx status code
func (*GetLatestScanAllMetricsInternalServerError) IsCode ¶
func (o *GetLatestScanAllMetricsInternalServerError) IsCode(code int) bool
IsCode returns true when this get latest scan all metrics internal server error response a status code equal to that given
func (*GetLatestScanAllMetricsInternalServerError) IsRedirect ¶
func (o *GetLatestScanAllMetricsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get latest scan all metrics internal server error response has a 3xx status code
func (*GetLatestScanAllMetricsInternalServerError) IsServerError ¶
func (o *GetLatestScanAllMetricsInternalServerError) IsServerError() bool
IsServerError returns true when this get latest scan all metrics internal server error response has a 5xx status code
func (*GetLatestScanAllMetricsInternalServerError) IsSuccess ¶
func (o *GetLatestScanAllMetricsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get latest scan all metrics internal server error response has a 2xx status code
func (*GetLatestScanAllMetricsInternalServerError) String ¶
func (o *GetLatestScanAllMetricsInternalServerError) String() string
type GetLatestScanAllMetricsOK ¶
GetLatestScanAllMetricsOK describes a response with status code 200, with default header values.
OK
func NewGetLatestScanAllMetricsOK ¶
func NewGetLatestScanAllMetricsOK() *GetLatestScanAllMetricsOK
NewGetLatestScanAllMetricsOK creates a GetLatestScanAllMetricsOK with default headers values
func (*GetLatestScanAllMetricsOK) Error ¶
func (o *GetLatestScanAllMetricsOK) Error() string
func (*GetLatestScanAllMetricsOK) GetPayload ¶
func (o *GetLatestScanAllMetricsOK) GetPayload() *models.Stats
func (*GetLatestScanAllMetricsOK) IsClientError ¶
func (o *GetLatestScanAllMetricsOK) IsClientError() bool
IsClientError returns true when this get latest scan all metrics o k response has a 4xx status code
func (*GetLatestScanAllMetricsOK) IsCode ¶
func (o *GetLatestScanAllMetricsOK) IsCode(code int) bool
IsCode returns true when this get latest scan all metrics o k response a status code equal to that given
func (*GetLatestScanAllMetricsOK) IsRedirect ¶
func (o *GetLatestScanAllMetricsOK) IsRedirect() bool
IsRedirect returns true when this get latest scan all metrics o k response has a 3xx status code
func (*GetLatestScanAllMetricsOK) IsServerError ¶
func (o *GetLatestScanAllMetricsOK) IsServerError() bool
IsServerError returns true when this get latest scan all metrics o k response has a 5xx status code
func (*GetLatestScanAllMetricsOK) IsSuccess ¶
func (o *GetLatestScanAllMetricsOK) IsSuccess() bool
IsSuccess returns true when this get latest scan all metrics o k response has a 2xx status code
func (*GetLatestScanAllMetricsOK) String ¶
func (o *GetLatestScanAllMetricsOK) String() string
type GetLatestScanAllMetricsParams ¶
type GetLatestScanAllMetricsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLatestScanAllMetricsParams contains all the parameters to send to the API endpoint
for the get latest scan all metrics operation. Typically these are written to a http.Request.
func NewGetLatestScanAllMetricsParams ¶
func NewGetLatestScanAllMetricsParams() *GetLatestScanAllMetricsParams
NewGetLatestScanAllMetricsParams creates a new GetLatestScanAllMetricsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLatestScanAllMetricsParamsWithContext ¶
func NewGetLatestScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScanAllMetricsParams
NewGetLatestScanAllMetricsParamsWithContext creates a new GetLatestScanAllMetricsParams object with the ability to set a context for a request.
func NewGetLatestScanAllMetricsParamsWithHTTPClient ¶
func NewGetLatestScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScanAllMetricsParams
NewGetLatestScanAllMetricsParamsWithHTTPClient creates a new GetLatestScanAllMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLatestScanAllMetricsParamsWithTimeout ¶
func NewGetLatestScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScanAllMetricsParams
NewGetLatestScanAllMetricsParamsWithTimeout creates a new GetLatestScanAllMetricsParams object with the ability to set a timeout on a request.
func (*GetLatestScanAllMetricsParams) SetContext ¶
func (o *GetLatestScanAllMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) SetDefaults ¶
func (o *GetLatestScanAllMetricsParams) SetDefaults()
SetDefaults hydrates default values in the get latest scan all metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestScanAllMetricsParams) SetHTTPClient ¶
func (o *GetLatestScanAllMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) SetTimeout ¶
func (o *GetLatestScanAllMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) SetXRequestID ¶
func (o *GetLatestScanAllMetricsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) WithContext ¶
func (o *GetLatestScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScanAllMetricsParams
WithContext adds the context to the get latest scan all metrics params
func (*GetLatestScanAllMetricsParams) WithDefaults ¶
func (o *GetLatestScanAllMetricsParams) WithDefaults() *GetLatestScanAllMetricsParams
WithDefaults hydrates default values in the get latest scan all metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestScanAllMetricsParams) WithHTTPClient ¶
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 *models.Errors }
GetLatestScanAllMetricsPreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewGetLatestScanAllMetricsPreconditionFailed ¶
func NewGetLatestScanAllMetricsPreconditionFailed() *GetLatestScanAllMetricsPreconditionFailed
NewGetLatestScanAllMetricsPreconditionFailed creates a GetLatestScanAllMetricsPreconditionFailed with default headers values
func (*GetLatestScanAllMetricsPreconditionFailed) Error ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) Error() string
func (*GetLatestScanAllMetricsPreconditionFailed) GetPayload ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) GetPayload() *models.Errors
func (*GetLatestScanAllMetricsPreconditionFailed) IsClientError ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) IsClientError() bool
IsClientError returns true when this get latest scan all metrics precondition failed response has a 4xx status code
func (*GetLatestScanAllMetricsPreconditionFailed) IsCode ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) IsCode(code int) bool
IsCode returns true when this get latest scan all metrics precondition failed response a status code equal to that given
func (*GetLatestScanAllMetricsPreconditionFailed) IsRedirect ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this get latest scan all metrics precondition failed response has a 3xx status code
func (*GetLatestScanAllMetricsPreconditionFailed) IsServerError ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) IsServerError() bool
IsServerError returns true when this get latest scan all metrics precondition failed response has a 5xx status code
func (*GetLatestScanAllMetricsPreconditionFailed) IsSuccess ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this get latest scan all metrics precondition failed response has a 2xx status code
func (*GetLatestScanAllMetricsPreconditionFailed) String ¶
func (o *GetLatestScanAllMetricsPreconditionFailed) String() string
type GetLatestScanAllMetricsReader ¶
type GetLatestScanAllMetricsReader struct {
// contains filtered or unexported fields
}
GetLatestScanAllMetricsReader is a Reader for the GetLatestScanAllMetrics structure.
func (*GetLatestScanAllMetricsReader) ReadResponse ¶
func (o *GetLatestScanAllMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLatestScanAllMetricsUnauthorized ¶
type GetLatestScanAllMetricsUnauthorized struct { string }XRequestID
GetLatestScanAllMetricsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetLatestScanAllMetricsUnauthorized ¶
func NewGetLatestScanAllMetricsUnauthorized() *GetLatestScanAllMetricsUnauthorized
NewGetLatestScanAllMetricsUnauthorized creates a GetLatestScanAllMetricsUnauthorized with default headers values
func (*GetLatestScanAllMetricsUnauthorized) Error ¶
func (o *GetLatestScanAllMetricsUnauthorized) Error() string
func (*GetLatestScanAllMetricsUnauthorized) GetPayload ¶
func (o *GetLatestScanAllMetricsUnauthorized) GetPayload() *models.Errors
func (*GetLatestScanAllMetricsUnauthorized) IsClientError ¶
func (o *GetLatestScanAllMetricsUnauthorized) IsClientError() bool
IsClientError returns true when this get latest scan all metrics unauthorized response has a 4xx status code
func (*GetLatestScanAllMetricsUnauthorized) IsCode ¶
func (o *GetLatestScanAllMetricsUnauthorized) IsCode(code int) bool
IsCode returns true when this get latest scan all metrics unauthorized response a status code equal to that given
func (*GetLatestScanAllMetricsUnauthorized) IsRedirect ¶
func (o *GetLatestScanAllMetricsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get latest scan all metrics unauthorized response has a 3xx status code
func (*GetLatestScanAllMetricsUnauthorized) IsServerError ¶
func (o *GetLatestScanAllMetricsUnauthorized) IsServerError() bool
IsServerError returns true when this get latest scan all metrics unauthorized response has a 5xx status code
func (*GetLatestScanAllMetricsUnauthorized) IsSuccess ¶
func (o *GetLatestScanAllMetricsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get latest scan all metrics unauthorized response has a 2xx status code
func (*GetLatestScanAllMetricsUnauthorized) String ¶
func (o *GetLatestScanAllMetricsUnauthorized) String() string
type GetLatestScheduledScanAllMetricsForbidden ¶
type GetLatestScheduledScanAllMetricsForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLatestScheduledScanAllMetricsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetLatestScheduledScanAllMetricsForbidden ¶
func NewGetLatestScheduledScanAllMetricsForbidden() *GetLatestScheduledScanAllMetricsForbidden
NewGetLatestScheduledScanAllMetricsForbidden creates a GetLatestScheduledScanAllMetricsForbidden with default headers values
func (*GetLatestScheduledScanAllMetricsForbidden) Error ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) Error() string
func (*GetLatestScheduledScanAllMetricsForbidden) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) GetPayload() *models.Errors
func (*GetLatestScheduledScanAllMetricsForbidden) IsClientError ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) IsClientError() bool
IsClientError returns true when this get latest scheduled scan all metrics forbidden response has a 4xx status code
func (*GetLatestScheduledScanAllMetricsForbidden) IsCode ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) IsCode(code int) bool
IsCode returns true when this get latest scheduled scan all metrics forbidden response a status code equal to that given
func (*GetLatestScheduledScanAllMetricsForbidden) IsRedirect ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) IsRedirect() bool
IsRedirect returns true when this get latest scheduled scan all metrics forbidden response has a 3xx status code
func (*GetLatestScheduledScanAllMetricsForbidden) IsServerError ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) IsServerError() bool
IsServerError returns true when this get latest scheduled scan all metrics forbidden response has a 5xx status code
func (*GetLatestScheduledScanAllMetricsForbidden) IsSuccess ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) IsSuccess() bool
IsSuccess returns true when this get latest scheduled scan all metrics forbidden response has a 2xx status code
func (*GetLatestScheduledScanAllMetricsForbidden) String ¶
func (o *GetLatestScheduledScanAllMetricsForbidden) String() string
type GetLatestScheduledScanAllMetricsInternalServerError ¶
type GetLatestScheduledScanAllMetricsInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetLatestScheduledScanAllMetricsInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetLatestScheduledScanAllMetricsInternalServerError ¶
func NewGetLatestScheduledScanAllMetricsInternalServerError() *GetLatestScheduledScanAllMetricsInternalServerError
NewGetLatestScheduledScanAllMetricsInternalServerError creates a GetLatestScheduledScanAllMetricsInternalServerError with default headers values
func (*GetLatestScheduledScanAllMetricsInternalServerError) Error ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) Error() string
func (*GetLatestScheduledScanAllMetricsInternalServerError) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) GetPayload() *models.Errors
func (*GetLatestScheduledScanAllMetricsInternalServerError) IsClientError ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsClientError() bool
IsClientError returns true when this get latest scheduled scan all metrics internal server error response has a 4xx status code
func (*GetLatestScheduledScanAllMetricsInternalServerError) IsCode ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsCode(code int) bool
IsCode returns true when this get latest scheduled scan all metrics internal server error response a status code equal to that given
func (*GetLatestScheduledScanAllMetricsInternalServerError) IsRedirect ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get latest scheduled scan all metrics internal server error response has a 3xx status code
func (*GetLatestScheduledScanAllMetricsInternalServerError) IsServerError ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsServerError() bool
IsServerError returns true when this get latest scheduled scan all metrics internal server error response has a 5xx status code
func (*GetLatestScheduledScanAllMetricsInternalServerError) IsSuccess ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get latest scheduled scan all metrics internal server error response has a 2xx status code
func (*GetLatestScheduledScanAllMetricsInternalServerError) String ¶
func (o *GetLatestScheduledScanAllMetricsInternalServerError) String() string
type GetLatestScheduledScanAllMetricsOK ¶
GetLatestScheduledScanAllMetricsOK describes a response with status code 200, with default header values.
OK
func NewGetLatestScheduledScanAllMetricsOK ¶
func NewGetLatestScheduledScanAllMetricsOK() *GetLatestScheduledScanAllMetricsOK
NewGetLatestScheduledScanAllMetricsOK creates a GetLatestScheduledScanAllMetricsOK with default headers values
func (*GetLatestScheduledScanAllMetricsOK) Error ¶
func (o *GetLatestScheduledScanAllMetricsOK) Error() string
func (*GetLatestScheduledScanAllMetricsOK) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsOK) GetPayload() *models.Stats
func (*GetLatestScheduledScanAllMetricsOK) IsClientError ¶
func (o *GetLatestScheduledScanAllMetricsOK) IsClientError() bool
IsClientError returns true when this get latest scheduled scan all metrics o k response has a 4xx status code
func (*GetLatestScheduledScanAllMetricsOK) IsCode ¶
func (o *GetLatestScheduledScanAllMetricsOK) IsCode(code int) bool
IsCode returns true when this get latest scheduled scan all metrics o k response a status code equal to that given
func (*GetLatestScheduledScanAllMetricsOK) IsRedirect ¶
func (o *GetLatestScheduledScanAllMetricsOK) IsRedirect() bool
IsRedirect returns true when this get latest scheduled scan all metrics o k response has a 3xx status code
func (*GetLatestScheduledScanAllMetricsOK) IsServerError ¶
func (o *GetLatestScheduledScanAllMetricsOK) IsServerError() bool
IsServerError returns true when this get latest scheduled scan all metrics o k response has a 5xx status code
func (*GetLatestScheduledScanAllMetricsOK) IsSuccess ¶
func (o *GetLatestScheduledScanAllMetricsOK) IsSuccess() bool
IsSuccess returns true when this get latest scheduled scan all metrics o k response has a 2xx status code
func (*GetLatestScheduledScanAllMetricsOK) String ¶
func (o *GetLatestScheduledScanAllMetricsOK) String() string
type GetLatestScheduledScanAllMetricsParams ¶
type GetLatestScheduledScanAllMetricsParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLatestScheduledScanAllMetricsParams contains all the parameters to send to the API endpoint
for the get latest scheduled scan all metrics operation. Typically these are written to a http.Request.
func NewGetLatestScheduledScanAllMetricsParams ¶
func NewGetLatestScheduledScanAllMetricsParams() *GetLatestScheduledScanAllMetricsParams
NewGetLatestScheduledScanAllMetricsParams creates a new GetLatestScheduledScanAllMetricsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetLatestScheduledScanAllMetricsParamsWithContext ¶
func NewGetLatestScheduledScanAllMetricsParamsWithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
NewGetLatestScheduledScanAllMetricsParamsWithContext creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a context for a request.
func NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient ¶
func NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient(client *http.Client) *GetLatestScheduledScanAllMetricsParams
NewGetLatestScheduledScanAllMetricsParamsWithHTTPClient creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a custom HTTPClient for a request.
func NewGetLatestScheduledScanAllMetricsParamsWithTimeout ¶
func NewGetLatestScheduledScanAllMetricsParamsWithTimeout(timeout time.Duration) *GetLatestScheduledScanAllMetricsParams
NewGetLatestScheduledScanAllMetricsParamsWithTimeout creates a new GetLatestScheduledScanAllMetricsParams object with the ability to set a timeout on a request.
func (*GetLatestScheduledScanAllMetricsParams) SetContext ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetContext(ctx context.Context)
SetContext adds the context to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) SetDefaults ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetDefaults()
SetDefaults hydrates default values in the get latest scheduled scan all metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestScheduledScanAllMetricsParams) SetHTTPClient ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) SetTimeout ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) SetXRequestID ¶
func (o *GetLatestScheduledScanAllMetricsParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WithContext ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithContext(ctx context.Context) *GetLatestScheduledScanAllMetricsParams
WithContext adds the context to the get latest scheduled scan all metrics params
func (*GetLatestScheduledScanAllMetricsParams) WithDefaults ¶
func (o *GetLatestScheduledScanAllMetricsParams) WithDefaults() *GetLatestScheduledScanAllMetricsParams
WithDefaults hydrates default values in the get latest scheduled scan all metrics params (not the query body).
All values with no default are reset to their zero value.
func (*GetLatestScheduledScanAllMetricsParams) WithHTTPClient ¶
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 *models.Errors }
GetLatestScheduledScanAllMetricsPreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewGetLatestScheduledScanAllMetricsPreconditionFailed ¶
func NewGetLatestScheduledScanAllMetricsPreconditionFailed() *GetLatestScheduledScanAllMetricsPreconditionFailed
NewGetLatestScheduledScanAllMetricsPreconditionFailed creates a GetLatestScheduledScanAllMetricsPreconditionFailed with default headers values
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) Error ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) Error() string
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) GetPayload() *models.Errors
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsClientError ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsClientError() bool
IsClientError returns true when this get latest scheduled scan all metrics precondition failed response has a 4xx status code
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsCode ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsCode(code int) bool
IsCode returns true when this get latest scheduled scan all metrics precondition failed response a status code equal to that given
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsRedirect ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this get latest scheduled scan all metrics precondition failed response has a 3xx status code
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsServerError ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsServerError() bool
IsServerError returns true when this get latest scheduled scan all metrics precondition failed response has a 5xx status code
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) IsSuccess ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this get latest scheduled scan all metrics precondition failed response has a 2xx status code
func (*GetLatestScheduledScanAllMetricsPreconditionFailed) String ¶
func (o *GetLatestScheduledScanAllMetricsPreconditionFailed) String() string
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 describes a response with status code 401, with default header values.
Unauthorized
func NewGetLatestScheduledScanAllMetricsUnauthorized ¶
func NewGetLatestScheduledScanAllMetricsUnauthorized() *GetLatestScheduledScanAllMetricsUnauthorized
NewGetLatestScheduledScanAllMetricsUnauthorized creates a GetLatestScheduledScanAllMetricsUnauthorized with default headers values
func (*GetLatestScheduledScanAllMetricsUnauthorized) Error ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) Error() string
func (*GetLatestScheduledScanAllMetricsUnauthorized) GetPayload ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) GetPayload() *models.Errors
func (*GetLatestScheduledScanAllMetricsUnauthorized) IsClientError ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsClientError() bool
IsClientError returns true when this get latest scheduled scan all metrics unauthorized response has a 4xx status code
func (*GetLatestScheduledScanAllMetricsUnauthorized) IsCode ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsCode(code int) bool
IsCode returns true when this get latest scheduled scan all metrics unauthorized response a status code equal to that given
func (*GetLatestScheduledScanAllMetricsUnauthorized) IsRedirect ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get latest scheduled scan all metrics unauthorized response has a 3xx status code
func (*GetLatestScheduledScanAllMetricsUnauthorized) IsServerError ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsServerError() bool
IsServerError returns true when this get latest scheduled scan all metrics unauthorized response has a 5xx status code
func (*GetLatestScheduledScanAllMetricsUnauthorized) IsSuccess ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get latest scheduled scan all metrics unauthorized response has a 2xx status code
func (*GetLatestScheduledScanAllMetricsUnauthorized) String ¶
func (o *GetLatestScheduledScanAllMetricsUnauthorized) String() string
type GetScanAllScheduleForbidden ¶
type GetScanAllScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetScanAllScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetScanAllScheduleForbidden ¶
func NewGetScanAllScheduleForbidden() *GetScanAllScheduleForbidden
NewGetScanAllScheduleForbidden creates a GetScanAllScheduleForbidden with default headers values
func (*GetScanAllScheduleForbidden) Error ¶
func (o *GetScanAllScheduleForbidden) Error() string
func (*GetScanAllScheduleForbidden) GetPayload ¶
func (o *GetScanAllScheduleForbidden) GetPayload() *models.Errors
func (*GetScanAllScheduleForbidden) IsClientError ¶
func (o *GetScanAllScheduleForbidden) IsClientError() bool
IsClientError returns true when this get scan all schedule forbidden response has a 4xx status code
func (*GetScanAllScheduleForbidden) IsCode ¶
func (o *GetScanAllScheduleForbidden) IsCode(code int) bool
IsCode returns true when this get scan all schedule forbidden response a status code equal to that given
func (*GetScanAllScheduleForbidden) IsRedirect ¶
func (o *GetScanAllScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this get scan all schedule forbidden response has a 3xx status code
func (*GetScanAllScheduleForbidden) IsServerError ¶
func (o *GetScanAllScheduleForbidden) IsServerError() bool
IsServerError returns true when this get scan all schedule forbidden response has a 5xx status code
func (*GetScanAllScheduleForbidden) IsSuccess ¶
func (o *GetScanAllScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this get scan all schedule forbidden response has a 2xx status code
func (*GetScanAllScheduleForbidden) String ¶
func (o *GetScanAllScheduleForbidden) String() string
type GetScanAllScheduleInternalServerError ¶
type GetScanAllScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetScanAllScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetScanAllScheduleInternalServerError ¶
func NewGetScanAllScheduleInternalServerError() *GetScanAllScheduleInternalServerError
NewGetScanAllScheduleInternalServerError creates a GetScanAllScheduleInternalServerError with default headers values
func (*GetScanAllScheduleInternalServerError) Error ¶
func (o *GetScanAllScheduleInternalServerError) Error() string
func (*GetScanAllScheduleInternalServerError) GetPayload ¶
func (o *GetScanAllScheduleInternalServerError) GetPayload() *models.Errors
func (*GetScanAllScheduleInternalServerError) IsClientError ¶
func (o *GetScanAllScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this get scan all schedule internal server error response has a 4xx status code
func (*GetScanAllScheduleInternalServerError) IsCode ¶
func (o *GetScanAllScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this get scan all schedule internal server error response a status code equal to that given
func (*GetScanAllScheduleInternalServerError) IsRedirect ¶
func (o *GetScanAllScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scan all schedule internal server error response has a 3xx status code
func (*GetScanAllScheduleInternalServerError) IsServerError ¶
func (o *GetScanAllScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this get scan all schedule internal server error response has a 5xx status code
func (*GetScanAllScheduleInternalServerError) IsSuccess ¶
func (o *GetScanAllScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scan all schedule internal server error response has a 2xx status code
func (*GetScanAllScheduleInternalServerError) String ¶
func (o *GetScanAllScheduleInternalServerError) String() string
type GetScanAllScheduleOK ¶
GetScanAllScheduleOK describes a response with status code 200, with default header values.
Get a schedule for the scan all job, which scans all of images in Harbor.
func NewGetScanAllScheduleOK ¶
func NewGetScanAllScheduleOK() *GetScanAllScheduleOK
NewGetScanAllScheduleOK creates a GetScanAllScheduleOK with default headers values
func (*GetScanAllScheduleOK) Error ¶
func (o *GetScanAllScheduleOK) Error() string
func (*GetScanAllScheduleOK) GetPayload ¶
func (o *GetScanAllScheduleOK) GetPayload() *models.Schedule
func (*GetScanAllScheduleOK) IsClientError ¶
func (o *GetScanAllScheduleOK) IsClientError() bool
IsClientError returns true when this get scan all schedule o k response has a 4xx status code
func (*GetScanAllScheduleOK) IsCode ¶
func (o *GetScanAllScheduleOK) IsCode(code int) bool
IsCode returns true when this get scan all schedule o k response a status code equal to that given
func (*GetScanAllScheduleOK) IsRedirect ¶
func (o *GetScanAllScheduleOK) IsRedirect() bool
IsRedirect returns true when this get scan all schedule o k response has a 3xx status code
func (*GetScanAllScheduleOK) IsServerError ¶
func (o *GetScanAllScheduleOK) IsServerError() bool
IsServerError returns true when this get scan all schedule o k response has a 5xx status code
func (*GetScanAllScheduleOK) IsSuccess ¶
func (o *GetScanAllScheduleOK) IsSuccess() bool
IsSuccess returns true when this get scan all schedule o k response has a 2xx status code
func (*GetScanAllScheduleOK) String ¶
func (o *GetScanAllScheduleOK) String() string
type GetScanAllScheduleParams ¶
type GetScanAllScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetScanAllScheduleParams contains all the parameters to send to the API endpoint
for the get scan all schedule operation. Typically these are written to a http.Request.
func NewGetScanAllScheduleParams ¶
func NewGetScanAllScheduleParams() *GetScanAllScheduleParams
NewGetScanAllScheduleParams creates a new GetScanAllScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetScanAllScheduleParamsWithContext ¶
func NewGetScanAllScheduleParamsWithContext(ctx context.Context) *GetScanAllScheduleParams
NewGetScanAllScheduleParamsWithContext creates a new GetScanAllScheduleParams object with the ability to set a context for a request.
func NewGetScanAllScheduleParamsWithHTTPClient ¶
func NewGetScanAllScheduleParamsWithHTTPClient(client *http.Client) *GetScanAllScheduleParams
NewGetScanAllScheduleParamsWithHTTPClient creates a new GetScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewGetScanAllScheduleParamsWithTimeout ¶
func NewGetScanAllScheduleParamsWithTimeout(timeout time.Duration) *GetScanAllScheduleParams
NewGetScanAllScheduleParamsWithTimeout creates a new GetScanAllScheduleParams object with the ability to set a timeout on a request.
func (*GetScanAllScheduleParams) SetContext ¶
func (o *GetScanAllScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the get scan all schedule params
func (*GetScanAllScheduleParams) SetDefaults ¶
func (o *GetScanAllScheduleParams) SetDefaults()
SetDefaults hydrates default values in the get scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetScanAllScheduleParams) SetHTTPClient ¶
func (o *GetScanAllScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get scan all schedule params
func (*GetScanAllScheduleParams) SetTimeout ¶
func (o *GetScanAllScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get scan all schedule params
func (*GetScanAllScheduleParams) SetXRequestID ¶
func (o *GetScanAllScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get scan all schedule params
func (*GetScanAllScheduleParams) WithContext ¶
func (o *GetScanAllScheduleParams) WithContext(ctx context.Context) *GetScanAllScheduleParams
WithContext adds the context to the get scan all schedule params
func (*GetScanAllScheduleParams) WithDefaults ¶
func (o *GetScanAllScheduleParams) WithDefaults() *GetScanAllScheduleParams
WithDefaults hydrates default values in the get scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*GetScanAllScheduleParams) WithHTTPClient ¶
func (o *GetScanAllScheduleParams) WithHTTPClient(client *http.Client) *GetScanAllScheduleParams
WithHTTPClient adds the HTTPClient to the get scan all schedule params
func (*GetScanAllScheduleParams) WithTimeout ¶
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 *models.Errors }
GetScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewGetScanAllSchedulePreconditionFailed ¶
func NewGetScanAllSchedulePreconditionFailed() *GetScanAllSchedulePreconditionFailed
NewGetScanAllSchedulePreconditionFailed creates a GetScanAllSchedulePreconditionFailed with default headers values
func (*GetScanAllSchedulePreconditionFailed) Error ¶
func (o *GetScanAllSchedulePreconditionFailed) Error() string
func (*GetScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *GetScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
func (*GetScanAllSchedulePreconditionFailed) IsClientError ¶
func (o *GetScanAllSchedulePreconditionFailed) IsClientError() bool
IsClientError returns true when this get scan all schedule precondition failed response has a 4xx status code
func (*GetScanAllSchedulePreconditionFailed) IsCode ¶
func (o *GetScanAllSchedulePreconditionFailed) IsCode(code int) bool
IsCode returns true when this get scan all schedule precondition failed response a status code equal to that given
func (*GetScanAllSchedulePreconditionFailed) IsRedirect ¶
func (o *GetScanAllSchedulePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this get scan all schedule precondition failed response has a 3xx status code
func (*GetScanAllSchedulePreconditionFailed) IsServerError ¶
func (o *GetScanAllSchedulePreconditionFailed) IsServerError() bool
IsServerError returns true when this get scan all schedule precondition failed response has a 5xx status code
func (*GetScanAllSchedulePreconditionFailed) IsSuccess ¶
func (o *GetScanAllSchedulePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this get scan all schedule precondition failed response has a 2xx status code
func (*GetScanAllSchedulePreconditionFailed) String ¶
func (o *GetScanAllSchedulePreconditionFailed) String() string
type GetScanAllScheduleReader ¶
type GetScanAllScheduleReader struct {
// contains filtered or unexported fields
}
GetScanAllScheduleReader is a Reader for the GetScanAllSchedule structure.
func (*GetScanAllScheduleReader) ReadResponse ¶
func (o *GetScanAllScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetScanAllScheduleUnauthorized ¶
type GetScanAllScheduleUnauthorized struct { string }XRequestID
GetScanAllScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetScanAllScheduleUnauthorized ¶
func NewGetScanAllScheduleUnauthorized() *GetScanAllScheduleUnauthorized
NewGetScanAllScheduleUnauthorized creates a GetScanAllScheduleUnauthorized with default headers values
func (*GetScanAllScheduleUnauthorized) Error ¶
func (o *GetScanAllScheduleUnauthorized) Error() string
func (*GetScanAllScheduleUnauthorized) GetPayload ¶
func (o *GetScanAllScheduleUnauthorized) GetPayload() *models.Errors
func (*GetScanAllScheduleUnauthorized) IsClientError ¶
func (o *GetScanAllScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this get scan all schedule unauthorized response has a 4xx status code
func (*GetScanAllScheduleUnauthorized) IsCode ¶
func (o *GetScanAllScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this get scan all schedule unauthorized response a status code equal to that given
func (*GetScanAllScheduleUnauthorized) IsRedirect ¶
func (o *GetScanAllScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scan all schedule unauthorized response has a 3xx status code
func (*GetScanAllScheduleUnauthorized) IsServerError ¶
func (o *GetScanAllScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this get scan all schedule unauthorized response has a 5xx status code
func (*GetScanAllScheduleUnauthorized) IsSuccess ¶
func (o *GetScanAllScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scan all schedule unauthorized response has a 2xx status code
func (*GetScanAllScheduleUnauthorized) String ¶
func (o *GetScanAllScheduleUnauthorized) String() string
type StopScanAllAccepted ¶
type StopScanAllAccepted struct { /* The ID of the corresponding request for the response */ XRequestID string }
StopScanAllAccepted describes a response with status code 202, with default header values.
Accepted
func NewStopScanAllAccepted ¶
func NewStopScanAllAccepted() *StopScanAllAccepted
NewStopScanAllAccepted creates a StopScanAllAccepted with default headers values
func (*StopScanAllAccepted) Error ¶
func (o *StopScanAllAccepted) Error() string
func (*StopScanAllAccepted) IsClientError ¶
func (o *StopScanAllAccepted) IsClientError() bool
IsClientError returns true when this stop scan all accepted response has a 4xx status code
func (*StopScanAllAccepted) IsCode ¶
func (o *StopScanAllAccepted) IsCode(code int) bool
IsCode returns true when this stop scan all accepted response a status code equal to that given
func (*StopScanAllAccepted) IsRedirect ¶
func (o *StopScanAllAccepted) IsRedirect() bool
IsRedirect returns true when this stop scan all accepted response has a 3xx status code
func (*StopScanAllAccepted) IsServerError ¶
func (o *StopScanAllAccepted) IsServerError() bool
IsServerError returns true when this stop scan all accepted response has a 5xx status code
func (*StopScanAllAccepted) IsSuccess ¶
func (o *StopScanAllAccepted) IsSuccess() bool
IsSuccess returns true when this stop scan all accepted response has a 2xx status code
func (*StopScanAllAccepted) String ¶
func (o *StopScanAllAccepted) String() string
type StopScanAllBadRequest ¶
type StopScanAllBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopScanAllBadRequest describes a response with status code 400, with default header values.
Bad request
func NewStopScanAllBadRequest ¶
func NewStopScanAllBadRequest() *StopScanAllBadRequest
NewStopScanAllBadRequest creates a StopScanAllBadRequest with default headers values
func (*StopScanAllBadRequest) Error ¶
func (o *StopScanAllBadRequest) Error() string
func (*StopScanAllBadRequest) GetPayload ¶
func (o *StopScanAllBadRequest) GetPayload() *models.Errors
func (*StopScanAllBadRequest) IsClientError ¶
func (o *StopScanAllBadRequest) IsClientError() bool
IsClientError returns true when this stop scan all bad request response has a 4xx status code
func (*StopScanAllBadRequest) IsCode ¶
func (o *StopScanAllBadRequest) IsCode(code int) bool
IsCode returns true when this stop scan all bad request response a status code equal to that given
func (*StopScanAllBadRequest) IsRedirect ¶
func (o *StopScanAllBadRequest) IsRedirect() bool
IsRedirect returns true when this stop scan all bad request response has a 3xx status code
func (*StopScanAllBadRequest) IsServerError ¶
func (o *StopScanAllBadRequest) IsServerError() bool
IsServerError returns true when this stop scan all bad request response has a 5xx status code
func (*StopScanAllBadRequest) IsSuccess ¶
func (o *StopScanAllBadRequest) IsSuccess() bool
IsSuccess returns true when this stop scan all bad request response has a 2xx status code
func (*StopScanAllBadRequest) String ¶
func (o *StopScanAllBadRequest) String() string
type StopScanAllForbidden ¶
type StopScanAllForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopScanAllForbidden describes a response with status code 403, with default header values.
Forbidden
func NewStopScanAllForbidden ¶
func NewStopScanAllForbidden() *StopScanAllForbidden
NewStopScanAllForbidden creates a StopScanAllForbidden with default headers values
func (*StopScanAllForbidden) Error ¶
func (o *StopScanAllForbidden) Error() string
func (*StopScanAllForbidden) GetPayload ¶
func (o *StopScanAllForbidden) GetPayload() *models.Errors
func (*StopScanAllForbidden) IsClientError ¶
func (o *StopScanAllForbidden) IsClientError() bool
IsClientError returns true when this stop scan all forbidden response has a 4xx status code
func (*StopScanAllForbidden) IsCode ¶
func (o *StopScanAllForbidden) IsCode(code int) bool
IsCode returns true when this stop scan all forbidden response a status code equal to that given
func (*StopScanAllForbidden) IsRedirect ¶
func (o *StopScanAllForbidden) IsRedirect() bool
IsRedirect returns true when this stop scan all forbidden response has a 3xx status code
func (*StopScanAllForbidden) IsServerError ¶
func (o *StopScanAllForbidden) IsServerError() bool
IsServerError returns true when this stop scan all forbidden response has a 5xx status code
func (*StopScanAllForbidden) IsSuccess ¶
func (o *StopScanAllForbidden) IsSuccess() bool
IsSuccess returns true when this stop scan all forbidden response has a 2xx status code
func (*StopScanAllForbidden) String ¶
func (o *StopScanAllForbidden) String() string
type StopScanAllInternalServerError ¶
type StopScanAllInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
StopScanAllInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewStopScanAllInternalServerError ¶
func NewStopScanAllInternalServerError() *StopScanAllInternalServerError
NewStopScanAllInternalServerError creates a StopScanAllInternalServerError with default headers values
func (*StopScanAllInternalServerError) Error ¶
func (o *StopScanAllInternalServerError) Error() string
func (*StopScanAllInternalServerError) GetPayload ¶
func (o *StopScanAllInternalServerError) GetPayload() *models.Errors
func (*StopScanAllInternalServerError) IsClientError ¶
func (o *StopScanAllInternalServerError) IsClientError() bool
IsClientError returns true when this stop scan all internal server error response has a 4xx status code
func (*StopScanAllInternalServerError) IsCode ¶
func (o *StopScanAllInternalServerError) IsCode(code int) bool
IsCode returns true when this stop scan all internal server error response a status code equal to that given
func (*StopScanAllInternalServerError) IsRedirect ¶
func (o *StopScanAllInternalServerError) IsRedirect() bool
IsRedirect returns true when this stop scan all internal server error response has a 3xx status code
func (*StopScanAllInternalServerError) IsServerError ¶
func (o *StopScanAllInternalServerError) IsServerError() bool
IsServerError returns true when this stop scan all internal server error response has a 5xx status code
func (*StopScanAllInternalServerError) IsSuccess ¶
func (o *StopScanAllInternalServerError) IsSuccess() bool
IsSuccess returns true when this stop scan all internal server error response has a 2xx status code
func (*StopScanAllInternalServerError) String ¶
func (o *StopScanAllInternalServerError) String() string
type StopScanAllParams ¶
type StopScanAllParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopScanAllParams contains all the parameters to send to the API endpoint
for the stop scan all operation. Typically these are written to a http.Request.
func NewStopScanAllParams ¶
func NewStopScanAllParams() *StopScanAllParams
NewStopScanAllParams creates a new StopScanAllParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopScanAllParamsWithContext ¶
func NewStopScanAllParamsWithContext(ctx context.Context) *StopScanAllParams
NewStopScanAllParamsWithContext creates a new StopScanAllParams object with the ability to set a context for a request.
func NewStopScanAllParamsWithHTTPClient ¶
func NewStopScanAllParamsWithHTTPClient(client *http.Client) *StopScanAllParams
NewStopScanAllParamsWithHTTPClient creates a new StopScanAllParams object with the ability to set a custom HTTPClient for a request.
func NewStopScanAllParamsWithTimeout ¶
func NewStopScanAllParamsWithTimeout(timeout time.Duration) *StopScanAllParams
NewStopScanAllParamsWithTimeout creates a new StopScanAllParams object with the ability to set a timeout on a request.
func (*StopScanAllParams) SetContext ¶
func (o *StopScanAllParams) SetContext(ctx context.Context)
SetContext adds the context to the stop scan all params
func (*StopScanAllParams) SetDefaults ¶
func (o *StopScanAllParams) SetDefaults()
SetDefaults hydrates default values in the stop scan all params (not the query body).
All values with no default are reset to their zero value.
func (*StopScanAllParams) SetHTTPClient ¶
func (o *StopScanAllParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop scan all params
func (*StopScanAllParams) SetTimeout ¶
func (o *StopScanAllParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop scan all params
func (*StopScanAllParams) SetXRequestID ¶
func (o *StopScanAllParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the stop scan all params
func (*StopScanAllParams) WithContext ¶
func (o *StopScanAllParams) WithContext(ctx context.Context) *StopScanAllParams
WithContext adds the context to the stop scan all params
func (*StopScanAllParams) WithDefaults ¶
func (o *StopScanAllParams) WithDefaults() *StopScanAllParams
WithDefaults hydrates default values in the stop scan all params (not the query body).
All values with no default are reset to their zero value.
func (*StopScanAllParams) WithHTTPClient ¶
func (o *StopScanAllParams) WithHTTPClient(client *http.Client) *StopScanAllParams
WithHTTPClient adds the HTTPClient to the stop scan all params
func (*StopScanAllParams) WithTimeout ¶
func (o *StopScanAllParams) WithTimeout(timeout time.Duration) *StopScanAllParams
WithTimeout adds the timeout to the stop scan all params
func (*StopScanAllParams) WithXRequestID ¶
func (o *StopScanAllParams) WithXRequestID(xRequestID *string) *StopScanAllParams
WithXRequestID adds the xRequestID to the stop scan all params
func (*StopScanAllParams) WriteToRequest ¶
func (o *StopScanAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopScanAllReader ¶
type StopScanAllReader struct {
// contains filtered or unexported fields
}
StopScanAllReader is a Reader for the StopScanAll structure.
func (*StopScanAllReader) ReadResponse ¶
func (o *StopScanAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopScanAllUnauthorized ¶
type StopScanAllUnauthorized struct { string }XRequestID
StopScanAllUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewStopScanAllUnauthorized ¶
func NewStopScanAllUnauthorized() *StopScanAllUnauthorized
NewStopScanAllUnauthorized creates a StopScanAllUnauthorized with default headers values
func (*StopScanAllUnauthorized) Error ¶
func (o *StopScanAllUnauthorized) Error() string
func (*StopScanAllUnauthorized) GetPayload ¶
func (o *StopScanAllUnauthorized) GetPayload() *models.Errors
func (*StopScanAllUnauthorized) IsClientError ¶
func (o *StopScanAllUnauthorized) IsClientError() bool
IsClientError returns true when this stop scan all unauthorized response has a 4xx status code
func (*StopScanAllUnauthorized) IsCode ¶
func (o *StopScanAllUnauthorized) IsCode(code int) bool
IsCode returns true when this stop scan all unauthorized response a status code equal to that given
func (*StopScanAllUnauthorized) IsRedirect ¶
func (o *StopScanAllUnauthorized) IsRedirect() bool
IsRedirect returns true when this stop scan all unauthorized response has a 3xx status code
func (*StopScanAllUnauthorized) IsServerError ¶
func (o *StopScanAllUnauthorized) IsServerError() bool
IsServerError returns true when this stop scan all unauthorized response has a 5xx status code
func (*StopScanAllUnauthorized) IsSuccess ¶
func (o *StopScanAllUnauthorized) IsSuccess() bool
IsSuccess returns true when this stop scan all unauthorized response has a 2xx status code
func (*StopScanAllUnauthorized) String ¶
func (o *StopScanAllUnauthorized) String() string
type UpdateScanAllScheduleBadRequest ¶
type UpdateScanAllScheduleBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateScanAllScheduleBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateScanAllScheduleBadRequest ¶
func NewUpdateScanAllScheduleBadRequest() *UpdateScanAllScheduleBadRequest
NewUpdateScanAllScheduleBadRequest creates a UpdateScanAllScheduleBadRequest with default headers values
func (*UpdateScanAllScheduleBadRequest) Error ¶
func (o *UpdateScanAllScheduleBadRequest) Error() string
func (*UpdateScanAllScheduleBadRequest) GetPayload ¶
func (o *UpdateScanAllScheduleBadRequest) GetPayload() *models.Errors
func (*UpdateScanAllScheduleBadRequest) IsClientError ¶
func (o *UpdateScanAllScheduleBadRequest) IsClientError() bool
IsClientError returns true when this update scan all schedule bad request response has a 4xx status code
func (*UpdateScanAllScheduleBadRequest) IsCode ¶
func (o *UpdateScanAllScheduleBadRequest) IsCode(code int) bool
IsCode returns true when this update scan all schedule bad request response a status code equal to that given
func (*UpdateScanAllScheduleBadRequest) IsRedirect ¶
func (o *UpdateScanAllScheduleBadRequest) IsRedirect() bool
IsRedirect returns true when this update scan all schedule bad request response has a 3xx status code
func (*UpdateScanAllScheduleBadRequest) IsServerError ¶
func (o *UpdateScanAllScheduleBadRequest) IsServerError() bool
IsServerError returns true when this update scan all schedule bad request response has a 5xx status code
func (*UpdateScanAllScheduleBadRequest) IsSuccess ¶
func (o *UpdateScanAllScheduleBadRequest) IsSuccess() bool
IsSuccess returns true when this update scan all schedule bad request response has a 2xx status code
func (*UpdateScanAllScheduleBadRequest) String ¶
func (o *UpdateScanAllScheduleBadRequest) String() string
type UpdateScanAllScheduleForbidden ¶
type UpdateScanAllScheduleForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateScanAllScheduleForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateScanAllScheduleForbidden ¶
func NewUpdateScanAllScheduleForbidden() *UpdateScanAllScheduleForbidden
NewUpdateScanAllScheduleForbidden creates a UpdateScanAllScheduleForbidden with default headers values
func (*UpdateScanAllScheduleForbidden) Error ¶
func (o *UpdateScanAllScheduleForbidden) Error() string
func (*UpdateScanAllScheduleForbidden) GetPayload ¶
func (o *UpdateScanAllScheduleForbidden) GetPayload() *models.Errors
func (*UpdateScanAllScheduleForbidden) IsClientError ¶
func (o *UpdateScanAllScheduleForbidden) IsClientError() bool
IsClientError returns true when this update scan all schedule forbidden response has a 4xx status code
func (*UpdateScanAllScheduleForbidden) IsCode ¶
func (o *UpdateScanAllScheduleForbidden) IsCode(code int) bool
IsCode returns true when this update scan all schedule forbidden response a status code equal to that given
func (*UpdateScanAllScheduleForbidden) IsRedirect ¶
func (o *UpdateScanAllScheduleForbidden) IsRedirect() bool
IsRedirect returns true when this update scan all schedule forbidden response has a 3xx status code
func (*UpdateScanAllScheduleForbidden) IsServerError ¶
func (o *UpdateScanAllScheduleForbidden) IsServerError() bool
IsServerError returns true when this update scan all schedule forbidden response has a 5xx status code
func (*UpdateScanAllScheduleForbidden) IsSuccess ¶
func (o *UpdateScanAllScheduleForbidden) IsSuccess() bool
IsSuccess returns true when this update scan all schedule forbidden response has a 2xx status code
func (*UpdateScanAllScheduleForbidden) String ¶
func (o *UpdateScanAllScheduleForbidden) String() string
type UpdateScanAllScheduleInternalServerError ¶
type UpdateScanAllScheduleInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
UpdateScanAllScheduleInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateScanAllScheduleInternalServerError ¶
func NewUpdateScanAllScheduleInternalServerError() *UpdateScanAllScheduleInternalServerError
NewUpdateScanAllScheduleInternalServerError creates a UpdateScanAllScheduleInternalServerError with default headers values
func (*UpdateScanAllScheduleInternalServerError) Error ¶
func (o *UpdateScanAllScheduleInternalServerError) Error() string
func (*UpdateScanAllScheduleInternalServerError) GetPayload ¶
func (o *UpdateScanAllScheduleInternalServerError) GetPayload() *models.Errors
func (*UpdateScanAllScheduleInternalServerError) IsClientError ¶
func (o *UpdateScanAllScheduleInternalServerError) IsClientError() bool
IsClientError returns true when this update scan all schedule internal server error response has a 4xx status code
func (*UpdateScanAllScheduleInternalServerError) IsCode ¶
func (o *UpdateScanAllScheduleInternalServerError) IsCode(code int) bool
IsCode returns true when this update scan all schedule internal server error response a status code equal to that given
func (*UpdateScanAllScheduleInternalServerError) IsRedirect ¶
func (o *UpdateScanAllScheduleInternalServerError) IsRedirect() bool
IsRedirect returns true when this update scan all schedule internal server error response has a 3xx status code
func (*UpdateScanAllScheduleInternalServerError) IsServerError ¶
func (o *UpdateScanAllScheduleInternalServerError) IsServerError() bool
IsServerError returns true when this update scan all schedule internal server error response has a 5xx status code
func (*UpdateScanAllScheduleInternalServerError) IsSuccess ¶
func (o *UpdateScanAllScheduleInternalServerError) IsSuccess() bool
IsSuccess returns true when this update scan all schedule internal server error response has a 2xx status code
func (*UpdateScanAllScheduleInternalServerError) String ¶
func (o *UpdateScanAllScheduleInternalServerError) String() string
type UpdateScanAllScheduleOK ¶
type UpdateScanAllScheduleOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateScanAllScheduleOK describes a response with status code 200, with default header values.
Success
func NewUpdateScanAllScheduleOK ¶
func NewUpdateScanAllScheduleOK() *UpdateScanAllScheduleOK
NewUpdateScanAllScheduleOK creates a UpdateScanAllScheduleOK with default headers values
func (*UpdateScanAllScheduleOK) Error ¶
func (o *UpdateScanAllScheduleOK) Error() string
func (*UpdateScanAllScheduleOK) IsClientError ¶
func (o *UpdateScanAllScheduleOK) IsClientError() bool
IsClientError returns true when this update scan all schedule o k response has a 4xx status code
func (*UpdateScanAllScheduleOK) IsCode ¶
func (o *UpdateScanAllScheduleOK) IsCode(code int) bool
IsCode returns true when this update scan all schedule o k response a status code equal to that given
func (*UpdateScanAllScheduleOK) IsRedirect ¶
func (o *UpdateScanAllScheduleOK) IsRedirect() bool
IsRedirect returns true when this update scan all schedule o k response has a 3xx status code
func (*UpdateScanAllScheduleOK) IsServerError ¶
func (o *UpdateScanAllScheduleOK) IsServerError() bool
IsServerError returns true when this update scan all schedule o k response has a 5xx status code
func (*UpdateScanAllScheduleOK) IsSuccess ¶
func (o *UpdateScanAllScheduleOK) IsSuccess() bool
IsSuccess returns true when this update scan all schedule o k response has a 2xx status code
func (*UpdateScanAllScheduleOK) String ¶
func (o *UpdateScanAllScheduleOK) String() string
type UpdateScanAllScheduleParams ¶
type UpdateScanAllScheduleParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Schedule. Updates the schedule of scan all job, which scans all of images in Harbor. */ Schedule *models.Schedule Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateScanAllScheduleParams contains all the parameters to send to the API endpoint
for the update scan all schedule operation. Typically these are written to a http.Request.
func NewUpdateScanAllScheduleParams ¶
func NewUpdateScanAllScheduleParams() *UpdateScanAllScheduleParams
NewUpdateScanAllScheduleParams creates a new UpdateScanAllScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateScanAllScheduleParamsWithContext ¶
func NewUpdateScanAllScheduleParamsWithContext(ctx context.Context) *UpdateScanAllScheduleParams
NewUpdateScanAllScheduleParamsWithContext creates a new UpdateScanAllScheduleParams object with the ability to set a context for a request.
func NewUpdateScanAllScheduleParamsWithHTTPClient ¶
func NewUpdateScanAllScheduleParamsWithHTTPClient(client *http.Client) *UpdateScanAllScheduleParams
NewUpdateScanAllScheduleParamsWithHTTPClient creates a new UpdateScanAllScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateScanAllScheduleParamsWithTimeout ¶
func NewUpdateScanAllScheduleParamsWithTimeout(timeout time.Duration) *UpdateScanAllScheduleParams
NewUpdateScanAllScheduleParamsWithTimeout creates a new UpdateScanAllScheduleParams object with the ability to set a timeout on a request.
func (*UpdateScanAllScheduleParams) SetContext ¶
func (o *UpdateScanAllScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the update scan all schedule params
func (*UpdateScanAllScheduleParams) SetDefaults ¶
func (o *UpdateScanAllScheduleParams) SetDefaults()
SetDefaults hydrates default values in the update scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScanAllScheduleParams) SetHTTPClient ¶
func (o *UpdateScanAllScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update scan all schedule params
func (*UpdateScanAllScheduleParams) SetSchedule ¶
func (o *UpdateScanAllScheduleParams) SetSchedule(schedule *models.Schedule)
SetSchedule adds the schedule to the update scan all schedule params
func (*UpdateScanAllScheduleParams) SetTimeout ¶
func (o *UpdateScanAllScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update scan all schedule params
func (*UpdateScanAllScheduleParams) SetXRequestID ¶
func (o *UpdateScanAllScheduleParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update scan all schedule params
func (*UpdateScanAllScheduleParams) WithContext ¶
func (o *UpdateScanAllScheduleParams) WithContext(ctx context.Context) *UpdateScanAllScheduleParams
WithContext adds the context to the update scan all schedule params
func (*UpdateScanAllScheduleParams) WithDefaults ¶
func (o *UpdateScanAllScheduleParams) WithDefaults() *UpdateScanAllScheduleParams
WithDefaults hydrates default values in the update scan all schedule params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateScanAllScheduleParams) WithHTTPClient ¶
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 *models.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 *models.Errors }
UpdateScanAllSchedulePreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewUpdateScanAllSchedulePreconditionFailed ¶
func NewUpdateScanAllSchedulePreconditionFailed() *UpdateScanAllSchedulePreconditionFailed
NewUpdateScanAllSchedulePreconditionFailed creates a UpdateScanAllSchedulePreconditionFailed with default headers values
func (*UpdateScanAllSchedulePreconditionFailed) Error ¶
func (o *UpdateScanAllSchedulePreconditionFailed) Error() string
func (*UpdateScanAllSchedulePreconditionFailed) GetPayload ¶
func (o *UpdateScanAllSchedulePreconditionFailed) GetPayload() *models.Errors
func (*UpdateScanAllSchedulePreconditionFailed) IsClientError ¶
func (o *UpdateScanAllSchedulePreconditionFailed) IsClientError() bool
IsClientError returns true when this update scan all schedule precondition failed response has a 4xx status code
func (*UpdateScanAllSchedulePreconditionFailed) IsCode ¶
func (o *UpdateScanAllSchedulePreconditionFailed) IsCode(code int) bool
IsCode returns true when this update scan all schedule precondition failed response a status code equal to that given
func (*UpdateScanAllSchedulePreconditionFailed) IsRedirect ¶
func (o *UpdateScanAllSchedulePreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update scan all schedule precondition failed response has a 3xx status code
func (*UpdateScanAllSchedulePreconditionFailed) IsServerError ¶
func (o *UpdateScanAllSchedulePreconditionFailed) IsServerError() bool
IsServerError returns true when this update scan all schedule precondition failed response has a 5xx status code
func (*UpdateScanAllSchedulePreconditionFailed) IsSuccess ¶
func (o *UpdateScanAllSchedulePreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update scan all schedule precondition failed response has a 2xx status code
func (*UpdateScanAllSchedulePreconditionFailed) String ¶
func (o *UpdateScanAllSchedulePreconditionFailed) String() string
type UpdateScanAllScheduleReader ¶
type UpdateScanAllScheduleReader struct {
// contains filtered or unexported fields
}
UpdateScanAllScheduleReader is a Reader for the UpdateScanAllSchedule structure.
func (*UpdateScanAllScheduleReader) ReadResponse ¶
func (o *UpdateScanAllScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateScanAllScheduleUnauthorized ¶
type UpdateScanAllScheduleUnauthorized struct { string }XRequestID
UpdateScanAllScheduleUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateScanAllScheduleUnauthorized ¶
func NewUpdateScanAllScheduleUnauthorized() *UpdateScanAllScheduleUnauthorized
NewUpdateScanAllScheduleUnauthorized creates a UpdateScanAllScheduleUnauthorized with default headers values
func (*UpdateScanAllScheduleUnauthorized) Error ¶
func (o *UpdateScanAllScheduleUnauthorized) Error() string
func (*UpdateScanAllScheduleUnauthorized) GetPayload ¶
func (o *UpdateScanAllScheduleUnauthorized) GetPayload() *models.Errors
func (*UpdateScanAllScheduleUnauthorized) IsClientError ¶
func (o *UpdateScanAllScheduleUnauthorized) IsClientError() bool
IsClientError returns true when this update scan all schedule unauthorized response has a 4xx status code
func (*UpdateScanAllScheduleUnauthorized) IsCode ¶
func (o *UpdateScanAllScheduleUnauthorized) IsCode(code int) bool
IsCode returns true when this update scan all schedule unauthorized response a status code equal to that given
func (*UpdateScanAllScheduleUnauthorized) IsRedirect ¶
func (o *UpdateScanAllScheduleUnauthorized) IsRedirect() bool
IsRedirect returns true when this update scan all schedule unauthorized response has a 3xx status code
func (*UpdateScanAllScheduleUnauthorized) IsServerError ¶
func (o *UpdateScanAllScheduleUnauthorized) IsServerError() bool
IsServerError returns true when this update scan all schedule unauthorized response has a 5xx status code
func (*UpdateScanAllScheduleUnauthorized) IsSuccess ¶
func (o *UpdateScanAllScheduleUnauthorized) IsSuccess() bool
IsSuccess returns true when this update scan all schedule unauthorized response has a 2xx status code
func (*UpdateScanAllScheduleUnauthorized) String ¶
func (o *UpdateScanAllScheduleUnauthorized) String() string
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