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: 18 Imported by: 3

Documentation

Index

Constants

View Source
const PostScanScanUUIDCisDockerBenchmarkResultsCreatedCode int = 201

PostScanScanUUIDCisDockerBenchmarkResultsCreatedCode is the HTTP code returned for type PostScanScanUUIDCisDockerBenchmarkResultsCreated

View Source
const PostScanScanUUIDContentAnalysisCreatedCode int = 201

PostScanScanUUIDContentAnalysisCreatedCode is the HTTP code returned for type PostScanScanUUIDContentAnalysisCreated

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

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

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

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

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

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

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

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

SetPayload sets the payload to the post scan scan UUID cis docker benchmark results default response

func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) SetStatusCode

SetStatusCode sets the status to the post scan scan UUID cis docker benchmark results default response

func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithPayload

WithPayload adds the payload to the post scan scan UUID cis docker benchmark results default response

func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WithStatusCode

WithStatusCode adds the status to the post scan scan UUID cis docker benchmark results default response

func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) WriteResponse

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

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

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

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

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

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

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

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

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

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

WithPayload adds the payload to the post scan scan UUID content analysis default response

func (*PostScanScanUUIDContentAnalysisDefault) WithStatusCode

WithStatusCode adds the status to the post scan scan UUID content analysis default response

func (*PostScanScanUUIDContentAnalysisDefault) WriteResponse

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

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

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

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

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

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

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

WithPayload adds the payload to the post scan scan UUID results default response

func (*PostScanScanUUIDResultsDefault) WithStatusCode

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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