Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type RunOnceDurationConfig ¶
type RunOnceDurationConfig struct { unversioned.TypeMeta // Enabled if false disables the effect of this plugin. A global override will // not be applied and projects will not be checked for an override annotation. Enabled bool `json:"enabled",description:"set to true to enable the plugin"` // ActiveDeadlineSecondsOverride is the value to set on containers of run-once pods // Only a positive value is valid. Absence of a value means that the plugin // won't make any changes to the pod ActiveDeadlineSecondsOverride *int64 `json:"activeDeadlineSecondsOverride,omitempty",description:"value to override activeDeadlineSeconds in run-once pods"` }
RunOnceDurationConfig is the configuration for the RunOnceDuration plugin. It specifies a default override value for ActiveDeadlineSeconds for a run-once pod. The project that contains the pod may specify a different setting. That setting will take precedence over the one configured for the plugin here.
func (*RunOnceDurationConfig) IsAnAPIObject ¶
func (*RunOnceDurationConfig) IsAnAPIObject()
Click to show internal directories.
Click to hide internal directories.