Documentation ¶
Index ¶
- func ValidateDaemon(controller *expapi.Daemon) errs.ValidationErrorList
- func ValidateDaemonName(name string, prefix bool) (bool, string)
- func ValidateDaemonSpec(spec *expapi.DaemonSpec) errs.ValidationErrorList
- func ValidateDaemonTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
- func ValidateDaemonUpdate(oldController, controller *expapi.Daemon) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscaler(autoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateHorizontalPodAutoscalerName(name string, prefix bool) (bool, string)
- func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
- func ValidateThirdPartyResource(obj *expapi.ThirdPartyResource) errs.ValidationErrorList
- func ValidateThirdPartyResourceUpdate(old, update *expapi.ThirdPartyResource) errs.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDaemon ¶
func ValidateDaemon(controller *expapi.Daemon) errs.ValidationErrorList
ValidateDaemon tests if required fields in the daemon are set.
func ValidateDaemonName ¶
ValidateDaemonName can be used to check whether the given daemon name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateDaemonSpec ¶
func ValidateDaemonSpec(spec *expapi.DaemonSpec) errs.ValidationErrorList
ValidateDaemonSpec tests if required fields in the daemon spec are set.
func ValidateDaemonTemplateUpdate ¶
func ValidateDaemonTemplateUpdate(oldPodTemplate, podTemplate *api.PodTemplateSpec) errs.ValidationErrorList
ValidateDaemonTemplateUpdate tests that certain fields in the daemon's pod template are not updated.
func ValidateDaemonUpdate ¶
func ValidateDaemonUpdate(oldController, controller *expapi.Daemon) errs.ValidationErrorList
ValidateDaemonUpdate tests if required fields in the daemon are set.
func ValidateHorizontalPodAutoscaler ¶
func ValidateHorizontalPodAutoscaler(autoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
func ValidateHorizontalPodAutoscalerName ¶
ValidateHorizontalPodAutoscaler can be used to check whether the given autoscaler name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.
func ValidateHorizontalPodAutoscalerUpdate ¶
func ValidateHorizontalPodAutoscalerUpdate(newAutoscler, oldAutoscaler *expapi.HorizontalPodAutoscaler) errs.ValidationErrorList
func ValidateThirdPartyResource ¶
func ValidateThirdPartyResource(obj *expapi.ThirdPartyResource) errs.ValidationErrorList
func ValidateThirdPartyResourceUpdate ¶
func ValidateThirdPartyResourceUpdate(old, update *expapi.ThirdPartyResource) errs.ValidationErrorList
Types ¶
This section is empty.