Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SidecarSetHashAnnotation represents the key of a sidecarset hash SidecarSetHashAnnotation = "kruise.io/sidecarset-hash" // SidecarSetHashWithoutImageAnnotation represents the key of a sidecarset hash without images of sidecar SidecarSetHashWithoutImageAnnotation = "kruise.io/sidecarset-hash-without-image" )
Variables ¶
View Source
var ( // Builders contain admission webhook builders Builders = map[string]*builder.WebhookBuilder{} // HandlerMap contains admission webhook handlers HandlerMap = map[string][]admission.Handler{} )
Functions ¶
func SidecarSetHash ¶
func SidecarSetHash(sidecarSet *appsv1alpha1.SidecarSet) (string, error)
SidecarSetHash returns a hash of the SidecarSet. The Containers are taken into account.
func SidecarSetHashWithoutImage ¶
func SidecarSetHashWithoutImage(sidecarSet *appsv1alpha1.SidecarSet) (string, error)
SidecarSetHashWithoutImage calculates hash without sidecars's image
Types ¶
type SidecarSetCreateHandler ¶
SidecarSetCreateHandler handles SidecarSet
func (*SidecarSetCreateHandler) InjectDecoder ¶
func (h *SidecarSetCreateHandler) InjectDecoder(d types.Decoder) error
InjectDecoder injects the decoder into the SidecarSetCreateHandler
Click to show internal directories.
Click to hide internal directories.