user

package
v0.0.0-...-c603b20 Latest Latest
Warning

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

Go to latest
Published: May 21, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct{}

The User plugin provides information about the user executing factd

func (*User) Facts

func (p *User) Facts() (common.FactList, error)

Facts gathers the actual fact data related to the plugin type

func (*User) Name

func (p *User) Name() string

Name returns the plugin printable name, also used as the map key in the master fact list

func (*User) Report

func (p *User) Report(facts chan<- plugin.ReportedFact)

Report writes a set (or subset) of facts to a channel

Jump to

Keyboard shortcuts

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