aa

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SSH_PORT = "22"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppArmor

type AppArmor struct {
	// contains filtered or unexported fields
}

func NewAppArmor

func NewAppArmor() (*AppArmor, error)

NewAppArmor returns a new AppArmor object

func (*AppArmor) AppArmorEnabled

func (aa *AppArmor) AppArmorEnabled() (types.NodeList, error)

AppArmorEnabled get AppArmor enabled status on worker nodes

func (*AppArmor) AppArmorStatus

func (aa *AppArmor) AppArmorStatus() (types.NodeList, error)

AppArmorStatus gets AppArmor enforced profiles on worker nodes

func (*AppArmor) InstallAppArmor

func (aa *AppArmor) InstallAppArmor() error

InstallAppArmor installs AppArmor service on worker nodes

func (*AppArmor) InstallCRD

func (aa *AppArmor) InstallCRD() error

InstallCRD installs CRD in Kubernetes

func (*AppArmor) Sync

func (aa *AppArmor) Sync() error

Sync syncs AppArmor profiles from etcd to worker nodes

func (*AppArmor) UseInternalIP added in v0.0.6

func (aa *AppArmor) UseInternalIP(useInternalIP bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