Documentation ¶
Index ¶
- Constants
- func DeploymentLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func DeploymentName(prefix string) string
- func ScanApiDeployment(ns, image string, m v1alpha2.MondooAuditConfig, ...) *appsv1.Deployment
- func ScanApiSecret(mondoo v1alpha2.MondooAuditConfig) *corev1.Secret
- func ScanApiService(ns string, m v1alpha2.MondooAuditConfig) *corev1.Service
- func ScanApiServiceUrl(m v1alpha2.MondooAuditConfig) string
- func ServiceName(prefix string) string
- func TokenSecretName(prefix string) string
- type DeploymentHandler
Constants ¶
View Source
const ( DeploymentSuffix = "-scan-api" ServiceSuffix = "-scan-api" SecretSuffix = "-scan-api-token" Port = 8080 )
Variables ¶
This section is empty.
Functions ¶
func DeploymentLabels ¶
func DeploymentLabels(m v1alpha2.MondooAuditConfig) map[string]string
func DeploymentName ¶
func ScanApiDeployment ¶
func ScanApiDeployment(ns, image string, m v1alpha2.MondooAuditConfig, privateImageScanningSecretName string) *appsv1.Deployment
func ScanApiSecret ¶ added in v0.2.6
func ScanApiSecret(mondoo v1alpha2.MondooAuditConfig) *corev1.Secret
func ScanApiService ¶
func ScanApiService(ns string, m v1alpha2.MondooAuditConfig) *corev1.Service
func ScanApiServiceUrl ¶ added in v0.4.0
func ScanApiServiceUrl(m v1alpha2.MondooAuditConfig) string
func ServiceName ¶
func TokenSecretName ¶ added in v0.7.0
Types ¶
type DeploymentHandler ¶ added in v0.4.0
type DeploymentHandler struct { KubeClient client.Client Mondoo *v1alpha2.MondooAuditConfig ContainerImageResolver mondoo.ContainerImageResolver MondooOperatorConfig *v1alpha2.MondooOperatorConfig }
Click to show internal directories.
Click to hide internal directories.