Documentation ¶
Index ¶
- type Client
- type DynamicClient
- func (c *DynamicClient) FetchPolicyReports() []report.PolicyReport
- func (c *DynamicClient) WatchClusterPolicyReports(cb WatchClusterPolicyReportCallback)
- func (c *DynamicClient) WatchPolicyReports(cb WatchPolicyReportCallback)
- func (c *DynamicClient) WatchRuleValidation(cb WatchPolicyResultCallback)
- type WatchClusterPolicyReportCallback
- type WatchPolicyReportCallback
- type WatchPolicyResultCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { FetchPolicyReports() []report.PolicyReport WatchPolicyReports(WatchPolicyReportCallback) WatchRuleValidation(WatchPolicyResultCallback) WatchClusterPolicyReports(cb WatchClusterPolicyReportCallback) }
type DynamicClient ¶
type DynamicClient struct {
// contains filtered or unexported fields
}
func (*DynamicClient) FetchPolicyReports ¶
func (c *DynamicClient) FetchPolicyReports() []report.PolicyReport
func (*DynamicClient) WatchClusterPolicyReports ¶
func (c *DynamicClient) WatchClusterPolicyReports(cb WatchClusterPolicyReportCallback)
func (*DynamicClient) WatchPolicyReports ¶
func (c *DynamicClient) WatchPolicyReports(cb WatchPolicyReportCallback)
func (*DynamicClient) WatchRuleValidation ¶
func (c *DynamicClient) WatchRuleValidation(cb WatchPolicyResultCallback)
type WatchClusterPolicyReportCallback ¶
type WatchClusterPolicyReportCallback = func(watch.EventType, report.ClusterPolicyReport)
type WatchPolicyReportCallback ¶
type WatchPolicyReportCallback = func(watch.EventType, report.PolicyReport)
Click to show internal directories.
Click to hide internal directories.