Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEnforceConfig ¶
func LoadEnforceConfig(namespace, cmname string) *cfg.EnforcerConfig
Types ¶
type AdmissionControlConfig ¶
type AdmissionControlConfig struct { EnforcerConfig *cfg.EnforcerConfig // contains filtered or unexported fields }
func NewAdmissionControlConfig ¶
func NewAdmissionControlConfig() *AdmissionControlConfig
func (*AdmissionControlConfig) HelmIntegrityEnabled ¶
func (ac *AdmissionControlConfig) HelmIntegrityEnabled() bool
func (*AdmissionControlConfig) InitEnforcerConfig ¶
func (ac *AdmissionControlConfig) InitEnforcerConfig() bool
type CRPPLoader ¶
type CRPPLoader struct { Client *crppclient.ResearchV1alpha1Client Data []*crppapi.ClusterResourceProtectionProfile // contains filtered or unexported fields }
func NewCRPPLoader ¶
func NewCRPPLoader() *CRPPLoader
func (*CRPPLoader) GetData ¶
func (self *CRPPLoader) GetData() []*crppapi.ClusterResourceProtectionProfile
func (*CRPPLoader) GetProfileInterface ¶
func (self *CRPPLoader) GetProfileInterface() []protect.ProtectionProfile
func (*CRPPLoader) Load ¶
func (self *CRPPLoader) Load()
func (*CRPPLoader) Update ¶
func (self *CRPPLoader) Update(profiles []protect.ProtectionProfile) error
type ProtectionProfileLoader ¶
type ProtectionProfileLoader interface { GetProfileInterface() []protect.ProtectionProfile Update(profiles []protect.ProtectionProfile) error }
type RPPLoader ¶
type RPPLoader struct { Client *rppclient.ResearchV1alpha1Client Data []*rppapi.ResourceProtectionProfile // contains filtered or unexported fields }
func NewRPPLoader ¶
func (*RPPLoader) GetData ¶
func (self *RPPLoader) GetData() []*rppapi.ResourceProtectionProfile
func (*RPPLoader) GetProfileInterface ¶
func (self *RPPLoader) GetProfileInterface() []protect.ProtectionProfile
type ResSigLoader ¶
type ResSigLoader struct { Client *rsigclient.ResearchV1alpha1Client Data []*rsigapi.ResourceSignature // contains filtered or unexported fields }
func NewResSigLoader ¶
func NewResSigLoader(signatureNamespace, requestNamespace string) *ResSigLoader
func (*ResSigLoader) GetData ¶
func (self *ResSigLoader) GetData() []*rsigapi.ResourceSignature
func (*ResSigLoader) Load ¶
func (self *ResSigLoader) Load()
type SignPolicyLoader ¶
type SignPolicyLoader struct { Client *spolclient.ResearchV1alpha1Client Data *spolapi.SignPolicy // contains filtered or unexported fields }
func NewSignPolicyLoader ¶
func NewSignPolicyLoader(enforcerNamespace string) *SignPolicyLoader
func (*SignPolicyLoader) GetData ¶
func (self *SignPolicyLoader) GetData() *spolapi.SignPolicy
func (*SignPolicyLoader) Load ¶
func (self *SignPolicyLoader) Load()
Click to show internal directories.
Click to hide internal directories.