Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesRecorder ¶
type KubernetesRecorder struct {
// contains filtered or unexported fields
}
A KubernetesRecorder records events to Kubernetes.
func NewKubernetesRecorder ¶
func NewKubernetesRecorder(e record.EventRecorder, i kubernetes.IngressStore) *KubernetesRecorder
NewKubernetesRecorder returns a Recorder that records events to Kubernetes.
func (*KubernetesRecorder) NewDelete ¶
func (r *KubernetesRecorder) NewDelete(namespace, ingressName, secretName string)
NewDelete records the deletion of a certificate pair as an event on the supplied ingress.
func (*KubernetesRecorder) NewInvalidSecret ¶
func (r *KubernetesRecorder) NewInvalidSecret(namespace, ingressName, secretName string)
NewInvalidSecret records an invalid TLS secret as an event on the supplied ingress.
func (*KubernetesRecorder) NewWrite ¶
func (r *KubernetesRecorder) NewWrite(namespace, ingressName, secretName string)
NewWrite records the writing of a certificate pair as an event on the supplied ingress.
type NopRecorder ¶
type NopRecorder struct{}
A NopRecorder does nothing.
func (*NopRecorder) NewDelete ¶
func (r *NopRecorder) NewDelete(namespace, ingressName, secretName string)
NewDelete does nothing.
func (*NopRecorder) NewInvalidSecret ¶
func (r *NopRecorder) NewInvalidSecret(namespace, ingressName, secretName string)
NewInvalidSecret does nothing.
func (*NopRecorder) NewWrite ¶
func (r *NopRecorder) NewWrite(namespace, ingressName, secretName string)
NewWrite does nothing.
type Recorder ¶
type Recorder interface { // NewWrite records the writing of a certificate pair. NewWrite(namespace, ingressName, secretName string) // NewDelete records the deletion of a certificate pair. NewDelete(namespace, ingressName, secretName string) // NewInvalidSecret records an invalid TLS secret. NewInvalidSecret(namespace, ingressName, secretName string) }
A Recorder records events.
Click to show internal directories.
Click to hide internal directories.