Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodPreset ¶
type PodPreset struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources APIVersion string `json:"apiVersion,omitempty"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind string `json:"kind,omitempty"` // metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // spec Spec *PodPresetSpec `json:"spec,omitempty"` }
PodPreset PodPreset is a policy resource that defines additional runtime requirements for a Pod.
swagger:model PodPreset
func (PodPreset) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodPreset) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*PodPreset) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodPreset) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type PodPresetList ¶
type PodPresetList struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources APIVersion string `json:"apiVersion,omitempty"` // Items is a list of schema objects. // Required: true Items []*PodPreset `json:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind string `json:"kind,omitempty"` // Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ListMeta `json:"metadata,omitempty"` }
PodPresetList PodPresetList is a list of PodPreset objects.
swagger:model PodPresetList
func (PodPresetList) MarshalEasyJSON ¶
func (v PodPresetList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodPresetList) MarshalJSON ¶
func (v PodPresetList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*PodPresetList) UnmarshalEasyJSON ¶
func (v *PodPresetList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodPresetList) UnmarshalJSON ¶
func (v *PodPresetList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type PodPresetSpec ¶
type PodPresetSpec struct { // Env defines the collection of EnvVar to inject into containers. Env []api_core_v1.EnvVar `json:"env"` // EnvFrom defines the collection of EnvFromSource to inject into containers. EnvFrom []api_core_v1.EnvFromSource `json:"envFrom"` // Selector is a label query over a set of resources, in this case pods. Required. Selector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"selector,omitempty"` // VolumeMounts defines the collection of VolumeMount to inject into containers. VolumeMounts []api_core_v1.VolumeMount `json:"volumeMounts"` // Volumes defines the collection of Volume to inject into the pod. Volumes []api_core_v1.Volume `json:"volumes"` }
PodPresetSpec PodPresetSpec is a description of a pod preset.
swagger:model PodPresetSpec
func (PodPresetSpec) MarshalEasyJSON ¶
func (v PodPresetSpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodPresetSpec) MarshalJSON ¶
func (v PodPresetSpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*PodPresetSpec) UnmarshalEasyJSON ¶
func (v *PodPresetSpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodPresetSpec) UnmarshalJSON ¶
func (v *PodPresetSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface