scanapi

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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 DeploymentName(prefix string) string

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 ServiceName(prefix string) string

func TokenSecretName added in v0.7.0

func TokenSecretName(prefix string) string

Types

type DeploymentHandler added in v0.4.0

type DeploymentHandler struct {
	KubeClient             client.Client
	Mondoo                 *v1alpha2.MondooAuditConfig
	ContainerImageResolver mondoo.ContainerImageResolver
	MondooOperatorConfig   *v1alpha2.MondooOperatorConfig
}

func (*DeploymentHandler) Reconcile added in v0.4.0

func (n *DeploymentHandler) Reconcile(ctx context.Context) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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