vm

package
v0.6.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetScript

func GetScript(c *k8s.Client, options ScriptOptions) error

GetScript Function to handle script download for vm option

func PolicyHandling

func PolicyHandling(t string, path string, o PolicyOptions) error

PolicyHandling Function recives path to YAML file with the type of event and emits an Host Policy Event to KubeArmor gRPC Server

Types

type PolicyOptions

type PolicyOptions struct {
	GRPC string
}

PolicyOptions are optional configuration for kArmor vm policy

type ScriptOptions

type ScriptOptions struct {
	Port   string
	VMName string
	File   string
}

ScriptOptions for karmor vm getscript

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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