operations

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteApplicationsIDNoContentCode int = 204

DeleteApplicationsIDNoContentCode is the HTTP code returned for type DeleteApplicationsIDNoContent

View Source
const DeleteApplicationsIDNotFoundCode int = 404

DeleteApplicationsIDNotFoundCode is the HTTP code returned for type DeleteApplicationsIDNotFound

View Source
const GetApplicationResourcesIDOKCode int = 200

GetApplicationResourcesIDOKCode is the HTTP code returned for type GetApplicationResourcesIDOK

View Source
const GetApplicationResourcesOKCode int = 200

GetApplicationResourcesOKCode is the HTTP code returned for type GetApplicationResourcesOK

View Source
const GetApplicationsIDOKCode int = 200

GetApplicationsIDOKCode is the HTTP code returned for type GetApplicationsIDOK

View Source
const GetApplicationsOKCode int = 200

GetApplicationsOKCode is the HTTP code returned for type GetApplicationsOK

View Source
const GetCisdockerbenchmarkresultsIDOKCode int = 200

GetCisdockerbenchmarkresultsIDOKCode is the HTTP code returned for type GetCisdockerbenchmarkresultsIDOK

View Source
const GetDashboardCountersOKCode int = 200

GetDashboardCountersOKCode is the HTTP code returned for type GetDashboardCountersOK

View Source
const GetDashboardMostVulnerableOKCode int = 200

GetDashboardMostVulnerableOKCode is the HTTP code returned for type GetDashboardMostVulnerableOK

View Source
const GetDashboardPackagesPerLanguageOKCode int = 200

GetDashboardPackagesPerLanguageOKCode is the HTTP code returned for type GetDashboardPackagesPerLanguageOK

View Source
const GetDashboardPackagesPerLicenseOKCode int = 200

GetDashboardPackagesPerLicenseOKCode is the HTTP code returned for type GetDashboardPackagesPerLicenseOK

View Source
const GetDashboardTrendsVulnerabilitiesOKCode int = 200

GetDashboardTrendsVulnerabilitiesOKCode is the HTTP code returned for type GetDashboardTrendsVulnerabilitiesOK

View Source
const GetDashboardVulnerabilitiesWithFixOKCode int = 200

GetDashboardVulnerabilitiesWithFixOKCode is the HTTP code returned for type GetDashboardVulnerabilitiesWithFixOK

View Source
const GetNamespacesOKCode int = 200

GetNamespacesOKCode is the HTTP code returned for type GetNamespacesOK

View Source
const GetPackagesIDApplicationResourcesNotFoundCode int = 404

GetPackagesIDApplicationResourcesNotFoundCode is the HTTP code returned for type GetPackagesIDApplicationResourcesNotFound

View Source
const GetPackagesIDApplicationResourcesOKCode int = 200

GetPackagesIDApplicationResourcesOKCode is the HTTP code returned for type GetPackagesIDApplicationResourcesOK

View Source
const GetPackagesIDNotFoundCode int = 404

GetPackagesIDNotFoundCode is the HTTP code returned for type GetPackagesIDNotFound

View Source
const GetPackagesIDOKCode int = 200

GetPackagesIDOKCode is the HTTP code returned for type GetPackagesIDOK

View Source
const GetPackagesOKCode int = 200

GetPackagesOKCode is the HTTP code returned for type GetPackagesOK

View Source
const GetRuntimeQuickscanConfigOKCode int = 200

GetRuntimeQuickscanConfigOKCode is the HTTP code returned for type GetRuntimeQuickscanConfigOK

View Source
const GetRuntimeScanProgressOKCode int = 200

GetRuntimeScanProgressOKCode is the HTTP code returned for type GetRuntimeScanProgressOK

View Source
const GetRuntimeScanResultsOKCode int = 200

GetRuntimeScanResultsOKCode is the HTTP code returned for type GetRuntimeScanResultsOK

View Source
const GetRuntimeScheduleScanConfigOKCode int = 200

