Documentation ¶
Overview ¶
Package cache defines a cache service which can return all secrets and policies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func GetCacheInsOr ¶
GetCacheInsOr return cache server instance with given factory.
func (*Cache) ListPolicies ¶
func (c *Cache) ListPolicies(ctx context.Context, r *pb.ListPoliciesRequest) (*pb.ListPoliciesResponse, error)
ListPolicies returns all policies.
func (*Cache) ListSecrets ¶
func (c *Cache) ListSecrets(ctx context.Context, r *pb.ListSecretsRequest) (*pb.ListSecretsResponse, error)
ListSecrets returns all secrets.
Click to show internal directories.
Click to hide internal directories.