scan

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetReportLogForbiddenCode int = 403

GetReportLogForbiddenCode is the HTTP code returned for type GetReportLogForbidden

View Source
const GetReportLogInternalServerErrorCode int = 500

GetReportLogInternalServerErrorCode is the HTTP code returned for type GetReportLogInternalServerError

View Source
const GetReportLogNotFoundCode int = 404

GetReportLogNotFoundCode is the HTTP code returned for type GetReportLogNotFound

View Source
const GetReportLogOKCode int = 200

GetReportLogOKCode is the HTTP code returned for type GetReportLogOK

View Source
const GetReportLogUnauthorizedCode int = 401

GetReportLogUnauthorizedCode is the HTTP code returned for type GetReportLogUnauthorized

View Source
const ScanArtifactAcceptedCode int = 202

ScanArtifactAcceptedCode is the HTTP code returned for type ScanArtifactAccepted

View Source
const ScanArtifactBadRequestCode int = 400

ScanArtifactBadRequestCode is the HTTP code returned for type ScanArtifactBadRequest

View Source
const ScanArtifactForbiddenCode int = 403

ScanArtifactForbiddenCode is the HTTP code returned for type ScanArtifactForbidden

View Source
const ScanArtifactInternalServerErrorCode int = 500

ScanArtifactInternalServerErrorCode is the HTTP code returned for type ScanArtifactInternalServerError

View Source
const ScanArtifactNotFoundCode int = 404

ScanArtifactNotFoundCode is the HTTP code returned for type ScanArtifactNotFound

View Source
const ScanArtifactUnauthorizedCode int = 401

ScanArtifactUnauthorizedCode is the HTTP code returned for type ScanArtifactUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type GetReportLog

type GetReportLog struct {
	Context *middleware.Context
	Handler GetReportLogHandler
}

GetReportLog swagger:route GET /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan/{report_id}/log scan getReportLog

Get the log of the scan report

Get the log of the scan report

func NewGetReportLog

func NewGetReportLog(ctx *middleware.Context, handler GetReportLogHandler) *GetReportLog

NewGetReportLog creates a new http.Handler for the get report log operation

func (*GetReportLog) ServeHTTP

func (o *GetReportLog) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetReportLogForbidden

type GetReportLogForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReportLogForbidden Forbidden

swagger:response getReportLogForbidden

func NewGetReportLogForbidden

func NewGetReportLogForbidden() *GetReportLogForbidden

NewGetReportLogForbidden creates GetReportLogForbidden with default headers values

func (*GetReportLogForbidden) SetPayload

