recommend

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package recommend provides policies by policy generators

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recommend

func Recommend(c *k8s.Client, o common.Options, policyGenerators ...engines.Engine) error

Recommend handler for karmor cli tool

Types

type Deployment added in v0.9.5

type Deployment struct {
	Name      string
	Namespace string
	Labels    LabelMap
	Images    []string
}

Deployment contains brief information about a k8s deployment

type LabelMap added in v0.9.5

type LabelMap = map[string]string

LabelMap is an alias for map[string]string

Directories

Path Synopsis
Package common contains object types used by multiple packages
Package common contains object types used by multiple packages
Package engines provides interfaces and implementations for policy generation
Package engines provides interfaces and implementations for policy generation
generic_policies
Package genericpolicies is responsible for creating and managing policies based on policy generator
Package genericpolicies is responsible for creating and managing policies based on policy generator
Package image scan and provide image info
Package image scan and provide image info
Package registry contains scanner for image info
Package registry contains scanner for image info
Package report package
Package report package

Jump to

Keyboard shortcuts

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