policy

package
v0.0.0-...-7a57398 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPolicyController = "kyverno"

Variables

This section is empty.

Functions

func AddPolicyConroller

func AddPolicyConroller(ctx context.Context, config *rest.Config, plcType string) error

Add policy controller

func AddRegistryPolicy

func AddRegistryPolicy(ctx context.Context, config *rest.Config, registry *RegistryPolicy) error

Add registry related policies

func DeleteRegistryPolicy

func DeleteRegistryPolicy(ctx context.Context, config *rest.Config, registry *RegistryPolicy) error

Delete registry related policies

Types

type RegistryPolicy

type RegistryPolicy struct {
	Name     string
	Url      string
	NodePort string
}

Jump to

Keyboard shortcuts

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