GetRuntimeScheduleScanConfigOKCode is the HTTP code returned for type GetRuntimeScheduleScanConfigOK

View Source
const GetVulnerabilitiesOKCode int = 200

GetVulnerabilitiesOKCode is the HTTP code returned for type GetVulnerabilitiesOK

View Source
const GetVulnerabilitiesVulIDPkgIDOKCode int = 200

GetVulnerabilitiesVulIDPkgIDOKCode is the HTTP code returned for type GetVulnerabilitiesVulIDPkgIDOK

View Source
const PostApplicationsConflictCode int = 409

PostApplicationsConflictCode is the HTTP code returned for type PostApplicationsConflict

View Source
const PostApplicationsContentAnalysisIDCreatedCode int = 201

PostApplicationsContentAnalysisIDCreatedCode is the HTTP code returned for type PostApplicationsContentAnalysisIDCreated

View Source
const PostApplicationsContentAnalysisIDNotFoundCode int = 404

PostApplicationsContentAnalysisIDNotFoundCode is the HTTP code returned for type PostApplicationsContentAnalysisIDNotFound

View Source
const PostApplicationsCreatedCode int = 201

PostApplicationsCreatedCode is the HTTP code returned for type PostApplicationsCreated

View Source
const PostApplicationsVulnerabilityScanIDCreatedCode int = 201

PostApplicationsVulnerabilityScanIDCreatedCode is the HTTP code returned for type PostApplicationsVulnerabilityScanIDCreated

View Source
const PostApplicationsVulnerabilityScanIDNotFoundCode int = 404

PostApplicationsVulnerabilityScanIDNotFoundCode is the HTTP code returned for type PostApplicationsVulnerabilityScanIDNotFound

View Source
const PutApplicationsIDNotFoundCode int = 404

PutApplicationsIDNotFoundCode is the HTTP code returned for type PutApplicationsIDNotFound

View Source
const PutApplicationsIDOKCode int = 200

PutApplicationsIDOKCode is the HTTP code returned for type PutApplicationsIDOK

View Source
const PutRuntimeQuickscanConfigBadRequestCode int = 400

PutRuntimeQuickscanConfigBadRequestCode is the HTTP code returned for type PutRuntimeQuickscanConfigBadRequest

View Source
const PutRuntimeQuickscanConfigCreatedCode int = 201

PutRuntimeQuickscanConfigCreatedCode is the HTTP code returned for type PutRuntimeQuickscanConfigCreated

View Source
const PutRuntimeScanStartBadRequestCode int = 400

PutRuntimeScanStartBadRequestCode is the HTTP code returned for type PutRuntimeScanStartBadRequest

View Source
const PutRuntimeScanStartCreatedCode int = 201

PutRuntimeScanStartCreatedCode is the HTTP code returned for type PutRuntimeScanStartCreated

View Source
const PutRuntimeScanStopBadRequestCode int = 400

PutRuntimeScanStopBadRequestCode is the HTTP code returned for type PutRuntimeScanStopBadRequest

View Source
const PutRuntimeScanStopCreatedCode int = 201

PutRuntimeScanStopCreatedCode is the HTTP code returned for type PutRuntimeScanStopCreated

View Source
const PutRuntimeScheduleScanConfigBadRequestCode int = 400

PutRuntimeScheduleScanConfigBadRequestCode is the HTTP code returned for type PutRuntimeScheduleScanConfigBadRequest

View Source
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 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

WithPayload adds the payload to the delete applications ID default response

func (*DeleteApplicationsIDDefault) WithStatusCode

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

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

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

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

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

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

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

WithPayload adds the payload to the get application resources default response

func (*GetApplicationResourcesDefault) WithStatusCode

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

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

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

WithPayload adds the payload to the get application resources ID default response

func (*GetApplicationResourcesIDDefault) WithStatusCode

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

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

SetPayload sets the payload to the get application resources Id o k response

func (*GetApplicationResourcesIDOK) WithPayload

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

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

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

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

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

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

SetPayload sets the payload to the get application resources o k response

func (*GetApplicationResourcesOK) WithPayload

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

