Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCredentials ¶
type Policy ¶
type Policy struct { Credentials ClientCredentials // contains filtered or unexported fields }
type PolicyCache ¶
func NewPolicyCache ¶
func NewPolicyCache(log logr.Logger, loader PolicyLoader) PolicyCache
type PolicyEngine ¶
type PolicyEngine interface { GetClient(secret *keyhubv1alpha1.KeyHubSecret) (*keyhub.Client, error) Flush() }
func NewPolicyEngine ¶
func NewPolicyEngine(client client.Client, log logr.Logger, settingsMgr settings.SettingsManager) PolicyEngine
type PolicyLoader ¶
func NewPolicyLoader ¶
func NewPolicyLoader(log logr.Logger, settingsMgr settings.SettingsManager) PolicyLoader
type PolicyResolver ¶
type PolicyResolver interface {
Resolve(secret *keyhubv1alpha1.KeyHubSecret) (*Policy, error)
}
Click to show internal directories.
Click to hide internal directories.