Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTPClientTimeout = time.Minute * 3 EventEndpoint = "event" )
View Source
const ( KcpReqFailedMsg = "kcp request failed" KcpReqSucceededMsg = "kcp request succeeded" OperatorPrefix = "operator.kyma-project.io" Separator = "/" OwnedByAnnotation = OperatorPrefix + Separator + "owned-by" OwnedBySeperator = "/" ManagedByLabel = "operator.kyma-project.io/managed-by" StatusSubResource = "status" )
Variables ¶
View Source
var UniversalDeserializer = serializer.NewCodecFactory(runtime.NewScheme()).UniversalDeserializer()
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Client client.Client Logger logr.Logger Parameters ServerParameters }
type ObjectWatched ¶
type Resource ¶
type Resource struct { metav1.GroupVersionKind `json:"groupVersionKind"` SubResource string `json:"subResource"` }
type ServerParameters ¶
type ServerParameters struct { Port int // webhook server port CACert string // CA key used to sign the certificate TLSCert string // path to TLS certificate for https TLSKey string // path to TLS key matching for certificate TLSServer bool // indicates if an HTTPS server should be created TLSCallback bool // indicates if KCP accepts HTTP or HTTPS requests }
Click to show internal directories.
Click to hide internal directories.