Documentation ¶
Index ¶
- Constants
- type KubeClarityRuntimeScanAPIsAPI
- func (o *KubeClarityRuntimeScanAPIsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
- func (o *KubeClarityRuntimeScanAPIsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
- func (o *KubeClarityRuntimeScanAPIsAPI) Authorizer() runtime.Authorizer
- func (o *KubeClarityRuntimeScanAPIsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
- func (o *KubeClarityRuntimeScanAPIsAPI) Context() *middleware.Context
- func (o *KubeClarityRuntimeScanAPIsAPI) DefaultConsumes() string
- func (o *KubeClarityRuntimeScanAPIsAPI) DefaultProduces() string
- func (o *KubeClarityRuntimeScanAPIsAPI) Formats() strfmt.Registry
- func (o *KubeClarityRuntimeScanAPIsAPI) HandlerFor(method, path string) (http.Handler, bool)
- func (o *KubeClarityRuntimeScanAPIsAPI) Init()
- func (o *KubeClarityRuntimeScanAPIsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
- func (o *KubeClarityRuntimeScanAPIsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
- func (o *KubeClarityRuntimeScanAPIsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
- func (o *KubeClarityRuntimeScanAPIsAPI) RegisterProducer(mediaType string, producer runtime.Producer)
- func (o *KubeClarityRuntimeScanAPIsAPI) Serve(builder middleware.Builder) http.Handler
- func (o *KubeClarityRuntimeScanAPIsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
- func (o *KubeClarityRuntimeScanAPIsAPI) SetDefaultConsumes(mediaType string)
- func (o *KubeClarityRuntimeScanAPIsAPI) SetDefaultProduces(mediaType string)
- func (o *KubeClarityRuntimeScanAPIsAPI) SetSpec(spec *loads.Document)
- func (o *KubeClarityRuntimeScanAPIsAPI) UseRedoc()
- func (o *KubeClarityRuntimeScanAPIsAPI) UseSwaggerUI()
- func (o *KubeClarityRuntimeScanAPIsAPI) Validate() error
- type PostScanScanUUIDCisDockerBenchmarkResults
- type PostScanScanUUIDCisDockerBenchmarkResultsCreated
- type PostScanScanUUIDCisDockerBenchmarkResultsDefault
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetPayload(payload *models.APIResponse)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetStatusCode(code int)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithStatusCode(code int) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostScanScanUUIDCisDockerBenchmarkResultsHandler
- type PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc
- type PostScanScanUUIDCisDockerBenchmarkResultsParams
- type PostScanScanUUIDCisDockerBenchmarkResultsURL
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) Build() (*url.URL, error)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) SetBasePath(bp string)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) String() string
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) StringFull(scheme, host string) string
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) WithBasePath(bp string) *PostScanScanUUIDCisDockerBenchmarkResultsURL
- type PostScanScanUUIDContentAnalysis
- type PostScanScanUUIDContentAnalysisCreated
- type PostScanScanUUIDContentAnalysisDefault
- func (o *PostScanScanUUIDContentAnalysisDefault) SetPayload(payload *models.APIResponse)
- func (o *PostScanScanUUIDContentAnalysisDefault) SetStatusCode(code int)
- func (o *PostScanScanUUIDContentAnalysisDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDContentAnalysisDefault
- func (o *PostScanScanUUIDContentAnalysisDefault) WithStatusCode(code int) *PostScanScanUUIDContentAnalysisDefault
- func (o *PostScanScanUUIDContentAnalysisDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostScanScanUUIDContentAnalysisHandler
- type PostScanScanUUIDContentAnalysisHandlerFunc
- type PostScanScanUUIDContentAnalysisParams
- type PostScanScanUUIDContentAnalysisURL
- func (o *PostScanScanUUIDContentAnalysisURL) Build() (*url.URL, error)
- func (o *PostScanScanUUIDContentAnalysisURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostScanScanUUIDContentAnalysisURL) Must(u *url.URL, err error) *url.URL
- func (o *PostScanScanUUIDContentAnalysisURL) SetBasePath(bp string)
- func (o *PostScanScanUUIDContentAnalysisURL) String() string
- func (o *PostScanScanUUIDContentAnalysisURL) StringFull(scheme, host string) string
- func (o *PostScanScanUUIDContentAnalysisURL) WithBasePath(bp string) *PostScanScanUUIDContentAnalysisURL
- type PostScanScanUUIDResults
- type PostScanScanUUIDResultsCreated
- type PostScanScanUUIDResultsDefault
- func (o *PostScanScanUUIDResultsDefault) SetPayload(payload *models.APIResponse)
- func (o *PostScanScanUUIDResultsDefault) SetStatusCode(code int)
- func (o *PostScanScanUUIDResultsDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDResultsDefault
- func (o *PostScanScanUUIDResultsDefault) WithStatusCode(code int) *PostScanScanUUIDResultsDefault
- func (o *PostScanScanUUIDResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostScanScanUUIDResultsHandler
- type PostScanScanUUIDResultsHandlerFunc
- type PostScanScanUUIDResultsParams
- type PostScanScanUUIDResultsURL
- func (o *PostScanScanUUIDResultsURL) Build() (*url.URL, error)
- func (o *PostScanScanUUIDResultsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostScanScanUUIDResultsURL) Must(u *url.URL, err error) *url.URL
- func (o *PostScanScanUUIDResultsURL) SetBasePath(bp string)
- func (o *PostScanScanUUIDResultsURL) String() string
- func (o *PostScanScanUUIDResultsURL) StringFull(scheme, host string) string
- func (o *PostScanScanUUIDResultsURL) WithBasePath(bp string) *PostScanScanUUIDResultsURL
Constants ¶
const PostScanScanUUIDCisDockerBenchmarkResultsCreatedCode int = 201
PostScanScanUUIDCisDockerBenchmarkResultsCreatedCode is the HTTP code returned for type PostScanScanUUIDCisDockerBenchmarkResultsCreated
const PostScanScanUUIDContentAnalysisCreatedCode int = 201
PostScanScanUUIDContentAnalysisCreatedCode is the HTTP code returned for type PostScanScanUUIDContentAnalysisCreated
const PostScanScanUUIDResultsCreatedCode int = 201
PostScanScanUUIDResultsCreatedCode is the HTTP code returned for type PostScanScanUUIDResultsCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeClarityRuntimeScanAPIsAPI ¶
type KubeClarityRuntimeScanAPIsAPI 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 // PostScanScanUUIDCisDockerBenchmarkResultsHandler sets the operation handler for the post scan scan UUID cis docker benchmark results operation PostScanScanUUIDCisDockerBenchmarkResultsHandler PostScanScanUUIDCisDockerBenchmarkResultsHandler // PostScanScanUUIDContentAnalysisHandler sets the operation handler for the post scan scan UUID content analysis operation PostScanScanUUIDContentAnalysisHandler PostScanScanUUIDContentAnalysisHandler // PostScanScanUUIDResultsHandler sets the operation handler for the post scan scan UUID results operation PostScanScanUUIDResultsHandler PostScanScanUUIDResultsHandler // 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 }
KubeClarityRuntimeScanAPIsAPI the kube clarity runtime scan a p is API
func NewKubeClarityRuntimeScanAPIsAPI ¶
func NewKubeClarityRuntimeScanAPIsAPI(spec *loads.Document) *KubeClarityRuntimeScanAPIsAPI
NewKubeClarityRuntimeScanAPIsAPI creates a new KubeClarityRuntimeScanAPIs instance
func (*KubeClarityRuntimeScanAPIsAPI) AddMiddlewareFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)
AddMiddlewareFor adds a http middleware to existing handler
func (*KubeClarityRuntimeScanAPIsAPI) AuthenticatorsFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator
AuthenticatorsFor gets the authenticators for the specified security schemes
func (*KubeClarityRuntimeScanAPIsAPI) Authorizer ¶
func (o *KubeClarityRuntimeScanAPIsAPI) Authorizer() runtime.Authorizer
Authorizer returns the registered authorizer
func (*KubeClarityRuntimeScanAPIsAPI) ConsumersFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer
ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.
func (*KubeClarityRuntimeScanAPIsAPI) Context ¶
func (o *KubeClarityRuntimeScanAPIsAPI) Context() *middleware.Context
Context returns the middleware context for the kube clarity runtime scan a p is API
func (*KubeClarityRuntimeScanAPIsAPI) DefaultConsumes ¶
func (o *KubeClarityRuntimeScanAPIsAPI) DefaultConsumes() string
DefaultConsumes returns the default consumes media type
func (*KubeClarityRuntimeScanAPIsAPI) DefaultProduces ¶
func (o *KubeClarityRuntimeScanAPIsAPI) DefaultProduces() string
DefaultProduces returns the default produces media type
func (*KubeClarityRuntimeScanAPIsAPI) Formats ¶
func (o *KubeClarityRuntimeScanAPIsAPI) Formats() strfmt.Registry
Formats returns the registered string formats
func (*KubeClarityRuntimeScanAPIsAPI) HandlerFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) HandlerFor(method, path string) (http.Handler, bool)
HandlerFor gets a http.Handler for the provided operation method and path
func (*KubeClarityRuntimeScanAPIsAPI) Init ¶
func (o *KubeClarityRuntimeScanAPIsAPI) Init()
Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (*KubeClarityRuntimeScanAPIsAPI) ProducersFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer
ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.
func (*KubeClarityRuntimeScanAPIsAPI) RegisterConsumer ¶
func (o *KubeClarityRuntimeScanAPIsAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)
RegisterConsumer allows you to add (or override) a consumer for a media type.
func (*KubeClarityRuntimeScanAPIsAPI) RegisterFormat ¶
func (o *KubeClarityRuntimeScanAPIsAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)
RegisterFormat registers a custom format validator
func (*KubeClarityRuntimeScanAPIsAPI) RegisterProducer ¶
func (o *KubeClarityRuntimeScanAPIsAPI) RegisterProducer(mediaType string, producer runtime.Producer)
RegisterProducer allows you to add (or override) a producer for a media type.
func (*KubeClarityRuntimeScanAPIsAPI) Serve ¶
func (o *KubeClarityRuntimeScanAPIsAPI) 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 (*KubeClarityRuntimeScanAPIsAPI) ServeErrorFor ¶
func (o *KubeClarityRuntimeScanAPIsAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)
ServeErrorFor gets a error handler for a given operation id
func (*KubeClarityRuntimeScanAPIsAPI) SetDefaultConsumes ¶
func (o *KubeClarityRuntimeScanAPIsAPI) SetDefaultConsumes(mediaType string)
SetDefaultConsumes returns the default consumes media type
func (*KubeClarityRuntimeScanAPIsAPI) SetDefaultProduces ¶
func (o *KubeClarityRuntimeScanAPIsAPI) SetDefaultProduces(mediaType string)
SetDefaultProduces sets the default produces media type
func (*KubeClarityRuntimeScanAPIsAPI) SetSpec ¶
func (o *KubeClarityRuntimeScanAPIsAPI) SetSpec(spec *loads.Document)
SetSpec sets a spec that will be served for the clients.
func (*KubeClarityRuntimeScanAPIsAPI) UseRedoc ¶
func (o *KubeClarityRuntimeScanAPIsAPI) UseRedoc()
UseRedoc for documentation at /docs
func (*KubeClarityRuntimeScanAPIsAPI) UseSwaggerUI ¶
func (o *KubeClarityRuntimeScanAPIsAPI) UseSwaggerUI()
UseSwaggerUI for documentation at /docs
func (*KubeClarityRuntimeScanAPIsAPI) Validate ¶
func (o *KubeClarityRuntimeScanAPIsAPI) Validate() error
Validate validates the registrations in the KubeClarityRuntimeScanAPIsAPI
type PostScanScanUUIDCisDockerBenchmarkResults ¶
type PostScanScanUUIDCisDockerBenchmarkResults struct { Context *middleware.Context Handler PostScanScanUUIDCisDockerBenchmarkResultsHandler }
PostScanScanUUIDCisDockerBenchmarkResults swagger:route POST /scan/{scan-uuid}/cisDockerBenchmark/results postScanScanUuidCisDockerBenchmarkResults
Report an image CIS docker benchmark scan for a specific scan UUID.
func NewPostScanScanUUIDCisDockerBenchmarkResults ¶
func NewPostScanScanUUIDCisDockerBenchmarkResults(ctx *middleware.Context, handler PostScanScanUUIDCisDockerBenchmarkResultsHandler) *PostScanScanUUIDCisDockerBenchmarkResults
NewPostScanScanUUIDCisDockerBenchmarkResults creates a new http.Handler for the post scan scan UUID cis docker benchmark results operation
func (*PostScanScanUUIDCisDockerBenchmarkResults) ServeHTTP ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResults) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostScanScanUUIDCisDockerBenchmarkResultsCreated ¶
type PostScanScanUUIDCisDockerBenchmarkResultsCreated struct { }
PostScanScanUUIDCisDockerBenchmarkResultsCreated CIS docker benchmark scan successfully reported.
swagger:response postScanScanUuidCisDockerBenchmarkResultsCreated
func NewPostScanScanUUIDCisDockerBenchmarkResultsCreated ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsCreated() *PostScanScanUUIDCisDockerBenchmarkResultsCreated
NewPostScanScanUUIDCisDockerBenchmarkResultsCreated creates PostScanScanUUIDCisDockerBenchmarkResultsCreated with default headers values
func (*PostScanScanUUIDCisDockerBenchmarkResultsCreated) WriteResponse ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDCisDockerBenchmarkResultsDefault ¶
type PostScanScanUUIDCisDockerBenchmarkResultsDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostScanScanUUIDCisDockerBenchmarkResultsDefault unknown error
swagger:response postScanScanUuidCisDockerBenchmarkResultsDefault
func NewPostScanScanUUIDCisDockerBenchmarkResultsDefault ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsDefault(code int) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
NewPostScanScanUUIDCisDockerBenchmarkResultsDefault creates PostScanScanUUIDCisDockerBenchmarkResultsDefault with default headers values
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetPayload ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post scan scan UUID cis docker benchmark results default response
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetStatusCode ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post scan scan UUID cis docker benchmark results default response
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithPayload ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
WithPayload adds the payload to the post scan scan UUID cis docker benchmark results default response
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithStatusCode ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithStatusCode(code int) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
WithStatusCode adds the status to the post scan scan UUID cis docker benchmark results default response
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WriteResponse ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDCisDockerBenchmarkResultsHandler ¶
type PostScanScanUUIDCisDockerBenchmarkResultsHandler interface {
Handle(PostScanScanUUIDCisDockerBenchmarkResultsParams) middleware.Responder
}
PostScanScanUUIDCisDockerBenchmarkResultsHandler interface for that can handle valid post scan scan UUID cis docker benchmark results params
type PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc ¶
type PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc func(PostScanScanUUIDCisDockerBenchmarkResultsParams) middleware.Responder
PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc turns a function with the right signature into a post scan scan UUID cis docker benchmark results handler
func (PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc) Handle ¶
func (fn PostScanScanUUIDCisDockerBenchmarkResultsHandlerFunc) Handle(params PostScanScanUUIDCisDockerBenchmarkResultsParams) middleware.Responder
Handle executing the request and returning a response
type PostScanScanUUIDCisDockerBenchmarkResultsParams ¶
type PostScanScanUUIDCisDockerBenchmarkResultsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.CISDockerBenchmarkScan /* Required: true In: path */ ScanUUID strfmt.UUID }
PostScanScanUUIDCisDockerBenchmarkResultsParams contains all the bound params for the post scan scan UUID cis docker benchmark results operation typically these are obtained from a http.Request
swagger:parameters PostScanScanUUIDCisDockerBenchmarkResults
func NewPostScanScanUUIDCisDockerBenchmarkResultsParams ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsParams() PostScanScanUUIDCisDockerBenchmarkResultsParams
NewPostScanScanUUIDCisDockerBenchmarkResultsParams creates a new PostScanScanUUIDCisDockerBenchmarkResultsParams object
There are no default values defined in the spec.
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) BindRequest ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) 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 NewPostScanScanUUIDCisDockerBenchmarkResultsParams() beforehand.
type PostScanScanUUIDCisDockerBenchmarkResultsURL ¶
type PostScanScanUUIDCisDockerBenchmarkResultsURL struct { ScanUUID strfmt.UUID // contains filtered or unexported fields }
PostScanScanUUIDCisDockerBenchmarkResultsURL generates an URL for the post scan scan UUID cis docker benchmark results operation
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) Build ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) BuildFull ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) SetBasePath ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) 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 (*PostScanScanUUIDCisDockerBenchmarkResultsURL) String ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) String() string
String returns the string representation of the path with query string
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) StringFull ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostScanScanUUIDCisDockerBenchmarkResultsURL) WithBasePath ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsURL) WithBasePath(bp string) *PostScanScanUUIDCisDockerBenchmarkResultsURL
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 PostScanScanUUIDContentAnalysis ¶
type PostScanScanUUIDContentAnalysis struct { Context *middleware.Context Handler PostScanScanUUIDContentAnalysisHandler }
PostScanScanUUIDContentAnalysis swagger:route POST /scan/{scan-uuid}/contentAnalysis postScanScanUuidContentAnalysis
Report a content analysis for a specific resource
func NewPostScanScanUUIDContentAnalysis ¶
func NewPostScanScanUUIDContentAnalysis(ctx *middleware.Context, handler PostScanScanUUIDContentAnalysisHandler) *PostScanScanUUIDContentAnalysis
NewPostScanScanUUIDContentAnalysis creates a new http.Handler for the post scan scan UUID content analysis operation
func (*PostScanScanUUIDContentAnalysis) ServeHTTP ¶
func (o *PostScanScanUUIDContentAnalysis) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostScanScanUUIDContentAnalysisCreated ¶
type PostScanScanUUIDContentAnalysisCreated struct { }
PostScanScanUUIDContentAnalysisCreated Image content analysis successfully reported.
swagger:response postScanScanUuidContentAnalysisCreated
func NewPostScanScanUUIDContentAnalysisCreated ¶
func NewPostScanScanUUIDContentAnalysisCreated() *PostScanScanUUIDContentAnalysisCreated
NewPostScanScanUUIDContentAnalysisCreated creates PostScanScanUUIDContentAnalysisCreated with default headers values
func (*PostScanScanUUIDContentAnalysisCreated) WriteResponse ¶
func (o *PostScanScanUUIDContentAnalysisCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDContentAnalysisDefault ¶
type PostScanScanUUIDContentAnalysisDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostScanScanUUIDContentAnalysisDefault unknown error
swagger:response postScanScanUuidContentAnalysisDefault
func NewPostScanScanUUIDContentAnalysisDefault ¶
func NewPostScanScanUUIDContentAnalysisDefault(code int) *PostScanScanUUIDContentAnalysisDefault
NewPostScanScanUUIDContentAnalysisDefault creates PostScanScanUUIDContentAnalysisDefault with default headers values
func (*PostScanScanUUIDContentAnalysisDefault) SetPayload ¶
func (o *PostScanScanUUIDContentAnalysisDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post scan scan UUID content analysis default response
func (*PostScanScanUUIDContentAnalysisDefault) SetStatusCode ¶
func (o *PostScanScanUUIDContentAnalysisDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post scan scan UUID content analysis default response
func (*PostScanScanUUIDContentAnalysisDefault) WithPayload ¶
func (o *PostScanScanUUIDContentAnalysisDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDContentAnalysisDefault
WithPayload adds the payload to the post scan scan UUID content analysis default response
func (*PostScanScanUUIDContentAnalysisDefault) WithStatusCode ¶
func (o *PostScanScanUUIDContentAnalysisDefault) WithStatusCode(code int) *PostScanScanUUIDContentAnalysisDefault
WithStatusCode adds the status to the post scan scan UUID content analysis default response
func (*PostScanScanUUIDContentAnalysisDefault) WriteResponse ¶
func (o *PostScanScanUUIDContentAnalysisDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDContentAnalysisHandler ¶
type PostScanScanUUIDContentAnalysisHandler interface {
Handle(PostScanScanUUIDContentAnalysisParams) middleware.Responder
}
PostScanScanUUIDContentAnalysisHandler interface for that can handle valid post scan scan UUID content analysis params
type PostScanScanUUIDContentAnalysisHandlerFunc ¶
type PostScanScanUUIDContentAnalysisHandlerFunc func(PostScanScanUUIDContentAnalysisParams) middleware.Responder
PostScanScanUUIDContentAnalysisHandlerFunc turns a function with the right signature into a post scan scan UUID content analysis handler
func (PostScanScanUUIDContentAnalysisHandlerFunc) Handle ¶
func (fn PostScanScanUUIDContentAnalysisHandlerFunc) Handle(params PostScanScanUUIDContentAnalysisParams) middleware.Responder
Handle executing the request and returning a response
type PostScanScanUUIDContentAnalysisParams ¶
type PostScanScanUUIDContentAnalysisParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ImageContentAnalysis /* Required: true In: path */ ScanUUID strfmt.UUID }
PostScanScanUUIDContentAnalysisParams contains all the bound params for the post scan scan UUID content analysis operation typically these are obtained from a http.Request
swagger:parameters PostScanScanUUIDContentAnalysis
func NewPostScanScanUUIDContentAnalysisParams ¶
func NewPostScanScanUUIDContentAnalysisParams() PostScanScanUUIDContentAnalysisParams
NewPostScanScanUUIDContentAnalysisParams creates a new PostScanScanUUIDContentAnalysisParams object
There are no default values defined in the spec.
func (*PostScanScanUUIDContentAnalysisParams) BindRequest ¶
func (o *PostScanScanUUIDContentAnalysisParams) 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 NewPostScanScanUUIDContentAnalysisParams() beforehand.
type PostScanScanUUIDContentAnalysisURL ¶
type PostScanScanUUIDContentAnalysisURL struct { ScanUUID strfmt.UUID // contains filtered or unexported fields }
PostScanScanUUIDContentAnalysisURL generates an URL for the post scan scan UUID content analysis operation
func (*PostScanScanUUIDContentAnalysisURL) Build ¶
func (o *PostScanScanUUIDContentAnalysisURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostScanScanUUIDContentAnalysisURL) BuildFull ¶
func (o *PostScanScanUUIDContentAnalysisURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostScanScanUUIDContentAnalysisURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostScanScanUUIDContentAnalysisURL) SetBasePath ¶
func (o *PostScanScanUUIDContentAnalysisURL) 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 (*PostScanScanUUIDContentAnalysisURL) String ¶
func (o *PostScanScanUUIDContentAnalysisURL) String() string
String returns the string representation of the path with query string
func (*PostScanScanUUIDContentAnalysisURL) StringFull ¶
func (o *PostScanScanUUIDContentAnalysisURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostScanScanUUIDContentAnalysisURL) WithBasePath ¶
func (o *PostScanScanUUIDContentAnalysisURL) WithBasePath(bp string) *PostScanScanUUIDContentAnalysisURL
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 PostScanScanUUIDResults ¶
type PostScanScanUUIDResults struct { Context *middleware.Context Handler PostScanScanUUIDResultsHandler }
PostScanScanUUIDResults swagger:route POST /scan/{scan-uuid}/results postScanScanUuidResults
Report an image vulnerability scan for a specific scan UUID.
func NewPostScanScanUUIDResults ¶
func NewPostScanScanUUIDResults(ctx *middleware.Context, handler PostScanScanUUIDResultsHandler) *PostScanScanUUIDResults
NewPostScanScanUUIDResults creates a new http.Handler for the post scan scan UUID results operation
func (*PostScanScanUUIDResults) ServeHTTP ¶
func (o *PostScanScanUUIDResults) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostScanScanUUIDResultsCreated ¶
type PostScanScanUUIDResultsCreated struct { }
PostScanScanUUIDResultsCreated Image vulnerability scan successfully reported.
swagger:response postScanScanUuidResultsCreated
func NewPostScanScanUUIDResultsCreated ¶
func NewPostScanScanUUIDResultsCreated() *PostScanScanUUIDResultsCreated
NewPostScanScanUUIDResultsCreated creates PostScanScanUUIDResultsCreated with default headers values
func (*PostScanScanUUIDResultsCreated) WriteResponse ¶
func (o *PostScanScanUUIDResultsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDResultsDefault ¶
type PostScanScanUUIDResultsDefault struct { /* In: Body */ Payload *models.APIResponse `json:"body,omitempty"` // contains filtered or unexported fields }
PostScanScanUUIDResultsDefault unknown error
swagger:response postScanScanUuidResultsDefault
func NewPostScanScanUUIDResultsDefault ¶
func NewPostScanScanUUIDResultsDefault(code int) *PostScanScanUUIDResultsDefault
NewPostScanScanUUIDResultsDefault creates PostScanScanUUIDResultsDefault with default headers values
func (*PostScanScanUUIDResultsDefault) SetPayload ¶
func (o *PostScanScanUUIDResultsDefault) SetPayload(payload *models.APIResponse)
SetPayload sets the payload to the post scan scan UUID results default response
func (*PostScanScanUUIDResultsDefault) SetStatusCode ¶
func (o *PostScanScanUUIDResultsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post scan scan UUID results default response
func (*PostScanScanUUIDResultsDefault) WithPayload ¶
func (o *PostScanScanUUIDResultsDefault) WithPayload(payload *models.APIResponse) *PostScanScanUUIDResultsDefault
WithPayload adds the payload to the post scan scan UUID results default response
func (*PostScanScanUUIDResultsDefault) WithStatusCode ¶
func (o *PostScanScanUUIDResultsDefault) WithStatusCode(code int) *PostScanScanUUIDResultsDefault
WithStatusCode adds the status to the post scan scan UUID results default response
func (*PostScanScanUUIDResultsDefault) WriteResponse ¶
func (o *PostScanScanUUIDResultsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostScanScanUUIDResultsHandler ¶
type PostScanScanUUIDResultsHandler interface {
Handle(PostScanScanUUIDResultsParams) middleware.Responder
}
PostScanScanUUIDResultsHandler interface for that can handle valid post scan scan UUID results params
type PostScanScanUUIDResultsHandlerFunc ¶
type PostScanScanUUIDResultsHandlerFunc func(PostScanScanUUIDResultsParams) middleware.Responder
PostScanScanUUIDResultsHandlerFunc turns a function with the right signature into a post scan scan UUID results handler
func (PostScanScanUUIDResultsHandlerFunc) Handle ¶
func (fn PostScanScanUUIDResultsHandlerFunc) Handle(params PostScanScanUUIDResultsParams) middleware.Responder
Handle executing the request and returning a response
type PostScanScanUUIDResultsParams ¶
type PostScanScanUUIDResultsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ImageVulnerabilityScan /* Required: true In: path */ ScanUUID strfmt.UUID }
PostScanScanUUIDResultsParams contains all the bound params for the post scan scan UUID results operation typically these are obtained from a http.Request
swagger:parameters PostScanScanUUIDResults
func NewPostScanScanUUIDResultsParams ¶
func NewPostScanScanUUIDResultsParams() PostScanScanUUIDResultsParams
NewPostScanScanUUIDResultsParams creates a new PostScanScanUUIDResultsParams object
There are no default values defined in the spec.
func (*PostScanScanUUIDResultsParams) BindRequest ¶
func (o *PostScanScanUUIDResultsParams) 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 NewPostScanScanUUIDResultsParams() beforehand.
type PostScanScanUUIDResultsURL ¶
type PostScanScanUUIDResultsURL struct { ScanUUID strfmt.UUID // contains filtered or unexported fields }
PostScanScanUUIDResultsURL generates an URL for the post scan scan UUID results operation
func (*PostScanScanUUIDResultsURL) Build ¶
func (o *PostScanScanUUIDResultsURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostScanScanUUIDResultsURL) BuildFull ¶
func (o *PostScanScanUUIDResultsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostScanScanUUIDResultsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostScanScanUUIDResultsURL) SetBasePath ¶
func (o *PostScanScanUUIDResultsURL) 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 (*PostScanScanUUIDResultsURL) String ¶
func (o *PostScanScanUUIDResultsURL) String() string
String returns the string representation of the path with query string
func (*PostScanScanUUIDResultsURL) StringFull ¶
func (o *PostScanScanUUIDResultsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostScanScanUUIDResultsURL) WithBasePath ¶
func (o *PostScanScanUUIDResultsURL) WithBasePath(bp string) *PostScanScanUUIDResultsURL
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 ¶
- kube_clarity_runtime_scan_a_p_is_api.go
- post_scan_scan_uuid_cis_docker_benchmark_results.go
- post_scan_scan_uuid_cis_docker_benchmark_results_parameters.go
- post_scan_scan_uuid_cis_docker_benchmark_results_responses.go
- post_scan_scan_uuid_cis_docker_benchmark_results_urlbuilder.go
- post_scan_scan_uuid_content_analysis.go
- post_scan_scan_uuid_content_analysis_parameters.go
- post_scan_scan_uuid_content_analysis_responses.go
- post_scan_scan_uuid_content_analysis_urlbuilder.go
- post_scan_scan_uuid_results.go
- post_scan_scan_uuid_results_parameters.go
- post_scan_scan_uuid_results_responses.go
- post_scan_scan_uuid_results_urlbuilder.go