Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { Endpoints() ([]models.EndpointEntry, error) Policies() ([]models.Policy, error) EndpointGroups() ([]models.EndpointGroup, error) AddEndpoint(models.EndpointEntry) error AddPolicy(models.Policy) error DeleteEndpoint(EpId string) error DeletePolicy(PolicyId string) error GetPolicy(PolicyId string) (models.Policy, error) GetEndpoint(EndpointId string) (models.EndpointEntry, error) AddEndpointGroup(models.EndpointGroup) error DeleteEndpointGroup(GroupId string) error GetEndpointGroup(GroupId string) (models.EndpointGroup, error) }
Click to show internal directories.
Click to hide internal directories.