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.3
Published
Oct 26, 2016
Platform
linux/amd64
Imports
5 packages
Last checked
7 minutes ago

Tools for package owners.