Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergePoliciesDecisions ¶
func MergePoliciesDecisions(in ...*pb.PoliciesDecisions) *pb.PoliciesDecisions
Types ¶
type DataCatalog ¶
type DataCatalog interface { pb.DataCatalogServiceServer io.Closer }
DataCatalog is an interface of a facade to a data catalog.
func NewGrpcDataCatalog ¶
func NewGrpcDataCatalog(name string, connectionURL string, connectionTimeout time.Duration) (DataCatalog, error)
NewGrpcDataCatalog creates a DataCatalog facade that connects to a GRPC service You must call .Close() when you are done using the created instance
type PolicyManager ¶
type PolicyManager interface { pb.PolicyManagerServiceServer io.Closer }
PolicyManager is an interface of a facade to connect to a policy manager.
func NewGrpcPolicyManager ¶
func NewGrpcPolicyManager(name string, connectionURL string, connectionTimeout time.Duration) (PolicyManager, error)
NewGrpcPolicyManager creates a PolicyManager facade that connects to a GRPC service You must call .Close() when you are done using the created instance
func NewMultiPolicyManager ¶
func NewMultiPolicyManager(managers ...PolicyManager) PolicyManager
NewMultiPolicyManager creates a PolicyManager facade that combines results from multiple policy managers You must call .Close() when you are done using the created instance
Click to show internal directories.
Click to hide internal directories.