func (o *GetReportLogForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get report log forbidden response

func (*GetReportLogForbidden) SetXRequestID

func (o *GetReportLogForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get report log forbidden response

func (*GetReportLogForbidden) WithPayload

func (o *GetReportLogForbidden) WithPayload(payload *models.Errors) *GetReportLogForbidden

WithPayload adds the payload to the get report log forbidden response

func (*GetReportLogForbidden) WithXRequestID

func (o *GetReportLogForbidden) WithXRequestID(xRequestID string) *GetReportLogForbidden

WithXRequestID adds the xRequestId to the get report log forbidden response

func (*GetReportLogForbidden) WriteResponse

func (o *GetReportLogForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetReportLogHandler

type GetReportLogHandler interface {
	Handle(GetReportLogParams, interface{}) middleware.Responder
}

GetReportLogHandler interface for that can handle valid get report log params

type GetReportLogHandlerFunc

type GetReportLogHandlerFunc func(GetReportLogParams, interface{}) middleware.Responder

GetReportLogHandlerFunc turns a function with the right signature into a get report log handler

func (GetReportLogHandlerFunc) Handle

func (fn GetReportLogHandlerFunc) Handle(params GetReportLogParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetReportLogInternalServerError

type GetReportLogInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReportLogInternalServerError Internal server error

swagger:response getReportLogInternalServerError

func NewGetReportLogInternalServerError

func NewGetReportLogInternalServerError() *GetReportLogInternalServerError

NewGetReportLogInternalServerError creates GetReportLogInternalServerError with default headers values

func (*GetReportLogInternalServerError) SetPayload

func (o *GetReportLogInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get report log internal server error response

func (*GetReportLogInternalServerError) SetXRequestID

func (o *GetReportLogInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get report log internal server error response

func (*GetReportLogInternalServerError) WithPayload

WithPayload adds the payload to the get report log internal server error response

func (*GetReportLogInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the get report log internal server error response

func (*GetReportLogInternalServerError) WriteResponse

func (o *GetReportLogInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetReportLogNotFound

type GetReportLogNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReportLogNotFound Not found

swagger:response getReportLogNotFound

func NewGetReportLogNotFound

func NewGetReportLogNotFound() *GetReportLogNotFound

NewGetReportLogNotFound creates GetReportLogNotFound with default headers values

func (*GetReportLogNotFound) SetPayload

func (o *GetReportLogNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get report log not found response

func (*GetReportLogNotFound) SetXRequestID

func (o *GetReportLogNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get report log not found response

func (*GetReportLogNotFound) WithPayload

func (o *GetReportLogNotFound) WithPayload(payload *models.Errors) *GetReportLogNotFound

WithPayload adds the payload to the get report log not found response

func (*GetReportLogNotFound) WithXRequestID

func (o *GetReportLogNotFound) WithXRequestID(xRequestID string) *GetReportLogNotFound

WithXRequestID adds the xRequestId to the get report log not found response

func (*GetReportLogNotFound) WriteResponse

func (o *GetReportLogNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetReportLogOK

type GetReportLogOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

GetReportLogOK Successfully get scan log file

swagger:response getReportLogOK

func NewGetReportLogOK

func NewGetReportLogOK() *GetReportLogOK

NewGetReportLogOK creates GetReportLogOK with default headers values

func (*GetReportLogOK) SetPayload

func (o *GetReportLogOK) SetPayload(payload string)

SetPayload sets the payload to the get report log o k response

func (*GetReportLogOK) WithPayload

func (o *GetReportLogOK) WithPayload(payload string) *GetReportLogOK

WithPayload adds the payload to the get report log o k response

func (*GetReportLogOK) WriteResponse

func (o *GetReportLogOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetReportLogParams

type GetReportLogParams struct {

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

	/*An unique ID for the request
	  Min Length: 1
	  In: header
	*/
	XRequestID *string
	/*The name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*The reference of the artifact, can be digest or tag
	  Required: true
	  In: path
	*/
	Reference string
	/*The report id to get the log
	  Required: true
	  In: path
	*/
	ReportID string
	/*The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb
	  Required: true
	  In: path
	*/
	RepositoryName string
}

GetReportLogParams contains all the bound params for the get report log operation typically these are obtained from a http.Request

swagger:parameters getReportLog

func NewGetReportLogParams

func NewGetReportLogParams() GetReportLogParams

NewGetReportLogParams creates a new GetReportLogParams object no default values defined in spec.

func (*GetReportLogParams) BindRequest

func (o *GetReportLogParams) 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 NewGetReportLogParams() beforehand.

type GetReportLogURL

type GetReportLogURL struct {
	ProjectName    string
	Reference      string
	ReportID       string
	RepositoryName string
	// contains filtered or unexported fields
}

GetReportLogURL generates an URL for the get report log operation

func (*GetReportLogURL) Build

func (o *GetReportLogURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetReportLogURL) BuildFull

func (o *GetReportLogURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetReportLogURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetReportLogURL) SetBasePath

func (o *GetReportLogURL) 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 (*GetReportLogURL) String

func (o *GetReportLogURL) String() string

String returns the string representation of the path with query string

func (*GetReportLogURL) StringFull

func (o *GetReportLogURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetReportLogURL) WithBasePath

func (o *GetReportLogURL) WithBasePath(bp string) *GetReportLogURL

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 GetReportLogUnauthorized

type GetReportLogUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

GetReportLogUnauthorized Unauthorized

swagger:response getReportLogUnauthorized

func NewGetReportLogUnauthorized

func NewGetReportLogUnauthorized() *GetReportLogUnauthorized

NewGetReportLogUnauthorized creates GetReportLogUnauthorized with default headers values

func (*GetReportLogUnauthorized) SetPayload

func (o *GetReportLogUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the get report log unauthorized response

func (*GetReportLogUnauthorized) SetXRequestID

func (o *GetReportLogUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the get report log unauthorized response

func (*GetReportLogUnauthorized) WithPayload

WithPayload adds the payload to the get report log unauthorized response

func (*GetReportLogUnauthorized) WithXRequestID

func (o *GetReportLogUnauthorized) WithXRequestID(xRequestID string) *GetReportLogUnauthorized

WithXRequestID adds the xRequestId to the get report log unauthorized response

func (*GetReportLogUnauthorized) WriteResponse

func (o *GetReportLogUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifact

type ScanArtifact struct {
	Context *middleware.Context
	Handler ScanArtifactHandler
}

ScanArtifact swagger:route POST /projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/scan scan scanArtifact

Scan the artifact

Scan the specified artifact

func NewScanArtifact

func NewScanArtifact(ctx *middleware.Context, handler ScanArtifactHandler) *ScanArtifact

NewScanArtifact creates a new http.Handler for the scan artifact operation

func (*ScanArtifact) ServeHTTP

func (o *ScanArtifact) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ScanArtifactAccepted

type ScanArtifactAccepted struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`
}

ScanArtifactAccepted Accepted

swagger:response scanArtifactAccepted

func NewScanArtifactAccepted

func NewScanArtifactAccepted() *ScanArtifactAccepted

NewScanArtifactAccepted creates ScanArtifactAccepted with default headers values

func (*ScanArtifactAccepted) SetXRequestID

func (o *ScanArtifactAccepted) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact accepted response

func (*ScanArtifactAccepted) WithXRequestID

func (o *ScanArtifactAccepted) WithXRequestID(xRequestID string) *ScanArtifactAccepted

WithXRequestID adds the xRequestId to the scan artifact accepted response

func (*ScanArtifactAccepted) WriteResponse

func (o *ScanArtifactAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifactBadRequest

type ScanArtifactBadRequest struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ScanArtifactBadRequest Bad request

swagger:response scanArtifactBadRequest

func NewScanArtifactBadRequest

func NewScanArtifactBadRequest() *ScanArtifactBadRequest

NewScanArtifactBadRequest creates ScanArtifactBadRequest with default headers values

func (*ScanArtifactBadRequest) SetPayload

func (o *ScanArtifactBadRequest) SetPayload(payload *models.Errors)

SetPayload sets the payload to the scan artifact bad request response

func (*ScanArtifactBadRequest) SetXRequestID

func (o *ScanArtifactBadRequest) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact bad request response

func (*ScanArtifactBadRequest) WithPayload

func (o *ScanArtifactBadRequest) WithPayload(payload *models.Errors) *ScanArtifactBadRequest

WithPayload adds the payload to the scan artifact bad request response

func (*ScanArtifactBadRequest) WithXRequestID

func (o *ScanArtifactBadRequest) WithXRequestID(xRequestID string) *ScanArtifactBadRequest

WithXRequestID adds the xRequestId to the scan artifact bad request response

func (*ScanArtifactBadRequest) WriteResponse

func (o *ScanArtifactBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifactForbidden

type ScanArtifactForbidden struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ScanArtifactForbidden Forbidden

swagger:response scanArtifactForbidden

func NewScanArtifactForbidden

func NewScanArtifactForbidden() *ScanArtifactForbidden

NewScanArtifactForbidden creates ScanArtifactForbidden with default headers values

func (*ScanArtifactForbidden) SetPayload

func (o *ScanArtifactForbidden) SetPayload(payload *models.Errors)

SetPayload sets the payload to the scan artifact forbidden response

func (*ScanArtifactForbidden) SetXRequestID

func (o *ScanArtifactForbidden) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact forbidden response

func (*ScanArtifactForbidden) WithPayload

func (o *ScanArtifactForbidden) WithPayload(payload *models.Errors) *ScanArtifactForbidden

WithPayload adds the payload to the scan artifact forbidden response

func (*ScanArtifactForbidden) WithXRequestID

func (o *ScanArtifactForbidden) WithXRequestID(xRequestID string) *ScanArtifactForbidden

WithXRequestID adds the xRequestId to the scan artifact forbidden response

func (*ScanArtifactForbidden) WriteResponse

func (o *ScanArtifactForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifactHandler

type ScanArtifactHandler interface {
	Handle(ScanArtifactParams, interface{}) middleware.Responder
}

ScanArtifactHandler interface for that can handle valid scan artifact params

type ScanArtifactHandlerFunc

type ScanArtifactHandlerFunc func(ScanArtifactParams, interface{}) middleware.Responder

ScanArtifactHandlerFunc turns a function with the right signature into a scan artifact handler

func (ScanArtifactHandlerFunc) Handle

func (fn ScanArtifactHandlerFunc) Handle(params ScanArtifactParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ScanArtifactInternalServerError

type ScanArtifactInternalServerError struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ScanArtifactInternalServerError Internal server error

swagger:response scanArtifactInternalServerError

func NewScanArtifactInternalServerError

func NewScanArtifactInternalServerError() *ScanArtifactInternalServerError

NewScanArtifactInternalServerError creates ScanArtifactInternalServerError with default headers values

func (*ScanArtifactInternalServerError) SetPayload

func (o *ScanArtifactInternalServerError) SetPayload(payload *models.Errors)

SetPayload sets the payload to the scan artifact internal server error response

func (*ScanArtifactInternalServerError) SetXRequestID

func (o *ScanArtifactInternalServerError) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact internal server error response

func (*ScanArtifactInternalServerError) WithPayload

WithPayload adds the payload to the scan artifact internal server error response

func (*ScanArtifactInternalServerError) WithXRequestID

WithXRequestID adds the xRequestId to the scan artifact internal server error response

func (*ScanArtifactInternalServerError) WriteResponse

func (o *ScanArtifactInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifactNotFound

type ScanArtifactNotFound struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ScanArtifactNotFound Not found

swagger:response scanArtifactNotFound

func NewScanArtifactNotFound

func NewScanArtifactNotFound() *ScanArtifactNotFound

NewScanArtifactNotFound creates ScanArtifactNotFound with default headers values

func (*ScanArtifactNotFound) SetPayload

func (o *ScanArtifactNotFound) SetPayload(payload *models.Errors)

SetPayload sets the payload to the scan artifact not found response

func (*ScanArtifactNotFound) SetXRequestID

func (o *ScanArtifactNotFound) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact not found response

func (*ScanArtifactNotFound) WithPayload

func (o *ScanArtifactNotFound) WithPayload(payload *models.Errors) *ScanArtifactNotFound

WithPayload adds the payload to the scan artifact not found response

func (*ScanArtifactNotFound) WithXRequestID

func (o *ScanArtifactNotFound) WithXRequestID(xRequestID string) *ScanArtifactNotFound

WithXRequestID adds the xRequestId to the scan artifact not found response

func (*ScanArtifactNotFound) WriteResponse

func (o *ScanArtifactNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ScanArtifactParams

type ScanArtifactParams struct {

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

	/*An unique ID for the request
	  Min Length: 1
	  In: header
	*/
	XRequestID *string
	/*The name of the project
	  Required: true
	  In: path
	*/
	ProjectName string
	/*The reference of the artifact, can be digest or tag
	  Required: true
	  In: path
	*/
	Reference string
	/*The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb
	  Required: true
	  In: path
	*/
	RepositoryName string
}

ScanArtifactParams contains all the bound params for the scan artifact operation typically these are obtained from a http.Request

swagger:parameters scanArtifact

func NewScanArtifactParams

func NewScanArtifactParams() ScanArtifactParams

NewScanArtifactParams creates a new ScanArtifactParams object no default values defined in spec.

func (*ScanArtifactParams) BindRequest

func (o *ScanArtifactParams) 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 NewScanArtifactParams() beforehand.

type ScanArtifactURL

type ScanArtifactURL struct {
	ProjectName    string
	Reference      string
	RepositoryName string
	// contains filtered or unexported fields
}

ScanArtifactURL generates an URL for the scan artifact operation

func (*ScanArtifactURL) Build

func (o *ScanArtifactURL) Build() (*url.URL, error)

Build a url path and query string

func (*ScanArtifactURL) BuildFull

func (o *ScanArtifactURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ScanArtifactURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ScanArtifactURL) SetBasePath

func (o *ScanArtifactURL) 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 (*ScanArtifactURL) String

func (o *ScanArtifactURL) String() string

String returns the string representation of the path with query string

func (*ScanArtifactURL) StringFull

func (o *ScanArtifactURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ScanArtifactURL) WithBasePath

func (o *ScanArtifactURL) WithBasePath(bp string) *ScanArtifactURL

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 ScanArtifactUnauthorized

type ScanArtifactUnauthorized struct {
	/*The ID of the corresponding request for the response

	 */
	XRequestID string `json:"X-Request-Id"`

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

ScanArtifactUnauthorized Unauthorized

swagger:response scanArtifactUnauthorized

func NewScanArtifactUnauthorized

func NewScanArtifactUnauthorized() *ScanArtifactUnauthorized

NewScanArtifactUnauthorized creates ScanArtifactUnauthorized with default headers values

func (*ScanArtifactUnauthorized) SetPayload

func (o *ScanArtifactUnauthorized) SetPayload(payload *models.Errors)

SetPayload sets the payload to the scan artifact unauthorized response

func (*ScanArtifactUnauthorized) SetXRequestID

func (o *ScanArtifactUnauthorized) SetXRequestID(xRequestID string)

SetXRequestID sets the xRequestId to the scan artifact unauthorized response

func (*ScanArtifactUnauthorized) WithPayload

WithPayload adds the payload to the scan artifact unauthorized response

func (*ScanArtifactUnauthorized) WithXRequestID

func (o *ScanArtifactUnauthorized) WithXRequestID(xRequestID string) *ScanArtifactUnauthorized

WithXRequestID adds the xRequestId to the scan artifact unauthorized response

func (*ScanArtifactUnauthorized) WriteResponse

func (o *ScanArtifactUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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