Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { AllowedFileSystem []string `yaml:"allowedFileSystem"` UserDefault UserCfg `yaml:"userDefault"` Users map[string]UserCfg `yaml:"users"` }
func (Conf) GetUserCfg ¶
func (*Conf) LoadConfig ¶
type MyConIntf ¶
func GetConIntf ¶
func GetConIntf(req *v1beta1.AdmissionRequest) (conintf MyConIntf, err error)
GetConIntf gets kubernetes objects interface that can be used by mutation and validation functions
type MyDeployment ¶
type MyDeployment appsv1.Deployment
func (MyDeployment) GetPodSpecs ¶
func (v MyDeployment) GetPodSpecs() map[string]corev1.PodSpec
func (MyDeployment) GetTemplates ¶
func (v MyDeployment) GetTemplates() []string
type MyPod ¶
func (MyPod) GetTemplates ¶
type MybJob ¶
func (MybJob) GetTemplates ¶
Click to show internal directories.
Click to hide internal directories.