func (*GetApplicationResourcesOKBody) Validate

func (o *GetApplicationResourcesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get application resources o k body

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

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

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

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

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

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

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

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

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

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

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

func (o *GetApplicationsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetApplicationsOKBody) Validate

func (o *GetApplicationsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get applications o k body

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

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

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

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

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

WithPayload adds the payload to the get cisdockerbenchmarkresults ID default response

func (*GetCisdockerbenchmarkresultsIDDefault) WithStatusCode

WithStatusCode adds the status to the get cisdockerbenchmarkresults ID default response

func (*GetCisdockerbenchmarkresultsIDDefault) WriteResponse

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

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

SetPayload sets the payload to the get cisdockerbenchmarkresults Id o k response

func (*GetCisdockerbenchmarkresultsIDOK) WithPayload

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

func (*GetCisdockerbenchmarkresultsIDOKBody) Validate

Validate validates this get cisdockerbenchmarkresults ID o k body

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

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

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

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

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

WithPayload adds the payload to the get dashboard counters default response

func (*GetDashboardCountersDefault) WithStatusCode

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

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

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

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

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

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

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

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

WithPayload adds the payload to the get dashboard most vulnerable default response

func (*GetDashboardMostVulnerableDefault) WithStatusCode

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

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

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

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

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

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

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

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

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

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

WithPayload adds the payload to the get dashboard packages per language default response

func (*GetDashboardPackagesPerLanguageDefault) WithStatusCode

WithStatusCode adds the status to the get dashboard packages per language default response

func (*GetDashboardPackagesPerLanguageDefault) WriteResponse

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

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

SetPayload sets the payload to the get dashboard packages per language o k response

func (*GetDashboardPackagesPerLanguageOK) WithPayload

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

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

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

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

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

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

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

WithPayload adds the payload to the get dashboard packages per license default response

func (*GetDashboardPackagesPerLicenseDefault) WithStatusCode

WithStatusCode adds the status to the get dashboard packages per license default response

func (*GetDashboardPackagesPerLicenseDefault) WriteResponse

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

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

SetPayload sets the payload to the get dashboard packages per license o k response

func (*GetDashboardPackagesPerLicenseOK) WithPayload

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

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

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

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

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

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

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

WithPayload adds the payload to the get dashboard trends vulnerabilities default response

func (*GetDashboardTrendsVulnerabilitiesDefault) WithStatusCode

WithStatusCode adds the status to the get dashboard trends vulnerabilities default response

func (*GetDashboardTrendsVulnerabilitiesDefault) WriteResponse

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

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

SetPayload sets the payload to the get dashboard trends vulnerabilities o k response

func (*GetDashboardTrendsVulnerabilitiesOK) WithPayload

WithPayload adds the payload to the get dashboard trends vulnerabilities o k response

func (*GetDashboardTrendsVulnerabilitiesOK) WriteResponse

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

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

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

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

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

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

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

WithPayload adds the payload to the get dashboard vulnerabilities with fix default response

func (*GetDashboardVulnerabilitiesWithFixDefault) WithStatusCode

WithStatusCode adds the status to the get dashboard vulnerabilities with fix default response

func (*GetDashboardVulnerabilitiesWithFixDefault) WriteResponse

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

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

SetPayload sets the payload to the get dashboard vulnerabilities with fix o k response

func (*GetDashboardVulnerabilitiesWithFixOK) WithPayload

WithPayload adds the payload to the get dashboard vulnerabilities with fix o k response

func (*GetDashboardVulnerabilitiesWithFixOK) WriteResponse

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

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

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

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

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

Handle executing the request and returning a response

type GetNamespacesOK

type GetNamespacesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Namespace `json:"body,omitempty"`
}

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

type GetNamespacesParams struct {

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

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

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

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

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

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

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

WithPayload adds the payload to the get packages ID application resources default response

func (*GetPackagesIDApplicationResourcesDefault) WithStatusCode

WithStatusCode adds the status to the get packages ID application resources default response

func (*GetPackagesIDApplicationResourcesDefault) WriteResponse

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

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

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

SetPayload sets the payload to the get packages Id application resources o k response

func (*GetPackagesIDApplicationResourcesOK) WithPayload

WithPayload adds the payload to the get packages Id application resources o k response

func (*GetPackagesIDApplicationResourcesOK) WriteResponse

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

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

func (*GetPackagesIDApplicationResourcesOKBody) Validate

Validate validates this get packages ID application resources o k body

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

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

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

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

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

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

type GetPackagesIDOK struct {

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

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

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

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

func (o *GetPackagesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetPackagesOKBody) Validate

func (o *GetPackagesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get packages o k body

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

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

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

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

WithPayload adds the payload to the get runtime quickscan config default response

func (*GetRuntimeQuickscanConfigDefault) WithStatusCode

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

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

SetPayload sets the payload to the get runtime quickscan config o k response

func (*GetRuntimeQuickscanConfigOK) WithPayload

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

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

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

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

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

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

WithPayload adds the payload to the get runtime scan progress default response

func (*GetRuntimeScanProgressDefault) WithStatusCode

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

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

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

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

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

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

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

WithPayload adds the payload to the get runtime scan results default response

func (*GetRuntimeScanResultsDefault) WithStatusCode

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

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

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

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

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

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

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

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

WithPayload adds the payload to the get runtime schedule scan config default response

func (*GetRuntimeScheduleScanConfigDefault) WithStatusCode

WithStatusCode adds the status to the get runtime schedule scan config default response

func (*GetRuntimeScheduleScanConfigDefault) WriteResponse

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

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

SetPayload sets the payload to the get runtime schedule scan config o k response

func (*GetRuntimeScheduleScanConfigOK) WithPayload

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

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

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

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

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

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

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

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

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

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

func (*GetVulnerabilitiesOKBody) Validate

func (o *GetVulnerabilitiesOKBody) Validate(formats strfmt.Registry) error

Validate validates this get vulnerabilities o k body

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

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

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

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

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

WithPayload adds the payload to the get vulnerabilities vul ID pkg ID default response

func (*GetVulnerabilitiesVulIDPkgIDDefault) WithStatusCode

WithStatusCode adds the status to the get vulnerabilities vul ID pkg ID default response

func (*GetVulnerabilitiesVulIDPkgIDDefault) WriteResponse

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

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

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

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

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

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

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

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

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

	// 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

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

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

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

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

WithPayload adds the payload to the post applications content analysis ID default response

func (*PostApplicationsContentAnalysisIDDefault) WithStatusCode

WithStatusCode adds the status to the post applications content analysis ID default response

func (*PostApplicationsContentAnalysisIDDefault) WriteResponse

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

WithPayload adds the payload to the post applications vulnerability scan ID default response

func (*PostApplicationsVulnerabilityScanIDDefault) WithStatusCode

WithStatusCode adds the status to the post applications vulnerability scan ID default response

func (*PostApplicationsVulnerabilityScanIDDefault) WriteResponse

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

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

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

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

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

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

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

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

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

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

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

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

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

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

WithPayload adds the payload to the put runtime quickscan config bad request response

func (*PutRuntimeQuickscanConfigBadRequest) WriteResponse

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

WithPayload adds the payload to the put runtime quickscan config default response

func (*PutRuntimeQuickscanConfigDefault) WithStatusCode

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

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

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

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

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

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

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

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

WithPayload adds the payload to the put runtime scan start default response

func (*PutRuntimeScanStartDefault) WithStatusCode

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

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

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

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

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

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

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

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

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

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

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

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

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

WithPayload adds the payload to the put runtime schedule scan config bad request response

func (*PutRuntimeScheduleScanConfigBadRequest) WriteResponse

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

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

WithPayload adds the payload to the put runtime schedule scan config default response

func (*PutRuntimeScheduleScanConfigDefault) WithStatusCode

WithStatusCode adds the status to the put runtime schedule scan config default response

func (*PutRuntimeScheduleScanConfigDefault) WriteResponse

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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