Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Containers []corev1.Container `yaml:"containers"` Volumes []corev1.Volume `yaml:"volumes"` }
func LoadConfig ¶
type ObjectMetaHolder ¶
type ObjectMetaHolder struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
type WebhookServer ¶
func (*WebhookServer) Serve ¶
func (whsvr *WebhookServer) Serve(w http.ResponseWriter, r *http.Request)
Serve method for webhook server
type WhSvrParameters ¶
type WhSvrParameters struct { Port int // webhook server port CertFile string // path to the x509 certificate for https KeyFile string // path to the x509 private key matching `CertFile` SidecarCfgFile string // path to sidecar injector configuration file }
Webhook Server parameters
Click to show internal directories.
Click to hide internal directories.