operator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ScanInterval          time.Duration `mapstructure:"scan-interval"`
	ScanJobNamespace      string        `mapstructure:"scan-job-namespace"`
	ScanJobServiceAccount string        `mapstructure:"scan-job-service-account"`
	ScanWorkloadResources []string      `mapstructure:"scan-workload-resources"`
	TrivyImage            string        `mapstructure:"trivy-image"`
	TrivyServer           string        `mapstructure:"trivy-server"`
}

func (Config) TimeUntilNextScan

func (c Config) TimeUntilNextScan(cis *stasv1alpha1.ContainerImageScan) time.Duration

Jump to

Keyboard shortcuts

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