Documentation ¶
Index ¶
- func GetClientSecret(crd *v1.OidcConfig, kubeClient kubernetes.Interface) string
- func GetKubeSecret(kubeClient kubernetes.Interface, namespace string, ref v1.ClientSecretRef) (*k8sv1.Secret, error)
- func ParseTarget(target []v1.TargetElement, namespace string) []policy.PolicyMapping
- type AddUpdateEventHandler
- type DeleteEventHandler
- type JwtConfigAddEventHandler
- type JwtConfigDeleteEventHandler
- type OidcConfigAddEventHandler
- type OidcConfigDeleteEventHandler
- type PolicyAddEventHandler
- type PolicyDeleteEventHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientSecret ¶
func GetClientSecret(crd *v1.OidcConfig, kubeClient kubernetes.Interface) string
func GetKubeSecret ¶
func GetKubeSecret(kubeClient kubernetes.Interface, namespace string, ref v1.ClientSecretRef) (*k8sv1.Secret, error)
func ParseTarget ¶
func ParseTarget(target []v1.TargetElement, namespace string) []policy.PolicyMapping
Types ¶
type AddUpdateEventHandler ¶
type AddUpdateEventHandler interface {
HandleAddUpdateEvent()
}
func GetAddEventHandler ¶
func GetAddEventHandler(obj interface{}, store storepolicy.PolicyStore, kubeClient kubernetes.Interface) AddUpdateEventHandler
type DeleteEventHandler ¶
type DeleteEventHandler interface {
HandleDeleteEvent()
}
func GetDeleteEventHandler ¶
func GetDeleteEventHandler(crd policy.CrdKey, store storepolicy.PolicyStore) DeleteEventHandler
type JwtConfigAddEventHandler ¶
type JwtConfigAddEventHandler struct { Obj *v1.JwtConfig Store storepolicy.PolicyStore }
func (*JwtConfigAddEventHandler) HandleAddUpdateEvent ¶
func (e *JwtConfigAddEventHandler) HandleAddUpdateEvent()
type JwtConfigDeleteEventHandler ¶
type JwtConfigDeleteEventHandler struct { Key string Store storepolicy.PolicyStore }
func (*JwtConfigDeleteEventHandler) HandleDeleteEvent ¶
func (e *JwtConfigDeleteEventHandler) HandleDeleteEvent()
type OidcConfigAddEventHandler ¶
type OidcConfigAddEventHandler struct { Obj *v1.OidcConfig KubeClient kubernetes.Interface Store storepolicy.PolicyStore }
func (*OidcConfigAddEventHandler) HandleAddUpdateEvent ¶
func (e *OidcConfigAddEventHandler) HandleAddUpdateEvent()
type OidcConfigDeleteEventHandler ¶
type OidcConfigDeleteEventHandler struct { Key string Store storepolicy.PolicyStore }
func (*OidcConfigDeleteEventHandler) HandleDeleteEvent ¶
func (e *OidcConfigDeleteEventHandler) HandleDeleteEvent()
type PolicyAddEventHandler ¶
type PolicyAddEventHandler struct { Obj *v1.Policy Store storepolicy.PolicyStore }
func (*PolicyAddEventHandler) HandleAddUpdateEvent ¶
func (e *PolicyAddEventHandler) HandleAddUpdateEvent()
type PolicyDeleteEventHandler ¶
type PolicyDeleteEventHandler struct { Key string Store storepolicy.PolicyStore }
func (*PolicyDeleteEventHandler) HandleDeleteEvent ¶
func (e *PolicyDeleteEventHandler) HandleDeleteEvent()
Click to show internal directories.
Click to hide internal directories.