Documentation
¶
Index ¶
- Constants
- type DeleteApplicationResourcesID
- type DeleteApplicationResourcesIDDefault
- func (o *DeleteApplicationResourcesIDDefault) SetPayload(payload *models.APIResponse)
- func (o *DeleteApplicationResourcesIDDefault) SetStatusCode(code int)
- func (o *DeleteApplicationResourcesIDDefault) WithPayload(payload *models.APIResponse) *DeleteApplicationResourcesIDDefault
- func (o *DeleteApplicationResourcesIDDefault) WithStatusCode(code int) *DeleteApplicationResourcesIDDefault
- func (o *DeleteApplicationResourcesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteApplicationResourcesIDHandler
- type DeleteApplicationResourcesIDHandlerFunc
- type DeleteApplicationResourcesIDNoContent
- type DeleteApplicationResourcesIDNotFound
- type DeleteApplicationResourcesIDParams
- type DeleteApplicationResourcesIDURL
- func (o *DeleteApplicationResourcesIDURL) Build() (*url.URL, error)
- func (o *DeleteApplicationResourcesIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteApplicationResourcesIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteApplicationResourcesIDURL) SetBasePath(bp string)
- func (o *DeleteApplicationResourcesIDURL) String() string
- func (o *DeleteApplicationResourcesIDURL) StringFull(scheme, host string) string
- func (o *DeleteApplicationResourcesIDURL) WithBasePath(bp string) *DeleteApplicationResourcesIDURL
- type DeleteApplicationsID
- type DeleteApplicationsIDDefault
- func (o *DeleteApplicationsIDDefault) SetPayload(payload *models.APIResponse)
- func (o *DeleteApplicationsIDDefault) SetStatusCode(code int)
- func (o *DeleteApplicationsIDDefault) WithPayload(payload *models.APIResponse) *DeleteApplicationsIDDefault
- func (o *DeleteApplicationsIDDefault) WithStatusCode(code int) *DeleteApplicationsIDDefault
- func (o *DeleteApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteApplicationsIDHandler
- type DeleteApplicationsIDHandlerFunc
- type DeleteApplicationsIDNoContent
- type DeleteApplicationsIDNotFound
- type DeleteApplicationsIDParams
- type DeleteApplicationsIDURL
- func (o *DeleteApplicationsIDURL) Build() (*url.URL, error)
- func (o *DeleteApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteApplicationsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteApplicationsIDURL) SetBasePath(bp string)
- func (o *DeleteApplicationsIDURL) String() string
- func (o *DeleteApplicationsIDURL) StringFull(scheme, host string) string
- func (o *DeleteApplicationsIDURL) WithBasePath(bp string) *DeleteApplicationsIDURL
- type GetApplicationResources
- type GetApplicationResourcesDefault
- func (o *GetApplicationResourcesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetApplicationResourcesDefault) SetStatusCode(code int)
- func (o *GetApplicationResourcesDefault) WithPayload(payload *models.APIResponse) *GetApplicationResourcesDefault
- func (o *GetApplicationResourcesDefault) WithStatusCode(code int) *GetApplicationResourcesDefault
- func (o *GetApplicationResourcesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationResourcesHandler
- type GetApplicationResourcesHandlerFunc
- type GetApplicationResourcesID
- type GetApplicationResourcesIDDefault
- func (o *GetApplicationResourcesIDDefault) SetPayload(payload *models.APIResponse)
- func (o *GetApplicationResourcesIDDefault) SetStatusCode(code int)
- func (o *GetApplicationResourcesIDDefault) WithPayload(payload *models.APIResponse) *GetApplicationResourcesIDDefault
- func (o *GetApplicationResourcesIDDefault) WithStatusCode(code int) *GetApplicationResourcesIDDefault
- func (o *GetApplicationResourcesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationResourcesIDHandler
- type GetApplicationResourcesIDHandlerFunc
- type GetApplicationResourcesIDOK
- func (o *GetApplicationResourcesIDOK) SetPayload(payload *models.ApplicationResourceEx)
- func (o *GetApplicationResourcesIDOK) WithPayload(payload *models.ApplicationResourceEx) *GetApplicationResourcesIDOK
- func (o *GetApplicationResourcesIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationResourcesIDParams
- type GetApplicationResourcesIDURL
- func (o *GetApplicationResourcesIDURL) Build() (*url.URL, error)
- func (o *GetApplicationResourcesIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationResourcesIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationResourcesIDURL) SetBasePath(bp string)
- func (o *GetApplicationResourcesIDURL) String() string
- func (o *GetApplicationResourcesIDURL) StringFull(scheme, host string) string
- func (o *GetApplicationResourcesIDURL) WithBasePath(bp string) *GetApplicationResourcesIDURL
- type GetApplicationResourcesOK
- func (o *GetApplicationResourcesOK) SetPayload(payload *GetApplicationResourcesOKBody)
- func (o *GetApplicationResourcesOK) WithPayload(payload *GetApplicationResourcesOKBody) *GetApplicationResourcesOK
- func (o *GetApplicationResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationResourcesOKBody
- func (o *GetApplicationResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetApplicationResourcesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetApplicationResourcesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetApplicationResourcesOKBody) Validate(formats strfmt.Registry) error
- type GetApplicationResourcesParams
- type GetApplicationResourcesURL
- func (o *GetApplicationResourcesURL) Build() (*url.URL, error)
- func (o *GetApplicationResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationResourcesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationResourcesURL) SetBasePath(bp string)
- func (o *GetApplicationResourcesURL) String() string
- func (o *GetApplicationResourcesURL) StringFull(scheme, host string) string
- func (o *GetApplicationResourcesURL) WithBasePath(bp string) *GetApplicationResourcesURL
- type GetApplications
- type GetApplicationsDefault
- func (o *GetApplicationsDefault) SetPayload(payload *models.APIResponse)
- func (o *GetApplicationsDefault) SetStatusCode(code int)
- func (o *GetApplicationsDefault) WithPayload(payload *models.APIResponse) *GetApplicationsDefault
- func (o *GetApplicationsDefault) WithStatusCode(code int) *GetApplicationsDefault
- func (o *GetApplicationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationsHandler
- type GetApplicationsHandlerFunc
- type GetApplicationsID
- type GetApplicationsIDDefault
- func (o *GetApplicationsIDDefault) SetPayload(payload *models.APIResponse)
- func (o *GetApplicationsIDDefault) SetStatusCode(code int)
- func (o *GetApplicationsIDDefault) WithPayload(payload *models.APIResponse) *GetApplicationsIDDefault
- func (o *GetApplicationsIDDefault) WithStatusCode(code int) *GetApplicationsIDDefault
- func (o *GetApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationsIDHandler
- type GetApplicationsIDHandlerFunc
- type GetApplicationsIDOK
- type GetApplicationsIDParams
- type GetApplicationsIDURL
- func (o *GetApplicationsIDURL) Build() (*url.URL, error)
- func (o *GetApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationsIDURL) SetBasePath(bp string)
- func (o *GetApplicationsIDURL) String() string
- func (o *GetApplicationsIDURL) StringFull(scheme, host string) string
- func (o *GetApplicationsIDURL) WithBasePath(bp string) *GetApplicationsIDURL
- type GetApplicationsOK
- type GetApplicationsOKBody
- type GetApplicationsParams
- type GetApplicationsURL
- func (o *GetApplicationsURL) Build() (*url.URL, error)
- func (o *GetApplicationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationsURL) SetBasePath(bp string)
- func (o *GetApplicationsURL) String() string
- func (o *GetApplicationsURL) StringFull(scheme, host string) string
- func (o *GetApplicationsURL) WithBasePath(bp string) *GetApplicationsURL
- type GetCisdockerbenchmarkresultsID
- type GetCisdockerbenchmarkresultsIDDefault
- func (o *GetCisdockerbenchmarkresultsIDDefault) SetPayload(payload *models.APIResponse)
- func (o *GetCisdockerbenchmarkresultsIDDefault) SetStatusCode(code int)
- func (o *GetCisdockerbenchmarkresultsIDDefault) WithPayload(payload *models.APIResponse) *GetCisdockerbenchmarkresultsIDDefault
- func (o *GetCisdockerbenchmarkresultsIDDefault) WithStatusCode(code int) *GetCisdockerbenchmarkresultsIDDefault
- func (o *GetCisdockerbenchmarkresultsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCisdockerbenchmarkresultsIDHandler
- type GetCisdockerbenchmarkresultsIDHandlerFunc
- type GetCisdockerbenchmarkresultsIDOK
- func (o *GetCisdockerbenchmarkresultsIDOK) SetPayload(payload *GetCisdockerbenchmarkresultsIDOKBody)
- func (o *GetCisdockerbenchmarkresultsIDOK) WithPayload(payload *GetCisdockerbenchmarkresultsIDOKBody) *GetCisdockerbenchmarkresultsIDOK
- func (o *GetCisdockerbenchmarkresultsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCisdockerbenchmarkresultsIDOKBody
- func (o *GetCisdockerbenchmarkresultsIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetCisdockerbenchmarkresultsIDOKBody) MarshalBinary() ([]byte, error)
- func (o *GetCisdockerbenchmarkresultsIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetCisdockerbenchmarkresultsIDOKBody) Validate(formats strfmt.Registry) error
- type GetCisdockerbenchmarkresultsIDParams
- type GetCisdockerbenchmarkresultsIDURL
- func (o *GetCisdockerbenchmarkresultsIDURL) Build() (*url.URL, error)
- func (o *GetCisdockerbenchmarkresultsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCisdockerbenchmarkresultsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCisdockerbenchmarkresultsIDURL) SetBasePath(bp string)
- func (o *GetCisdockerbenchmarkresultsIDURL) String() string
- func (o *GetCisdockerbenchmarkresultsIDURL) StringFull(scheme, host string) string
- func (o *GetCisdockerbenchmarkresultsIDURL) WithBasePath(bp string) *GetCisdockerbenchmarkresultsIDURL
- type GetDashboardCounters
- type GetDashboardCountersDefault
- func (o *GetDashboardCountersDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardCountersDefault) SetStatusCode(code int)
- func (o *GetDashboardCountersDefault) WithPayload(payload *models.APIResponse) *GetDashboardCountersDefault
- func (o *GetDashboardCountersDefault) WithStatusCode(code int) *GetDashboardCountersDefault
- func (o *GetDashboardCountersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardCountersHandler
- type GetDashboardCountersHandlerFunc
- type GetDashboardCountersOK
- type GetDashboardCountersParams
- type GetDashboardCountersURL
- func (o *GetDashboardCountersURL) Build() (*url.URL, error)
- func (o *GetDashboardCountersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardCountersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardCountersURL) SetBasePath(bp string)
- func (o *GetDashboardCountersURL) String() string
- func (o *GetDashboardCountersURL) StringFull(scheme, host string) string
- func (o *GetDashboardCountersURL) WithBasePath(bp string) *GetDashboardCountersURL
- type GetDashboardMostVulnerable
- type GetDashboardMostVulnerableDefault
- func (o *GetDashboardMostVulnerableDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardMostVulnerableDefault) SetStatusCode(code int)
- func (o *GetDashboardMostVulnerableDefault) WithPayload(payload *models.APIResponse) *GetDashboardMostVulnerableDefault
- func (o *GetDashboardMostVulnerableDefault) WithStatusCode(code int) *GetDashboardMostVulnerableDefault
- func (o *GetDashboardMostVulnerableDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardMostVulnerableHandler
- type GetDashboardMostVulnerableHandlerFunc
- type GetDashboardMostVulnerableOK
- type GetDashboardMostVulnerableParams
- type GetDashboardMostVulnerableURL
- func (o *GetDashboardMostVulnerableURL) Build() (*url.URL, error)
- func (o *GetDashboardMostVulnerableURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardMostVulnerableURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardMostVulnerableURL) SetBasePath(bp string)
- func (o *GetDashboardMostVulnerableURL) String() string
- func (o *GetDashboardMostVulnerableURL) StringFull(scheme, host string) string
- func (o *GetDashboardMostVulnerableURL) WithBasePath(bp string) *GetDashboardMostVulnerableURL
- type GetDashboardPackagesPerLanguage
- type GetDashboardPackagesPerLanguageDefault
- func (o *GetDashboardPackagesPerLanguageDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardPackagesPerLanguageDefault) SetStatusCode(code int)
- func (o *GetDashboardPackagesPerLanguageDefault) WithPayload(payload *models.APIResponse) *GetDashboardPackagesPerLanguageDefault
- func (o *GetDashboardPackagesPerLanguageDefault) WithStatusCode(code int) *GetDashboardPackagesPerLanguageDefault
- func (o *GetDashboardPackagesPerLanguageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardPackagesPerLanguageHandler
- type GetDashboardPackagesPerLanguageHandlerFunc
- type GetDashboardPackagesPerLanguageOK
- func (o *GetDashboardPackagesPerLanguageOK) SetPayload(payload []*models.PackagesCountPerLanguage)
- func (o *GetDashboardPackagesPerLanguageOK) WithPayload(payload []*models.PackagesCountPerLanguage) *GetDashboardPackagesPerLanguageOK
- func (o *GetDashboardPackagesPerLanguageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardPackagesPerLanguageParams
- type GetDashboardPackagesPerLanguageURL
- func (o *GetDashboardPackagesPerLanguageURL) Build() (*url.URL, error)
- func (o *GetDashboardPackagesPerLanguageURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardPackagesPerLanguageURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardPackagesPerLanguageURL) SetBasePath(bp string)
- func (o *GetDashboardPackagesPerLanguageURL) String() string
- func (o *GetDashboardPackagesPerLanguageURL) StringFull(scheme, host string) string
- func (o *GetDashboardPackagesPerLanguageURL) WithBasePath(bp string) *GetDashboardPackagesPerLanguageURL
- type GetDashboardPackagesPerLicense
- type GetDashboardPackagesPerLicenseDefault
- func (o *GetDashboardPackagesPerLicenseDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardPackagesPerLicenseDefault) SetStatusCode(code int)
- func (o *GetDashboardPackagesPerLicenseDefault) WithPayload(payload *models.APIResponse) *GetDashboardPackagesPerLicenseDefault
- func (o *GetDashboardPackagesPerLicenseDefault) WithStatusCode(code int) *GetDashboardPackagesPerLicenseDefault
- func (o *GetDashboardPackagesPerLicenseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardPackagesPerLicenseHandler
- type GetDashboardPackagesPerLicenseHandlerFunc
- type GetDashboardPackagesPerLicenseOK
- func (o *GetDashboardPackagesPerLicenseOK) SetPayload(payload []*models.PackagesCountPerLicense)
- func (o *GetDashboardPackagesPerLicenseOK) WithPayload(payload []*models.PackagesCountPerLicense) *GetDashboardPackagesPerLicenseOK
- func (o *GetDashboardPackagesPerLicenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardPackagesPerLicenseParams
- type GetDashboardPackagesPerLicenseURL
- func (o *GetDashboardPackagesPerLicenseURL) Build() (*url.URL, error)
- func (o *GetDashboardPackagesPerLicenseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardPackagesPerLicenseURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardPackagesPerLicenseURL) SetBasePath(bp string)
- func (o *GetDashboardPackagesPerLicenseURL) String() string
- func (o *GetDashboardPackagesPerLicenseURL) StringFull(scheme, host string) string
- func (o *GetDashboardPackagesPerLicenseURL) WithBasePath(bp string) *GetDashboardPackagesPerLicenseURL
- type GetDashboardTrendsVulnerabilities
- type GetDashboardTrendsVulnerabilitiesDefault
- func (o *GetDashboardTrendsVulnerabilitiesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardTrendsVulnerabilitiesDefault) SetStatusCode(code int)
- func (o *GetDashboardTrendsVulnerabilitiesDefault) WithPayload(payload *models.APIResponse) *GetDashboardTrendsVulnerabilitiesDefault
- func (o *GetDashboardTrendsVulnerabilitiesDefault) WithStatusCode(code int) *GetDashboardTrendsVulnerabilitiesDefault
- func (o *GetDashboardTrendsVulnerabilitiesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardTrendsVulnerabilitiesHandler
- type GetDashboardTrendsVulnerabilitiesHandlerFunc
- type GetDashboardTrendsVulnerabilitiesOK
- func (o *GetDashboardTrendsVulnerabilitiesOK) SetPayload(payload []*models.NewVulnerabilitiesTrend)
- func (o *GetDashboardTrendsVulnerabilitiesOK) WithPayload(payload []*models.NewVulnerabilitiesTrend) *GetDashboardTrendsVulnerabilitiesOK
- func (o *GetDashboardTrendsVulnerabilitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardTrendsVulnerabilitiesParams
- type GetDashboardTrendsVulnerabilitiesURL
- func (o *GetDashboardTrendsVulnerabilitiesURL) Build() (*url.URL, error)
- func (o *GetDashboardTrendsVulnerabilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardTrendsVulnerabilitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardTrendsVulnerabilitiesURL) SetBasePath(bp string)
- func (o *GetDashboardTrendsVulnerabilitiesURL) String() string
- func (o *GetDashboardTrendsVulnerabilitiesURL) StringFull(scheme, host string) string
- func (o *GetDashboardTrendsVulnerabilitiesURL) WithBasePath(bp string) *GetDashboardTrendsVulnerabilitiesURL
- type GetDashboardVulnerabilitiesWithFix
- type GetDashboardVulnerabilitiesWithFixDefault
- func (o *GetDashboardVulnerabilitiesWithFixDefault) SetPayload(payload *models.APIResponse)
- func (o *GetDashboardVulnerabilitiesWithFixDefault) SetStatusCode(code int)
- func (o *GetDashboardVulnerabilitiesWithFixDefault) WithPayload(payload *models.APIResponse) *GetDashboardVulnerabilitiesWithFixDefault
- func (o *GetDashboardVulnerabilitiesWithFixDefault) WithStatusCode(code int) *GetDashboardVulnerabilitiesWithFixDefault
- func (o *GetDashboardVulnerabilitiesWithFixDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardVulnerabilitiesWithFixHandler
- type GetDashboardVulnerabilitiesWithFixHandlerFunc
- type GetDashboardVulnerabilitiesWithFixOK
- func (o *GetDashboardVulnerabilitiesWithFixOK) SetPayload(payload []*models.VulnerabilitiesWithFix)
- func (o *GetDashboardVulnerabilitiesWithFixOK) WithPayload(payload []*models.VulnerabilitiesWithFix) *GetDashboardVulnerabilitiesWithFixOK
- func (o *GetDashboardVulnerabilitiesWithFixOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetDashboardVulnerabilitiesWithFixParams
- type GetDashboardVulnerabilitiesWithFixURL
- func (o *GetDashboardVulnerabilitiesWithFixURL) Build() (*url.URL, error)
- func (o *GetDashboardVulnerabilitiesWithFixURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetDashboardVulnerabilitiesWithFixURL) Must(u *url.URL, err error) *url.URL
- func (o *GetDashboardVulnerabilitiesWithFixURL) SetBasePath(bp string)
- func (o *GetDashboardVulnerabilitiesWithFixURL) String() string
- func (o *GetDashboardVulnerabilitiesWithFixURL) StringFull(scheme, host string) string
- func (o *GetDashboardVulnerabilitiesWithFixURL) WithBasePath(bp string) *GetDashboardVulnerabilitiesWithFixURL
- type GetNamespaces
- type GetNamespacesDefault
- func (o *GetNamespacesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetNamespacesDefault) SetStatusCode(code int)
- func (o *GetNamespacesDefault) WithPayload(payload *models.APIResponse) *GetNamespacesDefault
- func (o *GetNamespacesDefault) WithStatusCode(code int) *GetNamespacesDefault
- func (o *GetNamespacesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNamespacesHandler
- type GetNamespacesHandlerFunc
- type GetNamespacesOK
- type GetNamespacesParams
- type GetNamespacesURL
- func (o *GetNamespacesURL) Build() (*url.URL, error)
- func (o *GetNamespacesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNamespacesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNamespacesURL) SetBasePath(bp string)
- func (o *GetNamespacesURL) String() string
- func (o *GetNamespacesURL) StringFull(scheme, host string) string
- func (o *GetNamespacesURL) WithBasePath(bp string) *GetNamespacesURL
- type GetPackages
- type GetPackagesDefault
- func (o *GetPackagesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetPackagesDefault) SetStatusCode(code int)
- func (o *GetPackagesDefault) WithPayload(payload *models.APIResponse) *GetPackagesDefault
- func (o *GetPackagesDefault) WithStatusCode(code int) *GetPackagesDefault
- func (o *GetPackagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPackagesHandler
- type GetPackagesHandlerFunc
- type GetPackagesID
- type GetPackagesIDApplicationResources
- type GetPackagesIDApplicationResourcesDefault
- func (o *GetPackagesIDApplicationResourcesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetPackagesIDApplicationResourcesDefault) SetStatusCode(code int)
- func (o *GetPackagesIDApplicationResourcesDefault) WithPayload(payload *models.APIResponse) *GetPackagesIDApplicationResourcesDefault
- func (o *GetPackagesIDApplicationResourcesDefault) WithStatusCode(code int) *GetPackagesIDApplicationResourcesDefault
- func (o *GetPackagesIDApplicationResourcesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPackagesIDApplicationResourcesHandler
- type GetPackagesIDApplicationResourcesHandlerFunc
- type GetPackagesIDApplicationResourcesNotFound
- type GetPackagesIDApplicationResourcesOK
- func (o *GetPackagesIDApplicationResourcesOK) SetPayload(payload *GetPackagesIDApplicationResourcesOKBody)
- func (o *GetPackagesIDApplicationResourcesOK) WithPayload(payload *GetPackagesIDApplicationResourcesOKBody) *GetPackagesIDApplicationResourcesOK
- func (o *GetPackagesIDApplicationResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPackagesIDApplicationResourcesOKBody
- func (o *GetPackagesIDApplicationResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPackagesIDApplicationResourcesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetPackagesIDApplicationResourcesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetPackagesIDApplicationResourcesOKBody) Validate(formats strfmt.Registry) error
- type GetPackagesIDApplicationResourcesParams
- type GetPackagesIDApplicationResourcesURL
- func (o *GetPackagesIDApplicationResourcesURL) Build() (*url.URL, error)
- func (o *GetPackagesIDApplicationResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPackagesIDApplicationResourcesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPackagesIDApplicationResourcesURL) SetBasePath(bp string)
- func (o *GetPackagesIDApplicationResourcesURL) String() string
- func (o *GetPackagesIDApplicationResourcesURL) StringFull(scheme, host string) string
- func (o *GetPackagesIDApplicationResourcesURL) WithBasePath(bp string) *GetPackagesIDApplicationResourcesURL
- type GetPackagesIDDefault
- func (o *GetPackagesIDDefault) SetPayload(payload *models.APIResponse)
- func (o *GetPackagesIDDefault) SetStatusCode(code int)
- func (o *GetPackagesIDDefault) WithPayload(payload *models.APIResponse) *GetPackagesIDDefault
- func (o *GetPackagesIDDefault) WithStatusCode(code int) *GetPackagesIDDefault
- func (o *GetPackagesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetPackagesIDHandler
- type GetPackagesIDHandlerFunc
- type GetPackagesIDNotFound
- type GetPackagesIDOK
- type GetPackagesIDParams
- type GetPackagesIDURL
- func (o *GetPackagesIDURL) Build() (*url.URL, error)
- func (o *GetPackagesIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPackagesIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPackagesIDURL) SetBasePath(bp string)
- func (o *GetPackagesIDURL) String() string
- func (o *GetPackagesIDURL) StringFull(scheme, host string) string
- func (o *GetPackagesIDURL) WithBasePath(bp string) *GetPackagesIDURL
- type GetPackagesOK
- type GetPackagesOKBody
- type GetPackagesParams
- type GetPackagesURL
- func (o *GetPackagesURL) Build() (*url.URL, error)
- func (o *GetPackagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetPackagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetPackagesURL) SetBasePath(bp string)
- func (o *GetPackagesURL) String() string
- func (o *GetPackagesURL) StringFull(scheme, host string) string
- func (o *GetPackagesURL) WithBasePath(bp string) *GetPackagesURL
- type GetRuntimeQuickscanConfig
- type GetRuntimeQuickscanConfigDefault
- func (o *GetRuntimeQuickscanConfigDefault) SetPayload(payload *models.APIResponse)
- func (o *GetRuntimeQuickscanConfigDefault) SetStatusCode(code int)
- func (o *GetRuntimeQuickscanConfigDefault) WithPayload(payload *models.APIResponse) *GetRuntimeQuickscanConfigDefault
- func (o *GetRuntimeQuickscanConfigDefault) WithStatusCode(code int) *GetRuntimeQuickscanConfigDefault
- func (o *GetRuntimeQuickscanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeQuickscanConfigHandler
- type GetRuntimeQuickscanConfigHandlerFunc
- type GetRuntimeQuickscanConfigOK
- func (o *GetRuntimeQuickscanConfigOK) SetPayload(payload *models.RuntimeQuickScanConfig)
- func (o *GetRuntimeQuickscanConfigOK) WithPayload(payload *models.RuntimeQuickScanConfig) *GetRuntimeQuickscanConfigOK
- func (o *GetRuntimeQuickscanConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeQuickscanConfigParams
- type GetRuntimeQuickscanConfigURL
- func (o *GetRuntimeQuickscanConfigURL) Build() (*url.URL, error)
- func (o *GetRuntimeQuickscanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRuntimeQuickscanConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRuntimeQuickscanConfigURL) SetBasePath(bp string)
- func (o *GetRuntimeQuickscanConfigURL) String() string
- func (o *GetRuntimeQuickscanConfigURL) StringFull(scheme, host string) string
- func (o *GetRuntimeQuickscanConfigURL) WithBasePath(bp string) *GetRuntimeQuickscanConfigURL
- type GetRuntimeScanProgress
- type GetRuntimeScanProgressDefault
- func (o *GetRuntimeScanProgressDefault) SetPayload(payload *models.APIResponse)
- func (o *GetRuntimeScanProgressDefault) SetStatusCode(code int)
- func (o *GetRuntimeScanProgressDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScanProgressDefault
- func (o *GetRuntimeScanProgressDefault) WithStatusCode(code int) *GetRuntimeScanProgressDefault
- func (o *GetRuntimeScanProgressDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeScanProgressHandler
- type GetRuntimeScanProgressHandlerFunc
- type GetRuntimeScanProgressOK
- type GetRuntimeScanProgressParams
- type GetRuntimeScanProgressURL
- func (o *GetRuntimeScanProgressURL) Build() (*url.URL, error)
- func (o *GetRuntimeScanProgressURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRuntimeScanProgressURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRuntimeScanProgressURL) SetBasePath(bp string)
- func (o *GetRuntimeScanProgressURL) String() string
- func (o *GetRuntimeScanProgressURL) StringFull(scheme, host string) string
- func (o *GetRuntimeScanProgressURL) WithBasePath(bp string) *GetRuntimeScanProgressURL
- type GetRuntimeScanResults
- type GetRuntimeScanResultsDefault
- func (o *GetRuntimeScanResultsDefault) SetPayload(payload *models.APIResponse)
- func (o *GetRuntimeScanResultsDefault) SetStatusCode(code int)
- func (o *GetRuntimeScanResultsDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScanResultsDefault
- func (o *GetRuntimeScanResultsDefault) WithStatusCode(code int) *GetRuntimeScanResultsDefault
- func (o *GetRuntimeScanResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeScanResultsHandler
- type GetRuntimeScanResultsHandlerFunc
- type GetRuntimeScanResultsOK
- type GetRuntimeScanResultsParams
- type GetRuntimeScanResultsURL
- func (o *GetRuntimeScanResultsURL) Build() (*url.URL, error)
- func (o *GetRuntimeScanResultsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRuntimeScanResultsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRuntimeScanResultsURL) SetBasePath(bp string)
- func (o *GetRuntimeScanResultsURL) String() string
- func (o *GetRuntimeScanResultsURL) StringFull(scheme, host string) string
- func (o *GetRuntimeScanResultsURL) WithBasePath(bp string) *GetRuntimeScanResultsURL
- type GetRuntimeScheduleScanConfig
- type GetRuntimeScheduleScanConfigDefault
- func (o *GetRuntimeScheduleScanConfigDefault) SetPayload(payload *models.APIResponse)
- func (o *GetRuntimeScheduleScanConfigDefault) SetStatusCode(code int)
- func (o *GetRuntimeScheduleScanConfigDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScheduleScanConfigDefault
- func (o *GetRuntimeScheduleScanConfigDefault) WithStatusCode(code int) *GetRuntimeScheduleScanConfigDefault
- func (o *GetRuntimeScheduleScanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeScheduleScanConfigHandler
- type GetRuntimeScheduleScanConfigHandlerFunc
- type GetRuntimeScheduleScanConfigOK
- func (o *GetRuntimeScheduleScanConfigOK) SetPayload(payload *models.RuntimeScheduleScanConfig)
- func (o *GetRuntimeScheduleScanConfigOK) WithPayload(payload *models.RuntimeScheduleScanConfig) *GetRuntimeScheduleScanConfigOK
- func (o *GetRuntimeScheduleScanConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRuntimeScheduleScanConfigParams
- type GetRuntimeScheduleScanConfigURL
- func (o *GetRuntimeScheduleScanConfigURL) Build() (*url.URL, error)
- func (o *GetRuntimeScheduleScanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRuntimeScheduleScanConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRuntimeScheduleScanConfigURL) SetBasePath(bp string)
- func (o *GetRuntimeScheduleScanConfigURL) String() string
- func (o *GetRuntimeScheduleScanConfigURL) StringFull(scheme, host string) string
- func (o *GetRuntimeScheduleScanConfigURL) WithBasePath(bp string) *GetRuntimeScheduleScanConfigURL
- type GetVulnerabilities
- type GetVulnerabilitiesDefault
- func (o *GetVulnerabilitiesDefault) SetPayload(payload *models.APIResponse)
- func (o *GetVulnerabilitiesDefault) SetStatusCode(code int)
- func (o *GetVulnerabilitiesDefault) WithPayload(payload *models.APIResponse) *GetVulnerabilitiesDefault
- func (o *GetVulnerabilitiesDefault) WithStatusCode(code int) *GetVulnerabilitiesDefault
- func (o *GetVulnerabilitiesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVulnerabilitiesHandler
- type GetVulnerabilitiesHandlerFunc
- type GetVulnerabilitiesOK
- type GetVulnerabilitiesOKBody
- func (o *GetVulnerabilitiesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetVulnerabilitiesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetVulnerabilitiesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetVulnerabilitiesOKBody) Validate(formats strfmt.Registry) error
- type GetVulnerabilitiesParams
- type GetVulnerabilitiesURL
- func (o *GetVulnerabilitiesURL) Build() (*url.URL, error)
- func (o *GetVulnerabilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVulnerabilitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVulnerabilitiesURL) SetBasePath(bp string)
- func (o *GetVulnerabilitiesURL) String() string
- func (o *GetVulnerabilitiesURL) StringFull(scheme, host string) string
- func (o *GetVulnerabilitiesURL) WithBasePath(bp string) *GetVulnerabilitiesURL
- type GetVulnerabilitiesVulIDPkgID
- type GetVulnerabilitiesVulIDPkgIDDefault
- func (o *GetVulnerabilitiesVulIDPkgIDDefault) SetPayload(payload *models.APIResponse)
- func (o *GetVulnerabilitiesVulIDPkgIDDefault) SetStatusCode(code int)
- func (o *GetVulnerabilitiesVulIDPkgIDDefault) WithPayload(payload *models.APIResponse) *GetVulnerabilitiesVulIDPkgIDDefault
- func (o *GetVulnerabilitiesVulIDPkgIDDefault) WithStatusCode(code int) *GetVulnerabilitiesVulIDPkgIDDefault
- func (o *GetVulnerabilitiesVulIDPkgIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVulnerabilitiesVulIDPkgIDHandler
- type GetVulnerabilitiesVulIDPkgIDHandlerFunc
- type GetVulnerabilitiesVulIDPkgIDOK
- func (o *GetVulnerabilitiesVulIDPkgIDOK) SetPayload(payload *models.VulnerabilityEx)
- func (o *GetVulnerabilitiesVulIDPkgIDOK) WithPayload(payload *models.VulnerabilityEx) *GetVulnerabilitiesVulIDPkgIDOK
- func (o *GetVulnerabilitiesVulIDPkgIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVulnerabilitiesVulIDPkgIDParams
- type GetVulnerabilitiesVulIDPkgIDURL
- func (o *GetVulnerabilitiesVulIDPkgIDURL) Build() (*url.URL, error)
- func (o *GetVulnerabilitiesVulIDPkgIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVulnerabilitiesVulIDPkgIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVulnerabilitiesVulIDPkgIDURL) SetBasePath(bp string)
- func (o *GetVulnerabilitiesVulIDPkgIDURL) String() string
- func (o *GetVulnerabilitiesVulIDPkgIDURL) StringFull(scheme, host string) string
- func (o *GetVulnerabilitiesVulIDPkgIDURL) WithBasePath(bp string) *GetVulnerabilitiesVulIDPkgIDURL
- type KubeClarityAPIsAPI
- func (o *KubeClarityAPIsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *KubeClarityAPIsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *KubeClarityAPIsAPI) Authorizer() runtime.Authorizer
- func (o *KubeClarityAPIsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *KubeClarityAPIsAPI) Context() *middleware.Context
- func (o *KubeClarityAPIsAPI) DefaultConsumes() string
- func (o *KubeClarityAPIsAPI) DefaultProduces() string
- func (o *KubeClarityAPIsAPI) Formats() strfmt.Registry
- func (o *KubeClarityAPIsAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *KubeClarityAPIsAPI) Init()
- func (o *KubeClarityAPIsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *KubeClarityAPIsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *KubeClarityAPIsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *KubeClarityAPIsAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *KubeClarityAPIsAPI) Serve(builder middleware.Builder) http.Handler
- func (o *KubeClarityAPIsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *KubeClarityAPIsAPI) SetDefaultConsumes(mediaType string)
- func (o *KubeClarityAPIsAPI) SetDefaultProduces(mediaType string)
- func (o *KubeClarityAPIsAPI) SetSpec(spec *loads.Document)
- func (o *KubeClarityAPIsAPI) UseRedoc()
- func (o *KubeClarityAPIsAPI) UseSwaggerUI()
- func (o *KubeClarityAPIsAPI) Validate() error
- type PostApplications
- type PostApplicationsConflict
- type PostApplicationsContentAnalysisID
- type PostApplicationsContentAnalysisIDCreated
- type PostApplicationsContentAnalysisIDDefault
- func (o *PostApplicationsContentAnalysisIDDefault) SetPayload(payload *models.APIResponse)
- func (o *PostApplicationsContentAnalysisIDDefault) SetStatusCode(code int)
- func (o *PostApplicationsContentAnalysisIDDefault) WithPayload(payload *models.APIResponse) *PostApplicationsContentAnalysisIDDefault
- func (o *PostApplicationsContentAnalysisIDDefault) WithStatusCode(code int) *PostApplicationsContentAnalysisIDDefault
- func (o *PostApplicationsContentAnalysisIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostApplicationsContentAnalysisIDHandler
- type PostApplicationsContentAnalysisIDHandlerFunc
- type PostApplicationsContentAnalysisIDNotFound
- type PostApplicationsContentAnalysisIDParams
- type PostApplicationsContentAnalysisIDURL
- func (o *PostApplicationsContentAnalysisIDURL) Build() (*url.URL, error)
- func (o *PostApplicationsContentAnalysisIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostApplicationsContentAnalysisIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PostApplicationsContentAnalysisIDURL) SetBasePath(bp string)
- func (o *PostApplicationsContentAnalysisIDURL) String() string
- func (o *PostApplicationsContentAnalysisIDURL) StringFull(scheme, host string) string
- func (o *PostApplicationsContentAnalysisIDURL) WithBasePath(bp string) *PostApplicationsContentAnalysisIDURL
- type PostApplicationsCreated
- type PostApplicationsDefault
- func (o *PostApplicationsDefault) SetPayload(payload *models.APIResponse)
- func (o *PostApplicationsDefault) SetStatusCode(code int)
- func (o *PostApplicationsDefault) WithPayload(payload *models.APIResponse) *PostApplicationsDefault
- func (o *PostApplicationsDefault) WithStatusCode(code int) *PostApplicationsDefault
- func (o *PostApplicationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostApplicationsHandler
- type PostApplicationsHandlerFunc
- type PostApplicationsParams
- type PostApplicationsURL
- func (o *PostApplicationsURL) Build() (*url.URL, error)
- func (o *PostApplicationsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostApplicationsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostApplicationsURL) SetBasePath(bp string)
- func (o *PostApplicationsURL) String() string
- func (o *PostApplicationsURL) StringFull(scheme, host string) string
- func (o *PostApplicationsURL) WithBasePath(bp string) *PostApplicationsURL
- type PostApplicationsVulnerabilityScanID
- type PostApplicationsVulnerabilityScanIDCreated
- type PostApplicationsVulnerabilityScanIDDefault
- func (o *PostApplicationsVulnerabilityScanIDDefault) SetPayload(payload *models.APIResponse)
- func (o *PostApplicationsVulnerabilityScanIDDefault) SetStatusCode(code int)
- func (o *PostApplicationsVulnerabilityScanIDDefault) WithPayload(payload *models.APIResponse) *PostApplicationsVulnerabilityScanIDDefault
- func (o *PostApplicationsVulnerabilityScanIDDefault) WithStatusCode(code int) *PostApplicationsVulnerabilityScanIDDefault
- func (o *PostApplicationsVulnerabilityScanIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostApplicationsVulnerabilityScanIDHandler
- type PostApplicationsVulnerabilityScanIDHandlerFunc
- type PostApplicationsVulnerabilityScanIDNotFound
- type PostApplicationsVulnerabilityScanIDParams
- type PostApplicationsVulnerabilityScanIDURL
- func (o *PostApplicationsVulnerabilityScanIDURL) Build() (*url.URL, error)
- func (o *PostApplicationsVulnerabilityScanIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostApplicationsVulnerabilityScanIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PostApplicationsVulnerabilityScanIDURL) SetBasePath(bp string)
- func (o *PostApplicationsVulnerabilityScanIDURL) String() string
- func (o *PostApplicationsVulnerabilityScanIDURL) StringFull(scheme, host string) string
- func (o *PostApplicationsVulnerabilityScanIDURL) WithBasePath(bp string) *PostApplicationsVulnerabilityScanIDURL
- type PutApplicationsID
- type PutApplicationsIDDefault
- func (o *PutApplicationsIDDefault) SetPayload(payload *models.APIResponse)
- func (o *PutApplicationsIDDefault) SetStatusCode(code int)
- func (o *PutApplicationsIDDefault) WithPayload(payload *models.APIResponse) *PutApplicationsIDDefault
- func (o *PutApplicationsIDDefault) WithStatusCode(code int) *PutApplicationsIDDefault
- func (o *PutApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutApplicationsIDHandler
- type PutApplicationsIDHandlerFunc
- type PutApplicationsIDNotFound
- type PutApplicationsIDOK
- type PutApplicationsIDParams
- type PutApplicationsIDURL
- func (o *PutApplicationsIDURL) Build() (*url.URL, error)
- func (o *PutApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutApplicationsIDURL) Must(u *url.URL, err error) *url.URL
- func (o *PutApplicationsIDURL) SetBasePath(bp string)
- func (o *PutApplicationsIDURL) String() string
- func (o *PutApplicationsIDURL) StringFull(scheme, host string) string
- func (o *PutApplicationsIDURL) WithBasePath(bp string) *PutApplicationsIDURL
- type PutRuntimeQuickscanConfig
- type PutRuntimeQuickscanConfigBadRequest
- type PutRuntimeQuickscanConfigCreated
- type PutRuntimeQuickscanConfigDefault
- func (o *PutRuntimeQuickscanConfigDefault) SetPayload(payload *models.APIResponse)
- func (o *PutRuntimeQuickscanConfigDefault) SetStatusCode(code int)
- func (o *PutRuntimeQuickscanConfigDefault) WithPayload(payload *models.APIResponse) *PutRuntimeQuickscanConfigDefault
- func (o *PutRuntimeQuickscanConfigDefault) WithStatusCode(code int) *PutRuntimeQuickscanConfigDefault
- func (o *PutRuntimeQuickscanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeQuickscanConfigHandler
- type PutRuntimeQuickscanConfigHandlerFunc
- type PutRuntimeQuickscanConfigParams
- type PutRuntimeQuickscanConfigURL
- func (o *PutRuntimeQuickscanConfigURL) Build() (*url.URL, error)
- func (o *PutRuntimeQuickscanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutRuntimeQuickscanConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *PutRuntimeQuickscanConfigURL) SetBasePath(bp string)
- func (o *PutRuntimeQuickscanConfigURL) String() string
- func (o *PutRuntimeQuickscanConfigURL) StringFull(scheme, host string) string
- func (o *PutRuntimeQuickscanConfigURL) WithBasePath(bp string) *PutRuntimeQuickscanConfigURL
- type PutRuntimeScanStart
- type PutRuntimeScanStartBadRequest
- type PutRuntimeScanStartCreated
- type PutRuntimeScanStartDefault
- func (o *PutRuntimeScanStartDefault) SetPayload(payload *models.APIResponse)
- func (o *PutRuntimeScanStartDefault) SetStatusCode(code int)
- func (o *PutRuntimeScanStartDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScanStartDefault
- func (o *PutRuntimeScanStartDefault) WithStatusCode(code int) *PutRuntimeScanStartDefault
- func (o *PutRuntimeScanStartDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeScanStartHandler
- type PutRuntimeScanStartHandlerFunc
- type PutRuntimeScanStartParams
- type PutRuntimeScanStartURL
- func (o *PutRuntimeScanStartURL) Build() (*url.URL, error)
- func (o *PutRuntimeScanStartURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutRuntimeScanStartURL) Must(u *url.URL, err error) *url.URL
- func (o *PutRuntimeScanStartURL) SetBasePath(bp string)
- func (o *PutRuntimeScanStartURL) String() string
- func (o *PutRuntimeScanStartURL) StringFull(scheme, host string) string
- func (o *PutRuntimeScanStartURL) WithBasePath(bp string) *PutRuntimeScanStartURL
- type PutRuntimeScanStop
- type PutRuntimeScanStopBadRequest
- type PutRuntimeScanStopCreated
- type PutRuntimeScanStopDefault
- func (o *PutRuntimeScanStopDefault) SetPayload(payload *models.APIResponse)
- func (o *PutRuntimeScanStopDefault) SetStatusCode(code int)
- func (o *PutRuntimeScanStopDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScanStopDefault
- func (o *PutRuntimeScanStopDefault) WithStatusCode(code int) *PutRuntimeScanStopDefault
- func (o *PutRuntimeScanStopDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeScanStopHandler
- type PutRuntimeScanStopHandlerFunc
- type PutRuntimeScanStopParams
- type PutRuntimeScanStopURL
- func (o *PutRuntimeScanStopURL) Build() (*url.URL, error)
- func (o *PutRuntimeScanStopURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutRuntimeScanStopURL) Must(u *url.URL, err error) *url.URL
- func (o *PutRuntimeScanStopURL) SetBasePath(bp string)
- func (o *PutRuntimeScanStopURL) String() string
- func (o *PutRuntimeScanStopURL) StringFull(scheme, host string) string
- func (o *PutRuntimeScanStopURL) WithBasePath(bp string) *PutRuntimeScanStopURL
- type PutRuntimeScheduleScanConfig
- type PutRuntimeScheduleScanConfigBadRequest
- func (o *PutRuntimeScheduleScanConfigBadRequest) SetPayload(payload string)
- func (o *PutRuntimeScheduleScanConfigBadRequest) WithPayload(payload string) *PutRuntimeScheduleScanConfigBadRequest
- func (o *PutRuntimeScheduleScanConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeScheduleScanConfigCreated
- func (o *PutRuntimeScheduleScanConfigCreated) SetPayload(payload interface{})
- func (o *PutRuntimeScheduleScanConfigCreated) WithPayload(payload interface{}) *PutRuntimeScheduleScanConfigCreated
- func (o *PutRuntimeScheduleScanConfigCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeScheduleScanConfigDefault
- func (o *PutRuntimeScheduleScanConfigDefault) SetPayload(payload *models.APIResponse)
- func (o *PutRuntimeScheduleScanConfigDefault) SetStatusCode(code int)
- func (o *PutRuntimeScheduleScanConfigDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScheduleScanConfigDefault
- func (o *PutRuntimeScheduleScanConfigDefault) WithStatusCode(code int) *PutRuntimeScheduleScanConfigDefault
- func (o *PutRuntimeScheduleScanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PutRuntimeScheduleScanConfigHandler
- type PutRuntimeScheduleScanConfigHandlerFunc
- type PutRuntimeScheduleScanConfigParams
- type PutRuntimeScheduleScanConfigURL
- func (o *PutRuntimeScheduleScanConfigURL) Build() (*url.URL, error)
- func (o *PutRuntimeScheduleScanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PutRuntimeScheduleScanConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *PutRuntimeScheduleScanConfigURL) SetBasePath(bp string)
- func (o *PutRuntimeScheduleScanConfigURL) String() string
- func (o *PutRuntimeScheduleScanConfigURL) StringFull(scheme, host string) string
- func (o *PutRuntimeScheduleScanConfigURL) WithBasePath(bp string) *PutRuntimeScheduleScanConfigURL
Constants ¶
const DeleteApplicationResourcesIDNoContentCode int = 204
DeleteApplicationResourcesIDNoContentCode is the HTTP code returned for type DeleteApplicationResourcesIDNoContent
const DeleteApplicationResourcesIDNotFoundCode int = 404
DeleteApplicationResourcesIDNotFoundCode is the HTTP code returned for type DeleteApplicationResourcesIDNotFound
const DeleteApplicationsIDNoContentCode int = 204
DeleteApplicationsIDNoContentCode is the HTTP code returned for type DeleteApplicationsIDNoContent
const DeleteApplicationsIDNotFoundCode int = 404
DeleteApplicationsIDNotFoundCode is the HTTP code returned for type DeleteApplicationsIDNotFound
const GetApplicationResourcesIDOKCode int = 200
GetApplicationResourcesIDOKCode is the HTTP code returned for type GetApplicationResourcesIDOK
const GetApplicationResourcesOKCode int = 200
GetApplicationResourcesOKCode is the HTTP code returned for type GetApplicationResourcesOK
const GetApplicationsIDOKCode int = 200
GetApplicationsIDOKCode is the HTTP code returned for type GetApplicationsIDOK
const GetApplicationsOKCode int = 200
GetApplicationsOKCode is the HTTP code returned for type GetApplicationsOK
const GetCisdockerbenchmarkresultsIDOKCode int = 200
GetCisdockerbenchmarkresultsIDOKCode is the HTTP code returned for type GetCisdockerbenchmarkresultsIDOK
const GetDashboardCountersOKCode int = 200
GetDashboardCountersOKCode is the HTTP code returned for type GetDashboardCountersOK
const GetDashboardMostVulnerableOKCode int = 200
GetDashboardMostVulnerableOKCode is the HTTP code returned for type GetDashboardMostVulnerableOK
const GetDashboardPackagesPerLanguageOKCode int = 200
GetDashboardPackagesPerLanguageOKCode is the HTTP code returned for type GetDashboardPackagesPerLanguageOK
const GetDashboardPackagesPerLicenseOKCode int = 200
GetDashboardPackagesPerLicenseOKCode is the HTTP code returned for type GetDashboardPackagesPerLicenseOK
const GetDashboardTrendsVulnerabilitiesOKCode int = 200
GetDashboardTrendsVulnerabilitiesOKCode is the HTTP code returned for type GetDashboardTrendsVulnerabilitiesOK
const GetDashboardVulnerabilitiesWithFixOKCode int = 200
GetDashboardVulnerabilitiesWithFixOKCode is the HTTP code returned for type GetDashboardVulnerabilitiesWithFixOK
const GetNamespacesOKCode int = 200
GetNamespacesOKCode is the HTTP code returned for type GetNamespacesOK
const GetPackagesIDApplicationResourcesNotFoundCode int = 404
GetPackagesIDApplicationResourcesNotFoundCode is the HTTP code returned for type GetPackagesIDApplicationResourcesNotFound
const GetPackagesIDApplicationResourcesOKCode int = 200
GetPackagesIDApplicationResourcesOKCode is the HTTP code returned for type GetPackagesIDApplicationResourcesOK
const GetPackagesIDNotFoundCode int = 404
GetPackagesIDNotFoundCode is the HTTP code returned for type GetPackagesIDNotFound
const GetPackagesIDOKCode int = 200
GetPackagesIDOKCode is the HTTP code returned for type GetPackagesIDOK
const GetPackagesOKCode int = 200
GetPackagesOKCode is the HTTP code returned for type GetPackagesOK
const GetRuntimeQuickscanConfigOKCode int = 200
GetRuntimeQuickscanConfigOKCode is the HTTP code returned for type GetRuntimeQuickscanConfigOK
const GetRuntimeScanProgressOKCode int = 200
GetRuntimeScanProgressOKCode is the HTTP code returned for type GetRuntimeScanProgressOK
const GetRuntimeScanResultsOKCode int = 200
GetRuntimeScanResultsOKCode is the HTTP code returned for type GetRuntimeScanResultsOK
const GetRuntimeScheduleScanConfigOKCode int = 200
GetRuntimeScheduleScanConfigOKCode is the HTTP code returned for type GetRuntimeScheduleScanConfigOK
const GetVulnerabilitiesOKCode int = 200
GetVulnerabilitiesOKCode is the HTTP code returned for type GetVulnerabilitiesOK
const GetVulnerabilitiesVulIDPkgIDOKCode int = 200
GetVulnerabilitiesVulIDPkgIDOKCode is the HTTP code returned for type GetVulnerabilitiesVulIDPkgIDOK
const PostApplicationsConflictCode int = 409
PostApplicationsConflictCode is the HTTP code returned for type PostApplicationsConflict
const PostApplicationsContentAnalysisIDCreatedCode int = 201
PostApplicationsContentAnalysisIDCreatedCode is the HTTP code returned for type PostApplicationsContentAnalysisIDCreated
const PostApplicationsContentAnalysisIDNotFoundCode int = 404
PostApplicationsContentAnalysisIDNotFoundCode is the HTTP code returned for type PostApplicationsContentAnalysisIDNotFound
const PostApplicationsCreatedCode int = 201
PostApplicationsCreatedCode is the HTTP code returned for type PostApplicationsCreated
const PostApplicationsVulnerabilityScanIDCreatedCode int = 201
PostApplicationsVulnerabilityScanIDCreatedCode is the HTTP code returned for type PostApplicationsVulnerabilityScanIDCreated
const PostApplicationsVulnerabilityScanIDNotFoundCode int = 404
PostApplicationsVulnerabilityScanIDNotFoundCode is the HTTP code returned for type PostApplicationsVulnerabilityScanIDNotFound
const PutApplicationsIDNotFoundCode int = 404
PutApplicationsIDNotFoundCode is the HTTP code returned for type PutApplicationsIDNotFound
const PutApplicationsIDOKCode int = 200
PutApplicationsIDOKCode is the HTTP code returned for type PutApplicationsIDOK
const PutRuntimeQuickscanConfigBadRequestCode int = 400
PutRuntimeQuickscanConfigBadRequestCode is the HTTP code returned for type PutRuntimeQuickscanConfigBadRequest
const PutRuntimeQuickscanConfigCreatedCode int = 201
PutRuntimeQuickscanConfigCreatedCode is the HTTP code returned for type PutRuntimeQuickscanConfigCreated
const PutRuntimeScanStartBadRequestCode int = 400
PutRuntimeScanStartBadRequestCode is the HTTP code returned for type PutRuntimeScanStartBadRequest
const PutRuntimeScanStartCreatedCode int = 201
PutRuntimeScanStartCreatedCode is the HTTP code returned for type PutRuntimeScanStartCreated
const PutRuntimeScanStopBadRequestCode int = 400
PutRuntimeScanStopBadRequestCode is the HTTP code returned for type PutRuntimeScanStopBadRequest
const PutRuntimeScanStopCreatedCode int = 201
PutRuntimeScanStopCreatedCode is the HTTP code returned for type PutRuntimeScanStopCreated
const PutRuntimeScheduleScanConfigBadRequestCode int = 400
PutRuntimeScheduleScanConfigBadRequestCode is the HTTP code returned for type PutRuntimeScheduleScanConfigBadRequest
const PutRuntimeScheduleScanConfigCreatedCode int = 201
PutRuntimeScheduleScanConfigCreatedCode is the HTTP code returned for type PutRuntimeScheduleScanConfigCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteApplicationResourcesID ¶
type DeleteApplicationResourcesID struct { Context *middleware.Context Handler DeleteApplicationResourcesIDHandler }
DeleteApplicationResourcesID swagger:route DELETE /applicationResources/{id} deleteApplicationResourcesId
Delete Application Resource
func NewDeleteApplicationResourcesID ¶
func NewDeleteApplicationResourcesID(ctx *middleware.Context, handler DeleteApplicationResourcesIDHandler) *DeleteApplicationResourcesID
NewDeleteApplicationResourcesID creates a new http.Handler for the delete application resources ID operation
func (*DeleteApplicationResourcesID) ServeHTTP ¶
func (o *DeleteApplicationResourcesID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteApplicationResourcesIDDefault ¶
type DeleteApplicationResourcesIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteApplicationResourcesIDDefault unknown error
swagger:response deleteApplicationResourcesIdDefault
func NewDeleteApplicationResourcesIDDefault ¶
func NewDeleteApplicationResourcesIDDefault(code int) *DeleteApplicationResourcesIDDefault
NewDeleteApplicationResourcesIDDefault creates DeleteApplicationResourcesIDDefault with default headers values
func (*DeleteApplicationResourcesIDDefault) SetPayload ¶
func (o *DeleteApplicationResourcesIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete application resources ID default response
func (*DeleteApplicationResourcesIDDefault) SetStatusCode ¶
func (o *DeleteApplicationResourcesIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete application resources ID default response
func (*DeleteApplicationResourcesIDDefault) WithPayload ¶
func (o *DeleteApplicationResourcesIDDefault) WithPayload(payload *models.APIResponse) *DeleteApplicationResourcesIDDefault
WithPayload adds the payload to the delete application resources ID default response
func (*DeleteApplicationResourcesIDDefault) WithStatusCode ¶
func (o *DeleteApplicationResourcesIDDefault) WithStatusCode(code int) *DeleteApplicationResourcesIDDefault
WithStatusCode adds the status to the delete application resources ID default response
func (*DeleteApplicationResourcesIDDefault) WriteResponse ¶
func (o *DeleteApplicationResourcesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationResourcesIDHandler ¶
type DeleteApplicationResourcesIDHandler interface {
Handle(DeleteApplicationResourcesIDParams) middleware.Responder
}
DeleteApplicationResourcesIDHandler interface for that can handle valid delete application resources ID params
type DeleteApplicationResourcesIDHandlerFunc ¶
type DeleteApplicationResourcesIDHandlerFunc func(DeleteApplicationResourcesIDParams) middleware.Responder
DeleteApplicationResourcesIDHandlerFunc turns a function with the right signature into a delete application resources ID handler
func (DeleteApplicationResourcesIDHandlerFunc) Handle ¶
func (fn DeleteApplicationResourcesIDHandlerFunc) Handle(params DeleteApplicationResourcesIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteApplicationResourcesIDNoContent ¶
type DeleteApplicationResourcesIDNoContent struct { }
DeleteApplicationResourcesIDNoContent Success
swagger:response deleteApplicationResourcesIdNoContent
func NewDeleteApplicationResourcesIDNoContent ¶
func NewDeleteApplicationResourcesIDNoContent() *DeleteApplicationResourcesIDNoContent
NewDeleteApplicationResourcesIDNoContent creates DeleteApplicationResourcesIDNoContent with default headers values
func (*DeleteApplicationResourcesIDNoContent) WriteResponse ¶
func (o *DeleteApplicationResourcesIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationResourcesIDNotFound ¶
type DeleteApplicationResourcesIDNotFound struct { }
DeleteApplicationResourcesIDNotFound Application resource not found.
swagger:response deleteApplicationResourcesIdNotFound
func NewDeleteApplicationResourcesIDNotFound ¶
func NewDeleteApplicationResourcesIDNotFound() *DeleteApplicationResourcesIDNotFound
NewDeleteApplicationResourcesIDNotFound creates DeleteApplicationResourcesIDNotFound with default headers values
func (*DeleteApplicationResourcesIDNotFound) WriteResponse ¶
func (o *DeleteApplicationResourcesIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationResourcesIDParams ¶
type DeleteApplicationResourcesIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
DeleteApplicationResourcesIDParams contains all the bound params for the delete application resources ID operation typically these are obtained from a http.Request
swagger:parameters DeleteApplicationResourcesID
func NewDeleteApplicationResourcesIDParams ¶
func NewDeleteApplicationResourcesIDParams() DeleteApplicationResourcesIDParams
NewDeleteApplicationResourcesIDParams creates a new DeleteApplicationResourcesIDParams object
There are no default values defined in the spec.
func (*DeleteApplicationResourcesIDParams) BindRequest ¶
func (o *DeleteApplicationResourcesIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteApplicationResourcesIDParams() beforehand.
type DeleteApplicationResourcesIDURL ¶
type DeleteApplicationResourcesIDURL struct { ID string // contains filtered or unexported fields }
DeleteApplicationResourcesIDURL generates an URL for the delete application resources ID operation
func (*DeleteApplicationResourcesIDURL) Build ¶
func (o *DeleteApplicationResourcesIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteApplicationResourcesIDURL) BuildFull ¶
func (o *DeleteApplicationResourcesIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteApplicationResourcesIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteApplicationResourcesIDURL) SetBasePath ¶
func (o *DeleteApplicationResourcesIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteApplicationResourcesIDURL) String ¶
func (o *DeleteApplicationResourcesIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteApplicationResourcesIDURL) StringFull ¶
func (o *DeleteApplicationResourcesIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteApplicationResourcesIDURL) WithBasePath ¶
func (o *DeleteApplicationResourcesIDURL) WithBasePath(bp string) *DeleteApplicationResourcesIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteApplicationsID ¶
type DeleteApplicationsID struct { Context *middleware.Context Handler DeleteApplicationsIDHandler }
DeleteApplicationsID swagger:route DELETE /applications/{id} deleteApplicationsId
Delete Application.
func NewDeleteApplicationsID ¶
func NewDeleteApplicationsID(ctx *middleware.Context, handler DeleteApplicationsIDHandler) *DeleteApplicationsID
NewDeleteApplicationsID creates a new http.Handler for the delete applications ID operation
func (*DeleteApplicationsID) ServeHTTP ¶
func (o *DeleteApplicationsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteApplicationsIDDefault ¶
type DeleteApplicationsIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteApplicationsIDDefault unknown error
swagger:response deleteApplicationsIdDefault
func NewDeleteApplicationsIDDefault ¶
func NewDeleteApplicationsIDDefault(code int) *DeleteApplicationsIDDefault
NewDeleteApplicationsIDDefault creates DeleteApplicationsIDDefault with default headers values
func (*DeleteApplicationsIDDefault) SetPayload ¶
func (o *DeleteApplicationsIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the delete applications ID default response
func (*DeleteApplicationsIDDefault) SetStatusCode ¶
func (o *DeleteApplicationsIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete applications ID default response
func (*DeleteApplicationsIDDefault) WithPayload ¶
func (o *DeleteApplicationsIDDefault) WithPayload(payload *models.APIResponse) *DeleteApplicationsIDDefault
WithPayload adds the payload to the delete applications ID default response
func (*DeleteApplicationsIDDefault) WithStatusCode ¶
func (o *DeleteApplicationsIDDefault) WithStatusCode(code int) *DeleteApplicationsIDDefault
WithStatusCode adds the status to the delete applications ID default response
func (*DeleteApplicationsIDDefault) WriteResponse ¶
func (o *DeleteApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationsIDHandler ¶
type DeleteApplicationsIDHandler interface {
Handle(DeleteApplicationsIDParams) middleware.Responder
}
DeleteApplicationsIDHandler interface for that can handle valid delete applications ID params
type DeleteApplicationsIDHandlerFunc ¶
type DeleteApplicationsIDHandlerFunc func(DeleteApplicationsIDParams) middleware.Responder
DeleteApplicationsIDHandlerFunc turns a function with the right signature into a delete applications ID handler
func (DeleteApplicationsIDHandlerFunc) Handle ¶
func (fn DeleteApplicationsIDHandlerFunc) Handle(params DeleteApplicationsIDParams) middleware.Responder
Handle executing the request and returning a response
type DeleteApplicationsIDNoContent ¶
type DeleteApplicationsIDNoContent struct { }
DeleteApplicationsIDNoContent Success
swagger:response deleteApplicationsIdNoContent
func NewDeleteApplicationsIDNoContent ¶
func NewDeleteApplicationsIDNoContent() *DeleteApplicationsIDNoContent
NewDeleteApplicationsIDNoContent creates DeleteApplicationsIDNoContent with default headers values
func (*DeleteApplicationsIDNoContent) WriteResponse ¶
func (o *DeleteApplicationsIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationsIDNotFound ¶
type DeleteApplicationsIDNotFound struct { }
DeleteApplicationsIDNotFound Application not found.
swagger:response deleteApplicationsIdNotFound
func NewDeleteApplicationsIDNotFound ¶
func NewDeleteApplicationsIDNotFound() *DeleteApplicationsIDNotFound
NewDeleteApplicationsIDNotFound creates DeleteApplicationsIDNotFound with default headers values
func (*DeleteApplicationsIDNotFound) WriteResponse ¶
func (o *DeleteApplicationsIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteApplicationsIDParams ¶
type DeleteApplicationsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
DeleteApplicationsIDParams contains all the bound params for the delete applications ID operation typically these are obtained from a http.Request
swagger:parameters DeleteApplicationsID
func NewDeleteApplicationsIDParams ¶
func NewDeleteApplicationsIDParams() DeleteApplicationsIDParams
NewDeleteApplicationsIDParams creates a new DeleteApplicationsIDParams object
There are no default values defined in the spec.
func (*DeleteApplicationsIDParams) BindRequest ¶
func (o *DeleteApplicationsIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteApplicationsIDParams() beforehand.
type DeleteApplicationsIDURL ¶
type DeleteApplicationsIDURL struct { ID string // contains filtered or unexported fields }
DeleteApplicationsIDURL generates an URL for the delete applications ID operation
func (*DeleteApplicationsIDURL) Build ¶
func (o *DeleteApplicationsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteApplicationsIDURL) BuildFull ¶
func (o *DeleteApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteApplicationsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteApplicationsIDURL) SetBasePath ¶
func (o *DeleteApplicationsIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteApplicationsIDURL) String ¶
func (o *DeleteApplicationsIDURL) String() string
String returns the string representation of the path with query string
func (*DeleteApplicationsIDURL) StringFull ¶
func (o *DeleteApplicationsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteApplicationsIDURL) WithBasePath ¶
func (o *DeleteApplicationsIDURL) WithBasePath(bp string) *DeleteApplicationsIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetApplicationResources ¶
type GetApplicationResources struct { Context *middleware.Context Handler GetApplicationResourcesHandler }
GetApplicationResources swagger:route GET /applicationResources getApplicationResources
Get application resources
func NewGetApplicationResources ¶
func NewGetApplicationResources(ctx *middleware.Context, handler GetApplicationResourcesHandler) *GetApplicationResources
NewGetApplicationResources creates a new http.Handler for the get application resources operation
func (*GetApplicationResources) ServeHTTP ¶
func (o *GetApplicationResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationResourcesDefault ¶
type GetApplicationResourcesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationResourcesDefault unknown error
swagger:response getApplicationResourcesDefault
func NewGetApplicationResourcesDefault ¶
func NewGetApplicationResourcesDefault(code int) *GetApplicationResourcesDefault
NewGetApplicationResourcesDefault creates GetApplicationResourcesDefault with default headers values
func (*GetApplicationResourcesDefault) SetPayload ¶
func (o *GetApplicationResourcesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get application resources default response
func (*GetApplicationResourcesDefault) SetStatusCode ¶
func (o *GetApplicationResourcesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get application resources default response
func (*GetApplicationResourcesDefault) WithPayload ¶
func (o *GetApplicationResourcesDefault) WithPayload(payload *models.APIResponse) *GetApplicationResourcesDefault
WithPayload adds the payload to the get application resources default response
func (*GetApplicationResourcesDefault) WithStatusCode ¶
func (o *GetApplicationResourcesDefault) WithStatusCode(code int) *GetApplicationResourcesDefault
WithStatusCode adds the status to the get application resources default response
func (*GetApplicationResourcesDefault) WriteResponse ¶
func (o *GetApplicationResourcesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationResourcesHandler ¶
type GetApplicationResourcesHandler interface {
Handle(GetApplicationResourcesParams) middleware.Responder
}
GetApplicationResourcesHandler interface for that can handle valid get application resources params
type GetApplicationResourcesHandlerFunc ¶
type GetApplicationResourcesHandlerFunc func(GetApplicationResourcesParams) middleware.Responder
GetApplicationResourcesHandlerFunc turns a function with the right signature into a get application resources handler
func (GetApplicationResourcesHandlerFunc) Handle ¶
func (fn GetApplicationResourcesHandlerFunc) Handle(params GetApplicationResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetApplicationResourcesID ¶
type GetApplicationResourcesID struct { Context *middleware.Context Handler GetApplicationResourcesIDHandler }
GetApplicationResourcesID swagger:route GET /applicationResources/{id} getApplicationResourcesId
Get Application Resource
func NewGetApplicationResourcesID ¶
func NewGetApplicationResourcesID(ctx *middleware.Context, handler GetApplicationResourcesIDHandler) *GetApplicationResourcesID
NewGetApplicationResourcesID creates a new http.Handler for the get application resources ID operation
func (*GetApplicationResourcesID) ServeHTTP ¶
func (o *GetApplicationResourcesID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationResourcesIDDefault ¶
type GetApplicationResourcesIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationResourcesIDDefault unknown error
swagger:response getApplicationResourcesIdDefault
func NewGetApplicationResourcesIDDefault ¶
func NewGetApplicationResourcesIDDefault(code int) *GetApplicationResourcesIDDefault
NewGetApplicationResourcesIDDefault creates GetApplicationResourcesIDDefault with default headers values
func (*GetApplicationResourcesIDDefault) SetPayload ¶
func (o *GetApplicationResourcesIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get application resources ID default response
func (*GetApplicationResourcesIDDefault) SetStatusCode ¶
func (o *GetApplicationResourcesIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get application resources ID default response
func (*GetApplicationResourcesIDDefault) WithPayload ¶
func (o *GetApplicationResourcesIDDefault) WithPayload(payload *models.APIResponse) *GetApplicationResourcesIDDefault
WithPayload adds the payload to the get application resources ID default response
func (*GetApplicationResourcesIDDefault) WithStatusCode ¶
func (o *GetApplicationResourcesIDDefault) WithStatusCode(code int) *GetApplicationResourcesIDDefault
WithStatusCode adds the status to the get application resources ID default response
func (*GetApplicationResourcesIDDefault) WriteResponse ¶
func (o *GetApplicationResourcesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationResourcesIDHandler ¶
type GetApplicationResourcesIDHandler interface {
Handle(GetApplicationResourcesIDParams) middleware.Responder
}
GetApplicationResourcesIDHandler interface for that can handle valid get application resources ID params
type GetApplicationResourcesIDHandlerFunc ¶
type GetApplicationResourcesIDHandlerFunc func(GetApplicationResourcesIDParams) middleware.Responder
GetApplicationResourcesIDHandlerFunc turns a function with the right signature into a get application resources ID handler
func (GetApplicationResourcesIDHandlerFunc) Handle ¶
func (fn GetApplicationResourcesIDHandlerFunc) Handle(params GetApplicationResourcesIDParams) middleware.Responder
Handle executing the request and returning a response
type GetApplicationResourcesIDOK ¶
type GetApplicationResourcesIDOK struct { /* In: Body */ Payload *models.ApplicationResourceEx `json:"body,omitempty"` }
GetApplicationResourcesIDOK Success
swagger:response getApplicationResourcesIdOK
func NewGetApplicationResourcesIDOK ¶
func NewGetApplicationResourcesIDOK() *GetApplicationResourcesIDOK
NewGetApplicationResourcesIDOK creates GetApplicationResourcesIDOK with default headers values
func (*GetApplicationResourcesIDOK) SetPayload ¶
func (o *GetApplicationResourcesIDOK) SetPayload(payload *models.ApplicationResourceEx)
SetPayload sets the payload to the get application resources Id o k response
func (*GetApplicationResourcesIDOK) WithPayload ¶
func (o *GetApplicationResourcesIDOK) WithPayload(payload *models.ApplicationResourceEx) *GetApplicationResourcesIDOK
WithPayload adds the payload to the get application resources Id o k response
func (*GetApplicationResourcesIDOK) WriteResponse ¶
func (o *GetApplicationResourcesIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationResourcesIDParams ¶
type GetApplicationResourcesIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
GetApplicationResourcesIDParams contains all the bound params for the get application resources ID operation typically these are obtained from a http.Request
swagger:parameters GetApplicationResourcesID
func NewGetApplicationResourcesIDParams ¶
func NewGetApplicationResourcesIDParams() GetApplicationResourcesIDParams
NewGetApplicationResourcesIDParams creates a new GetApplicationResourcesIDParams object
There are no default values defined in the spec.
func (*GetApplicationResourcesIDParams) BindRequest ¶
func (o *GetApplicationResourcesIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetApplicationResourcesIDParams() beforehand.
type GetApplicationResourcesIDURL ¶
type GetApplicationResourcesIDURL struct { ID string // contains filtered or unexported fields }
GetApplicationResourcesIDURL generates an URL for the get application resources ID operation
func (*GetApplicationResourcesIDURL) Build ¶
func (o *GetApplicationResourcesIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationResourcesIDURL) BuildFull ¶
func (o *GetApplicationResourcesIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationResourcesIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationResourcesIDURL) SetBasePath ¶
func (o *GetApplicationResourcesIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetApplicationResourcesIDURL) String ¶
func (o *GetApplicationResourcesIDURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationResourcesIDURL) StringFull ¶
func (o *GetApplicationResourcesIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationResourcesIDURL) WithBasePath ¶
func (o *GetApplicationResourcesIDURL) WithBasePath(bp string) *GetApplicationResourcesIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetApplicationResourcesOK ¶
type GetApplicationResourcesOK struct { /* In: Body */ Payload *GetApplicationResourcesOKBody `json:"body,omitempty"` }
GetApplicationResourcesOK Success
swagger:response getApplicationResourcesOK
func NewGetApplicationResourcesOK ¶
func NewGetApplicationResourcesOK() *GetApplicationResourcesOK
NewGetApplicationResourcesOK creates GetApplicationResourcesOK with default headers values
func (*GetApplicationResourcesOK) SetPayload ¶
func (o *GetApplicationResourcesOK) SetPayload(payload *GetApplicationResourcesOKBody)
SetPayload sets the payload to the get application resources o k response
func (*GetApplicationResourcesOK) WithPayload ¶
func (o *GetApplicationResourcesOK) WithPayload(payload *GetApplicationResourcesOKBody) *GetApplicationResourcesOK
WithPayload adds the payload to the get application resources o k response
func (*GetApplicationResourcesOK) WriteResponse ¶
func (o *GetApplicationResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationResourcesOKBody ¶
type GetApplicationResourcesOKBody struct { // List of application resources in the given filters and page. List length must be lower or equal to pageSize Items []*models.ApplicationResource `json:"items"` // Total application resources count under the given filters // Required: true Total *int64 `json:"total"` }
GetApplicationResourcesOKBody get application resources o k body
swagger:model GetApplicationResourcesOKBody
func (*GetApplicationResourcesOKBody) ContextValidate ¶
func (o *GetApplicationResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get application resources o k body based on the context it is used
func (*GetApplicationResourcesOKBody) MarshalBinary ¶
func (o *GetApplicationResourcesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetApplicationResourcesOKBody) UnmarshalBinary ¶
func (o *GetApplicationResourcesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetApplicationResourcesParams ¶
type GetApplicationResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationID *string /*greater than or equal In: query */ ApplicationsGte *int64 /* In: query */ ApplicationsIsNot []int64 /* In: query */ ApplicationsIs []int64 /*less than or equal In: query */ ApplicationsLte *int64 /* In: query */ CisDockerBenchmarkLevelGte *string /* In: query */ CisDockerBenchmarkLevelLte *string /*current runtime scan system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ CurrentRuntimeScan *bool /*package ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ PackageID *string /*greater than or equal In: query */ PackagesGte *int64 /* In: query */ PackagesIsNot []int64 /* In: query */ PackagesIs []int64 /*less than or equal In: query */ PackagesLte *int64 /*Page number of the query Required: true In: query */ Page int64 /*Maximum items to return Required: true Maximum: 50 Minimum: 1 In: query */ PageSize int64 /* In: query */ ReportingSBOMAnalyzersContainElements []string /* In: query */ ReportingSBOMAnalyzersDoesntContainElements []string /* In: query */ ResourceHashContains []string /* In: query */ ResourceHashEnd *string /* In: query */ ResourceHashIsNot []string /* In: query */ ResourceHashIs []string /* In: query */ ResourceHashStart *string /* In: query */ ResourceNameContains []string /* In: query */ ResourceNameEnd *string /* In: query */ ResourceNameIsNot []string /* In: query */ ResourceNameIs []string /* In: query */ ResourceNameStart *string /* In: query */ ResourceTypeIs []string /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string /* In: query */ VulnerabilitySeverityGte *string /* In: query */ VulnerabilitySeverityLte *string }
GetApplicationResourcesParams contains all the bound params for the get application resources operation typically these are obtained from a http.Request
swagger:parameters GetApplicationResources
func NewGetApplicationResourcesParams ¶
func NewGetApplicationResourcesParams() GetApplicationResourcesParams
NewGetApplicationResourcesParams creates a new GetApplicationResourcesParams object with the default values initialized.
func (*GetApplicationResourcesParams) BindRequest ¶
func (o *GetApplicationResourcesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetApplicationResourcesParams() beforehand.
type GetApplicationResourcesURL ¶
type GetApplicationResourcesURL struct { ApplicationID *string ApplicationsGte *int64 ApplicationsIsNot []int64 ApplicationsIs []int64 ApplicationsLte *int64 CisDockerBenchmarkLevelGte *string CisDockerBenchmarkLevelLte *string CurrentRuntimeScan *bool PackageID *string PackagesGte *int64 PackagesIsNot []int64 PackagesIs []int64 PackagesLte *int64 Page int64 PageSize int64 ReportingSBOMAnalyzersContainElements []string ReportingSBOMAnalyzersDoesntContainElements []string ResourceHashContains []string ResourceHashEnd *string ResourceHashIsNot []string ResourceHashIs []string ResourceHashStart *string ResourceNameContains []string ResourceNameEnd *string ResourceNameIsNot []string ResourceNameIs []string ResourceNameStart *string ResourceTypeIs []string SortDir *string SortKey string VulnerabilitySeverityGte *string VulnerabilitySeverityLte *string // contains filtered or unexported fields }
GetApplicationResourcesURL generates an URL for the get application resources operation
func (*GetApplicationResourcesURL) Build ¶
func (o *GetApplicationResourcesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationResourcesURL) BuildFull ¶
func (o *GetApplicationResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationResourcesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationResourcesURL) SetBasePath ¶
func (o *GetApplicationResourcesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetApplicationResourcesURL) String ¶
func (o *GetApplicationResourcesURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationResourcesURL) StringFull ¶
func (o *GetApplicationResourcesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationResourcesURL) WithBasePath ¶
func (o *GetApplicationResourcesURL) WithBasePath(bp string) *GetApplicationResourcesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetApplications ¶
type GetApplications struct { Context *middleware.Context Handler GetApplicationsHandler }
GetApplications swagger:route GET /applications getApplications
Get applications
func NewGetApplications ¶
func NewGetApplications(ctx *middleware.Context, handler GetApplicationsHandler) *GetApplications
NewGetApplications creates a new http.Handler for the get applications operation
func (*GetApplications) ServeHTTP ¶
func (o *GetApplications) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationsDefault ¶
type GetApplicationsDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationsDefault unknown error
swagger:response getApplicationsDefault
func NewGetApplicationsDefault ¶
func NewGetApplicationsDefault(code int) *GetApplicationsDefault
NewGetApplicationsDefault creates GetApplicationsDefault with default headers values
func (*GetApplicationsDefault) SetPayload ¶
func (o *GetApplicationsDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get applications default response
func (*GetApplicationsDefault) SetStatusCode ¶
func (o *GetApplicationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get applications default response
func (*GetApplicationsDefault) WithPayload ¶
func (o *GetApplicationsDefault) WithPayload(payload *models.APIResponse) *GetApplicationsDefault
WithPayload adds the payload to the get applications default response
func (*GetApplicationsDefault) WithStatusCode ¶
func (o *GetApplicationsDefault) WithStatusCode(code int) *GetApplicationsDefault
WithStatusCode adds the status to the get applications default response
func (*GetApplicationsDefault) WriteResponse ¶
func (o *GetApplicationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationsHandler ¶
type GetApplicationsHandler interface {
Handle(GetApplicationsParams) middleware.Responder
}
GetApplicationsHandler interface for that can handle valid get applications params
type GetApplicationsHandlerFunc ¶
type GetApplicationsHandlerFunc func(GetApplicationsParams) middleware.Responder
GetApplicationsHandlerFunc turns a function with the right signature into a get applications handler
func (GetApplicationsHandlerFunc) Handle ¶
func (fn GetApplicationsHandlerFunc) Handle(params GetApplicationsParams) middleware.Responder
Handle executing the request and returning a response
type GetApplicationsID ¶
type GetApplicationsID struct { Context *middleware.Context Handler GetApplicationsIDHandler }
GetApplicationsID swagger:route GET /applications/{id} getApplicationsId
Get Application.
func NewGetApplicationsID ¶
func NewGetApplicationsID(ctx *middleware.Context, handler GetApplicationsIDHandler) *GetApplicationsID
NewGetApplicationsID creates a new http.Handler for the get applications ID operation
func (*GetApplicationsID) ServeHTTP ¶
func (o *GetApplicationsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationsIDDefault ¶
type GetApplicationsIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationsIDDefault unknown error
swagger:response getApplicationsIdDefault
func NewGetApplicationsIDDefault ¶
func NewGetApplicationsIDDefault(code int) *GetApplicationsIDDefault
NewGetApplicationsIDDefault creates GetApplicationsIDDefault with default headers values
func (*GetApplicationsIDDefault) SetPayload ¶
func (o *GetApplicationsIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get applications ID default response
func (*GetApplicationsIDDefault) SetStatusCode ¶
func (o *GetApplicationsIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get applications ID default response
func (*GetApplicationsIDDefault) WithPayload ¶
func (o *GetApplicationsIDDefault) WithPayload(payload *models.APIResponse) *GetApplicationsIDDefault
WithPayload adds the payload to the get applications ID default response
func (*GetApplicationsIDDefault) WithStatusCode ¶
func (o *GetApplicationsIDDefault) WithStatusCode(code int) *GetApplicationsIDDefault
WithStatusCode adds the status to the get applications ID default response
func (*GetApplicationsIDDefault) WriteResponse ¶
func (o *GetApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationsIDHandler ¶
type GetApplicationsIDHandler interface {
Handle(GetApplicationsIDParams) middleware.Responder
}
GetApplicationsIDHandler interface for that can handle valid get applications ID params
type GetApplicationsIDHandlerFunc ¶
type GetApplicationsIDHandlerFunc func(GetApplicationsIDParams) middleware.Responder
GetApplicationsIDHandlerFunc turns a function with the right signature into a get applications ID handler
func (GetApplicationsIDHandlerFunc) Handle ¶
func (fn GetApplicationsIDHandlerFunc) Handle(params GetApplicationsIDParams) middleware.Responder
Handle executing the request and returning a response
type GetApplicationsIDOK ¶
type GetApplicationsIDOK struct { /* In: Body */ Payload *models.ApplicationEx `json:"body,omitempty"` }
GetApplicationsIDOK Success
swagger:response getApplicationsIdOK
func NewGetApplicationsIDOK ¶
func NewGetApplicationsIDOK() *GetApplicationsIDOK
NewGetApplicationsIDOK creates GetApplicationsIDOK with default headers values
func (*GetApplicationsIDOK) SetPayload ¶
func (o *GetApplicationsIDOK) SetPayload(payload *models.ApplicationEx)
SetPayload sets the payload to the get applications Id o k response
func (*GetApplicationsIDOK) WithPayload ¶
func (o *GetApplicationsIDOK) WithPayload(payload *models.ApplicationEx) *GetApplicationsIDOK
WithPayload adds the payload to the get applications Id o k response
func (*GetApplicationsIDOK) WriteResponse ¶
func (o *GetApplicationsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationsIDParams ¶
type GetApplicationsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
GetApplicationsIDParams contains all the bound params for the get applications ID operation typically these are obtained from a http.Request
swagger:parameters GetApplicationsID
func NewGetApplicationsIDParams ¶
func NewGetApplicationsIDParams() GetApplicationsIDParams
NewGetApplicationsIDParams creates a new GetApplicationsIDParams object
There are no default values defined in the spec.
func (*GetApplicationsIDParams) BindRequest ¶
func (o *GetApplicationsIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetApplicationsIDParams() beforehand.
type GetApplicationsIDURL ¶
type GetApplicationsIDURL struct { ID string // contains filtered or unexported fields }
GetApplicationsIDURL generates an URL for the get applications ID operation
func (*GetApplicationsIDURL) Build ¶
func (o *GetApplicationsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationsIDURL) BuildFull ¶
func (o *GetApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationsIDURL) SetBasePath ¶
func (o *GetApplicationsIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetApplicationsIDURL) String ¶
func (o *GetApplicationsIDURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationsIDURL) StringFull ¶
func (o *GetApplicationsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationsIDURL) WithBasePath ¶
func (o *GetApplicationsIDURL) WithBasePath(bp string) *GetApplicationsIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetApplicationsOK ¶
type GetApplicationsOK struct { /* In: Body */ Payload *GetApplicationsOKBody `json:"body,omitempty"` }
GetApplicationsOK Success
swagger:response getApplicationsOK
func NewGetApplicationsOK ¶
func NewGetApplicationsOK() *GetApplicationsOK
NewGetApplicationsOK creates GetApplicationsOK with default headers values
func (*GetApplicationsOK) SetPayload ¶
func (o *GetApplicationsOK) SetPayload(payload *GetApplicationsOKBody)
SetPayload sets the payload to the get applications o k response
func (*GetApplicationsOK) WithPayload ¶
func (o *GetApplicationsOK) WithPayload(payload *GetApplicationsOKBody) *GetApplicationsOK
WithPayload adds the payload to the get applications o k response
func (*GetApplicationsOK) WriteResponse ¶
func (o *GetApplicationsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationsOKBody ¶
type GetApplicationsOKBody struct { // List of applications in the given filters and page. List length must be lower or equal to pageSize Items []*models.Application `json:"items"` // Total applications count under the given filters // Required: true Total *int64 `json:"total"` }
GetApplicationsOKBody get applications o k body
swagger:model GetApplicationsOKBody
func (*GetApplicationsOKBody) ContextValidate ¶
ContextValidate validate this get applications o k body based on the context it is used
func (*GetApplicationsOKBody) MarshalBinary ¶
func (o *GetApplicationsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetApplicationsOKBody) UnmarshalBinary ¶
func (o *GetApplicationsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetApplicationsParams ¶
type GetApplicationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ ApplicationEnvsContainElements []string /* In: query */ ApplicationEnvsDoesntContainElements []string /* In: query */ ApplicationLabelsContainElements []string /* In: query */ ApplicationLabelsDoesntContainElements []string /* In: query */ ApplicationNameContains []string /* In: query */ ApplicationNameEnd *string /* In: query */ ApplicationNameIsNot []string /* In: query */ ApplicationNameIs []string /* In: query */ ApplicationNameStart *string /*application resource ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationResourceID *string /*greater than or equal In: query */ ApplicationResourcesGte *int64 /* In: query */ ApplicationResourcesIsNot []int64 /* In: query */ ApplicationResourcesIs []int64 /*less than or equal In: query */ ApplicationResourcesLte *int64 /* In: query */ ApplicationTypeIs []string /* In: query */ CisDockerBenchmarkLevelGte *string /* In: query */ CisDockerBenchmarkLevelLte *string /*current runtime scan system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ CurrentRuntimeScan *bool /*package ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ PackageID *string /*greater than or equal In: query */ PackagesGte *int64 /* In: query */ PackagesIsNot []int64 /* In: query */ PackagesIs []int64 /*less than or equal In: query */ PackagesLte *int64 /*Page number of the query Required: true In: query */ Page int64 /*Maximum items to return Required: true Maximum: 50 Minimum: 1 In: query */ PageSize int64 /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string /* In: query */ VulnerabilitySeverityGte *string /* In: query */ VulnerabilitySeverityLte *string }
GetApplicationsParams contains all the bound params for the get applications operation typically these are obtained from a http.Request
swagger:parameters GetApplications
func NewGetApplicationsParams ¶
func NewGetApplicationsParams() GetApplicationsParams
NewGetApplicationsParams creates a new GetApplicationsParams object with the default values initialized.
func (*GetApplicationsParams) BindRequest ¶
func (o *GetApplicationsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetApplicationsParams() beforehand.
type GetApplicationsURL ¶
type GetApplicationsURL struct { ApplicationEnvsContainElements []string ApplicationEnvsDoesntContainElements []string ApplicationLabelsContainElements []string ApplicationLabelsDoesntContainElements []string ApplicationNameContains []string ApplicationNameEnd *string ApplicationNameIsNot []string ApplicationNameIs []string ApplicationNameStart *string ApplicationResourceID *string ApplicationResourcesGte *int64 ApplicationResourcesIsNot []int64 ApplicationResourcesIs []int64 ApplicationResourcesLte *int64 ApplicationTypeIs []string CisDockerBenchmarkLevelGte *string CisDockerBenchmarkLevelLte *string CurrentRuntimeScan *bool PackageID *string PackagesGte *int64 PackagesIsNot []int64 PackagesIs []int64 PackagesLte *int64 Page int64 PageSize int64 SortDir *string SortKey string VulnerabilitySeverityGte *string VulnerabilitySeverityLte *string // contains filtered or unexported fields }
GetApplicationsURL generates an URL for the get applications operation
func (*GetApplicationsURL) Build ¶
func (o *GetApplicationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationsURL) BuildFull ¶
func (o *GetApplicationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationsURL) SetBasePath ¶
func (o *GetApplicationsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetApplicationsURL) String ¶
func (o *GetApplicationsURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationsURL) StringFull ¶
func (o *GetApplicationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationsURL) WithBasePath ¶
func (o *GetApplicationsURL) WithBasePath(bp string) *GetApplicationsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetCisdockerbenchmarkresultsID ¶
type GetCisdockerbenchmarkresultsID struct { Context *middleware.Context Handler GetCisdockerbenchmarkresultsIDHandler }
GetCisdockerbenchmarkresultsID swagger:route GET /cisdockerbenchmarkresults/{id} getCisdockerbenchmarkresultsId
Get CIS Docker Benchmark results by Application Resource ID
func NewGetCisdockerbenchmarkresultsID ¶
func NewGetCisdockerbenchmarkresultsID(ctx *middleware.Context, handler GetCisdockerbenchmarkresultsIDHandler) *GetCisdockerbenchmarkresultsID
NewGetCisdockerbenchmarkresultsID creates a new http.Handler for the get cisdockerbenchmarkresults ID operation
func (*GetCisdockerbenchmarkresultsID) ServeHTTP ¶
func (o *GetCisdockerbenchmarkresultsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCisdockerbenchmarkresultsIDDefault ¶
type GetCisdockerbenchmarkresultsIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetCisdockerbenchmarkresultsIDDefault unknown error
swagger:response getCisdockerbenchmarkresultsIdDefault
func NewGetCisdockerbenchmarkresultsIDDefault ¶
func NewGetCisdockerbenchmarkresultsIDDefault(code int) *GetCisdockerbenchmarkresultsIDDefault
NewGetCisdockerbenchmarkresultsIDDefault creates GetCisdockerbenchmarkresultsIDDefault with default headers values
func (*GetCisdockerbenchmarkresultsIDDefault) SetPayload ¶
func (o *GetCisdockerbenchmarkresultsIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get cisdockerbenchmarkresults ID default response
func (*GetCisdockerbenchmarkresultsIDDefault) SetStatusCode ¶
func (o *GetCisdockerbenchmarkresultsIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get cisdockerbenchmarkresults ID default response
func (*GetCisdockerbenchmarkresultsIDDefault) WithPayload ¶
func (o *GetCisdockerbenchmarkresultsIDDefault) WithPayload(payload *models.APIResponse) *GetCisdockerbenchmarkresultsIDDefault
WithPayload adds the payload to the get cisdockerbenchmarkresults ID default response
func (*GetCisdockerbenchmarkresultsIDDefault) WithStatusCode ¶
func (o *GetCisdockerbenchmarkresultsIDDefault) WithStatusCode(code int) *GetCisdockerbenchmarkresultsIDDefault
WithStatusCode adds the status to the get cisdockerbenchmarkresults ID default response
func (*GetCisdockerbenchmarkresultsIDDefault) WriteResponse ¶
func (o *GetCisdockerbenchmarkresultsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCisdockerbenchmarkresultsIDHandler ¶
type GetCisdockerbenchmarkresultsIDHandler interface {
Handle(GetCisdockerbenchmarkresultsIDParams) middleware.Responder
}
GetCisdockerbenchmarkresultsIDHandler interface for that can handle valid get cisdockerbenchmarkresults ID params
type GetCisdockerbenchmarkresultsIDHandlerFunc ¶
type GetCisdockerbenchmarkresultsIDHandlerFunc func(GetCisdockerbenchmarkresultsIDParams) middleware.Responder
GetCisdockerbenchmarkresultsIDHandlerFunc turns a function with the right signature into a get cisdockerbenchmarkresults ID handler
func (GetCisdockerbenchmarkresultsIDHandlerFunc) Handle ¶
func (fn GetCisdockerbenchmarkresultsIDHandlerFunc) Handle(params GetCisdockerbenchmarkresultsIDParams) middleware.Responder
Handle executing the request and returning a response
type GetCisdockerbenchmarkresultsIDOK ¶
type GetCisdockerbenchmarkresultsIDOK struct { /* In: Body */ Payload *GetCisdockerbenchmarkresultsIDOKBody `json:"body,omitempty"` }
GetCisdockerbenchmarkresultsIDOK Success
swagger:response getCisdockerbenchmarkresultsIdOK
func NewGetCisdockerbenchmarkresultsIDOK ¶
func NewGetCisdockerbenchmarkresultsIDOK() *GetCisdockerbenchmarkresultsIDOK
NewGetCisdockerbenchmarkresultsIDOK creates GetCisdockerbenchmarkresultsIDOK with default headers values
func (*GetCisdockerbenchmarkresultsIDOK) SetPayload ¶
func (o *GetCisdockerbenchmarkresultsIDOK) SetPayload(payload *GetCisdockerbenchmarkresultsIDOKBody)
SetPayload sets the payload to the get cisdockerbenchmarkresults Id o k response
func (*GetCisdockerbenchmarkresultsIDOK) WithPayload ¶
func (o *GetCisdockerbenchmarkresultsIDOK) WithPayload(payload *GetCisdockerbenchmarkresultsIDOKBody) *GetCisdockerbenchmarkresultsIDOK
WithPayload adds the payload to the get cisdockerbenchmarkresults Id o k response
func (*GetCisdockerbenchmarkresultsIDOK) WriteResponse ¶
func (o *GetCisdockerbenchmarkresultsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCisdockerbenchmarkresultsIDOKBody ¶
type GetCisdockerbenchmarkresultsIDOKBody struct { // List of CIS docker benchmark findings for an Application Resource Items []*models.CISDockerBenchmarkResultsEX `json:"items"` // Total CIS docker benchmark results by Application Resource // Required: true Total *int64 `json:"total"` }
GetCisdockerbenchmarkresultsIDOKBody get cisdockerbenchmarkresults ID o k body
swagger:model GetCisdockerbenchmarkresultsIDOKBody
func (*GetCisdockerbenchmarkresultsIDOKBody) ContextValidate ¶
func (o *GetCisdockerbenchmarkresultsIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get cisdockerbenchmarkresults ID o k body based on the context it is used
func (*GetCisdockerbenchmarkresultsIDOKBody) MarshalBinary ¶
func (o *GetCisdockerbenchmarkresultsIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetCisdockerbenchmarkresultsIDOKBody) UnmarshalBinary ¶
func (o *GetCisdockerbenchmarkresultsIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetCisdockerbenchmarkresultsIDParams ¶
type GetCisdockerbenchmarkresultsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string }
GetCisdockerbenchmarkresultsIDParams contains all the bound params for the get cisdockerbenchmarkresults ID operation typically these are obtained from a http.Request
swagger:parameters GetCisdockerbenchmarkresultsID
func NewGetCisdockerbenchmarkresultsIDParams ¶
func NewGetCisdockerbenchmarkresultsIDParams() GetCisdockerbenchmarkresultsIDParams
NewGetCisdockerbenchmarkresultsIDParams creates a new GetCisdockerbenchmarkresultsIDParams object with the default values initialized.
func (*GetCisdockerbenchmarkresultsIDParams) BindRequest ¶
func (o *GetCisdockerbenchmarkresultsIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCisdockerbenchmarkresultsIDParams() beforehand.
type GetCisdockerbenchmarkresultsIDURL ¶
type GetCisdockerbenchmarkresultsIDURL struct { ID string SortDir *string SortKey string // contains filtered or unexported fields }
GetCisdockerbenchmarkresultsIDURL generates an URL for the get cisdockerbenchmarkresults ID operation
func (*GetCisdockerbenchmarkresultsIDURL) Build ¶
func (o *GetCisdockerbenchmarkresultsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCisdockerbenchmarkresultsIDURL) BuildFull ¶
func (o *GetCisdockerbenchmarkresultsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCisdockerbenchmarkresultsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCisdockerbenchmarkresultsIDURL) SetBasePath ¶
func (o *GetCisdockerbenchmarkresultsIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCisdockerbenchmarkresultsIDURL) String ¶
func (o *GetCisdockerbenchmarkresultsIDURL) String() string
String returns the string representation of the path with query string
func (*GetCisdockerbenchmarkresultsIDURL) StringFull ¶
func (o *GetCisdockerbenchmarkresultsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCisdockerbenchmarkresultsIDURL) WithBasePath ¶
func (o *GetCisdockerbenchmarkresultsIDURL) WithBasePath(bp string) *GetCisdockerbenchmarkresultsIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardCounters ¶
type GetDashboardCounters struct { Context *middleware.Context Handler GetDashboardCountersHandler }
GetDashboardCounters swagger:route GET /dashboard/counters getDashboardCounters
Get number of applications, resources, packages and vulnerabilities
func NewGetDashboardCounters ¶
func NewGetDashboardCounters(ctx *middleware.Context, handler GetDashboardCountersHandler) *GetDashboardCounters
NewGetDashboardCounters creates a new http.Handler for the get dashboard counters operation
func (*GetDashboardCounters) ServeHTTP ¶
func (o *GetDashboardCounters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardCountersDefault ¶
type GetDashboardCountersDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardCountersDefault unknown error
swagger:response getDashboardCountersDefault
func NewGetDashboardCountersDefault ¶
func NewGetDashboardCountersDefault(code int) *GetDashboardCountersDefault
NewGetDashboardCountersDefault creates GetDashboardCountersDefault with default headers values
func (*GetDashboardCountersDefault) SetPayload ¶
func (o *GetDashboardCountersDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard counters default response
func (*GetDashboardCountersDefault) SetStatusCode ¶
func (o *GetDashboardCountersDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard counters default response
func (*GetDashboardCountersDefault) WithPayload ¶
func (o *GetDashboardCountersDefault) WithPayload(payload *models.APIResponse) *GetDashboardCountersDefault
WithPayload adds the payload to the get dashboard counters default response
func (*GetDashboardCountersDefault) WithStatusCode ¶
func (o *GetDashboardCountersDefault) WithStatusCode(code int) *GetDashboardCountersDefault
WithStatusCode adds the status to the get dashboard counters default response
func (*GetDashboardCountersDefault) WriteResponse ¶
func (o *GetDashboardCountersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardCountersHandler ¶
type GetDashboardCountersHandler interface {
Handle(GetDashboardCountersParams) middleware.Responder
}
GetDashboardCountersHandler interface for that can handle valid get dashboard counters params
type GetDashboardCountersHandlerFunc ¶
type GetDashboardCountersHandlerFunc func(GetDashboardCountersParams) middleware.Responder
GetDashboardCountersHandlerFunc turns a function with the right signature into a get dashboard counters handler
func (GetDashboardCountersHandlerFunc) Handle ¶
func (fn GetDashboardCountersHandlerFunc) Handle(params GetDashboardCountersParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardCountersOK ¶
type GetDashboardCountersOK struct { /* In: Body */ Payload *models.DashboardCounters `json:"body,omitempty"` }
GetDashboardCountersOK Success
swagger:response getDashboardCountersOK
func NewGetDashboardCountersOK ¶
func NewGetDashboardCountersOK() *GetDashboardCountersOK
NewGetDashboardCountersOK creates GetDashboardCountersOK with default headers values
func (*GetDashboardCountersOK) SetPayload ¶
func (o *GetDashboardCountersOK) SetPayload(payload *models.DashboardCounters)
SetPayload sets the payload to the get dashboard counters o k response
func (*GetDashboardCountersOK) WithPayload ¶
func (o *GetDashboardCountersOK) WithPayload(payload *models.DashboardCounters) *GetDashboardCountersOK
WithPayload adds the payload to the get dashboard counters o k response
func (*GetDashboardCountersOK) WriteResponse ¶
func (o *GetDashboardCountersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardCountersParams ¶
type GetDashboardCountersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDashboardCountersParams contains all the bound params for the get dashboard counters operation typically these are obtained from a http.Request
swagger:parameters GetDashboardCounters
func NewGetDashboardCountersParams ¶
func NewGetDashboardCountersParams() GetDashboardCountersParams
NewGetDashboardCountersParams creates a new GetDashboardCountersParams object
There are no default values defined in the spec.
func (*GetDashboardCountersParams) BindRequest ¶
func (o *GetDashboardCountersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardCountersParams() beforehand.
type GetDashboardCountersURL ¶
type GetDashboardCountersURL struct {
// contains filtered or unexported fields
}
GetDashboardCountersURL generates an URL for the get dashboard counters operation
func (*GetDashboardCountersURL) Build ¶
func (o *GetDashboardCountersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardCountersURL) BuildFull ¶
func (o *GetDashboardCountersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardCountersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardCountersURL) SetBasePath ¶
func (o *GetDashboardCountersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardCountersURL) String ¶
func (o *GetDashboardCountersURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardCountersURL) StringFull ¶
func (o *GetDashboardCountersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardCountersURL) WithBasePath ¶
func (o *GetDashboardCountersURL) WithBasePath(bp string) *GetDashboardCountersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardMostVulnerable ¶
type GetDashboardMostVulnerable struct { Context *middleware.Context Handler GetDashboardMostVulnerableHandler }
GetDashboardMostVulnerable swagger:route GET /dashboard/mostVulnerable getDashboardMostVulnerable
Get top 5 most vulnerable applications, resources and packages
func NewGetDashboardMostVulnerable ¶
func NewGetDashboardMostVulnerable(ctx *middleware.Context, handler GetDashboardMostVulnerableHandler) *GetDashboardMostVulnerable
NewGetDashboardMostVulnerable creates a new http.Handler for the get dashboard most vulnerable operation
func (*GetDashboardMostVulnerable) ServeHTTP ¶
func (o *GetDashboardMostVulnerable) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardMostVulnerableDefault ¶
type GetDashboardMostVulnerableDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardMostVulnerableDefault unknown error
swagger:response getDashboardMostVulnerableDefault
func NewGetDashboardMostVulnerableDefault ¶
func NewGetDashboardMostVulnerableDefault(code int) *GetDashboardMostVulnerableDefault
NewGetDashboardMostVulnerableDefault creates GetDashboardMostVulnerableDefault with default headers values
func (*GetDashboardMostVulnerableDefault) SetPayload ¶
func (o *GetDashboardMostVulnerableDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard most vulnerable default response
func (*GetDashboardMostVulnerableDefault) SetStatusCode ¶
func (o *GetDashboardMostVulnerableDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard most vulnerable default response
func (*GetDashboardMostVulnerableDefault) WithPayload ¶
func (o *GetDashboardMostVulnerableDefault) WithPayload(payload *models.APIResponse) *GetDashboardMostVulnerableDefault
WithPayload adds the payload to the get dashboard most vulnerable default response
func (*GetDashboardMostVulnerableDefault) WithStatusCode ¶
func (o *GetDashboardMostVulnerableDefault) WithStatusCode(code int) *GetDashboardMostVulnerableDefault
WithStatusCode adds the status to the get dashboard most vulnerable default response
func (*GetDashboardMostVulnerableDefault) WriteResponse ¶
func (o *GetDashboardMostVulnerableDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardMostVulnerableHandler ¶
type GetDashboardMostVulnerableHandler interface {
Handle(GetDashboardMostVulnerableParams) middleware.Responder
}
GetDashboardMostVulnerableHandler interface for that can handle valid get dashboard most vulnerable params
type GetDashboardMostVulnerableHandlerFunc ¶
type GetDashboardMostVulnerableHandlerFunc func(GetDashboardMostVulnerableParams) middleware.Responder
GetDashboardMostVulnerableHandlerFunc turns a function with the right signature into a get dashboard most vulnerable handler
func (GetDashboardMostVulnerableHandlerFunc) Handle ¶
func (fn GetDashboardMostVulnerableHandlerFunc) Handle(params GetDashboardMostVulnerableParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardMostVulnerableOK ¶
type GetDashboardMostVulnerableOK struct { /* In: Body */ Payload *models.MostVulnerable `json:"body,omitempty"` }
GetDashboardMostVulnerableOK Success
swagger:response getDashboardMostVulnerableOK
func NewGetDashboardMostVulnerableOK ¶
func NewGetDashboardMostVulnerableOK() *GetDashboardMostVulnerableOK
NewGetDashboardMostVulnerableOK creates GetDashboardMostVulnerableOK with default headers values
func (*GetDashboardMostVulnerableOK) SetPayload ¶
func (o *GetDashboardMostVulnerableOK) SetPayload(payload *models.MostVulnerable)
SetPayload sets the payload to the get dashboard most vulnerable o k response
func (*GetDashboardMostVulnerableOK) WithPayload ¶
func (o *GetDashboardMostVulnerableOK) WithPayload(payload *models.MostVulnerable) *GetDashboardMostVulnerableOK
WithPayload adds the payload to the get dashboard most vulnerable o k response
func (*GetDashboardMostVulnerableOK) WriteResponse ¶
func (o *GetDashboardMostVulnerableOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardMostVulnerableParams ¶
type GetDashboardMostVulnerableParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDashboardMostVulnerableParams contains all the bound params for the get dashboard most vulnerable operation typically these are obtained from a http.Request
swagger:parameters GetDashboardMostVulnerable
func NewGetDashboardMostVulnerableParams ¶
func NewGetDashboardMostVulnerableParams() GetDashboardMostVulnerableParams
NewGetDashboardMostVulnerableParams creates a new GetDashboardMostVulnerableParams object
There are no default values defined in the spec.
func (*GetDashboardMostVulnerableParams) BindRequest ¶
func (o *GetDashboardMostVulnerableParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardMostVulnerableParams() beforehand.
type GetDashboardMostVulnerableURL ¶
type GetDashboardMostVulnerableURL struct {
// contains filtered or unexported fields
}
GetDashboardMostVulnerableURL generates an URL for the get dashboard most vulnerable operation
func (*GetDashboardMostVulnerableURL) Build ¶
func (o *GetDashboardMostVulnerableURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardMostVulnerableURL) BuildFull ¶
func (o *GetDashboardMostVulnerableURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardMostVulnerableURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardMostVulnerableURL) SetBasePath ¶
func (o *GetDashboardMostVulnerableURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardMostVulnerableURL) String ¶
func (o *GetDashboardMostVulnerableURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardMostVulnerableURL) StringFull ¶
func (o *GetDashboardMostVulnerableURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardMostVulnerableURL) WithBasePath ¶
func (o *GetDashboardMostVulnerableURL) WithBasePath(bp string) *GetDashboardMostVulnerableURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardPackagesPerLanguage ¶
type GetDashboardPackagesPerLanguage struct { Context *middleware.Context Handler GetDashboardPackagesPerLanguageHandler }
GetDashboardPackagesPerLanguage swagger:route GET /dashboard/packagesPerLanguage getDashboardPackagesPerLanguage
Get packages count per language
func NewGetDashboardPackagesPerLanguage ¶
func NewGetDashboardPackagesPerLanguage(ctx *middleware.Context, handler GetDashboardPackagesPerLanguageHandler) *GetDashboardPackagesPerLanguage
NewGetDashboardPackagesPerLanguage creates a new http.Handler for the get dashboard packages per language operation
func (*GetDashboardPackagesPerLanguage) ServeHTTP ¶
func (o *GetDashboardPackagesPerLanguage) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardPackagesPerLanguageDefault ¶
type GetDashboardPackagesPerLanguageDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardPackagesPerLanguageDefault unknown error
swagger:response getDashboardPackagesPerLanguageDefault
func NewGetDashboardPackagesPerLanguageDefault ¶
func NewGetDashboardPackagesPerLanguageDefault(code int) *GetDashboardPackagesPerLanguageDefault
NewGetDashboardPackagesPerLanguageDefault creates GetDashboardPackagesPerLanguageDefault with default headers values
func (*GetDashboardPackagesPerLanguageDefault) SetPayload ¶
func (o *GetDashboardPackagesPerLanguageDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard packages per language default response
func (*GetDashboardPackagesPerLanguageDefault) SetStatusCode ¶
func (o *GetDashboardPackagesPerLanguageDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard packages per language default response
func (*GetDashboardPackagesPerLanguageDefault) WithPayload ¶
func (o *GetDashboardPackagesPerLanguageDefault) WithPayload(payload *models.APIResponse) *GetDashboardPackagesPerLanguageDefault
WithPayload adds the payload to the get dashboard packages per language default response
func (*GetDashboardPackagesPerLanguageDefault) WithStatusCode ¶
func (o *GetDashboardPackagesPerLanguageDefault) WithStatusCode(code int) *GetDashboardPackagesPerLanguageDefault
WithStatusCode adds the status to the get dashboard packages per language default response
func (*GetDashboardPackagesPerLanguageDefault) WriteResponse ¶
func (o *GetDashboardPackagesPerLanguageDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardPackagesPerLanguageHandler ¶
type GetDashboardPackagesPerLanguageHandler interface {
Handle(GetDashboardPackagesPerLanguageParams) middleware.Responder
}
GetDashboardPackagesPerLanguageHandler interface for that can handle valid get dashboard packages per language params
type GetDashboardPackagesPerLanguageHandlerFunc ¶
type GetDashboardPackagesPerLanguageHandlerFunc func(GetDashboardPackagesPerLanguageParams) middleware.Responder
GetDashboardPackagesPerLanguageHandlerFunc turns a function with the right signature into a get dashboard packages per language handler
func (GetDashboardPackagesPerLanguageHandlerFunc) Handle ¶
func (fn GetDashboardPackagesPerLanguageHandlerFunc) Handle(params GetDashboardPackagesPerLanguageParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardPackagesPerLanguageOK ¶
type GetDashboardPackagesPerLanguageOK struct { /* In: Body */ Payload []*models.PackagesCountPerLanguage `json:"body,omitempty"` }
GetDashboardPackagesPerLanguageOK Success
swagger:response getDashboardPackagesPerLanguageOK
func NewGetDashboardPackagesPerLanguageOK ¶
func NewGetDashboardPackagesPerLanguageOK() *GetDashboardPackagesPerLanguageOK
NewGetDashboardPackagesPerLanguageOK creates GetDashboardPackagesPerLanguageOK with default headers values
func (*GetDashboardPackagesPerLanguageOK) SetPayload ¶
func (o *GetDashboardPackagesPerLanguageOK) SetPayload(payload []*models.PackagesCountPerLanguage)
SetPayload sets the payload to the get dashboard packages per language o k response
func (*GetDashboardPackagesPerLanguageOK) WithPayload ¶
func (o *GetDashboardPackagesPerLanguageOK) WithPayload(payload []*models.PackagesCountPerLanguage) *GetDashboardPackagesPerLanguageOK
WithPayload adds the payload to the get dashboard packages per language o k response
func (*GetDashboardPackagesPerLanguageOK) WriteResponse ¶
func (o *GetDashboardPackagesPerLanguageOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardPackagesPerLanguageParams ¶
type GetDashboardPackagesPerLanguageParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDashboardPackagesPerLanguageParams contains all the bound params for the get dashboard packages per language operation typically these are obtained from a http.Request
swagger:parameters GetDashboardPackagesPerLanguage
func NewGetDashboardPackagesPerLanguageParams ¶
func NewGetDashboardPackagesPerLanguageParams() GetDashboardPackagesPerLanguageParams
NewGetDashboardPackagesPerLanguageParams creates a new GetDashboardPackagesPerLanguageParams object
There are no default values defined in the spec.
func (*GetDashboardPackagesPerLanguageParams) BindRequest ¶
func (o *GetDashboardPackagesPerLanguageParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardPackagesPerLanguageParams() beforehand.
type GetDashboardPackagesPerLanguageURL ¶
type GetDashboardPackagesPerLanguageURL struct {
// contains filtered or unexported fields
}
GetDashboardPackagesPerLanguageURL generates an URL for the get dashboard packages per language operation
func (*GetDashboardPackagesPerLanguageURL) Build ¶
func (o *GetDashboardPackagesPerLanguageURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardPackagesPerLanguageURL) BuildFull ¶
func (o *GetDashboardPackagesPerLanguageURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardPackagesPerLanguageURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardPackagesPerLanguageURL) SetBasePath ¶
func (o *GetDashboardPackagesPerLanguageURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardPackagesPerLanguageURL) String ¶
func (o *GetDashboardPackagesPerLanguageURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardPackagesPerLanguageURL) StringFull ¶
func (o *GetDashboardPackagesPerLanguageURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardPackagesPerLanguageURL) WithBasePath ¶
func (o *GetDashboardPackagesPerLanguageURL) WithBasePath(bp string) *GetDashboardPackagesPerLanguageURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardPackagesPerLicense ¶
type GetDashboardPackagesPerLicense struct { Context *middleware.Context Handler GetDashboardPackagesPerLicenseHandler }
GetDashboardPackagesPerLicense swagger:route GET /dashboard/packagesPerLicense getDashboardPackagesPerLicense
Get packages count per license type
func NewGetDashboardPackagesPerLicense ¶
func NewGetDashboardPackagesPerLicense(ctx *middleware.Context, handler GetDashboardPackagesPerLicenseHandler) *GetDashboardPackagesPerLicense
NewGetDashboardPackagesPerLicense creates a new http.Handler for the get dashboard packages per license operation
func (*GetDashboardPackagesPerLicense) ServeHTTP ¶
func (o *GetDashboardPackagesPerLicense) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardPackagesPerLicenseDefault ¶
type GetDashboardPackagesPerLicenseDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardPackagesPerLicenseDefault unknown error
swagger:response getDashboardPackagesPerLicenseDefault
func NewGetDashboardPackagesPerLicenseDefault ¶
func NewGetDashboardPackagesPerLicenseDefault(code int) *GetDashboardPackagesPerLicenseDefault
NewGetDashboardPackagesPerLicenseDefault creates GetDashboardPackagesPerLicenseDefault with default headers values
func (*GetDashboardPackagesPerLicenseDefault) SetPayload ¶
func (o *GetDashboardPackagesPerLicenseDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard packages per license default response
func (*GetDashboardPackagesPerLicenseDefault) SetStatusCode ¶
func (o *GetDashboardPackagesPerLicenseDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard packages per license default response
func (*GetDashboardPackagesPerLicenseDefault) WithPayload ¶
func (o *GetDashboardPackagesPerLicenseDefault) WithPayload(payload *models.APIResponse) *GetDashboardPackagesPerLicenseDefault
WithPayload adds the payload to the get dashboard packages per license default response
func (*GetDashboardPackagesPerLicenseDefault) WithStatusCode ¶
func (o *GetDashboardPackagesPerLicenseDefault) WithStatusCode(code int) *GetDashboardPackagesPerLicenseDefault
WithStatusCode adds the status to the get dashboard packages per license default response
func (*GetDashboardPackagesPerLicenseDefault) WriteResponse ¶
func (o *GetDashboardPackagesPerLicenseDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardPackagesPerLicenseHandler ¶
type GetDashboardPackagesPerLicenseHandler interface {
Handle(GetDashboardPackagesPerLicenseParams) middleware.Responder
}
GetDashboardPackagesPerLicenseHandler interface for that can handle valid get dashboard packages per license params
type GetDashboardPackagesPerLicenseHandlerFunc ¶
type GetDashboardPackagesPerLicenseHandlerFunc func(GetDashboardPackagesPerLicenseParams) middleware.Responder
GetDashboardPackagesPerLicenseHandlerFunc turns a function with the right signature into a get dashboard packages per license handler
func (GetDashboardPackagesPerLicenseHandlerFunc) Handle ¶
func (fn GetDashboardPackagesPerLicenseHandlerFunc) Handle(params GetDashboardPackagesPerLicenseParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardPackagesPerLicenseOK ¶
type GetDashboardPackagesPerLicenseOK struct { /* In: Body */ Payload []*models.PackagesCountPerLicense `json:"body,omitempty"` }
GetDashboardPackagesPerLicenseOK Success
swagger:response getDashboardPackagesPerLicenseOK
func NewGetDashboardPackagesPerLicenseOK ¶
func NewGetDashboardPackagesPerLicenseOK() *GetDashboardPackagesPerLicenseOK
NewGetDashboardPackagesPerLicenseOK creates GetDashboardPackagesPerLicenseOK with default headers values
func (*GetDashboardPackagesPerLicenseOK) SetPayload ¶
func (o *GetDashboardPackagesPerLicenseOK) SetPayload(payload []*models.PackagesCountPerLicense)
SetPayload sets the payload to the get dashboard packages per license o k response
func (*GetDashboardPackagesPerLicenseOK) WithPayload ¶
func (o *GetDashboardPackagesPerLicenseOK) WithPayload(payload []*models.PackagesCountPerLicense) *GetDashboardPackagesPerLicenseOK
WithPayload adds the payload to the get dashboard packages per license o k response
func (*GetDashboardPackagesPerLicenseOK) WriteResponse ¶
func (o *GetDashboardPackagesPerLicenseOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardPackagesPerLicenseParams ¶
type GetDashboardPackagesPerLicenseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDashboardPackagesPerLicenseParams contains all the bound params for the get dashboard packages per license operation typically these are obtained from a http.Request
swagger:parameters GetDashboardPackagesPerLicense
func NewGetDashboardPackagesPerLicenseParams ¶
func NewGetDashboardPackagesPerLicenseParams() GetDashboardPackagesPerLicenseParams
NewGetDashboardPackagesPerLicenseParams creates a new GetDashboardPackagesPerLicenseParams object
There are no default values defined in the spec.
func (*GetDashboardPackagesPerLicenseParams) BindRequest ¶
func (o *GetDashboardPackagesPerLicenseParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardPackagesPerLicenseParams() beforehand.
type GetDashboardPackagesPerLicenseURL ¶
type GetDashboardPackagesPerLicenseURL struct {
// contains filtered or unexported fields
}
GetDashboardPackagesPerLicenseURL generates an URL for the get dashboard packages per license operation
func (*GetDashboardPackagesPerLicenseURL) Build ¶
func (o *GetDashboardPackagesPerLicenseURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardPackagesPerLicenseURL) BuildFull ¶
func (o *GetDashboardPackagesPerLicenseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardPackagesPerLicenseURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardPackagesPerLicenseURL) SetBasePath ¶
func (o *GetDashboardPackagesPerLicenseURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardPackagesPerLicenseURL) String ¶
func (o *GetDashboardPackagesPerLicenseURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardPackagesPerLicenseURL) StringFull ¶
func (o *GetDashboardPackagesPerLicenseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardPackagesPerLicenseURL) WithBasePath ¶
func (o *GetDashboardPackagesPerLicenseURL) WithBasePath(bp string) *GetDashboardPackagesPerLicenseURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardTrendsVulnerabilities ¶
type GetDashboardTrendsVulnerabilities struct { Context *middleware.Context Handler GetDashboardTrendsVulnerabilitiesHandler }
GetDashboardTrendsVulnerabilities swagger:route GET /dashboard/trends/vulnerabilities getDashboardTrendsVulnerabilities
Get new vulnerabilities trend
func NewGetDashboardTrendsVulnerabilities ¶
func NewGetDashboardTrendsVulnerabilities(ctx *middleware.Context, handler GetDashboardTrendsVulnerabilitiesHandler) *GetDashboardTrendsVulnerabilities
NewGetDashboardTrendsVulnerabilities creates a new http.Handler for the get dashboard trends vulnerabilities operation
func (*GetDashboardTrendsVulnerabilities) ServeHTTP ¶
func (o *GetDashboardTrendsVulnerabilities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardTrendsVulnerabilitiesDefault ¶
type GetDashboardTrendsVulnerabilitiesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardTrendsVulnerabilitiesDefault unknown error
swagger:response getDashboardTrendsVulnerabilitiesDefault
func NewGetDashboardTrendsVulnerabilitiesDefault ¶
func NewGetDashboardTrendsVulnerabilitiesDefault(code int) *GetDashboardTrendsVulnerabilitiesDefault
NewGetDashboardTrendsVulnerabilitiesDefault creates GetDashboardTrendsVulnerabilitiesDefault with default headers values
func (*GetDashboardTrendsVulnerabilitiesDefault) SetPayload ¶
func (o *GetDashboardTrendsVulnerabilitiesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard trends vulnerabilities default response
func (*GetDashboardTrendsVulnerabilitiesDefault) SetStatusCode ¶
func (o *GetDashboardTrendsVulnerabilitiesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard trends vulnerabilities default response
func (*GetDashboardTrendsVulnerabilitiesDefault) WithPayload ¶
func (o *GetDashboardTrendsVulnerabilitiesDefault) WithPayload(payload *models.APIResponse) *GetDashboardTrendsVulnerabilitiesDefault
WithPayload adds the payload to the get dashboard trends vulnerabilities default response
func (*GetDashboardTrendsVulnerabilitiesDefault) WithStatusCode ¶
func (o *GetDashboardTrendsVulnerabilitiesDefault) WithStatusCode(code int) *GetDashboardTrendsVulnerabilitiesDefault
WithStatusCode adds the status to the get dashboard trends vulnerabilities default response
func (*GetDashboardTrendsVulnerabilitiesDefault) WriteResponse ¶
func (o *GetDashboardTrendsVulnerabilitiesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardTrendsVulnerabilitiesHandler ¶
type GetDashboardTrendsVulnerabilitiesHandler interface {
Handle(GetDashboardTrendsVulnerabilitiesParams) middleware.Responder
}
GetDashboardTrendsVulnerabilitiesHandler interface for that can handle valid get dashboard trends vulnerabilities params
type GetDashboardTrendsVulnerabilitiesHandlerFunc ¶
type GetDashboardTrendsVulnerabilitiesHandlerFunc func(GetDashboardTrendsVulnerabilitiesParams) middleware.Responder
GetDashboardTrendsVulnerabilitiesHandlerFunc turns a function with the right signature into a get dashboard trends vulnerabilities handler
func (GetDashboardTrendsVulnerabilitiesHandlerFunc) Handle ¶
func (fn GetDashboardTrendsVulnerabilitiesHandlerFunc) Handle(params GetDashboardTrendsVulnerabilitiesParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardTrendsVulnerabilitiesOK ¶
type GetDashboardTrendsVulnerabilitiesOK struct { /* In: Body */ Payload []*models.NewVulnerabilitiesTrend `json:"body,omitempty"` }
GetDashboardTrendsVulnerabilitiesOK Success
swagger:response getDashboardTrendsVulnerabilitiesOK
func NewGetDashboardTrendsVulnerabilitiesOK ¶
func NewGetDashboardTrendsVulnerabilitiesOK() *GetDashboardTrendsVulnerabilitiesOK
NewGetDashboardTrendsVulnerabilitiesOK creates GetDashboardTrendsVulnerabilitiesOK with default headers values
func (*GetDashboardTrendsVulnerabilitiesOK) SetPayload ¶
func (o *GetDashboardTrendsVulnerabilitiesOK) SetPayload(payload []*models.NewVulnerabilitiesTrend)
SetPayload sets the payload to the get dashboard trends vulnerabilities o k response
func (*GetDashboardTrendsVulnerabilitiesOK) WithPayload ¶
func (o *GetDashboardTrendsVulnerabilitiesOK) WithPayload(payload []*models.NewVulnerabilitiesTrend) *GetDashboardTrendsVulnerabilitiesOK
WithPayload adds the payload to the get dashboard trends vulnerabilities o k response
func (*GetDashboardTrendsVulnerabilitiesOK) WriteResponse ¶
func (o *GetDashboardTrendsVulnerabilitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardTrendsVulnerabilitiesParams ¶
type GetDashboardTrendsVulnerabilitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*End time of the query Required: true In: query */ EndTime strfmt.DateTime /*Start time of the query Required: true In: query */ StartTime strfmt.DateTime }
GetDashboardTrendsVulnerabilitiesParams contains all the bound params for the get dashboard trends vulnerabilities operation typically these are obtained from a http.Request
swagger:parameters GetDashboardTrendsVulnerabilities
func NewGetDashboardTrendsVulnerabilitiesParams ¶
func NewGetDashboardTrendsVulnerabilitiesParams() GetDashboardTrendsVulnerabilitiesParams
NewGetDashboardTrendsVulnerabilitiesParams creates a new GetDashboardTrendsVulnerabilitiesParams object
There are no default values defined in the spec.
func (*GetDashboardTrendsVulnerabilitiesParams) BindRequest ¶
func (o *GetDashboardTrendsVulnerabilitiesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardTrendsVulnerabilitiesParams() beforehand.
type GetDashboardTrendsVulnerabilitiesURL ¶
type GetDashboardTrendsVulnerabilitiesURL struct { EndTime strfmt.DateTime StartTime strfmt.DateTime // contains filtered or unexported fields }
GetDashboardTrendsVulnerabilitiesURL generates an URL for the get dashboard trends vulnerabilities operation
func (*GetDashboardTrendsVulnerabilitiesURL) Build ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardTrendsVulnerabilitiesURL) BuildFull ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardTrendsVulnerabilitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardTrendsVulnerabilitiesURL) SetBasePath ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardTrendsVulnerabilitiesURL) String ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardTrendsVulnerabilitiesURL) StringFull ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardTrendsVulnerabilitiesURL) WithBasePath ¶
func (o *GetDashboardTrendsVulnerabilitiesURL) WithBasePath(bp string) *GetDashboardTrendsVulnerabilitiesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetDashboardVulnerabilitiesWithFix ¶
type GetDashboardVulnerabilitiesWithFix struct { Context *middleware.Context Handler GetDashboardVulnerabilitiesWithFixHandler }
GetDashboardVulnerabilitiesWithFix swagger:route GET /dashboard/vulnerabilitiesWithFix getDashboardVulnerabilitiesWithFix
Get vulnerabilities with fix available per severity
func NewGetDashboardVulnerabilitiesWithFix ¶
func NewGetDashboardVulnerabilitiesWithFix(ctx *middleware.Context, handler GetDashboardVulnerabilitiesWithFixHandler) *GetDashboardVulnerabilitiesWithFix
NewGetDashboardVulnerabilitiesWithFix creates a new http.Handler for the get dashboard vulnerabilities with fix operation
func (*GetDashboardVulnerabilitiesWithFix) ServeHTTP ¶
func (o *GetDashboardVulnerabilitiesWithFix) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetDashboardVulnerabilitiesWithFixDefault ¶
type GetDashboardVulnerabilitiesWithFixDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetDashboardVulnerabilitiesWithFixDefault unknown error
swagger:response getDashboardVulnerabilitiesWithFixDefault
func NewGetDashboardVulnerabilitiesWithFixDefault ¶
func NewGetDashboardVulnerabilitiesWithFixDefault(code int) *GetDashboardVulnerabilitiesWithFixDefault
NewGetDashboardVulnerabilitiesWithFixDefault creates GetDashboardVulnerabilitiesWithFixDefault with default headers values
func (*GetDashboardVulnerabilitiesWithFixDefault) SetPayload ¶
func (o *GetDashboardVulnerabilitiesWithFixDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get dashboard vulnerabilities with fix default response
func (*GetDashboardVulnerabilitiesWithFixDefault) SetStatusCode ¶
func (o *GetDashboardVulnerabilitiesWithFixDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get dashboard vulnerabilities with fix default response
func (*GetDashboardVulnerabilitiesWithFixDefault) WithPayload ¶
func (o *GetDashboardVulnerabilitiesWithFixDefault) WithPayload(payload *models.APIResponse) *GetDashboardVulnerabilitiesWithFixDefault
WithPayload adds the payload to the get dashboard vulnerabilities with fix default response
func (*GetDashboardVulnerabilitiesWithFixDefault) WithStatusCode ¶
func (o *GetDashboardVulnerabilitiesWithFixDefault) WithStatusCode(code int) *GetDashboardVulnerabilitiesWithFixDefault
WithStatusCode adds the status to the get dashboard vulnerabilities with fix default response
func (*GetDashboardVulnerabilitiesWithFixDefault) WriteResponse ¶
func (o *GetDashboardVulnerabilitiesWithFixDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardVulnerabilitiesWithFixHandler ¶
type GetDashboardVulnerabilitiesWithFixHandler interface {
Handle(GetDashboardVulnerabilitiesWithFixParams) middleware.Responder
}
GetDashboardVulnerabilitiesWithFixHandler interface for that can handle valid get dashboard vulnerabilities with fix params
type GetDashboardVulnerabilitiesWithFixHandlerFunc ¶
type GetDashboardVulnerabilitiesWithFixHandlerFunc func(GetDashboardVulnerabilitiesWithFixParams) middleware.Responder
GetDashboardVulnerabilitiesWithFixHandlerFunc turns a function with the right signature into a get dashboard vulnerabilities with fix handler
func (GetDashboardVulnerabilitiesWithFixHandlerFunc) Handle ¶
func (fn GetDashboardVulnerabilitiesWithFixHandlerFunc) Handle(params GetDashboardVulnerabilitiesWithFixParams) middleware.Responder
Handle executing the request and returning a response
type GetDashboardVulnerabilitiesWithFixOK ¶
type GetDashboardVulnerabilitiesWithFixOK struct { /* In: Body */ Payload []*models.VulnerabilitiesWithFix `json:"body,omitempty"` }
GetDashboardVulnerabilitiesWithFixOK Success
swagger:response getDashboardVulnerabilitiesWithFixOK
func NewGetDashboardVulnerabilitiesWithFixOK ¶
func NewGetDashboardVulnerabilitiesWithFixOK() *GetDashboardVulnerabilitiesWithFixOK
NewGetDashboardVulnerabilitiesWithFixOK creates GetDashboardVulnerabilitiesWithFixOK with default headers values
func (*GetDashboardVulnerabilitiesWithFixOK) SetPayload ¶
func (o *GetDashboardVulnerabilitiesWithFixOK) SetPayload(payload []*models.VulnerabilitiesWithFix)
SetPayload sets the payload to the get dashboard vulnerabilities with fix o k response
func (*GetDashboardVulnerabilitiesWithFixOK) WithPayload ¶
func (o *GetDashboardVulnerabilitiesWithFixOK) WithPayload(payload []*models.VulnerabilitiesWithFix) *GetDashboardVulnerabilitiesWithFixOK
WithPayload adds the payload to the get dashboard vulnerabilities with fix o k response
func (*GetDashboardVulnerabilitiesWithFixOK) WriteResponse ¶
func (o *GetDashboardVulnerabilitiesWithFixOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetDashboardVulnerabilitiesWithFixParams ¶
type GetDashboardVulnerabilitiesWithFixParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetDashboardVulnerabilitiesWithFixParams contains all the bound params for the get dashboard vulnerabilities with fix operation typically these are obtained from a http.Request
swagger:parameters GetDashboardVulnerabilitiesWithFix
func NewGetDashboardVulnerabilitiesWithFixParams ¶
func NewGetDashboardVulnerabilitiesWithFixParams() GetDashboardVulnerabilitiesWithFixParams
NewGetDashboardVulnerabilitiesWithFixParams creates a new GetDashboardVulnerabilitiesWithFixParams object
There are no default values defined in the spec.
func (*GetDashboardVulnerabilitiesWithFixParams) BindRequest ¶
func (o *GetDashboardVulnerabilitiesWithFixParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetDashboardVulnerabilitiesWithFixParams() beforehand.
type GetDashboardVulnerabilitiesWithFixURL ¶
type GetDashboardVulnerabilitiesWithFixURL struct {
// contains filtered or unexported fields
}
GetDashboardVulnerabilitiesWithFixURL generates an URL for the get dashboard vulnerabilities with fix operation
func (*GetDashboardVulnerabilitiesWithFixURL) Build ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetDashboardVulnerabilitiesWithFixURL) BuildFull ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetDashboardVulnerabilitiesWithFixURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetDashboardVulnerabilitiesWithFixURL) SetBasePath ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetDashboardVulnerabilitiesWithFixURL) String ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) String() string
String returns the string representation of the path with query string
func (*GetDashboardVulnerabilitiesWithFixURL) StringFull ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetDashboardVulnerabilitiesWithFixURL) WithBasePath ¶
func (o *GetDashboardVulnerabilitiesWithFixURL) WithBasePath(bp string) *GetDashboardVulnerabilitiesWithFixURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNamespaces ¶
type GetNamespaces struct { Context *middleware.Context Handler GetNamespacesHandler }
GetNamespaces swagger:route GET /namespaces getNamespaces
Get list of namespaces in kubernetes cluster
func NewGetNamespaces ¶
func NewGetNamespaces(ctx *middleware.Context, handler GetNamespacesHandler) *GetNamespaces
NewGetNamespaces creates a new http.Handler for the get namespaces operation
func (*GetNamespaces) ServeHTTP ¶
func (o *GetNamespaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNamespacesDefault ¶
type GetNamespacesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetNamespacesDefault unknown error
swagger:response getNamespacesDefault
func NewGetNamespacesDefault ¶
func NewGetNamespacesDefault(code int) *GetNamespacesDefault
NewGetNamespacesDefault creates GetNamespacesDefault with default headers values
func (*GetNamespacesDefault) SetPayload ¶
func (o *GetNamespacesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get namespaces default response
func (*GetNamespacesDefault) SetStatusCode ¶
func (o *GetNamespacesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get namespaces default response
func (*GetNamespacesDefault) WithPayload ¶
func (o *GetNamespacesDefault) WithPayload(payload *models.APIResponse) *GetNamespacesDefault
WithPayload adds the payload to the get namespaces default response
func (*GetNamespacesDefault) WithStatusCode ¶
func (o *GetNamespacesDefault) WithStatusCode(code int) *GetNamespacesDefault
WithStatusCode adds the status to the get namespaces default response
func (*GetNamespacesDefault) WriteResponse ¶
func (o *GetNamespacesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNamespacesHandler ¶
type GetNamespacesHandler interface {
Handle(GetNamespacesParams) middleware.Responder
}
GetNamespacesHandler interface for that can handle valid get namespaces params
type GetNamespacesHandlerFunc ¶
type GetNamespacesHandlerFunc func(GetNamespacesParams) middleware.Responder
GetNamespacesHandlerFunc turns a function with the right signature into a get namespaces handler
func (GetNamespacesHandlerFunc) Handle ¶
func (fn GetNamespacesHandlerFunc) Handle(params GetNamespacesParams) middleware.Responder
Handle executing the request and returning a response
type GetNamespacesOK ¶
GetNamespacesOK Success
swagger:response getNamespacesOK
func NewGetNamespacesOK ¶
func NewGetNamespacesOK() *GetNamespacesOK
NewGetNamespacesOK creates GetNamespacesOK with default headers values
func (*GetNamespacesOK) SetPayload ¶
func (o *GetNamespacesOK) SetPayload(payload []*models.Namespace)
SetPayload sets the payload to the get namespaces o k response
func (*GetNamespacesOK) WithPayload ¶
func (o *GetNamespacesOK) WithPayload(payload []*models.Namespace) *GetNamespacesOK
WithPayload adds the payload to the get namespaces o k response
func (*GetNamespacesOK) WriteResponse ¶
func (o *GetNamespacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNamespacesParams ¶
GetNamespacesParams contains all the bound params for the get namespaces operation typically these are obtained from a http.Request
swagger:parameters GetNamespaces
func NewGetNamespacesParams ¶
func NewGetNamespacesParams() GetNamespacesParams
NewGetNamespacesParams creates a new GetNamespacesParams object
There are no default values defined in the spec.
func (*GetNamespacesParams) BindRequest ¶
func (o *GetNamespacesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNamespacesParams() beforehand.
type GetNamespacesURL ¶
type GetNamespacesURL struct {
// contains filtered or unexported fields
}
GetNamespacesURL generates an URL for the get namespaces operation
func (*GetNamespacesURL) Build ¶
func (o *GetNamespacesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNamespacesURL) BuildFull ¶
func (o *GetNamespacesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNamespacesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNamespacesURL) SetBasePath ¶
func (o *GetNamespacesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNamespacesURL) String ¶
func (o *GetNamespacesURL) String() string
String returns the string representation of the path with query string
func (*GetNamespacesURL) StringFull ¶
func (o *GetNamespacesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNamespacesURL) WithBasePath ¶
func (o *GetNamespacesURL) WithBasePath(bp string) *GetNamespacesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPackages ¶
type GetPackages struct { Context *middleware.Context Handler GetPackagesHandler }
GetPackages swagger:route GET /packages getPackages
Get packages
func NewGetPackages ¶
func NewGetPackages(ctx *middleware.Context, handler GetPackagesHandler) *GetPackages
NewGetPackages creates a new http.Handler for the get packages operation
func (*GetPackages) ServeHTTP ¶
func (o *GetPackages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPackagesDefault ¶
type GetPackagesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetPackagesDefault unknown error
swagger:response getPackagesDefault
func NewGetPackagesDefault ¶
func NewGetPackagesDefault(code int) *GetPackagesDefault
NewGetPackagesDefault creates GetPackagesDefault with default headers values
func (*GetPackagesDefault) SetPayload ¶
func (o *GetPackagesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get packages default response
func (*GetPackagesDefault) SetStatusCode ¶
func (o *GetPackagesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get packages default response
func (*GetPackagesDefault) WithPayload ¶
func (o *GetPackagesDefault) WithPayload(payload *models.APIResponse) *GetPackagesDefault
WithPayload adds the payload to the get packages default response
func (*GetPackagesDefault) WithStatusCode ¶
func (o *GetPackagesDefault) WithStatusCode(code int) *GetPackagesDefault
WithStatusCode adds the status to the get packages default response
func (*GetPackagesDefault) WriteResponse ¶
func (o *GetPackagesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesHandler ¶
type GetPackagesHandler interface {
Handle(GetPackagesParams) middleware.Responder
}
GetPackagesHandler interface for that can handle valid get packages params
type GetPackagesHandlerFunc ¶
type GetPackagesHandlerFunc func(GetPackagesParams) middleware.Responder
GetPackagesHandlerFunc turns a function with the right signature into a get packages handler
func (GetPackagesHandlerFunc) Handle ¶
func (fn GetPackagesHandlerFunc) Handle(params GetPackagesParams) middleware.Responder
Handle executing the request and returning a response
type GetPackagesID ¶
type GetPackagesID struct { Context *middleware.Context Handler GetPackagesIDHandler }
GetPackagesID swagger:route GET /packages/{id} getPackagesId
Get Package.
func NewGetPackagesID ¶
func NewGetPackagesID(ctx *middleware.Context, handler GetPackagesIDHandler) *GetPackagesID
NewGetPackagesID creates a new http.Handler for the get packages ID operation
func (*GetPackagesID) ServeHTTP ¶
func (o *GetPackagesID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPackagesIDApplicationResources ¶
type GetPackagesIDApplicationResources struct { Context *middleware.Context Handler GetPackagesIDApplicationResourcesHandler }
GetPackagesIDApplicationResources swagger:route GET /packages/{id}/applicationResources getPackagesIdApplicationResources
Get Package application resources
func NewGetPackagesIDApplicationResources ¶
func NewGetPackagesIDApplicationResources(ctx *middleware.Context, handler GetPackagesIDApplicationResourcesHandler) *GetPackagesIDApplicationResources
NewGetPackagesIDApplicationResources creates a new http.Handler for the get packages ID application resources operation
func (*GetPackagesIDApplicationResources) ServeHTTP ¶
func (o *GetPackagesIDApplicationResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetPackagesIDApplicationResourcesDefault ¶
type GetPackagesIDApplicationResourcesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetPackagesIDApplicationResourcesDefault unknown error
swagger:response getPackagesIdApplicationResourcesDefault
func NewGetPackagesIDApplicationResourcesDefault ¶
func NewGetPackagesIDApplicationResourcesDefault(code int) *GetPackagesIDApplicationResourcesDefault
NewGetPackagesIDApplicationResourcesDefault creates GetPackagesIDApplicationResourcesDefault with default headers values
func (*GetPackagesIDApplicationResourcesDefault) SetPayload ¶
func (o *GetPackagesIDApplicationResourcesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get packages ID application resources default response
func (*GetPackagesIDApplicationResourcesDefault) SetStatusCode ¶
func (o *GetPackagesIDApplicationResourcesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get packages ID application resources default response
func (*GetPackagesIDApplicationResourcesDefault) WithPayload ¶
func (o *GetPackagesIDApplicationResourcesDefault) WithPayload(payload *models.APIResponse) *GetPackagesIDApplicationResourcesDefault
WithPayload adds the payload to the get packages ID application resources default response
func (*GetPackagesIDApplicationResourcesDefault) WithStatusCode ¶
func (o *GetPackagesIDApplicationResourcesDefault) WithStatusCode(code int) *GetPackagesIDApplicationResourcesDefault
WithStatusCode adds the status to the get packages ID application resources default response
func (*GetPackagesIDApplicationResourcesDefault) WriteResponse ¶
func (o *GetPackagesIDApplicationResourcesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDApplicationResourcesHandler ¶
type GetPackagesIDApplicationResourcesHandler interface {
Handle(GetPackagesIDApplicationResourcesParams) middleware.Responder
}
GetPackagesIDApplicationResourcesHandler interface for that can handle valid get packages ID application resources params
type GetPackagesIDApplicationResourcesHandlerFunc ¶
type GetPackagesIDApplicationResourcesHandlerFunc func(GetPackagesIDApplicationResourcesParams) middleware.Responder
GetPackagesIDApplicationResourcesHandlerFunc turns a function with the right signature into a get packages ID application resources handler
func (GetPackagesIDApplicationResourcesHandlerFunc) Handle ¶
func (fn GetPackagesIDApplicationResourcesHandlerFunc) Handle(params GetPackagesIDApplicationResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetPackagesIDApplicationResourcesNotFound ¶
type GetPackagesIDApplicationResourcesNotFound struct { }
GetPackagesIDApplicationResourcesNotFound Package ID not found.
swagger:response getPackagesIdApplicationResourcesNotFound
func NewGetPackagesIDApplicationResourcesNotFound ¶
func NewGetPackagesIDApplicationResourcesNotFound() *GetPackagesIDApplicationResourcesNotFound
NewGetPackagesIDApplicationResourcesNotFound creates GetPackagesIDApplicationResourcesNotFound with default headers values
func (*GetPackagesIDApplicationResourcesNotFound) WriteResponse ¶
func (o *GetPackagesIDApplicationResourcesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDApplicationResourcesOK ¶
type GetPackagesIDApplicationResourcesOK struct { /* In: Body */ Payload *GetPackagesIDApplicationResourcesOKBody `json:"body,omitempty"` }
GetPackagesIDApplicationResourcesOK Success
swagger:response getPackagesIdApplicationResourcesOK
func NewGetPackagesIDApplicationResourcesOK ¶
func NewGetPackagesIDApplicationResourcesOK() *GetPackagesIDApplicationResourcesOK
NewGetPackagesIDApplicationResourcesOK creates GetPackagesIDApplicationResourcesOK with default headers values
func (*GetPackagesIDApplicationResourcesOK) SetPayload ¶
func (o *GetPackagesIDApplicationResourcesOK) SetPayload(payload *GetPackagesIDApplicationResourcesOKBody)
SetPayload sets the payload to the get packages Id application resources o k response
func (*GetPackagesIDApplicationResourcesOK) WithPayload ¶
func (o *GetPackagesIDApplicationResourcesOK) WithPayload(payload *GetPackagesIDApplicationResourcesOKBody) *GetPackagesIDApplicationResourcesOK
WithPayload adds the payload to the get packages Id application resources o k response
func (*GetPackagesIDApplicationResourcesOK) WriteResponse ¶
func (o *GetPackagesIDApplicationResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDApplicationResourcesOKBody ¶
type GetPackagesIDApplicationResourcesOKBody struct { // List of package application resources in the given filters and page. List length must be lower or equal to pageSize Items []*models.PackageApplicationResources `json:"items"` // Total package application resources count under the given filters // Required: true Total *int64 `json:"total"` }
GetPackagesIDApplicationResourcesOKBody get packages ID application resources o k body
swagger:model GetPackagesIDApplicationResourcesOKBody
func (*GetPackagesIDApplicationResourcesOKBody) ContextValidate ¶
func (o *GetPackagesIDApplicationResourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get packages ID application resources o k body based on the context it is used
func (*GetPackagesIDApplicationResourcesOKBody) MarshalBinary ¶
func (o *GetPackagesIDApplicationResourcesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPackagesIDApplicationResourcesOKBody) UnmarshalBinary ¶
func (o *GetPackagesIDApplicationResourcesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPackagesIDApplicationResourcesParams ¶
type GetPackagesIDApplicationResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string /*Page number of the query Required: true In: query */ Page int64 /*Maximum items to return Required: true Maximum: 50 Minimum: 1 In: query */ PageSize int64 /* In: query */ ReportingSBOMAnalyzersContainElements []string /* In: query */ ReportingSBOMAnalyzersDoesntContainElements []string /* In: query */ ResourceHashContains []string /* In: query */ ResourceHashEnd *string /* In: query */ ResourceHashIsNot []string /* In: query */ ResourceHashIs []string /* In: query */ ResourceHashStart *string /* In: query */ ResourceNameContains []string /* In: query */ ResourceNameEnd *string /* In: query */ ResourceNameIsNot []string /* In: query */ ResourceNameIs []string /* In: query */ ResourceNameStart *string /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string }
GetPackagesIDApplicationResourcesParams contains all the bound params for the get packages ID application resources operation typically these are obtained from a http.Request
swagger:parameters GetPackagesIDApplicationResources
func NewGetPackagesIDApplicationResourcesParams ¶
func NewGetPackagesIDApplicationResourcesParams() GetPackagesIDApplicationResourcesParams
NewGetPackagesIDApplicationResourcesParams creates a new GetPackagesIDApplicationResourcesParams object with the default values initialized.
func (*GetPackagesIDApplicationResourcesParams) BindRequest ¶
func (o *GetPackagesIDApplicationResourcesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPackagesIDApplicationResourcesParams() beforehand.
type GetPackagesIDApplicationResourcesURL ¶
type GetPackagesIDApplicationResourcesURL struct { ID string Page int64 PageSize int64 ReportingSBOMAnalyzersContainElements []string ReportingSBOMAnalyzersDoesntContainElements []string ResourceHashContains []string ResourceHashEnd *string ResourceHashIsNot []string ResourceHashIs []string ResourceHashStart *string ResourceNameContains []string ResourceNameEnd *string ResourceNameIsNot []string ResourceNameIs []string ResourceNameStart *string SortDir *string SortKey string // contains filtered or unexported fields }
GetPackagesIDApplicationResourcesURL generates an URL for the get packages ID application resources operation
func (*GetPackagesIDApplicationResourcesURL) Build ¶
func (o *GetPackagesIDApplicationResourcesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPackagesIDApplicationResourcesURL) BuildFull ¶
func (o *GetPackagesIDApplicationResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPackagesIDApplicationResourcesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPackagesIDApplicationResourcesURL) SetBasePath ¶
func (o *GetPackagesIDApplicationResourcesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPackagesIDApplicationResourcesURL) String ¶
func (o *GetPackagesIDApplicationResourcesURL) String() string
String returns the string representation of the path with query string
func (*GetPackagesIDApplicationResourcesURL) StringFull ¶
func (o *GetPackagesIDApplicationResourcesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPackagesIDApplicationResourcesURL) WithBasePath ¶
func (o *GetPackagesIDApplicationResourcesURL) WithBasePath(bp string) *GetPackagesIDApplicationResourcesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPackagesIDDefault ¶
type GetPackagesIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetPackagesIDDefault unknown error
swagger:response getPackagesIdDefault
func NewGetPackagesIDDefault ¶
func NewGetPackagesIDDefault(code int) *GetPackagesIDDefault
NewGetPackagesIDDefault creates GetPackagesIDDefault with default headers values
func (*GetPackagesIDDefault) SetPayload ¶
func (o *GetPackagesIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get packages ID default response
func (*GetPackagesIDDefault) SetStatusCode ¶
func (o *GetPackagesIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get packages ID default response
func (*GetPackagesIDDefault) WithPayload ¶
func (o *GetPackagesIDDefault) WithPayload(payload *models.APIResponse) *GetPackagesIDDefault
WithPayload adds the payload to the get packages ID default response
func (*GetPackagesIDDefault) WithStatusCode ¶
func (o *GetPackagesIDDefault) WithStatusCode(code int) *GetPackagesIDDefault
WithStatusCode adds the status to the get packages ID default response
func (*GetPackagesIDDefault) WriteResponse ¶
func (o *GetPackagesIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDHandler ¶
type GetPackagesIDHandler interface {
Handle(GetPackagesIDParams) middleware.Responder
}
GetPackagesIDHandler interface for that can handle valid get packages ID params
type GetPackagesIDHandlerFunc ¶
type GetPackagesIDHandlerFunc func(GetPackagesIDParams) middleware.Responder
GetPackagesIDHandlerFunc turns a function with the right signature into a get packages ID handler
func (GetPackagesIDHandlerFunc) Handle ¶
func (fn GetPackagesIDHandlerFunc) Handle(params GetPackagesIDParams) middleware.Responder
Handle executing the request and returning a response
type GetPackagesIDNotFound ¶
type GetPackagesIDNotFound struct { }
GetPackagesIDNotFound Package ID not found.
swagger:response getPackagesIdNotFound
func NewGetPackagesIDNotFound ¶
func NewGetPackagesIDNotFound() *GetPackagesIDNotFound
NewGetPackagesIDNotFound creates GetPackagesIDNotFound with default headers values
func (*GetPackagesIDNotFound) WriteResponse ¶
func (o *GetPackagesIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDOK ¶
GetPackagesIDOK Success
swagger:response getPackagesIdOK
func NewGetPackagesIDOK ¶
func NewGetPackagesIDOK() *GetPackagesIDOK
NewGetPackagesIDOK creates GetPackagesIDOK with default headers values
func (*GetPackagesIDOK) SetPayload ¶
func (o *GetPackagesIDOK) SetPayload(payload *models.Package)
SetPayload sets the payload to the get packages Id o k response
func (*GetPackagesIDOK) WithPayload ¶
func (o *GetPackagesIDOK) WithPayload(payload *models.Package) *GetPackagesIDOK
WithPayload adds the payload to the get packages Id o k response
func (*GetPackagesIDOK) WriteResponse ¶
func (o *GetPackagesIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesIDParams ¶
type GetPackagesIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ ID string }
GetPackagesIDParams contains all the bound params for the get packages ID operation typically these are obtained from a http.Request
swagger:parameters GetPackagesID
func NewGetPackagesIDParams ¶
func NewGetPackagesIDParams() GetPackagesIDParams
NewGetPackagesIDParams creates a new GetPackagesIDParams object
There are no default values defined in the spec.
func (*GetPackagesIDParams) BindRequest ¶
func (o *GetPackagesIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPackagesIDParams() beforehand.
type GetPackagesIDURL ¶
type GetPackagesIDURL struct { ID string // contains filtered or unexported fields }
GetPackagesIDURL generates an URL for the get packages ID operation
func (*GetPackagesIDURL) Build ¶
func (o *GetPackagesIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPackagesIDURL) BuildFull ¶
func (o *GetPackagesIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPackagesIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPackagesIDURL) SetBasePath ¶
func (o *GetPackagesIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPackagesIDURL) String ¶
func (o *GetPackagesIDURL) String() string
String returns the string representation of the path with query string
func (*GetPackagesIDURL) StringFull ¶
func (o *GetPackagesIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPackagesIDURL) WithBasePath ¶
func (o *GetPackagesIDURL) WithBasePath(bp string) *GetPackagesIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetPackagesOK ¶
type GetPackagesOK struct { /* In: Body */ Payload *GetPackagesOKBody `json:"body,omitempty"` }
GetPackagesOK Success
swagger:response getPackagesOK
func NewGetPackagesOK ¶
func NewGetPackagesOK() *GetPackagesOK
NewGetPackagesOK creates GetPackagesOK with default headers values
func (*GetPackagesOK) SetPayload ¶
func (o *GetPackagesOK) SetPayload(payload *GetPackagesOKBody)
SetPayload sets the payload to the get packages o k response
func (*GetPackagesOK) WithPayload ¶
func (o *GetPackagesOK) WithPayload(payload *GetPackagesOKBody) *GetPackagesOK
WithPayload adds the payload to the get packages o k response
func (*GetPackagesOK) WriteResponse ¶
func (o *GetPackagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetPackagesOKBody ¶
type GetPackagesOKBody struct { // List of packages in the given filters and page. List length must be lower or equal to pageSize Items []*models.Package `json:"items"` // Total packages count under the given filters // Required: true Total *int64 `json:"total"` }
GetPackagesOKBody get packages o k body
swagger:model GetPackagesOKBody
func (*GetPackagesOKBody) ContextValidate ¶
ContextValidate validate this get packages o k body based on the context it is used
func (*GetPackagesOKBody) MarshalBinary ¶
func (o *GetPackagesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPackagesOKBody) UnmarshalBinary ¶
func (o *GetPackagesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPackagesParams ¶
type GetPackagesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationID *string /*application resource ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationResourceID *string /*greater than or equal In: query */ ApplicationResourcesGte *int64 /* In: query */ ApplicationResourcesIsNot []int64 /* In: query */ ApplicationResourcesIs []int64 /*less than or equal In: query */ ApplicationResourcesLte *int64 /*greater than or equal In: query */ ApplicationsGte *int64 /* In: query */ ApplicationsIsNot []int64 /* In: query */ ApplicationsIs []int64 /*less than or equal In: query */ ApplicationsLte *int64 /*current runtime scan system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ CurrentRuntimeScan *bool /* In: query */ LanguageContains []string /* In: query */ LanguageEnd *string /* In: query */ LanguageIsNot []string /* In: query */ LanguageIs []string /* In: query */ LanguageStart *string /* In: query */ LicenseContains []string /* In: query */ LicenseEnd *string /* In: query */ LicenseIsNot []string /* In: query */ LicenseIs []string /* In: query */ LicenseStart *string /* In: query */ PackageNameContains []string /* In: query */ PackageNameEnd *string /* In: query */ PackageNameIsNot []string /* In: query */ PackageNameIs []string /* In: query */ PackageNameStart *string /* In: query */ PackageVersionContains []string /* In: query */ PackageVersionEnd *string /* In: query */ PackageVersionIsNot []string /* In: query */ PackageVersionIs []string /* In: query */ PackageVersionStart *string /*Page number of the query Required: true In: query */ Page int64 /*Maximum items to return Required: true Maximum: 50 Minimum: 1 In: query */ PageSize int64 /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string /* In: query */ VulnerabilitySeverityGte *string /* In: query */ VulnerabilitySeverityLte *string }
GetPackagesParams contains all the bound params for the get packages operation typically these are obtained from a http.Request
swagger:parameters GetPackages
func NewGetPackagesParams ¶
func NewGetPackagesParams() GetPackagesParams
NewGetPackagesParams creates a new GetPackagesParams object with the default values initialized.
func (*GetPackagesParams) BindRequest ¶
func (o *GetPackagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetPackagesParams() beforehand.
type GetPackagesURL ¶
type GetPackagesURL struct { ApplicationID *string ApplicationResourceID *string ApplicationResourcesGte *int64 ApplicationResourcesIsNot []int64 ApplicationResourcesIs []int64 ApplicationResourcesLte *int64 ApplicationsGte *int64 ApplicationsIsNot []int64 ApplicationsIs []int64 ApplicationsLte *int64 CurrentRuntimeScan *bool LanguageContains []string LanguageEnd *string LanguageIsNot []string LanguageIs []string LanguageStart *string LicenseContains []string LicenseEnd *string LicenseIsNot []string LicenseIs []string LicenseStart *string PackageNameContains []string PackageNameEnd *string PackageNameIsNot []string PackageNameIs []string PackageNameStart *string PackageVersionContains []string PackageVersionEnd *string PackageVersionIsNot []string PackageVersionIs []string PackageVersionStart *string Page int64 PageSize int64 SortDir *string SortKey string VulnerabilitySeverityGte *string VulnerabilitySeverityLte *string // contains filtered or unexported fields }
GetPackagesURL generates an URL for the get packages operation
func (*GetPackagesURL) Build ¶
func (o *GetPackagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetPackagesURL) BuildFull ¶
func (o *GetPackagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetPackagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetPackagesURL) SetBasePath ¶
func (o *GetPackagesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetPackagesURL) String ¶
func (o *GetPackagesURL) String() string
String returns the string representation of the path with query string
func (*GetPackagesURL) StringFull ¶
func (o *GetPackagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetPackagesURL) WithBasePath ¶
func (o *GetPackagesURL) WithBasePath(bp string) *GetPackagesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetRuntimeQuickscanConfig ¶
type GetRuntimeQuickscanConfig struct { Context *middleware.Context Handler GetRuntimeQuickscanConfigHandler }
GetRuntimeQuickscanConfig swagger:route GET /runtime/quickscan/config getRuntimeQuickscanConfig
Get runtime quick scan configuration
func NewGetRuntimeQuickscanConfig ¶
func NewGetRuntimeQuickscanConfig(ctx *middleware.Context, handler GetRuntimeQuickscanConfigHandler) *GetRuntimeQuickscanConfig
NewGetRuntimeQuickscanConfig creates a new http.Handler for the get runtime quickscan config operation
func (*GetRuntimeQuickscanConfig) ServeHTTP ¶
func (o *GetRuntimeQuickscanConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRuntimeQuickscanConfigDefault ¶
type GetRuntimeQuickscanConfigDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetRuntimeQuickscanConfigDefault unknown error
swagger:response getRuntimeQuickscanConfigDefault
func NewGetRuntimeQuickscanConfigDefault ¶
func NewGetRuntimeQuickscanConfigDefault(code int) *GetRuntimeQuickscanConfigDefault
NewGetRuntimeQuickscanConfigDefault creates GetRuntimeQuickscanConfigDefault with default headers values
func (*GetRuntimeQuickscanConfigDefault) SetPayload ¶
func (o *GetRuntimeQuickscanConfigDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get runtime quickscan config default response
func (*GetRuntimeQuickscanConfigDefault) SetStatusCode ¶
func (o *GetRuntimeQuickscanConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get runtime quickscan config default response
func (*GetRuntimeQuickscanConfigDefault) WithPayload ¶
func (o *GetRuntimeQuickscanConfigDefault) WithPayload(payload *models.APIResponse) *GetRuntimeQuickscanConfigDefault
WithPayload adds the payload to the get runtime quickscan config default response
func (*GetRuntimeQuickscanConfigDefault) WithStatusCode ¶
func (o *GetRuntimeQuickscanConfigDefault) WithStatusCode(code int) *GetRuntimeQuickscanConfigDefault
WithStatusCode adds the status to the get runtime quickscan config default response
func (*GetRuntimeQuickscanConfigDefault) WriteResponse ¶
func (o *GetRuntimeQuickscanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeQuickscanConfigHandler ¶
type GetRuntimeQuickscanConfigHandler interface {
Handle(GetRuntimeQuickscanConfigParams) middleware.Responder
}
GetRuntimeQuickscanConfigHandler interface for that can handle valid get runtime quickscan config params
type GetRuntimeQuickscanConfigHandlerFunc ¶
type GetRuntimeQuickscanConfigHandlerFunc func(GetRuntimeQuickscanConfigParams) middleware.Responder
GetRuntimeQuickscanConfigHandlerFunc turns a function with the right signature into a get runtime quickscan config handler
func (GetRuntimeQuickscanConfigHandlerFunc) Handle ¶
func (fn GetRuntimeQuickscanConfigHandlerFunc) Handle(params GetRuntimeQuickscanConfigParams) middleware.Responder
Handle executing the request and returning a response
type GetRuntimeQuickscanConfigOK ¶
type GetRuntimeQuickscanConfigOK struct { /* In: Body */ Payload *models.RuntimeQuickScanConfig `json:"body,omitempty"` }
GetRuntimeQuickscanConfigOK Success
swagger:response getRuntimeQuickscanConfigOK
func NewGetRuntimeQuickscanConfigOK ¶
func NewGetRuntimeQuickscanConfigOK() *GetRuntimeQuickscanConfigOK
NewGetRuntimeQuickscanConfigOK creates GetRuntimeQuickscanConfigOK with default headers values
func (*GetRuntimeQuickscanConfigOK) SetPayload ¶
func (o *GetRuntimeQuickscanConfigOK) SetPayload(payload *models.RuntimeQuickScanConfig)
SetPayload sets the payload to the get runtime quickscan config o k response
func (*GetRuntimeQuickscanConfigOK) WithPayload ¶
func (o *GetRuntimeQuickscanConfigOK) WithPayload(payload *models.RuntimeQuickScanConfig) *GetRuntimeQuickscanConfigOK
WithPayload adds the payload to the get runtime quickscan config o k response
func (*GetRuntimeQuickscanConfigOK) WriteResponse ¶
func (o *GetRuntimeQuickscanConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeQuickscanConfigParams ¶
type GetRuntimeQuickscanConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetRuntimeQuickscanConfigParams contains all the bound params for the get runtime quickscan config operation typically these are obtained from a http.Request
swagger:parameters GetRuntimeQuickscanConfig
func NewGetRuntimeQuickscanConfigParams ¶
func NewGetRuntimeQuickscanConfigParams() GetRuntimeQuickscanConfigParams
NewGetRuntimeQuickscanConfigParams creates a new GetRuntimeQuickscanConfigParams object
There are no default values defined in the spec.
func (*GetRuntimeQuickscanConfigParams) BindRequest ¶
func (o *GetRuntimeQuickscanConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetRuntimeQuickscanConfigParams() beforehand.
type GetRuntimeQuickscanConfigURL ¶
type GetRuntimeQuickscanConfigURL struct {
// contains filtered or unexported fields
}
GetRuntimeQuickscanConfigURL generates an URL for the get runtime quickscan config operation
func (*GetRuntimeQuickscanConfigURL) Build ¶
func (o *GetRuntimeQuickscanConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRuntimeQuickscanConfigURL) BuildFull ¶
func (o *GetRuntimeQuickscanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRuntimeQuickscanConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRuntimeQuickscanConfigURL) SetBasePath ¶
func (o *GetRuntimeQuickscanConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetRuntimeQuickscanConfigURL) String ¶
func (o *GetRuntimeQuickscanConfigURL) String() string
String returns the string representation of the path with query string
func (*GetRuntimeQuickscanConfigURL) StringFull ¶
func (o *GetRuntimeQuickscanConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRuntimeQuickscanConfigURL) WithBasePath ¶
func (o *GetRuntimeQuickscanConfigURL) WithBasePath(bp string) *GetRuntimeQuickscanConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetRuntimeScanProgress ¶
type GetRuntimeScanProgress struct { Context *middleware.Context Handler GetRuntimeScanProgressHandler }
GetRuntimeScanProgress swagger:route GET /runtime/scan/progress getRuntimeScanProgress
Get scan progress
func NewGetRuntimeScanProgress ¶
func NewGetRuntimeScanProgress(ctx *middleware.Context, handler GetRuntimeScanProgressHandler) *GetRuntimeScanProgress
NewGetRuntimeScanProgress creates a new http.Handler for the get runtime scan progress operation
func (*GetRuntimeScanProgress) ServeHTTP ¶
func (o *GetRuntimeScanProgress) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRuntimeScanProgressDefault ¶
type GetRuntimeScanProgressDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetRuntimeScanProgressDefault unknown error
swagger:response getRuntimeScanProgressDefault
func NewGetRuntimeScanProgressDefault ¶
func NewGetRuntimeScanProgressDefault(code int) *GetRuntimeScanProgressDefault
NewGetRuntimeScanProgressDefault creates GetRuntimeScanProgressDefault with default headers values
func (*GetRuntimeScanProgressDefault) SetPayload ¶
func (o *GetRuntimeScanProgressDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get runtime scan progress default response
func (*GetRuntimeScanProgressDefault) SetStatusCode ¶
func (o *GetRuntimeScanProgressDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get runtime scan progress default response
func (*GetRuntimeScanProgressDefault) WithPayload ¶
func (o *GetRuntimeScanProgressDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScanProgressDefault
WithPayload adds the payload to the get runtime scan progress default response
func (*GetRuntimeScanProgressDefault) WithStatusCode ¶
func (o *GetRuntimeScanProgressDefault) WithStatusCode(code int) *GetRuntimeScanProgressDefault
WithStatusCode adds the status to the get runtime scan progress default response
func (*GetRuntimeScanProgressDefault) WriteResponse ¶
func (o *GetRuntimeScanProgressDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScanProgressHandler ¶
type GetRuntimeScanProgressHandler interface {
Handle(GetRuntimeScanProgressParams) middleware.Responder
}
GetRuntimeScanProgressHandler interface for that can handle valid get runtime scan progress params
type GetRuntimeScanProgressHandlerFunc ¶
type GetRuntimeScanProgressHandlerFunc func(GetRuntimeScanProgressParams) middleware.Responder
GetRuntimeScanProgressHandlerFunc turns a function with the right signature into a get runtime scan progress handler
func (GetRuntimeScanProgressHandlerFunc) Handle ¶
func (fn GetRuntimeScanProgressHandlerFunc) Handle(params GetRuntimeScanProgressParams) middleware.Responder
Handle executing the request and returning a response
type GetRuntimeScanProgressOK ¶
type GetRuntimeScanProgressOK struct { /* In: Body */ Payload *models.Progress `json:"body,omitempty"` }
GetRuntimeScanProgressOK Success
swagger:response getRuntimeScanProgressOK
func NewGetRuntimeScanProgressOK ¶
func NewGetRuntimeScanProgressOK() *GetRuntimeScanProgressOK
NewGetRuntimeScanProgressOK creates GetRuntimeScanProgressOK with default headers values
func (*GetRuntimeScanProgressOK) SetPayload ¶
func (o *GetRuntimeScanProgressOK) SetPayload(payload *models.Progress)
SetPayload sets the payload to the get runtime scan progress o k response
func (*GetRuntimeScanProgressOK) WithPayload ¶
func (o *GetRuntimeScanProgressOK) WithPayload(payload *models.Progress) *GetRuntimeScanProgressOK
WithPayload adds the payload to the get runtime scan progress o k response
func (*GetRuntimeScanProgressOK) WriteResponse ¶
func (o *GetRuntimeScanProgressOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScanProgressParams ¶
type GetRuntimeScanProgressParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetRuntimeScanProgressParams contains all the bound params for the get runtime scan progress operation typically these are obtained from a http.Request
swagger:parameters GetRuntimeScanProgress
func NewGetRuntimeScanProgressParams ¶
func NewGetRuntimeScanProgressParams() GetRuntimeScanProgressParams
NewGetRuntimeScanProgressParams creates a new GetRuntimeScanProgressParams object
There are no default values defined in the spec.
func (*GetRuntimeScanProgressParams) BindRequest ¶
func (o *GetRuntimeScanProgressParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetRuntimeScanProgressParams() beforehand.
type GetRuntimeScanProgressURL ¶
type GetRuntimeScanProgressURL struct {
// contains filtered or unexported fields
}
GetRuntimeScanProgressURL generates an URL for the get runtime scan progress operation
func (*GetRuntimeScanProgressURL) Build ¶
func (o *GetRuntimeScanProgressURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRuntimeScanProgressURL) BuildFull ¶
func (o *GetRuntimeScanProgressURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRuntimeScanProgressURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRuntimeScanProgressURL) SetBasePath ¶
func (o *GetRuntimeScanProgressURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetRuntimeScanProgressURL) String ¶
func (o *GetRuntimeScanProgressURL) String() string
String returns the string representation of the path with query string
func (*GetRuntimeScanProgressURL) StringFull ¶
func (o *GetRuntimeScanProgressURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRuntimeScanProgressURL) WithBasePath ¶
func (o *GetRuntimeScanProgressURL) WithBasePath(bp string) *GetRuntimeScanProgressURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetRuntimeScanResults ¶
type GetRuntimeScanResults struct { Context *middleware.Context Handler GetRuntimeScanResultsHandler }
GetRuntimeScanResults swagger:route GET /runtime/scan/results getRuntimeScanResults
Get scan results
func NewGetRuntimeScanResults ¶
func NewGetRuntimeScanResults(ctx *middleware.Context, handler GetRuntimeScanResultsHandler) *GetRuntimeScanResults
NewGetRuntimeScanResults creates a new http.Handler for the get runtime scan results operation
func (*GetRuntimeScanResults) ServeHTTP ¶
func (o *GetRuntimeScanResults) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRuntimeScanResultsDefault ¶
type GetRuntimeScanResultsDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetRuntimeScanResultsDefault unknown error
swagger:response getRuntimeScanResultsDefault
func NewGetRuntimeScanResultsDefault ¶
func NewGetRuntimeScanResultsDefault(code int) *GetRuntimeScanResultsDefault
NewGetRuntimeScanResultsDefault creates GetRuntimeScanResultsDefault with default headers values
func (*GetRuntimeScanResultsDefault) SetPayload ¶
func (o *GetRuntimeScanResultsDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get runtime scan results default response
func (*GetRuntimeScanResultsDefault) SetStatusCode ¶
func (o *GetRuntimeScanResultsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get runtime scan results default response
func (*GetRuntimeScanResultsDefault) WithPayload ¶
func (o *GetRuntimeScanResultsDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScanResultsDefault
WithPayload adds the payload to the get runtime scan results default response
func (*GetRuntimeScanResultsDefault) WithStatusCode ¶
func (o *GetRuntimeScanResultsDefault) WithStatusCode(code int) *GetRuntimeScanResultsDefault
WithStatusCode adds the status to the get runtime scan results default response
func (*GetRuntimeScanResultsDefault) WriteResponse ¶
func (o *GetRuntimeScanResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScanResultsHandler ¶
type GetRuntimeScanResultsHandler interface {
Handle(GetRuntimeScanResultsParams) middleware.Responder
}
GetRuntimeScanResultsHandler interface for that can handle valid get runtime scan results params
type GetRuntimeScanResultsHandlerFunc ¶
type GetRuntimeScanResultsHandlerFunc func(GetRuntimeScanResultsParams) middleware.Responder
GetRuntimeScanResultsHandlerFunc turns a function with the right signature into a get runtime scan results handler
func (GetRuntimeScanResultsHandlerFunc) Handle ¶
func (fn GetRuntimeScanResultsHandlerFunc) Handle(params GetRuntimeScanResultsParams) middleware.Responder
Handle executing the request and returning a response
type GetRuntimeScanResultsOK ¶
type GetRuntimeScanResultsOK struct { /* In: Body */ Payload *models.RuntimeScanResults `json:"body,omitempty"` }
GetRuntimeScanResultsOK Success
swagger:response getRuntimeScanResultsOK
func NewGetRuntimeScanResultsOK ¶
func NewGetRuntimeScanResultsOK() *GetRuntimeScanResultsOK
NewGetRuntimeScanResultsOK creates GetRuntimeScanResultsOK with default headers values
func (*GetRuntimeScanResultsOK) SetPayload ¶
func (o *GetRuntimeScanResultsOK) SetPayload(payload *models.RuntimeScanResults)
SetPayload sets the payload to the get runtime scan results o k response
func (*GetRuntimeScanResultsOK) WithPayload ¶
func (o *GetRuntimeScanResultsOK) WithPayload(payload *models.RuntimeScanResults) *GetRuntimeScanResultsOK
WithPayload adds the payload to the get runtime scan results o k response
func (*GetRuntimeScanResultsOK) WriteResponse ¶
func (o *GetRuntimeScanResultsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScanResultsParams ¶
type GetRuntimeScanResultsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ CisDockerBenchmarkLevelGte *string /* In: query */ VulnerabilitySeverityGte *string }
GetRuntimeScanResultsParams contains all the bound params for the get runtime scan results operation typically these are obtained from a http.Request
swagger:parameters GetRuntimeScanResults
func NewGetRuntimeScanResultsParams ¶
func NewGetRuntimeScanResultsParams() GetRuntimeScanResultsParams
NewGetRuntimeScanResultsParams creates a new GetRuntimeScanResultsParams object
There are no default values defined in the spec.
func (*GetRuntimeScanResultsParams) BindRequest ¶
func (o *GetRuntimeScanResultsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetRuntimeScanResultsParams() beforehand.
type GetRuntimeScanResultsURL ¶
type GetRuntimeScanResultsURL struct { CisDockerBenchmarkLevelGte *string VulnerabilitySeverityGte *string // contains filtered or unexported fields }
GetRuntimeScanResultsURL generates an URL for the get runtime scan results operation
func (*GetRuntimeScanResultsURL) Build ¶
func (o *GetRuntimeScanResultsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRuntimeScanResultsURL) BuildFull ¶
func (o *GetRuntimeScanResultsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRuntimeScanResultsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRuntimeScanResultsURL) SetBasePath ¶
func (o *GetRuntimeScanResultsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetRuntimeScanResultsURL) String ¶
func (o *GetRuntimeScanResultsURL) String() string
String returns the string representation of the path with query string
func (*GetRuntimeScanResultsURL) StringFull ¶
func (o *GetRuntimeScanResultsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRuntimeScanResultsURL) WithBasePath ¶
func (o *GetRuntimeScanResultsURL) WithBasePath(bp string) *GetRuntimeScanResultsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetRuntimeScheduleScanConfig ¶
type GetRuntimeScheduleScanConfig struct { Context *middleware.Context Handler GetRuntimeScheduleScanConfigHandler }
GetRuntimeScheduleScanConfig swagger:route GET /runtime/scheduleScan/config getRuntimeScheduleScanConfig
Get runtime scheduled scan configuration
func NewGetRuntimeScheduleScanConfig ¶
func NewGetRuntimeScheduleScanConfig(ctx *middleware.Context, handler GetRuntimeScheduleScanConfigHandler) *GetRuntimeScheduleScanConfig
NewGetRuntimeScheduleScanConfig creates a new http.Handler for the get runtime schedule scan config operation
func (*GetRuntimeScheduleScanConfig) ServeHTTP ¶
func (o *GetRuntimeScheduleScanConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRuntimeScheduleScanConfigDefault ¶
type GetRuntimeScheduleScanConfigDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetRuntimeScheduleScanConfigDefault unknown error
swagger:response getRuntimeScheduleScanConfigDefault
func NewGetRuntimeScheduleScanConfigDefault ¶
func NewGetRuntimeScheduleScanConfigDefault(code int) *GetRuntimeScheduleScanConfigDefault
NewGetRuntimeScheduleScanConfigDefault creates GetRuntimeScheduleScanConfigDefault with default headers values
func (*GetRuntimeScheduleScanConfigDefault) SetPayload ¶
func (o *GetRuntimeScheduleScanConfigDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get runtime schedule scan config default response
func (*GetRuntimeScheduleScanConfigDefault) SetStatusCode ¶
func (o *GetRuntimeScheduleScanConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get runtime schedule scan config default response
func (*GetRuntimeScheduleScanConfigDefault) WithPayload ¶
func (o *GetRuntimeScheduleScanConfigDefault) WithPayload(payload *models.APIResponse) *GetRuntimeScheduleScanConfigDefault
WithPayload adds the payload to the get runtime schedule scan config default response
func (*GetRuntimeScheduleScanConfigDefault) WithStatusCode ¶
func (o *GetRuntimeScheduleScanConfigDefault) WithStatusCode(code int) *GetRuntimeScheduleScanConfigDefault
WithStatusCode adds the status to the get runtime schedule scan config default response
func (*GetRuntimeScheduleScanConfigDefault) WriteResponse ¶
func (o *GetRuntimeScheduleScanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScheduleScanConfigHandler ¶
type GetRuntimeScheduleScanConfigHandler interface {
Handle(GetRuntimeScheduleScanConfigParams) middleware.Responder
}
GetRuntimeScheduleScanConfigHandler interface for that can handle valid get runtime schedule scan config params
type GetRuntimeScheduleScanConfigHandlerFunc ¶
type GetRuntimeScheduleScanConfigHandlerFunc func(GetRuntimeScheduleScanConfigParams) middleware.Responder
GetRuntimeScheduleScanConfigHandlerFunc turns a function with the right signature into a get runtime schedule scan config handler
func (GetRuntimeScheduleScanConfigHandlerFunc) Handle ¶
func (fn GetRuntimeScheduleScanConfigHandlerFunc) Handle(params GetRuntimeScheduleScanConfigParams) middleware.Responder
Handle executing the request and returning a response
type GetRuntimeScheduleScanConfigOK ¶
type GetRuntimeScheduleScanConfigOK struct { /* In: Body */ Payload *models.RuntimeScheduleScanConfig `json:"body,omitempty"` }
GetRuntimeScheduleScanConfigOK Success
swagger:response getRuntimeScheduleScanConfigOK
func NewGetRuntimeScheduleScanConfigOK ¶
func NewGetRuntimeScheduleScanConfigOK() *GetRuntimeScheduleScanConfigOK
NewGetRuntimeScheduleScanConfigOK creates GetRuntimeScheduleScanConfigOK with default headers values
func (*GetRuntimeScheduleScanConfigOK) SetPayload ¶
func (o *GetRuntimeScheduleScanConfigOK) SetPayload(payload *models.RuntimeScheduleScanConfig)
SetPayload sets the payload to the get runtime schedule scan config o k response
func (*GetRuntimeScheduleScanConfigOK) WithPayload ¶
func (o *GetRuntimeScheduleScanConfigOK) WithPayload(payload *models.RuntimeScheduleScanConfig) *GetRuntimeScheduleScanConfigOK
WithPayload adds the payload to the get runtime schedule scan config o k response
func (*GetRuntimeScheduleScanConfigOK) WriteResponse ¶
func (o *GetRuntimeScheduleScanConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRuntimeScheduleScanConfigParams ¶
type GetRuntimeScheduleScanConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetRuntimeScheduleScanConfigParams contains all the bound params for the get runtime schedule scan config operation typically these are obtained from a http.Request
swagger:parameters GetRuntimeScheduleScanConfig
func NewGetRuntimeScheduleScanConfigParams ¶
func NewGetRuntimeScheduleScanConfigParams() GetRuntimeScheduleScanConfigParams
NewGetRuntimeScheduleScanConfigParams creates a new GetRuntimeScheduleScanConfigParams object
There are no default values defined in the spec.
func (*GetRuntimeScheduleScanConfigParams) BindRequest ¶
func (o *GetRuntimeScheduleScanConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetRuntimeScheduleScanConfigParams() beforehand.
type GetRuntimeScheduleScanConfigURL ¶
type GetRuntimeScheduleScanConfigURL struct {
// contains filtered or unexported fields
}
GetRuntimeScheduleScanConfigURL generates an URL for the get runtime schedule scan config operation
func (*GetRuntimeScheduleScanConfigURL) Build ¶
func (o *GetRuntimeScheduleScanConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRuntimeScheduleScanConfigURL) BuildFull ¶
func (o *GetRuntimeScheduleScanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRuntimeScheduleScanConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRuntimeScheduleScanConfigURL) SetBasePath ¶
func (o *GetRuntimeScheduleScanConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetRuntimeScheduleScanConfigURL) String ¶
func (o *GetRuntimeScheduleScanConfigURL) String() string
String returns the string representation of the path with query string
func (*GetRuntimeScheduleScanConfigURL) StringFull ¶
func (o *GetRuntimeScheduleScanConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRuntimeScheduleScanConfigURL) WithBasePath ¶
func (o *GetRuntimeScheduleScanConfigURL) WithBasePath(bp string) *GetRuntimeScheduleScanConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVulnerabilities ¶
type GetVulnerabilities struct { Context *middleware.Context Handler GetVulnerabilitiesHandler }
GetVulnerabilities swagger:route GET /vulnerabilities getVulnerabilities
Get vulnerabilities
func NewGetVulnerabilities ¶
func NewGetVulnerabilities(ctx *middleware.Context, handler GetVulnerabilitiesHandler) *GetVulnerabilities
NewGetVulnerabilities creates a new http.Handler for the get vulnerabilities operation
func (*GetVulnerabilities) ServeHTTP ¶
func (o *GetVulnerabilities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVulnerabilitiesDefault ¶
type GetVulnerabilitiesDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetVulnerabilitiesDefault unknown error
swagger:response getVulnerabilitiesDefault
func NewGetVulnerabilitiesDefault ¶
func NewGetVulnerabilitiesDefault(code int) *GetVulnerabilitiesDefault
NewGetVulnerabilitiesDefault creates GetVulnerabilitiesDefault with default headers values
func (*GetVulnerabilitiesDefault) SetPayload ¶
func (o *GetVulnerabilitiesDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get vulnerabilities default response
func (*GetVulnerabilitiesDefault) SetStatusCode ¶
func (o *GetVulnerabilitiesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get vulnerabilities default response
func (*GetVulnerabilitiesDefault) WithPayload ¶
func (o *GetVulnerabilitiesDefault) WithPayload(payload *models.APIResponse) *GetVulnerabilitiesDefault
WithPayload adds the payload to the get vulnerabilities default response
func (*GetVulnerabilitiesDefault) WithStatusCode ¶
func (o *GetVulnerabilitiesDefault) WithStatusCode(code int) *GetVulnerabilitiesDefault
WithStatusCode adds the status to the get vulnerabilities default response
func (*GetVulnerabilitiesDefault) WriteResponse ¶
func (o *GetVulnerabilitiesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVulnerabilitiesHandler ¶
type GetVulnerabilitiesHandler interface {
Handle(GetVulnerabilitiesParams) middleware.Responder
}
GetVulnerabilitiesHandler interface for that can handle valid get vulnerabilities params
type GetVulnerabilitiesHandlerFunc ¶
type GetVulnerabilitiesHandlerFunc func(GetVulnerabilitiesParams) middleware.Responder
GetVulnerabilitiesHandlerFunc turns a function with the right signature into a get vulnerabilities handler
func (GetVulnerabilitiesHandlerFunc) Handle ¶
func (fn GetVulnerabilitiesHandlerFunc) Handle(params GetVulnerabilitiesParams) middleware.Responder
Handle executing the request and returning a response
type GetVulnerabilitiesOK ¶
type GetVulnerabilitiesOK struct { /* In: Body */ Payload *GetVulnerabilitiesOKBody `json:"body,omitempty"` }
GetVulnerabilitiesOK Success
swagger:response getVulnerabilitiesOK
func NewGetVulnerabilitiesOK ¶
func NewGetVulnerabilitiesOK() *GetVulnerabilitiesOK
NewGetVulnerabilitiesOK creates GetVulnerabilitiesOK with default headers values
func (*GetVulnerabilitiesOK) SetPayload ¶
func (o *GetVulnerabilitiesOK) SetPayload(payload *GetVulnerabilitiesOKBody)
SetPayload sets the payload to the get vulnerabilities o k response
func (*GetVulnerabilitiesOK) WithPayload ¶
func (o *GetVulnerabilitiesOK) WithPayload(payload *GetVulnerabilitiesOKBody) *GetVulnerabilitiesOK
WithPayload adds the payload to the get vulnerabilities o k response
func (*GetVulnerabilitiesOK) WriteResponse ¶
func (o *GetVulnerabilitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVulnerabilitiesOKBody ¶
type GetVulnerabilitiesOKBody struct { // List of vulnerabilities in the given filters and page. List length must be lower or equal to pageSize Items []*models.Vulnerability `json:"items"` // Total vulnerabilities count under the given filters // Required: true Total *int64 `json:"total"` }
GetVulnerabilitiesOKBody get vulnerabilities o k body
swagger:model GetVulnerabilitiesOKBody
func (*GetVulnerabilitiesOKBody) ContextValidate ¶
func (o *GetVulnerabilitiesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get vulnerabilities o k body based on the context it is used
func (*GetVulnerabilitiesOKBody) MarshalBinary ¶
func (o *GetVulnerabilitiesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetVulnerabilitiesOKBody) UnmarshalBinary ¶
func (o *GetVulnerabilitiesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetVulnerabilitiesParams ¶
type GetVulnerabilitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationID *string /*application resource ID system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ ApplicationResourceID *string /*greater than or equal In: query */ ApplicationResourcesGte *int64 /* In: query */ ApplicationResourcesIsNot []int64 /* In: query */ ApplicationResourcesIs []int64 /*less than or equal In: query */ ApplicationResourcesLte *int64 /*greater than or equal In: query */ ApplicationsGte *int64 /* In: query */ ApplicationsIsNot []int64 /* In: query */ ApplicationsIs []int64 /*less than or equal In: query */ ApplicationsLte *int64 /*current runtime scan system filter, not visible to the user. only one of applicationID, applicationResourceID, packageID, currentRuntimeScan is allowed In: query */ CurrentRuntimeScan *bool /* In: query */ HasFixVersionIs *bool /* In: query */ PackageNameContains []string /* In: query */ PackageNameEnd *string /* In: query */ PackageNameIsNot []string /* In: query */ PackageNameIs []string /* In: query */ PackageNameStart *string /* In: query */ PackageVersionContains []string /* In: query */ PackageVersionEnd *string /* In: query */ PackageVersionIsNot []string /* In: query */ PackageVersionIs []string /* In: query */ PackageVersionStart *string /*Page number of the query Required: true In: query */ Page int64 /*Maximum items to return Required: true Maximum: 50 Minimum: 1 In: query */ PageSize int64 /* In: query */ ReportingScannersContainElements []string /* In: query */ ReportingScannersDoesntContainElements []string /*Sorting direction In: query Default: "ASC" */ SortDir *string /*Sort key Required: true In: query */ SortKey string /* In: query */ VulnerabilityNameContains []string /* In: query */ VulnerabilityNameEnd *string /* In: query */ VulnerabilityNameIsNot []string /* In: query */ VulnerabilityNameIs []string /* In: query */ VulnerabilityNameStart *string /* In: query */ VulnerabilitySeverityGte *string /* In: query */ VulnerabilitySeverityIsNot []string /* In: query */ VulnerabilitySeverityIs []string /* In: query */ VulnerabilitySeverityLte *string /* In: query */ VulnerabilitySourceIs []string }
GetVulnerabilitiesParams contains all the bound params for the get vulnerabilities operation typically these are obtained from a http.Request
swagger:parameters GetVulnerabilities
func NewGetVulnerabilitiesParams ¶
func NewGetVulnerabilitiesParams() GetVulnerabilitiesParams
NewGetVulnerabilitiesParams creates a new GetVulnerabilitiesParams object with the default values initialized.
func (*GetVulnerabilitiesParams) BindRequest ¶
func (o *GetVulnerabilitiesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVulnerabilitiesParams() beforehand.
type GetVulnerabilitiesURL ¶
type GetVulnerabilitiesURL struct { ApplicationID *string ApplicationResourceID *string ApplicationResourcesGte *int64 ApplicationResourcesIsNot []int64 ApplicationResourcesIs []int64 ApplicationResourcesLte *int64 ApplicationsGte *int64 ApplicationsIsNot []int64 ApplicationsIs []int64 ApplicationsLte *int64 CurrentRuntimeScan *bool HasFixVersionIs *bool PackageNameContains []string PackageNameEnd *string PackageNameIsNot []string PackageNameIs []string PackageNameStart *string PackageVersionContains []string PackageVersionEnd *string PackageVersionIsNot []string PackageVersionIs []string PackageVersionStart *string Page int64 PageSize int64 ReportingScannersContainElements []string ReportingScannersDoesntContainElements []string SortDir *string SortKey string VulnerabilityNameContains []string VulnerabilityNameEnd *string VulnerabilityNameIsNot []string VulnerabilityNameIs []string VulnerabilityNameStart *string VulnerabilitySeverityGte *string VulnerabilitySeverityIsNot []string VulnerabilitySeverityIs []string VulnerabilitySeverityLte *string VulnerabilitySourceIs []string // contains filtered or unexported fields }
GetVulnerabilitiesURL generates an URL for the get vulnerabilities operation
func (*GetVulnerabilitiesURL) Build ¶
func (o *GetVulnerabilitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVulnerabilitiesURL) BuildFull ¶
func (o *GetVulnerabilitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVulnerabilitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVulnerabilitiesURL) SetBasePath ¶
func (o *GetVulnerabilitiesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVulnerabilitiesURL) String ¶
func (o *GetVulnerabilitiesURL) String() string
String returns the string representation of the path with query string
func (*GetVulnerabilitiesURL) StringFull ¶
func (o *GetVulnerabilitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVulnerabilitiesURL) WithBasePath ¶
func (o *GetVulnerabilitiesURL) WithBasePath(bp string) *GetVulnerabilitiesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVulnerabilitiesVulIDPkgID ¶
type GetVulnerabilitiesVulIDPkgID struct { Context *middleware.Context Handler GetVulnerabilitiesVulIDPkgIDHandler }
GetVulnerabilitiesVulIDPkgID swagger:route GET /vulnerabilities/{vul_id}/{pkg_id} getVulnerabilitiesVulIdPkgId
Get a vulnerability of a specific package
func NewGetVulnerabilitiesVulIDPkgID ¶
func NewGetVulnerabilitiesVulIDPkgID(ctx *middleware.Context, handler GetVulnerabilitiesVulIDPkgIDHandler) *GetVulnerabilitiesVulIDPkgID
NewGetVulnerabilitiesVulIDPkgID creates a new http.Handler for the get vulnerabilities vul ID pkg ID operation
func (*GetVulnerabilitiesVulIDPkgID) ServeHTTP ¶
func (o *GetVulnerabilitiesVulIDPkgID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVulnerabilitiesVulIDPkgIDDefault ¶
type GetVulnerabilitiesVulIDPkgIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
GetVulnerabilitiesVulIDPkgIDDefault unknown error
swagger:response getVulnerabilitiesVulIdPkgIdDefault
func NewGetVulnerabilitiesVulIDPkgIDDefault ¶
func NewGetVulnerabilitiesVulIDPkgIDDefault(code int) *GetVulnerabilitiesVulIDPkgIDDefault
NewGetVulnerabilitiesVulIDPkgIDDefault creates GetVulnerabilitiesVulIDPkgIDDefault with default headers values
func (*GetVulnerabilitiesVulIDPkgIDDefault) SetPayload ¶
func (o *GetVulnerabilitiesVulIDPkgIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the get vulnerabilities vul ID pkg ID default response
func (*GetVulnerabilitiesVulIDPkgIDDefault) SetStatusCode ¶
func (o *GetVulnerabilitiesVulIDPkgIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get vulnerabilities vul ID pkg ID default response
func (*GetVulnerabilitiesVulIDPkgIDDefault) WithPayload ¶
func (o *GetVulnerabilitiesVulIDPkgIDDefault) WithPayload(payload *models.APIResponse) *GetVulnerabilitiesVulIDPkgIDDefault
WithPayload adds the payload to the get vulnerabilities vul ID pkg ID default response
func (*GetVulnerabilitiesVulIDPkgIDDefault) WithStatusCode ¶
func (o *GetVulnerabilitiesVulIDPkgIDDefault) WithStatusCode(code int) *GetVulnerabilitiesVulIDPkgIDDefault
WithStatusCode adds the status to the get vulnerabilities vul ID pkg ID default response
func (*GetVulnerabilitiesVulIDPkgIDDefault) WriteResponse ¶
func (o *GetVulnerabilitiesVulIDPkgIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVulnerabilitiesVulIDPkgIDHandler ¶
type GetVulnerabilitiesVulIDPkgIDHandler interface {
Handle(GetVulnerabilitiesVulIDPkgIDParams) middleware.Responder
}
GetVulnerabilitiesVulIDPkgIDHandler interface for that can handle valid get vulnerabilities vul ID pkg ID params
type GetVulnerabilitiesVulIDPkgIDHandlerFunc ¶
type GetVulnerabilitiesVulIDPkgIDHandlerFunc func(GetVulnerabilitiesVulIDPkgIDParams) middleware.Responder
GetVulnerabilitiesVulIDPkgIDHandlerFunc turns a function with the right signature into a get vulnerabilities vul ID pkg ID handler
func (GetVulnerabilitiesVulIDPkgIDHandlerFunc) Handle ¶
func (fn GetVulnerabilitiesVulIDPkgIDHandlerFunc) Handle(params GetVulnerabilitiesVulIDPkgIDParams) middleware.Responder
Handle executing the request and returning a response
type GetVulnerabilitiesVulIDPkgIDOK ¶
type GetVulnerabilitiesVulIDPkgIDOK struct { /* In: Body */ Payload *models.VulnerabilityEx `json:"body,omitempty"` }
GetVulnerabilitiesVulIDPkgIDOK Success
swagger:response getVulnerabilitiesVulIdPkgIdOK
func NewGetVulnerabilitiesVulIDPkgIDOK ¶
func NewGetVulnerabilitiesVulIDPkgIDOK() *GetVulnerabilitiesVulIDPkgIDOK
NewGetVulnerabilitiesVulIDPkgIDOK creates GetVulnerabilitiesVulIDPkgIDOK with default headers values
func (*GetVulnerabilitiesVulIDPkgIDOK) SetPayload ¶
func (o *GetVulnerabilitiesVulIDPkgIDOK) SetPayload(payload *models.VulnerabilityEx)
SetPayload sets the payload to the get vulnerabilities vul Id pkg Id o k response
func (*GetVulnerabilitiesVulIDPkgIDOK) WithPayload ¶
func (o *GetVulnerabilitiesVulIDPkgIDOK) WithPayload(payload *models.VulnerabilityEx) *GetVulnerabilitiesVulIDPkgIDOK
WithPayload adds the payload to the get vulnerabilities vul Id pkg Id o k response
func (*GetVulnerabilitiesVulIDPkgIDOK) WriteResponse ¶
func (o *GetVulnerabilitiesVulIDPkgIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVulnerabilitiesVulIDPkgIDParams ¶
type GetVulnerabilitiesVulIDPkgIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ PkgID string /* Required: true In: path */ VulID string }
GetVulnerabilitiesVulIDPkgIDParams contains all the bound params for the get vulnerabilities vul ID pkg ID operation typically these are obtained from a http.Request
swagger:parameters GetVulnerabilitiesVulIDPkgID
func NewGetVulnerabilitiesVulIDPkgIDParams ¶
func NewGetVulnerabilitiesVulIDPkgIDParams() GetVulnerabilitiesVulIDPkgIDParams
NewGetVulnerabilitiesVulIDPkgIDParams creates a new GetVulnerabilitiesVulIDPkgIDParams object
There are no default values defined in the spec.
func (*GetVulnerabilitiesVulIDPkgIDParams) BindRequest ¶
func (o *GetVulnerabilitiesVulIDPkgIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVulnerabilitiesVulIDPkgIDParams() beforehand.
type GetVulnerabilitiesVulIDPkgIDURL ¶
type GetVulnerabilitiesVulIDPkgIDURL struct { PkgID string VulID string // contains filtered or unexported fields }
GetVulnerabilitiesVulIDPkgIDURL generates an URL for the get vulnerabilities vul ID pkg ID operation
func (*GetVulnerabilitiesVulIDPkgIDURL) Build ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVulnerabilitiesVulIDPkgIDURL) BuildFull ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVulnerabilitiesVulIDPkgIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVulnerabilitiesVulIDPkgIDURL) SetBasePath ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVulnerabilitiesVulIDPkgIDURL) String ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) String() string
String returns the string representation of the path with query string
func (*GetVulnerabilitiesVulIDPkgIDURL) StringFull ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVulnerabilitiesVulIDPkgIDURL) WithBasePath ¶
func (o *GetVulnerabilitiesVulIDPkgIDURL) WithBasePath(bp string) *GetVulnerabilitiesVulIDPkgIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type KubeClarityAPIsAPI ¶
type KubeClarityAPIsAPI struct { Middleware func(middleware.Builder) http.Handler // BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator // APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator // BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function. // It has a default implementation in the security package, however you can replace it for your particular usage. BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator // JSONConsumer registers a consumer for the following mime types: // - application/json JSONConsumer runtime.Consumer // JSONProducer registers a producer for the following mime types: // - application/json JSONProducer runtime.Producer // DeleteApplicationResourcesIDHandler sets the operation handler for the delete application resources ID operation DeleteApplicationResourcesIDHandler DeleteApplicationResourcesIDHandler // DeleteApplicationsIDHandler sets the operation handler for the delete applications ID operation DeleteApplicationsIDHandler DeleteApplicationsIDHandler // GetApplicationResourcesHandler sets the operation handler for the get application resources operation GetApplicationResourcesHandler GetApplicationResourcesHandler // GetApplicationResourcesIDHandler sets the operation handler for the get application resources ID operation GetApplicationResourcesIDHandler GetApplicationResourcesIDHandler // GetApplicationsHandler sets the operation handler for the get applications operation GetApplicationsHandler GetApplicationsHandler // GetApplicationsIDHandler sets the operation handler for the get applications ID operation GetApplicationsIDHandler GetApplicationsIDHandler // GetCisdockerbenchmarkresultsIDHandler sets the operation handler for the get cisdockerbenchmarkresults ID operation GetCisdockerbenchmarkresultsIDHandler GetCisdockerbenchmarkresultsIDHandler // GetDashboardCountersHandler sets the operation handler for the get dashboard counters operation GetDashboardCountersHandler GetDashboardCountersHandler // GetDashboardMostVulnerableHandler sets the operation handler for the get dashboard most vulnerable operation GetDashboardMostVulnerableHandler GetDashboardMostVulnerableHandler // GetDashboardPackagesPerLanguageHandler sets the operation handler for the get dashboard packages per language operation GetDashboardPackagesPerLanguageHandler GetDashboardPackagesPerLanguageHandler // GetDashboardPackagesPerLicenseHandler sets the operation handler for the get dashboard packages per license operation GetDashboardPackagesPerLicenseHandler GetDashboardPackagesPerLicenseHandler // GetDashboardTrendsVulnerabilitiesHandler sets the operation handler for the get dashboard trends vulnerabilities operation GetDashboardTrendsVulnerabilitiesHandler GetDashboardTrendsVulnerabilitiesHandler // GetDashboardVulnerabilitiesWithFixHandler sets the operation handler for the get dashboard vulnerabilities with fix operation GetDashboardVulnerabilitiesWithFixHandler GetDashboardVulnerabilitiesWithFixHandler // GetNamespacesHandler sets the operation handler for the get namespaces operation GetNamespacesHandler GetNamespacesHandler // GetPackagesHandler sets the operation handler for the get packages operation GetPackagesHandler GetPackagesHandler // GetPackagesIDHandler sets the operation handler for the get packages ID operation GetPackagesIDHandler GetPackagesIDHandler // GetPackagesIDApplicationResourcesHandler sets the operation handler for the get packages ID application resources operation GetPackagesIDApplicationResourcesHandler GetPackagesIDApplicationResourcesHandler // GetRuntimeQuickscanConfigHandler sets the operation handler for the get runtime quickscan config operation GetRuntimeQuickscanConfigHandler GetRuntimeQuickscanConfigHandler // GetRuntimeScanProgressHandler sets the operation handler for the get runtime scan progress operation GetRuntimeScanProgressHandler GetRuntimeScanProgressHandler // GetRuntimeScanResultsHandler sets the operation handler for the get runtime scan results operation GetRuntimeScanResultsHandler GetRuntimeScanResultsHandler // GetRuntimeScheduleScanConfigHandler sets the operation handler for the get runtime schedule scan config operation GetRuntimeScheduleScanConfigHandler GetRuntimeScheduleScanConfigHandler // GetVulnerabilitiesHandler sets the operation handler for the get vulnerabilities operation GetVulnerabilitiesHandler GetVulnerabilitiesHandler // GetVulnerabilitiesVulIDPkgIDHandler sets the operation handler for the get vulnerabilities vul ID pkg ID operation GetVulnerabilitiesVulIDPkgIDHandler GetVulnerabilitiesVulIDPkgIDHandler // PostApplicationsHandler sets the operation handler for the post applications operation PostApplicationsHandler PostApplicationsHandler // PostApplicationsContentAnalysisIDHandler sets the operation handler for the post applications content analysis ID operation PostApplicationsContentAnalysisIDHandler PostApplicationsContentAnalysisIDHandler // PostApplicationsVulnerabilityScanIDHandler sets the operation handler for the post applications vulnerability scan ID operation PostApplicationsVulnerabilityScanIDHandler PostApplicationsVulnerabilityScanIDHandler // PutApplicationsIDHandler sets the operation handler for the put applications ID operation PutApplicationsIDHandler PutApplicationsIDHandler // PutRuntimeQuickscanConfigHandler sets the operation handler for the put runtime quickscan config operation PutRuntimeQuickscanConfigHandler PutRuntimeQuickscanConfigHandler // PutRuntimeScanStartHandler sets the operation handler for the put runtime scan start operation PutRuntimeScanStartHandler PutRuntimeScanStartHandler // PutRuntimeScanStopHandler sets the operation handler for the put runtime scan stop operation PutRuntimeScanStopHandler PutRuntimeScanStopHandler // PutRuntimeScheduleScanConfigHandler sets the operation handler for the put runtime schedule scan config operation PutRuntimeScheduleScanConfigHandler PutRuntimeScheduleScanConfigHandler // ServeError is called when an error is received, there is a default handler // but you can set your own with this ServeError func(http.ResponseWriter, *http.Request, error) // PreServerShutdown is called before the HTTP(S) server is shutdown // This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic PreServerShutdown func() // ServerShutdown is called when the HTTP(S) server is shut down and done // handling all active connections and does not accept connections any more ServerShutdown func() // Custom command line argument groups with their descriptions CommandLineOptionsGroups []swag.CommandLineOptionsGroup // User defined logger function. Logger func(string, ...interface{}) // contains filtered or unexported fields }
KubeClarityAPIsAPI the kube clarity a p is API
func NewKubeClarityAPIsAPI ¶
func NewKubeClarityAPIsAPI(spec *loads.Document) *KubeClarityAPIsAPI
NewKubeClarityAPIsAPI creates a new KubeClarityAPIs instance
func (*KubeClarityAPIsAPI) AddMiddlewareFor ¶
func (o *KubeClarityAPIsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*KubeClarityAPIsAPI) AuthenticatorsFor ¶
func (o *KubeClarityAPIsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*KubeClarityAPIsAPI) Authorizer ¶
func (o *KubeClarityAPIsAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*KubeClarityAPIsAPI) ConsumersFor ¶
func (o *KubeClarityAPIsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*KubeClarityAPIsAPI) Context ¶
func (o *KubeClarityAPIsAPI) Context() *middleware.Context
Context returns the middleware context for the kube clarity a p is API
func (*KubeClarityAPIsAPI) DefaultConsumes ¶
func (o *KubeClarityAPIsAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*KubeClarityAPIsAPI) DefaultProduces ¶
func (o *KubeClarityAPIsAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*KubeClarityAPIsAPI) Formats ¶
func (o *KubeClarityAPIsAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*KubeClarityAPIsAPI) HandlerFor ¶
func (o *KubeClarityAPIsAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*KubeClarityAPIsAPI) Init ¶
func (o *KubeClarityAPIsAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*KubeClarityAPIsAPI) ProducersFor ¶
func (o *KubeClarityAPIsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*KubeClarityAPIsAPI) RegisterConsumer ¶
func (o *KubeClarityAPIsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*KubeClarityAPIsAPI) RegisterFormat ¶
func (o *KubeClarityAPIsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*KubeClarityAPIsAPI) RegisterProducer ¶
func (o *KubeClarityAPIsAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*KubeClarityAPIsAPI) Serve ¶
func (o *KubeClarityAPIsAPI) Serve(builder middleware.Builder) http.Handler
Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (*KubeClarityAPIsAPI) ServeErrorFor ¶
func (o *KubeClarityAPIsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*KubeClarityAPIsAPI) SetDefaultConsumes ¶
func (o *KubeClarityAPIsAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*KubeClarityAPIsAPI) SetDefaultProduces ¶
func (o *KubeClarityAPIsAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*KubeClarityAPIsAPI) SetSpec ¶
func (o *KubeClarityAPIsAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*KubeClarityAPIsAPI) UseRedoc ¶
func (o *KubeClarityAPIsAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*KubeClarityAPIsAPI) UseSwaggerUI ¶
func (o *KubeClarityAPIsAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*KubeClarityAPIsAPI) Validate ¶
func (o *KubeClarityAPIsAPI) Validate() error
Validate validates the registrations in the KubeClarityAPIsAPI
type PostApplications ¶
type PostApplications struct { Context *middleware.Context Handler PostApplicationsHandler }
PostApplications swagger:route POST /applications postApplications
Create application
func NewPostApplications ¶
func NewPostApplications(ctx *middleware.Context, handler PostApplicationsHandler) *PostApplications
NewPostApplications creates a new http.Handler for the post applications operation
func (*PostApplications) ServeHTTP ¶
func (o *PostApplications) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostApplicationsConflict ¶
type PostApplicationsConflict struct { /* In: Body */ Payload *models.ApplicationInfo `json:"body,omitempty"` }
PostApplicationsConflict Application already exist.
swagger:response postApplicationsConflict
func NewPostApplicationsConflict ¶
func NewPostApplicationsConflict() *PostApplicationsConflict
NewPostApplicationsConflict creates PostApplicationsConflict with default headers values
func (*PostApplicationsConflict) SetPayload ¶
func (o *PostApplicationsConflict) SetPayload(payload *models.ApplicationInfo)
SetPayload sets the payload to the post applications conflict response
func (*PostApplicationsConflict) WithPayload ¶
func (o *PostApplicationsConflict) WithPayload(payload *models.ApplicationInfo) *PostApplicationsConflict
WithPayload adds the payload to the post applications conflict response
func (*PostApplicationsConflict) WriteResponse ¶
func (o *PostApplicationsConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsContentAnalysisID ¶
type PostApplicationsContentAnalysisID struct { Context *middleware.Context Handler PostApplicationsContentAnalysisIDHandler }
PostApplicationsContentAnalysisID swagger:route POST /applications/contentAnalysis/{id} postApplicationsContentAnalysisId
Report a content analysis for a specific application
func NewPostApplicationsContentAnalysisID ¶
func NewPostApplicationsContentAnalysisID(ctx *middleware.Context, handler PostApplicationsContentAnalysisIDHandler) *PostApplicationsContentAnalysisID
NewPostApplicationsContentAnalysisID creates a new http.Handler for the post applications content analysis ID operation
func (*PostApplicationsContentAnalysisID) ServeHTTP ¶
func (o *PostApplicationsContentAnalysisID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostApplicationsContentAnalysisIDCreated ¶
type PostApplicationsContentAnalysisIDCreated struct { }
PostApplicationsContentAnalysisIDCreated Application content analysis successfully reported.
swagger:response postApplicationsContentAnalysisIdCreated
func NewPostApplicationsContentAnalysisIDCreated ¶
func NewPostApplicationsContentAnalysisIDCreated() *PostApplicationsContentAnalysisIDCreated
NewPostApplicationsContentAnalysisIDCreated creates PostApplicationsContentAnalysisIDCreated with default headers values
func (*PostApplicationsContentAnalysisIDCreated) WriteResponse ¶
func (o *PostApplicationsContentAnalysisIDCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsContentAnalysisIDDefault ¶
type PostApplicationsContentAnalysisIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostApplicationsContentAnalysisIDDefault unknown error
swagger:response postApplicationsContentAnalysisIdDefault
func NewPostApplicationsContentAnalysisIDDefault ¶
func NewPostApplicationsContentAnalysisIDDefault(code int) *PostApplicationsContentAnalysisIDDefault
NewPostApplicationsContentAnalysisIDDefault creates PostApplicationsContentAnalysisIDDefault with default headers values
func (*PostApplicationsContentAnalysisIDDefault) SetPayload ¶
func (o *PostApplicationsContentAnalysisIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post applications content analysis ID default response
func (*PostApplicationsContentAnalysisIDDefault) SetStatusCode ¶
func (o *PostApplicationsContentAnalysisIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post applications content analysis ID default response
func (*PostApplicationsContentAnalysisIDDefault) WithPayload ¶
func (o *PostApplicationsContentAnalysisIDDefault) WithPayload(payload *models.APIResponse) *PostApplicationsContentAnalysisIDDefault
WithPayload adds the payload to the post applications content analysis ID default response
func (*PostApplicationsContentAnalysisIDDefault) WithStatusCode ¶
func (o *PostApplicationsContentAnalysisIDDefault) WithStatusCode(code int) *PostApplicationsContentAnalysisIDDefault
WithStatusCode adds the status to the post applications content analysis ID default response
func (*PostApplicationsContentAnalysisIDDefault) WriteResponse ¶
func (o *PostApplicationsContentAnalysisIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsContentAnalysisIDHandler ¶
type PostApplicationsContentAnalysisIDHandler interface {
Handle(PostApplicationsContentAnalysisIDParams) middleware.Responder
}
PostApplicationsContentAnalysisIDHandler interface for that can handle valid post applications content analysis ID params
type PostApplicationsContentAnalysisIDHandlerFunc ¶
type PostApplicationsContentAnalysisIDHandlerFunc func(PostApplicationsContentAnalysisIDParams) middleware.Responder
PostApplicationsContentAnalysisIDHandlerFunc turns a function with the right signature into a post applications content analysis ID handler
func (PostApplicationsContentAnalysisIDHandlerFunc) Handle ¶
func (fn PostApplicationsContentAnalysisIDHandlerFunc) Handle(params PostApplicationsContentAnalysisIDParams) middleware.Responder
Handle executing the request and returning a response
type PostApplicationsContentAnalysisIDNotFound ¶
type PostApplicationsContentAnalysisIDNotFound struct { }
PostApplicationsContentAnalysisIDNotFound Application not found.
swagger:response postApplicationsContentAnalysisIdNotFound
func NewPostApplicationsContentAnalysisIDNotFound ¶
func NewPostApplicationsContentAnalysisIDNotFound() *PostApplicationsContentAnalysisIDNotFound
NewPostApplicationsContentAnalysisIDNotFound creates PostApplicationsContentAnalysisIDNotFound with default headers values
func (*PostApplicationsContentAnalysisIDNotFound) WriteResponse ¶
func (o *PostApplicationsContentAnalysisIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsContentAnalysisIDParams ¶
type PostApplicationsContentAnalysisIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ApplicationContentAnalysis /* Required: true In: path */ ID string }
PostApplicationsContentAnalysisIDParams contains all the bound params for the post applications content analysis ID operation typically these are obtained from a http.Request
swagger:parameters PostApplicationsContentAnalysisID
func NewPostApplicationsContentAnalysisIDParams ¶
func NewPostApplicationsContentAnalysisIDParams() PostApplicationsContentAnalysisIDParams
NewPostApplicationsContentAnalysisIDParams creates a new PostApplicationsContentAnalysisIDParams object
There are no default values defined in the spec.
func (*PostApplicationsContentAnalysisIDParams) BindRequest ¶
func (o *PostApplicationsContentAnalysisIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostApplicationsContentAnalysisIDParams() beforehand.
type PostApplicationsContentAnalysisIDURL ¶
type PostApplicationsContentAnalysisIDURL struct { ID string // contains filtered or unexported fields }
PostApplicationsContentAnalysisIDURL generates an URL for the post applications content analysis ID operation
func (*PostApplicationsContentAnalysisIDURL) Build ¶
func (o *PostApplicationsContentAnalysisIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostApplicationsContentAnalysisIDURL) BuildFull ¶
func (o *PostApplicationsContentAnalysisIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostApplicationsContentAnalysisIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostApplicationsContentAnalysisIDURL) SetBasePath ¶
func (o *PostApplicationsContentAnalysisIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostApplicationsContentAnalysisIDURL) String ¶
func (o *PostApplicationsContentAnalysisIDURL) String() string
String returns the string representation of the path with query string
func (*PostApplicationsContentAnalysisIDURL) StringFull ¶
func (o *PostApplicationsContentAnalysisIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostApplicationsContentAnalysisIDURL) WithBasePath ¶
func (o *PostApplicationsContentAnalysisIDURL) WithBasePath(bp string) *PostApplicationsContentAnalysisIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostApplicationsCreated ¶
type PostApplicationsCreated struct { /* In: Body */ Payload *models.ApplicationInfo `json:"body,omitempty"` }
PostApplicationsCreated New application was created.
swagger:response postApplicationsCreated
func NewPostApplicationsCreated ¶
func NewPostApplicationsCreated() *PostApplicationsCreated
NewPostApplicationsCreated creates PostApplicationsCreated with default headers values
func (*PostApplicationsCreated) SetPayload ¶
func (o *PostApplicationsCreated) SetPayload(payload *models.ApplicationInfo)
SetPayload sets the payload to the post applications created response
func (*PostApplicationsCreated) WithPayload ¶
func (o *PostApplicationsCreated) WithPayload(payload *models.ApplicationInfo) *PostApplicationsCreated
WithPayload adds the payload to the post applications created response
func (*PostApplicationsCreated) WriteResponse ¶
func (o *PostApplicationsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsDefault ¶
type PostApplicationsDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostApplicationsDefault unknown error
swagger:response postApplicationsDefault
func NewPostApplicationsDefault ¶
func NewPostApplicationsDefault(code int) *PostApplicationsDefault
NewPostApplicationsDefault creates PostApplicationsDefault with default headers values
func (*PostApplicationsDefault) SetPayload ¶
func (o *PostApplicationsDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post applications default response
func (*PostApplicationsDefault) SetStatusCode ¶
func (o *PostApplicationsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post applications default response
func (*PostApplicationsDefault) WithPayload ¶
func (o *PostApplicationsDefault) WithPayload(payload *models.APIResponse) *PostApplicationsDefault
WithPayload adds the payload to the post applications default response
func (*PostApplicationsDefault) WithStatusCode ¶
func (o *PostApplicationsDefault) WithStatusCode(code int) *PostApplicationsDefault
WithStatusCode adds the status to the post applications default response
func (*PostApplicationsDefault) WriteResponse ¶
func (o *PostApplicationsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsHandler ¶
type PostApplicationsHandler interface {
Handle(PostApplicationsParams) middleware.Responder
}
PostApplicationsHandler interface for that can handle valid post applications params
type PostApplicationsHandlerFunc ¶
type PostApplicationsHandlerFunc func(PostApplicationsParams) middleware.Responder
PostApplicationsHandlerFunc turns a function with the right signature into a post applications handler
func (PostApplicationsHandlerFunc) Handle ¶
func (fn PostApplicationsHandlerFunc) Handle(params PostApplicationsParams) middleware.Responder
Handle executing the request and returning a response
type PostApplicationsParams ¶
type PostApplicationsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ApplicationInfo }
PostApplicationsParams contains all the bound params for the post applications operation typically these are obtained from a http.Request
swagger:parameters PostApplications
func NewPostApplicationsParams ¶
func NewPostApplicationsParams() PostApplicationsParams
NewPostApplicationsParams creates a new PostApplicationsParams object
There are no default values defined in the spec.
func (*PostApplicationsParams) BindRequest ¶
func (o *PostApplicationsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostApplicationsParams() beforehand.
type PostApplicationsURL ¶
type PostApplicationsURL struct {
// contains filtered or unexported fields
}
PostApplicationsURL generates an URL for the post applications operation
func (*PostApplicationsURL) Build ¶
func (o *PostApplicationsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostApplicationsURL) BuildFull ¶
func (o *PostApplicationsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostApplicationsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostApplicationsURL) SetBasePath ¶
func (o *PostApplicationsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostApplicationsURL) String ¶
func (o *PostApplicationsURL) String() string
String returns the string representation of the path with query string
func (*PostApplicationsURL) StringFull ¶
func (o *PostApplicationsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostApplicationsURL) WithBasePath ¶
func (o *PostApplicationsURL) WithBasePath(bp string) *PostApplicationsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostApplicationsVulnerabilityScanID ¶
type PostApplicationsVulnerabilityScanID struct { Context *middleware.Context Handler PostApplicationsVulnerabilityScanIDHandler }
PostApplicationsVulnerabilityScanID swagger:route POST /applications/vulnerabilityScan/{id} postApplicationsVulnerabilityScanId
Report a vulnerability scan for a specific application
func NewPostApplicationsVulnerabilityScanID ¶
func NewPostApplicationsVulnerabilityScanID(ctx *middleware.Context, handler PostApplicationsVulnerabilityScanIDHandler) *PostApplicationsVulnerabilityScanID
NewPostApplicationsVulnerabilityScanID creates a new http.Handler for the post applications vulnerability scan ID operation
func (*PostApplicationsVulnerabilityScanID) ServeHTTP ¶
func (o *PostApplicationsVulnerabilityScanID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostApplicationsVulnerabilityScanIDCreated ¶
type PostApplicationsVulnerabilityScanIDCreated struct { }
PostApplicationsVulnerabilityScanIDCreated Application vulnerability scan successfully reported.
swagger:response postApplicationsVulnerabilityScanIdCreated
func NewPostApplicationsVulnerabilityScanIDCreated ¶
func NewPostApplicationsVulnerabilityScanIDCreated() *PostApplicationsVulnerabilityScanIDCreated
NewPostApplicationsVulnerabilityScanIDCreated creates PostApplicationsVulnerabilityScanIDCreated with default headers values
func (*PostApplicationsVulnerabilityScanIDCreated) WriteResponse ¶
func (o *PostApplicationsVulnerabilityScanIDCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsVulnerabilityScanIDDefault ¶
type PostApplicationsVulnerabilityScanIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostApplicationsVulnerabilityScanIDDefault unknown error
swagger:response postApplicationsVulnerabilityScanIdDefault
func NewPostApplicationsVulnerabilityScanIDDefault ¶
func NewPostApplicationsVulnerabilityScanIDDefault(code int) *PostApplicationsVulnerabilityScanIDDefault
NewPostApplicationsVulnerabilityScanIDDefault creates PostApplicationsVulnerabilityScanIDDefault with default headers values
func (*PostApplicationsVulnerabilityScanIDDefault) SetPayload ¶
func (o *PostApplicationsVulnerabilityScanIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post applications vulnerability scan ID default response
func (*PostApplicationsVulnerabilityScanIDDefault) SetStatusCode ¶
func (o *PostApplicationsVulnerabilityScanIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post applications vulnerability scan ID default response
func (*PostApplicationsVulnerabilityScanIDDefault) WithPayload ¶
func (o *PostApplicationsVulnerabilityScanIDDefault) WithPayload(payload *models.APIResponse) *PostApplicationsVulnerabilityScanIDDefault
WithPayload adds the payload to the post applications vulnerability scan ID default response
func (*PostApplicationsVulnerabilityScanIDDefault) WithStatusCode ¶
func (o *PostApplicationsVulnerabilityScanIDDefault) WithStatusCode(code int) *PostApplicationsVulnerabilityScanIDDefault
WithStatusCode adds the status to the post applications vulnerability scan ID default response
func (*PostApplicationsVulnerabilityScanIDDefault) WriteResponse ¶
func (o *PostApplicationsVulnerabilityScanIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsVulnerabilityScanIDHandler ¶
type PostApplicationsVulnerabilityScanIDHandler interface {
Handle(PostApplicationsVulnerabilityScanIDParams) middleware.Responder
}
PostApplicationsVulnerabilityScanIDHandler interface for that can handle valid post applications vulnerability scan ID params
type PostApplicationsVulnerabilityScanIDHandlerFunc ¶
type PostApplicationsVulnerabilityScanIDHandlerFunc func(PostApplicationsVulnerabilityScanIDParams) middleware.Responder
PostApplicationsVulnerabilityScanIDHandlerFunc turns a function with the right signature into a post applications vulnerability scan ID handler
func (PostApplicationsVulnerabilityScanIDHandlerFunc) Handle ¶
func (fn PostApplicationsVulnerabilityScanIDHandlerFunc) Handle(params PostApplicationsVulnerabilityScanIDParams) middleware.Responder
Handle executing the request and returning a response
type PostApplicationsVulnerabilityScanIDNotFound ¶
type PostApplicationsVulnerabilityScanIDNotFound struct { }
PostApplicationsVulnerabilityScanIDNotFound Application not found.
swagger:response postApplicationsVulnerabilityScanIdNotFound
func NewPostApplicationsVulnerabilityScanIDNotFound ¶
func NewPostApplicationsVulnerabilityScanIDNotFound() *PostApplicationsVulnerabilityScanIDNotFound
NewPostApplicationsVulnerabilityScanIDNotFound creates PostApplicationsVulnerabilityScanIDNotFound with default headers values
func (*PostApplicationsVulnerabilityScanIDNotFound) WriteResponse ¶
func (o *PostApplicationsVulnerabilityScanIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostApplicationsVulnerabilityScanIDParams ¶
type PostApplicationsVulnerabilityScanIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ApplicationVulnerabilityScan /* Required: true In: path */ ID string }
PostApplicationsVulnerabilityScanIDParams contains all the bound params for the post applications vulnerability scan ID operation typically these are obtained from a http.Request
swagger:parameters PostApplicationsVulnerabilityScanID
func NewPostApplicationsVulnerabilityScanIDParams ¶
func NewPostApplicationsVulnerabilityScanIDParams() PostApplicationsVulnerabilityScanIDParams
NewPostApplicationsVulnerabilityScanIDParams creates a new PostApplicationsVulnerabilityScanIDParams object
There are no default values defined in the spec.
func (*PostApplicationsVulnerabilityScanIDParams) BindRequest ¶
func (o *PostApplicationsVulnerabilityScanIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostApplicationsVulnerabilityScanIDParams() beforehand.
type PostApplicationsVulnerabilityScanIDURL ¶
type PostApplicationsVulnerabilityScanIDURL struct { ID string // contains filtered or unexported fields }
PostApplicationsVulnerabilityScanIDURL generates an URL for the post applications vulnerability scan ID operation
func (*PostApplicationsVulnerabilityScanIDURL) Build ¶
func (o *PostApplicationsVulnerabilityScanIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostApplicationsVulnerabilityScanIDURL) BuildFull ¶
func (o *PostApplicationsVulnerabilityScanIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostApplicationsVulnerabilityScanIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostApplicationsVulnerabilityScanIDURL) SetBasePath ¶
func (o *PostApplicationsVulnerabilityScanIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostApplicationsVulnerabilityScanIDURL) String ¶
func (o *PostApplicationsVulnerabilityScanIDURL) String() string
String returns the string representation of the path with query string
func (*PostApplicationsVulnerabilityScanIDURL) StringFull ¶
func (o *PostApplicationsVulnerabilityScanIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostApplicationsVulnerabilityScanIDURL) WithBasePath ¶
func (o *PostApplicationsVulnerabilityScanIDURL) WithBasePath(bp string) *PostApplicationsVulnerabilityScanIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutApplicationsID ¶
type PutApplicationsID struct { Context *middleware.Context Handler PutApplicationsIDHandler }
PutApplicationsID swagger:route PUT /applications/{id} putApplicationsId
Update Application.
func NewPutApplicationsID ¶
func NewPutApplicationsID(ctx *middleware.Context, handler PutApplicationsIDHandler) *PutApplicationsID
NewPutApplicationsID creates a new http.Handler for the put applications ID operation
func (*PutApplicationsID) ServeHTTP ¶
func (o *PutApplicationsID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutApplicationsIDDefault ¶
type PutApplicationsIDDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PutApplicationsIDDefault unknown error
swagger:response putApplicationsIdDefault
func NewPutApplicationsIDDefault ¶
func NewPutApplicationsIDDefault(code int) *PutApplicationsIDDefault
NewPutApplicationsIDDefault creates PutApplicationsIDDefault with default headers values
func (*PutApplicationsIDDefault) SetPayload ¶
func (o *PutApplicationsIDDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the put applications ID default response
func (*PutApplicationsIDDefault) SetStatusCode ¶
func (o *PutApplicationsIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put applications ID default response
func (*PutApplicationsIDDefault) WithPayload ¶
func (o *PutApplicationsIDDefault) WithPayload(payload *models.APIResponse) *PutApplicationsIDDefault
WithPayload adds the payload to the put applications ID default response
func (*PutApplicationsIDDefault) WithStatusCode ¶
func (o *PutApplicationsIDDefault) WithStatusCode(code int) *PutApplicationsIDDefault
WithStatusCode adds the status to the put applications ID default response
func (*PutApplicationsIDDefault) WriteResponse ¶
func (o *PutApplicationsIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutApplicationsIDHandler ¶
type PutApplicationsIDHandler interface {
Handle(PutApplicationsIDParams) middleware.Responder
}
PutApplicationsIDHandler interface for that can handle valid put applications ID params
type PutApplicationsIDHandlerFunc ¶
type PutApplicationsIDHandlerFunc func(PutApplicationsIDParams) middleware.Responder
PutApplicationsIDHandlerFunc turns a function with the right signature into a put applications ID handler
func (PutApplicationsIDHandlerFunc) Handle ¶
func (fn PutApplicationsIDHandlerFunc) Handle(params PutApplicationsIDParams) middleware.Responder
Handle executing the request and returning a response
type PutApplicationsIDNotFound ¶
type PutApplicationsIDNotFound struct { }
PutApplicationsIDNotFound Application not found.
swagger:response putApplicationsIdNotFound
func NewPutApplicationsIDNotFound ¶
func NewPutApplicationsIDNotFound() *PutApplicationsIDNotFound
NewPutApplicationsIDNotFound creates PutApplicationsIDNotFound with default headers values
func (*PutApplicationsIDNotFound) WriteResponse ¶
func (o *PutApplicationsIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutApplicationsIDOK ¶
type PutApplicationsIDOK struct { /* In: Body */ Payload *models.ApplicationInfo `json:"body,omitempty"` }
PutApplicationsIDOK Update Application successful.
swagger:response putApplicationsIdOK
func NewPutApplicationsIDOK ¶
func NewPutApplicationsIDOK() *PutApplicationsIDOK
NewPutApplicationsIDOK creates PutApplicationsIDOK with default headers values
func (*PutApplicationsIDOK) SetPayload ¶
func (o *PutApplicationsIDOK) SetPayload(payload *models.ApplicationInfo)
SetPayload sets the payload to the put applications Id o k response
func (*PutApplicationsIDOK) WithPayload ¶
func (o *PutApplicationsIDOK) WithPayload(payload *models.ApplicationInfo) *PutApplicationsIDOK
WithPayload adds the payload to the put applications Id o k response
func (*PutApplicationsIDOK) WriteResponse ¶
func (o *PutApplicationsIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutApplicationsIDParams ¶
type PutApplicationsIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ApplicationInfo /* Required: true In: path */ ID string }
PutApplicationsIDParams contains all the bound params for the put applications ID operation typically these are obtained from a http.Request
swagger:parameters PutApplicationsID
func NewPutApplicationsIDParams ¶
func NewPutApplicationsIDParams() PutApplicationsIDParams
NewPutApplicationsIDParams creates a new PutApplicationsIDParams object
There are no default values defined in the spec.
func (*PutApplicationsIDParams) BindRequest ¶
func (o *PutApplicationsIDParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutApplicationsIDParams() beforehand.
type PutApplicationsIDURL ¶
type PutApplicationsIDURL struct { ID string // contains filtered or unexported fields }
PutApplicationsIDURL generates an URL for the put applications ID operation
func (*PutApplicationsIDURL) Build ¶
func (o *PutApplicationsIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutApplicationsIDURL) BuildFull ¶
func (o *PutApplicationsIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutApplicationsIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutApplicationsIDURL) SetBasePath ¶
func (o *PutApplicationsIDURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutApplicationsIDURL) String ¶
func (o *PutApplicationsIDURL) String() string
String returns the string representation of the path with query string
func (*PutApplicationsIDURL) StringFull ¶
func (o *PutApplicationsIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutApplicationsIDURL) WithBasePath ¶
func (o *PutApplicationsIDURL) WithBasePath(bp string) *PutApplicationsIDURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutRuntimeQuickscanConfig ¶
type PutRuntimeQuickscanConfig struct { Context *middleware.Context Handler PutRuntimeQuickscanConfigHandler }
PutRuntimeQuickscanConfig swagger:route PUT /runtime/quickscan/config putRuntimeQuickscanConfig
Set runtime quick scan configuration
func NewPutRuntimeQuickscanConfig ¶
func NewPutRuntimeQuickscanConfig(ctx *middleware.Context, handler PutRuntimeQuickscanConfigHandler) *PutRuntimeQuickscanConfig
NewPutRuntimeQuickscanConfig creates a new http.Handler for the put runtime quickscan config operation
func (*PutRuntimeQuickscanConfig) ServeHTTP ¶
func (o *PutRuntimeQuickscanConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRuntimeQuickscanConfigBadRequest ¶
type PutRuntimeQuickscanConfigBadRequest struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutRuntimeQuickscanConfigBadRequest Failed to set quick scan config
swagger:response putRuntimeQuickscanConfigBadRequest
func NewPutRuntimeQuickscanConfigBadRequest ¶
func NewPutRuntimeQuickscanConfigBadRequest() *PutRuntimeQuickscanConfigBadRequest
NewPutRuntimeQuickscanConfigBadRequest creates PutRuntimeQuickscanConfigBadRequest with default headers values
func (*PutRuntimeQuickscanConfigBadRequest) SetPayload ¶
func (o *PutRuntimeQuickscanConfigBadRequest) SetPayload(payload string)
SetPayload sets the payload to the put runtime quickscan config bad request response
func (*PutRuntimeQuickscanConfigBadRequest) WithPayload ¶
func (o *PutRuntimeQuickscanConfigBadRequest) WithPayload(payload string) *PutRuntimeQuickscanConfigBadRequest
WithPayload adds the payload to the put runtime quickscan config bad request response
func (*PutRuntimeQuickscanConfigBadRequest) WriteResponse ¶
func (o *PutRuntimeQuickscanConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeQuickscanConfigCreated ¶
type PutRuntimeQuickscanConfigCreated struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
PutRuntimeQuickscanConfigCreated Success
swagger:response putRuntimeQuickscanConfigCreated
func NewPutRuntimeQuickscanConfigCreated ¶
func NewPutRuntimeQuickscanConfigCreated() *PutRuntimeQuickscanConfigCreated
NewPutRuntimeQuickscanConfigCreated creates PutRuntimeQuickscanConfigCreated with default headers values
func (*PutRuntimeQuickscanConfigCreated) SetPayload ¶
func (o *PutRuntimeQuickscanConfigCreated) SetPayload(payload interface{})
SetPayload sets the payload to the put runtime quickscan config created response
func (*PutRuntimeQuickscanConfigCreated) WithPayload ¶
func (o *PutRuntimeQuickscanConfigCreated) WithPayload(payload interface{}) *PutRuntimeQuickscanConfigCreated
WithPayload adds the payload to the put runtime quickscan config created response
func (*PutRuntimeQuickscanConfigCreated) WriteResponse ¶
func (o *PutRuntimeQuickscanConfigCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeQuickscanConfigDefault ¶
type PutRuntimeQuickscanConfigDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PutRuntimeQuickscanConfigDefault unknown error
swagger:response putRuntimeQuickscanConfigDefault
func NewPutRuntimeQuickscanConfigDefault ¶
func NewPutRuntimeQuickscanConfigDefault(code int) *PutRuntimeQuickscanConfigDefault
NewPutRuntimeQuickscanConfigDefault creates PutRuntimeQuickscanConfigDefault with default headers values
func (*PutRuntimeQuickscanConfigDefault) SetPayload ¶
func (o *PutRuntimeQuickscanConfigDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the put runtime quickscan config default response
func (*PutRuntimeQuickscanConfigDefault) SetStatusCode ¶
func (o *PutRuntimeQuickscanConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put runtime quickscan config default response
func (*PutRuntimeQuickscanConfigDefault) WithPayload ¶
func (o *PutRuntimeQuickscanConfigDefault) WithPayload(payload *models.APIResponse) *PutRuntimeQuickscanConfigDefault
WithPayload adds the payload to the put runtime quickscan config default response
func (*PutRuntimeQuickscanConfigDefault) WithStatusCode ¶
func (o *PutRuntimeQuickscanConfigDefault) WithStatusCode(code int) *PutRuntimeQuickscanConfigDefault
WithStatusCode adds the status to the put runtime quickscan config default response
func (*PutRuntimeQuickscanConfigDefault) WriteResponse ¶
func (o *PutRuntimeQuickscanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeQuickscanConfigHandler ¶
type PutRuntimeQuickscanConfigHandler interface {
Handle(PutRuntimeQuickscanConfigParams) middleware.Responder
}
PutRuntimeQuickscanConfigHandler interface for that can handle valid put runtime quickscan config params
type PutRuntimeQuickscanConfigHandlerFunc ¶
type PutRuntimeQuickscanConfigHandlerFunc func(PutRuntimeQuickscanConfigParams) middleware.Responder
PutRuntimeQuickscanConfigHandlerFunc turns a function with the right signature into a put runtime quickscan config handler
func (PutRuntimeQuickscanConfigHandlerFunc) Handle ¶
func (fn PutRuntimeQuickscanConfigHandlerFunc) Handle(params PutRuntimeQuickscanConfigParams) middleware.Responder
Handle executing the request and returning a response
type PutRuntimeQuickscanConfigParams ¶
type PutRuntimeQuickscanConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.RuntimeQuickScanConfig }
PutRuntimeQuickscanConfigParams contains all the bound params for the put runtime quickscan config operation typically these are obtained from a http.Request
swagger:parameters PutRuntimeQuickscanConfig
func NewPutRuntimeQuickscanConfigParams ¶
func NewPutRuntimeQuickscanConfigParams() PutRuntimeQuickscanConfigParams
NewPutRuntimeQuickscanConfigParams creates a new PutRuntimeQuickscanConfigParams object
There are no default values defined in the spec.
func (*PutRuntimeQuickscanConfigParams) BindRequest ¶
func (o *PutRuntimeQuickscanConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutRuntimeQuickscanConfigParams() beforehand.
type PutRuntimeQuickscanConfigURL ¶
type PutRuntimeQuickscanConfigURL struct {
// contains filtered or unexported fields
}
PutRuntimeQuickscanConfigURL generates an URL for the put runtime quickscan config operation
func (*PutRuntimeQuickscanConfigURL) Build ¶
func (o *PutRuntimeQuickscanConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutRuntimeQuickscanConfigURL) BuildFull ¶
func (o *PutRuntimeQuickscanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutRuntimeQuickscanConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutRuntimeQuickscanConfigURL) SetBasePath ¶
func (o *PutRuntimeQuickscanConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutRuntimeQuickscanConfigURL) String ¶
func (o *PutRuntimeQuickscanConfigURL) String() string
String returns the string representation of the path with query string
func (*PutRuntimeQuickscanConfigURL) StringFull ¶
func (o *PutRuntimeQuickscanConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutRuntimeQuickscanConfigURL) WithBasePath ¶
func (o *PutRuntimeQuickscanConfigURL) WithBasePath(bp string) *PutRuntimeQuickscanConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutRuntimeScanStart ¶
type PutRuntimeScanStart struct { Context *middleware.Context Handler PutRuntimeScanStartHandler }
PutRuntimeScanStart swagger:route PUT /runtime/scan/start putRuntimeScanStart
Schedule a runtime scan
func NewPutRuntimeScanStart ¶
func NewPutRuntimeScanStart(ctx *middleware.Context, handler PutRuntimeScanStartHandler) *PutRuntimeScanStart
NewPutRuntimeScanStart creates a new http.Handler for the put runtime scan start operation
func (*PutRuntimeScanStart) ServeHTTP ¶
func (o *PutRuntimeScanStart) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRuntimeScanStartBadRequest ¶
type PutRuntimeScanStartBadRequest struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutRuntimeScanStartBadRequest Scan failed to start
swagger:response putRuntimeScanStartBadRequest
func NewPutRuntimeScanStartBadRequest ¶
func NewPutRuntimeScanStartBadRequest() *PutRuntimeScanStartBadRequest
NewPutRuntimeScanStartBadRequest creates PutRuntimeScanStartBadRequest with default headers values
func (*PutRuntimeScanStartBadRequest) SetPayload ¶
func (o *PutRuntimeScanStartBadRequest) SetPayload(payload string)
SetPayload sets the payload to the put runtime scan start bad request response
func (*PutRuntimeScanStartBadRequest) WithPayload ¶
func (o *PutRuntimeScanStartBadRequest) WithPayload(payload string) *PutRuntimeScanStartBadRequest
WithPayload adds the payload to the put runtime scan start bad request response
func (*PutRuntimeScanStartBadRequest) WriteResponse ¶
func (o *PutRuntimeScanStartBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStartCreated ¶
type PutRuntimeScanStartCreated struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
PutRuntimeScanStartCreated Success
swagger:response putRuntimeScanStartCreated
func NewPutRuntimeScanStartCreated ¶
func NewPutRuntimeScanStartCreated() *PutRuntimeScanStartCreated
NewPutRuntimeScanStartCreated creates PutRuntimeScanStartCreated with default headers values
func (*PutRuntimeScanStartCreated) SetPayload ¶
func (o *PutRuntimeScanStartCreated) SetPayload(payload interface{})
SetPayload sets the payload to the put runtime scan start created response
func (*PutRuntimeScanStartCreated) WithPayload ¶
func (o *PutRuntimeScanStartCreated) WithPayload(payload interface{}) *PutRuntimeScanStartCreated
WithPayload adds the payload to the put runtime scan start created response
func (*PutRuntimeScanStartCreated) WriteResponse ¶
func (o *PutRuntimeScanStartCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStartDefault ¶
type PutRuntimeScanStartDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PutRuntimeScanStartDefault unknown error
swagger:response putRuntimeScanStartDefault
func NewPutRuntimeScanStartDefault ¶
func NewPutRuntimeScanStartDefault(code int) *PutRuntimeScanStartDefault
NewPutRuntimeScanStartDefault creates PutRuntimeScanStartDefault with default headers values
func (*PutRuntimeScanStartDefault) SetPayload ¶
func (o *PutRuntimeScanStartDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the put runtime scan start default response
func (*PutRuntimeScanStartDefault) SetStatusCode ¶
func (o *PutRuntimeScanStartDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put runtime scan start default response
func (*PutRuntimeScanStartDefault) WithPayload ¶
func (o *PutRuntimeScanStartDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScanStartDefault
WithPayload adds the payload to the put runtime scan start default response
func (*PutRuntimeScanStartDefault) WithStatusCode ¶
func (o *PutRuntimeScanStartDefault) WithStatusCode(code int) *PutRuntimeScanStartDefault
WithStatusCode adds the status to the put runtime scan start default response
func (*PutRuntimeScanStartDefault) WriteResponse ¶
func (o *PutRuntimeScanStartDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStartHandler ¶
type PutRuntimeScanStartHandler interface {
Handle(PutRuntimeScanStartParams) middleware.Responder
}
PutRuntimeScanStartHandler interface for that can handle valid put runtime scan start params
type PutRuntimeScanStartHandlerFunc ¶
type PutRuntimeScanStartHandlerFunc func(PutRuntimeScanStartParams) middleware.Responder
PutRuntimeScanStartHandlerFunc turns a function with the right signature into a put runtime scan start handler
func (PutRuntimeScanStartHandlerFunc) Handle ¶
func (fn PutRuntimeScanStartHandlerFunc) Handle(params PutRuntimeScanStartParams) middleware.Responder
Handle executing the request and returning a response
type PutRuntimeScanStartParams ¶
type PutRuntimeScanStartParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.RuntimeScanConfig }
PutRuntimeScanStartParams contains all the bound params for the put runtime scan start operation typically these are obtained from a http.Request
swagger:parameters PutRuntimeScanStart
func NewPutRuntimeScanStartParams ¶
func NewPutRuntimeScanStartParams() PutRuntimeScanStartParams
NewPutRuntimeScanStartParams creates a new PutRuntimeScanStartParams object
There are no default values defined in the spec.
func (*PutRuntimeScanStartParams) BindRequest ¶
func (o *PutRuntimeScanStartParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutRuntimeScanStartParams() beforehand.
type PutRuntimeScanStartURL ¶
type PutRuntimeScanStartURL struct {
// contains filtered or unexported fields
}
PutRuntimeScanStartURL generates an URL for the put runtime scan start operation
func (*PutRuntimeScanStartURL) Build ¶
func (o *PutRuntimeScanStartURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutRuntimeScanStartURL) BuildFull ¶
func (o *PutRuntimeScanStartURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutRuntimeScanStartURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutRuntimeScanStartURL) SetBasePath ¶
func (o *PutRuntimeScanStartURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutRuntimeScanStartURL) String ¶
func (o *PutRuntimeScanStartURL) String() string
String returns the string representation of the path with query string
func (*PutRuntimeScanStartURL) StringFull ¶
func (o *PutRuntimeScanStartURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutRuntimeScanStartURL) WithBasePath ¶
func (o *PutRuntimeScanStartURL) WithBasePath(bp string) *PutRuntimeScanStartURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutRuntimeScanStop ¶
type PutRuntimeScanStop struct { Context *middleware.Context Handler PutRuntimeScanStopHandler }
PutRuntimeScanStop swagger:route PUT /runtime/scan/stop putRuntimeScanStop
Stop a runtime scan
func NewPutRuntimeScanStop ¶
func NewPutRuntimeScanStop(ctx *middleware.Context, handler PutRuntimeScanStopHandler) *PutRuntimeScanStop
NewPutRuntimeScanStop creates a new http.Handler for the put runtime scan stop operation
func (*PutRuntimeScanStop) ServeHTTP ¶
func (o *PutRuntimeScanStop) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRuntimeScanStopBadRequest ¶
type PutRuntimeScanStopBadRequest struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutRuntimeScanStopBadRequest Scan failed to stop
swagger:response putRuntimeScanStopBadRequest
func NewPutRuntimeScanStopBadRequest ¶
func NewPutRuntimeScanStopBadRequest() *PutRuntimeScanStopBadRequest
NewPutRuntimeScanStopBadRequest creates PutRuntimeScanStopBadRequest with default headers values
func (*PutRuntimeScanStopBadRequest) SetPayload ¶
func (o *PutRuntimeScanStopBadRequest) SetPayload(payload string)
SetPayload sets the payload to the put runtime scan stop bad request response
func (*PutRuntimeScanStopBadRequest) WithPayload ¶
func (o *PutRuntimeScanStopBadRequest) WithPayload(payload string) *PutRuntimeScanStopBadRequest
WithPayload adds the payload to the put runtime scan stop bad request response
func (*PutRuntimeScanStopBadRequest) WriteResponse ¶
func (o *PutRuntimeScanStopBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStopCreated ¶
type PutRuntimeScanStopCreated struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
PutRuntimeScanStopCreated Success
swagger:response putRuntimeScanStopCreated
func NewPutRuntimeScanStopCreated ¶
func NewPutRuntimeScanStopCreated() *PutRuntimeScanStopCreated
NewPutRuntimeScanStopCreated creates PutRuntimeScanStopCreated with default headers values
func (*PutRuntimeScanStopCreated) SetPayload ¶
func (o *PutRuntimeScanStopCreated) SetPayload(payload interface{})
SetPayload sets the payload to the put runtime scan stop created response
func (*PutRuntimeScanStopCreated) WithPayload ¶
func (o *PutRuntimeScanStopCreated) WithPayload(payload interface{}) *PutRuntimeScanStopCreated
WithPayload adds the payload to the put runtime scan stop created response
func (*PutRuntimeScanStopCreated) WriteResponse ¶
func (o *PutRuntimeScanStopCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStopDefault ¶
type PutRuntimeScanStopDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PutRuntimeScanStopDefault unknown error
swagger:response putRuntimeScanStopDefault
func NewPutRuntimeScanStopDefault ¶
func NewPutRuntimeScanStopDefault(code int) *PutRuntimeScanStopDefault
NewPutRuntimeScanStopDefault creates PutRuntimeScanStopDefault with default headers values
func (*PutRuntimeScanStopDefault) SetPayload ¶
func (o *PutRuntimeScanStopDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the put runtime scan stop default response
func (*PutRuntimeScanStopDefault) SetStatusCode ¶
func (o *PutRuntimeScanStopDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put runtime scan stop default response
func (*PutRuntimeScanStopDefault) WithPayload ¶
func (o *PutRuntimeScanStopDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScanStopDefault
WithPayload adds the payload to the put runtime scan stop default response
func (*PutRuntimeScanStopDefault) WithStatusCode ¶
func (o *PutRuntimeScanStopDefault) WithStatusCode(code int) *PutRuntimeScanStopDefault
WithStatusCode adds the status to the put runtime scan stop default response
func (*PutRuntimeScanStopDefault) WriteResponse ¶
func (o *PutRuntimeScanStopDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScanStopHandler ¶
type PutRuntimeScanStopHandler interface {
Handle(PutRuntimeScanStopParams) middleware.Responder
}
PutRuntimeScanStopHandler interface for that can handle valid put runtime scan stop params
type PutRuntimeScanStopHandlerFunc ¶
type PutRuntimeScanStopHandlerFunc func(PutRuntimeScanStopParams) middleware.Responder
PutRuntimeScanStopHandlerFunc turns a function with the right signature into a put runtime scan stop handler
func (PutRuntimeScanStopHandlerFunc) Handle ¶
func (fn PutRuntimeScanStopHandlerFunc) Handle(params PutRuntimeScanStopParams) middleware.Responder
Handle executing the request and returning a response
type PutRuntimeScanStopParams ¶
type PutRuntimeScanStopParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
PutRuntimeScanStopParams contains all the bound params for the put runtime scan stop operation typically these are obtained from a http.Request
swagger:parameters PutRuntimeScanStop
func NewPutRuntimeScanStopParams ¶
func NewPutRuntimeScanStopParams() PutRuntimeScanStopParams
NewPutRuntimeScanStopParams creates a new PutRuntimeScanStopParams object
There are no default values defined in the spec.
func (*PutRuntimeScanStopParams) BindRequest ¶
func (o *PutRuntimeScanStopParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutRuntimeScanStopParams() beforehand.
type PutRuntimeScanStopURL ¶
type PutRuntimeScanStopURL struct {
// contains filtered or unexported fields
}
PutRuntimeScanStopURL generates an URL for the put runtime scan stop operation
func (*PutRuntimeScanStopURL) Build ¶
func (o *PutRuntimeScanStopURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutRuntimeScanStopURL) BuildFull ¶
func (o *PutRuntimeScanStopURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutRuntimeScanStopURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutRuntimeScanStopURL) SetBasePath ¶
func (o *PutRuntimeScanStopURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutRuntimeScanStopURL) String ¶
func (o *PutRuntimeScanStopURL) String() string
String returns the string representation of the path with query string
func (*PutRuntimeScanStopURL) StringFull ¶
func (o *PutRuntimeScanStopURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutRuntimeScanStopURL) WithBasePath ¶
func (o *PutRuntimeScanStopURL) WithBasePath(bp string) *PutRuntimeScanStopURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PutRuntimeScheduleScanConfig ¶
type PutRuntimeScheduleScanConfig struct { Context *middleware.Context Handler PutRuntimeScheduleScanConfigHandler }
PutRuntimeScheduleScanConfig swagger:route PUT /runtime/scheduleScan/config putRuntimeScheduleScanConfig
Set runtime scheduled scan configuration
func NewPutRuntimeScheduleScanConfig ¶
func NewPutRuntimeScheduleScanConfig(ctx *middleware.Context, handler PutRuntimeScheduleScanConfigHandler) *PutRuntimeScheduleScanConfig
NewPutRuntimeScheduleScanConfig creates a new http.Handler for the put runtime schedule scan config operation
func (*PutRuntimeScheduleScanConfig) ServeHTTP ¶
func (o *PutRuntimeScheduleScanConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PutRuntimeScheduleScanConfigBadRequest ¶
type PutRuntimeScheduleScanConfigBadRequest struct { /* In: Body */ Payload string `json:"body,omitempty"` }
PutRuntimeScheduleScanConfigBadRequest Failed to set scheduled scan config
swagger:response putRuntimeScheduleScanConfigBadRequest
func NewPutRuntimeScheduleScanConfigBadRequest ¶
func NewPutRuntimeScheduleScanConfigBadRequest() *PutRuntimeScheduleScanConfigBadRequest
NewPutRuntimeScheduleScanConfigBadRequest creates PutRuntimeScheduleScanConfigBadRequest with default headers values
func (*PutRuntimeScheduleScanConfigBadRequest) SetPayload ¶
func (o *PutRuntimeScheduleScanConfigBadRequest) SetPayload(payload string)
SetPayload sets the payload to the put runtime schedule scan config bad request response
func (*PutRuntimeScheduleScanConfigBadRequest) WithPayload ¶
func (o *PutRuntimeScheduleScanConfigBadRequest) WithPayload(payload string) *PutRuntimeScheduleScanConfigBadRequest
WithPayload adds the payload to the put runtime schedule scan config bad request response
func (*PutRuntimeScheduleScanConfigBadRequest) WriteResponse ¶
func (o *PutRuntimeScheduleScanConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScheduleScanConfigCreated ¶
type PutRuntimeScheduleScanConfigCreated struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
PutRuntimeScheduleScanConfigCreated Success
swagger:response putRuntimeScheduleScanConfigCreated
func NewPutRuntimeScheduleScanConfigCreated ¶
func NewPutRuntimeScheduleScanConfigCreated() *PutRuntimeScheduleScanConfigCreated
NewPutRuntimeScheduleScanConfigCreated creates PutRuntimeScheduleScanConfigCreated with default headers values
func (*PutRuntimeScheduleScanConfigCreated) SetPayload ¶
func (o *PutRuntimeScheduleScanConfigCreated) SetPayload(payload interface{})
SetPayload sets the payload to the put runtime schedule scan config created response
func (*PutRuntimeScheduleScanConfigCreated) WithPayload ¶
func (o *PutRuntimeScheduleScanConfigCreated) WithPayload(payload interface{}) *PutRuntimeScheduleScanConfigCreated
WithPayload adds the payload to the put runtime schedule scan config created response
func (*PutRuntimeScheduleScanConfigCreated) WriteResponse ¶
func (o *PutRuntimeScheduleScanConfigCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScheduleScanConfigDefault ¶
type PutRuntimeScheduleScanConfigDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PutRuntimeScheduleScanConfigDefault unknown error
swagger:response putRuntimeScheduleScanConfigDefault
func NewPutRuntimeScheduleScanConfigDefault ¶
func NewPutRuntimeScheduleScanConfigDefault(code int) *PutRuntimeScheduleScanConfigDefault
NewPutRuntimeScheduleScanConfigDefault creates PutRuntimeScheduleScanConfigDefault with default headers values
func (*PutRuntimeScheduleScanConfigDefault) SetPayload ¶
func (o *PutRuntimeScheduleScanConfigDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the put runtime schedule scan config default response
func (*PutRuntimeScheduleScanConfigDefault) SetStatusCode ¶
func (o *PutRuntimeScheduleScanConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the put runtime schedule scan config default response
func (*PutRuntimeScheduleScanConfigDefault) WithPayload ¶
func (o *PutRuntimeScheduleScanConfigDefault) WithPayload(payload *models.APIResponse) *PutRuntimeScheduleScanConfigDefault
WithPayload adds the payload to the put runtime schedule scan config default response
func (*PutRuntimeScheduleScanConfigDefault) WithStatusCode ¶
func (o *PutRuntimeScheduleScanConfigDefault) WithStatusCode(code int) *PutRuntimeScheduleScanConfigDefault
WithStatusCode adds the status to the put runtime schedule scan config default response
func (*PutRuntimeScheduleScanConfigDefault) WriteResponse ¶
func (o *PutRuntimeScheduleScanConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PutRuntimeScheduleScanConfigHandler ¶
type PutRuntimeScheduleScanConfigHandler interface {
Handle(PutRuntimeScheduleScanConfigParams) middleware.Responder
}
PutRuntimeScheduleScanConfigHandler interface for that can handle valid put runtime schedule scan config params
type PutRuntimeScheduleScanConfigHandlerFunc ¶
type PutRuntimeScheduleScanConfigHandlerFunc func(PutRuntimeScheduleScanConfigParams) middleware.Responder
PutRuntimeScheduleScanConfigHandlerFunc turns a function with the right signature into a put runtime schedule scan config handler
func (PutRuntimeScheduleScanConfigHandlerFunc) Handle ¶
func (fn PutRuntimeScheduleScanConfigHandlerFunc) Handle(params PutRuntimeScheduleScanConfigParams) middleware.Responder
Handle executing the request and returning a response
type PutRuntimeScheduleScanConfigParams ¶
type PutRuntimeScheduleScanConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.RuntimeScheduleScanConfig }
PutRuntimeScheduleScanConfigParams contains all the bound params for the put runtime schedule scan config operation typically these are obtained from a http.Request
swagger:parameters PutRuntimeScheduleScanConfig
func NewPutRuntimeScheduleScanConfigParams ¶
func NewPutRuntimeScheduleScanConfigParams() PutRuntimeScheduleScanConfigParams
NewPutRuntimeScheduleScanConfigParams creates a new PutRuntimeScheduleScanConfigParams object
There are no default values defined in the spec.
func (*PutRuntimeScheduleScanConfigParams) BindRequest ¶
func (o *PutRuntimeScheduleScanConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPutRuntimeScheduleScanConfigParams() beforehand.
type PutRuntimeScheduleScanConfigURL ¶
type PutRuntimeScheduleScanConfigURL struct {
// contains filtered or unexported fields
}
PutRuntimeScheduleScanConfigURL generates an URL for the put runtime schedule scan config operation
func (*PutRuntimeScheduleScanConfigURL) Build ¶
func (o *PutRuntimeScheduleScanConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*PutRuntimeScheduleScanConfigURL) BuildFull ¶
func (o *PutRuntimeScheduleScanConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PutRuntimeScheduleScanConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PutRuntimeScheduleScanConfigURL) SetBasePath ¶
func (o *PutRuntimeScheduleScanConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PutRuntimeScheduleScanConfigURL) String ¶
func (o *PutRuntimeScheduleScanConfigURL) String() string
String returns the string representation of the path with query string
func (*PutRuntimeScheduleScanConfigURL) StringFull ¶
func (o *PutRuntimeScheduleScanConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PutRuntimeScheduleScanConfigURL) WithBasePath ¶
func (o *PutRuntimeScheduleScanConfigURL) WithBasePath(bp string) *PutRuntimeScheduleScanConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files
¶
- delete_application_resources_id.go
- delete_application_resources_id_parameters.go
- delete_application_resources_id_responses.go
- delete_application_resources_id_urlbuilder.go
- delete_applications_id.go
- delete_applications_id_parameters.go
- delete_applications_id_responses.go
- delete_applications_id_urlbuilder.go
- get_application_resources.go
- get_application_resources_id.go
- get_application_resources_id_parameters.go
- get_application_resources_id_responses.go
- get_application_resources_id_urlbuilder.go
- get_application_resources_parameters.go
- get_application_resources_responses.go
- get_application_resources_urlbuilder.go
- get_applications.go
- get_applications_id.go
- get_applications_id_parameters.go
- get_applications_id_responses.go
- get_applications_id_urlbuilder.go
- get_applications_parameters.go
- get_applications_responses.go
- get_applications_urlbuilder.go
- get_cisdockerbenchmarkresults_id.go
- get_cisdockerbenchmarkresults_id_parameters.go
- get_cisdockerbenchmarkresults_id_responses.go
- get_cisdockerbenchmarkresults_id_urlbuilder.go
- get_dashboard_counters.go
- get_dashboard_counters_parameters.go
- get_dashboard_counters_responses.go
- get_dashboard_counters_urlbuilder.go
- get_dashboard_most_vulnerable.go
- get_dashboard_most_vulnerable_parameters.go
- get_dashboard_most_vulnerable_responses.go
- get_dashboard_most_vulnerable_urlbuilder.go
- get_dashboard_packages_per_language.go
- get_dashboard_packages_per_language_parameters.go
- get_dashboard_packages_per_language_responses.go
- get_dashboard_packages_per_language_urlbuilder.go
- get_dashboard_packages_per_license.go
- get_dashboard_packages_per_license_parameters.go
- get_dashboard_packages_per_license_responses.go
- get_dashboard_packages_per_license_urlbuilder.go
- get_dashboard_trends_vulnerabilities.go
- get_dashboard_trends_vulnerabilities_parameters.go
- get_dashboard_trends_vulnerabilities_responses.go
- get_dashboard_trends_vulnerabilities_urlbuilder.go
- get_dashboard_vulnerabilities_with_fix.go
- get_dashboard_vulnerabilities_with_fix_parameters.go
- get_dashboard_vulnerabilities_with_fix_responses.go
- get_dashboard_vulnerabilities_with_fix_urlbuilder.go
- get_namespaces.go
- get_namespaces_parameters.go
- get_namespaces_responses.go
- get_namespaces_urlbuilder.go
- get_packages.go
- get_packages_id.go
- get_packages_id_application_resources.go
- get_packages_id_application_resources_parameters.go
- get_packages_id_application_resources_responses.go
- get_packages_id_application_resources_urlbuilder.go
- get_packages_id_parameters.go
- get_packages_id_responses.go
- get_packages_id_urlbuilder.go
- get_packages_parameters.go
- get_packages_responses.go
- get_packages_urlbuilder.go
- get_runtime_quickscan_config.go
- get_runtime_quickscan_config_parameters.go
- get_runtime_quickscan_config_responses.go
- get_runtime_quickscan_config_urlbuilder.go
- get_runtime_scan_progress.go
- get_runtime_scan_progress_parameters.go
- get_runtime_scan_progress_responses.go
- get_runtime_scan_progress_urlbuilder.go
- get_runtime_scan_results.go
- get_runtime_scan_results_parameters.go
- get_runtime_scan_results_responses.go
- get_runtime_scan_results_urlbuilder.go
- get_runtime_schedule_scan_config.go
- get_runtime_schedule_scan_config_parameters.go
- get_runtime_schedule_scan_config_responses.go
- get_runtime_schedule_scan_config_urlbuilder.go
- get_vulnerabilities.go
- get_vulnerabilities_parameters.go
- get_vulnerabilities_responses.go
- get_vulnerabilities_urlbuilder.go
- get_vulnerabilities_vul_id_pkg_id.go
- get_vulnerabilities_vul_id_pkg_id_parameters.go
- get_vulnerabilities_vul_id_pkg_id_responses.go
- get_vulnerabilities_vul_id_pkg_id_urlbuilder.go
- kube_clarity_a_p_is_api.go
- post_applications.go
- post_applications_content_analysis_id.go
- post_applications_content_analysis_id_parameters.go
- post_applications_content_analysis_id_responses.go
- post_applications_content_analysis_id_urlbuilder.go
- post_applications_parameters.go
- post_applications_responses.go
- post_applications_urlbuilder.go
- post_applications_vulnerability_scan_id.go
- post_applications_vulnerability_scan_id_parameters.go
- post_applications_vulnerability_scan_id_responses.go
- post_applications_vulnerability_scan_id_urlbuilder.go
- put_applications_id.go
- put_applications_id_parameters.go
- put_applications_id_responses.go
- put_applications_id_urlbuilder.go
- put_runtime_quickscan_config.go
- put_runtime_quickscan_config_parameters.go
- put_runtime_quickscan_config_responses.go
- put_runtime_quickscan_config_urlbuilder.go
- put_runtime_scan_start.go
- put_runtime_scan_start_parameters.go
- put_runtime_scan_start_responses.go
- put_runtime_scan_start_urlbuilder.go
- put_runtime_scan_stop.go
- put_runtime_scan_stop_parameters.go
- put_runtime_scan_stop_responses.go
- put_runtime_scan_stop_urlbuilder.go
- put_runtime_schedule_scan_config.go
- put_runtime_schedule_scan_config_parameters.go
- put_runtime_schedule_scan_config_responses.go
- put_runtime_schedule_scan_config_urlbuilder.go