Documentation ¶
Index ¶
- func AddPermIssue(issue PermIssue)
- func AddSkipIssue(policyName string, entityName string, skipReason SkipReason)
- func FlushAll()
- func HadErrors() bool
- func HadPermIssues() bool
- func Printf(format string, args ...interface{})
- func SetOutput(writer io.Writer)
- func SetPermissionsOutput(writer io.Writer)
- type PermIssue
- type PermLog
- type PermissionsOutput
- type SkipLog
- type SkipReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPermIssue ¶ added in v1.0.0
func AddPermIssue(issue PermIssue)
func AddSkipIssue ¶ added in v1.0.0
func AddSkipIssue(policyName string, entityName string, skipReason SkipReason)
func HadPermIssues ¶ added in v1.0.0
func HadPermIssues() bool
func SetPermissionsOutput ¶ added in v1.0.0
Types ¶
type PermLog ¶ added in v1.0.0
type PermLog struct {
// contains filtered or unexported fields
}
func NewPermLog ¶ added in v1.0.0
func NewPermLog() *PermLog
func (*PermLog) MarshalJSON ¶ added in v1.0.0
type PermissionsOutput ¶ added in v1.0.0
type PermissionsOutput struct { Permissions interface{} `json:"missing_permissions"` SkippedPolicies interface{} `json:"skipped_policies"` }
type SkipLog ¶ added in v1.0.0
type SkipLog struct {
// contains filtered or unexported fields
}
func NewSkipLog ¶ added in v1.0.0
func NewSkipLog() *SkipLog
func (*SkipLog) Add ¶ added in v1.0.0
func (s *SkipLog) Add(policyName string, entityName string, skipReason SkipReason)
func (*SkipLog) MarshalJSON ¶ added in v1.0.0
type SkipReason ¶ added in v1.0.0
type SkipReason struct {
// contains filtered or unexported fields
}
func NewPermissionSkipReason ¶ added in v1.0.0
func NewPermissionSkipReason(reason string) SkipReason
func NewPrerequisiteSkipReason ¶ added in v1.0.0
func NewPrerequisiteSkipReason(reason string) SkipReason
func (SkipReason) MarshalJSON ¶ added in v1.0.0
func (s SkipReason) MarshalJSON() ([]byte, error)
func (SkipReason) ReasonPrefix ¶ added in v1.0.0
func (s SkipReason) ReasonPrefix() string
Click to show internal directories.
Click to hide internal directories.