aaa

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2018 License: BSD-2-Clause Imports: 10 Imported by: 14

Documentation

Index

Constants

View Source
const (
	Deployed auditType = iota
	Configured
	Mismatched
)

Variables

View Source
var AuditBuffer map[string]*Audit

Functions

func Accounting

func Accounting(format string, a ...interface{})

func Authenticate

func Authenticate(u *user.User) error

func Authorized

func Authorized(r *route.Request, resource, name string) error

func Init

func Init(cfg *config.Notifications) error

func NewAudit

func NewAudit(name string) error

func NewAuditWithOptions

func NewAuditWithOptions(name string, deployed, configured, mismatched bool) error

func PostAccounting

func PostAccounting(result int)

func PostAudit

func PostAudit(appName string)

func PreAccounting

func PreAccounting(args []string)

Types

type Audit

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

func (*Audit) Audit

func (a *Audit) Audit(t auditType, format string, b ...interface{})

func (*Audit) FreeFormAudit

func (a *Audit) FreeFormAudit(format string, b ...interface{})

func (*Audit) PreAudit

func (a *Audit) PreAudit(args []string)

Jump to

Keyboard shortcuts

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