package aaparser

import "github.com/docker/docker/pkg/aaparser"

Package aaparser is a convenience package interacting with `apparmor_parser`.

Index

Functions

func GetVersion

func GetVersion() (int, error)

GetVersion returns the major and minor version of apparmor_parser.

func LoadProfile

func LoadProfile(profilePath string) error

LoadProfile runs `apparmor_parser -r -W` on a specified apparmor profile to replace and write it to disk.

Source Files

aaparser.go

Version
v1.12.2
Published
Oct 11, 2016
Platform
js/wasm
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.