Documentation ¶
Index ¶
- Constants
- func AddScanRequest(parent *wrapper.RouterWrapper) error
- func AddScanResult(parent *wrapper.RouterWrapper) error
- func AddV1Apis(parent *wrapper.RouterWrapper) error
- func ImageSignRequest(ar *v1beta1.AdmissionReview, w http.ResponseWriter, r *http.Request) *v1beta1.AdmissionResponse
- func Initiate()
- func Mutate(ar *v1beta1.AdmissionReview, client client.Client) *v1beta1.AdmissionResponse
Constants ¶
View Source
const ( ApiGroup = "registry.tmax.io" ApiVersion = "v1" SignerKind = "imagesigners" NamespaceParamKey = "namespace" ResourceParamKey = "resourceName" )
View Source
const ( UserHeader = "X-Remote-User" GroupHeader = "X-Remote-Group" ExtrasHeader = "X-Remote-Extra-" )
View Source
const ( ScanKind = "scans" ScanRequestNameParamKey = "scanReqName" ExternalScanKind = "ext-scans" ExternalScanRequestNameParamKey = "ext-scanReqName" )
View Source
const ( RepositoryKind = "repositories" ExtRepositoryKind = "ext-repositories" ScanResultKind = "imagescanresults" RepositoryParamKey = "repositoryName" TagParamKey = "tagName" )
Variables ¶
This section is empty.
Functions ¶
func AddScanRequest ¶
func AddScanRequest(parent *wrapper.RouterWrapper) error
func AddScanResult ¶
func AddScanResult(parent *wrapper.RouterWrapper) error
func AddV1Apis ¶
func AddV1Apis(parent *wrapper.RouterWrapper) error
func ImageSignRequest ¶
func ImageSignRequest(ar *v1beta1.AdmissionReview, w http.ResponseWriter, r *http.Request) *v1beta1.AdmissionResponse
func Mutate ¶
func Mutate(ar *v1beta1.AdmissionReview, client client.Client) *v1beta1.AdmissionResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.