Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Variables
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- type RunOnceDurationConfig
- func (in *RunOnceDurationConfig) DeepCopy() *RunOnceDurationConfig
- func (in *RunOnceDurationConfig) DeepCopyInto(out *RunOnceDurationConfig)
- func (in *RunOnceDurationConfig) DeepCopyObject() runtime.Object
- func (obj *RunOnceDurationConfig) GetObjectKind() schema.ObjectKind
- func (RunOnceDurationConfig) SwaggerDoc() map[string]string
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDeepCopies
deprecated
added in
v3.7.0
Types ¶
type RunOnceDurationConfig ¶
type RunOnceDurationConfig struct { metav1.TypeMeta `json:",inline"` // ActiveDeadlineSecondsOverride is the maximum 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 // TODO: change the external name of this field to reflect that it is a limit, not an override // It is kept this way for compatibility. Only change it in a new version of the API. ActiveDeadlineSecondsOverride *int64 `json:"activeDeadlineSecondsOverride,omitempty" description:"maximum value for activeDeadlineSeconds in run-once pods"` }
RunOnceDurationConfig is the configuration for the RunOnceDuration plugin. It specifies a maximum 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) DeepCopy ¶ added in v3.8.0
func (in *RunOnceDurationConfig) DeepCopy() *RunOnceDurationConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationConfig.
func (*RunOnceDurationConfig) DeepCopyInto ¶ added in v3.8.0
func (in *RunOnceDurationConfig) DeepCopyInto(out *RunOnceDurationConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunOnceDurationConfig) DeepCopyObject ¶ added in v3.8.0
func (in *RunOnceDurationConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RunOnceDurationConfig) GetObjectKind ¶
func (obj *RunOnceDurationConfig) GetObjectKind() schema.ObjectKind
func (RunOnceDurationConfig) SwaggerDoc ¶
func (RunOnceDurationConfig) SwaggerDoc() map[string]string