clair

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PublicPort        = 80
	AdapterPublicPort = 8080
)

Variables

This section is empty.

Functions

func InitConfigMaps

func InitConfigMaps()

Types

type Clair

type Clair struct {
	Option Option
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, harbor *goharborv1alpha1.Harbor, opt Option) (*Clair, error)

func (*Clair) GetCertificates

func (c *Clair) GetCertificates(ctx context.Context) []*certv1.Certificate

func (*Clair) GetConfigMaps

func (c *Clair) GetConfigMaps(ctx context.Context) []*corev1.ConfigMap

func (*Clair) GetConfigMapsCheckSum

func (c *Clair) GetConfigMapsCheckSum() string

func (*Clair) GetDeployments

func (c *Clair) GetDeployments(ctx context.Context) []*appsv1.Deployment

func (*Clair) GetIngresses

func (*Clair) GetIngresses(ctx context.Context) []*netv1.Ingress

func (*Clair) GetSecrets

func (c *Clair) GetSecrets(ctx context.Context) []*corev1.Secret

func (*Clair) GetSecretsCheckSum

func (c *Clair) GetSecretsCheckSum() string

func (*Clair) GetServices

func (c *Clair) GetServices(ctx context.Context) []*corev1.Service

type Option

type Option interface {
	GetPriority() *int32
}

Jump to

Keyboard shortcuts

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