Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyConfigurator ¶
type PolicyConfigurator struct {
// contains filtered or unexported fields
}
PolicyConfigurator updates witness policy in config store.
func (*PolicyConfigurator) Handler ¶
func (pc *PolicyConfigurator) Handler() common.HTTPRequestHandler
Handler returns the HTTP REST handle for the PolicyConfigurator service.
func (*PolicyConfigurator) Method ¶
func (pc *PolicyConfigurator) Method() string
Method returns the HTTP REST method for the configure policy service.
func (*PolicyConfigurator) Path ¶
func (pc *PolicyConfigurator) Path() string
Path returns the HTTP REST endpoint for the PolicyConfigurator service.
type PolicyRetriever ¶
type PolicyRetriever struct {
// contains filtered or unexported fields
}
PolicyRetriever retrieves the current witness policy.
func NewRetriever ¶
func NewRetriever(store policyStore) *PolicyRetriever
NewRetriever returns a new PolicyRetriever.
func (*PolicyRetriever) Handler ¶
func (pc *PolicyRetriever) Handler() common.HTTPRequestHandler
Handler returns the HTTP REST handle for the PolicyRetriever service.
func (*PolicyRetriever) Method ¶
func (pc *PolicyRetriever) Method() string
Method returns the HTTP REST method for the policy retriever.
func (*PolicyRetriever) Path ¶
func (pc *PolicyRetriever) Path() string
Path returns the HTTP REST endpoint for the policy retriever.
Click to show internal directories.
Click to hide internal directories.