Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true +gencrdrefdocs:force=true
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func PatchServicePorts(cur []core.ServicePort, desired []ServicePort) []core.ServicePort
- type ContainerRuntimeSettings
- func (in *ContainerRuntimeSettings) DeepCopy() *ContainerRuntimeSettings
- func (in *ContainerRuntimeSettings) DeepCopyInto(out *ContainerRuntimeSettings)
- func (*ContainerRuntimeSettings) Descriptor() ([]byte, []int)
- func (m *ContainerRuntimeSettings) Marshal() (dAtA []byte, err error)
- func (m *ContainerRuntimeSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *ContainerRuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContainerRuntimeSettings) ProtoMessage()
- func (m *ContainerRuntimeSettings) Reset()
- func (m *ContainerRuntimeSettings) Size() (n int)
- func (this *ContainerRuntimeSettings) String() string
- func (m *ContainerRuntimeSettings) Unmarshal(dAtA []byte) error
- func (m *ContainerRuntimeSettings) XXX_DiscardUnknown()
- func (m *ContainerRuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerRuntimeSettings) XXX_Merge(src proto.Message)
- func (m *ContainerRuntimeSettings) XXX_Size() int
- func (m *ContainerRuntimeSettings) XXX_Unmarshal(b []byte) error
- type IONiceSettings
- func (in *IONiceSettings) DeepCopy() *IONiceSettings
- func (in *IONiceSettings) DeepCopyInto(out *IONiceSettings)
- func (*IONiceSettings) Descriptor() ([]byte, []int)
- func (m *IONiceSettings) Marshal() (dAtA []byte, err error)
- func (m *IONiceSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *IONiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IONiceSettings) ProtoMessage()
- func (m *IONiceSettings) Reset()
- func (m *IONiceSettings) Size() (n int)
- func (this *IONiceSettings) String() string
- func (m *IONiceSettings) Unmarshal(dAtA []byte) error
- func (m *IONiceSettings) XXX_DiscardUnknown()
- func (m *IONiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IONiceSettings) XXX_Merge(src proto.Message)
- func (m *IONiceSettings) XXX_Size() int
- func (m *IONiceSettings) XXX_Unmarshal(b []byte) error
- type NiceSettings
- func (in *NiceSettings) DeepCopy() *NiceSettings
- func (in *NiceSettings) DeepCopyInto(out *NiceSettings)
- func (*NiceSettings) Descriptor() ([]byte, []int)
- func (m *NiceSettings) Marshal() (dAtA []byte, err error)
- func (m *NiceSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *NiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NiceSettings) ProtoMessage()
- func (m *NiceSettings) Reset()
- func (m *NiceSettings) Size() (n int)
- func (this *NiceSettings) String() string
- func (m *NiceSettings) Unmarshal(dAtA []byte) error
- func (m *NiceSettings) XXX_DiscardUnknown()
- func (m *NiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NiceSettings) XXX_Merge(src proto.Message)
- func (m *NiceSettings) XXX_Size() int
- func (m *NiceSettings) XXX_Unmarshal(b []byte) error
- type ObjectMeta
- func (in *ObjectMeta) DeepCopy() *ObjectMeta
- func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)
- func (*ObjectMeta) Descriptor() ([]byte, []int)
- func (m *ObjectMeta) Marshal() (dAtA []byte, err error)
- func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectMeta) ProtoMessage()
- func (m *ObjectMeta) Reset()
- func (m *ObjectMeta) Size() (n int)
- func (this *ObjectMeta) String() string
- func (m *ObjectMeta) Unmarshal(dAtA []byte) error
- func (m *ObjectMeta) XXX_DiscardUnknown()
- func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectMeta) XXX_Merge(src proto.Message)
- func (m *ObjectMeta) XXX_Size() int
- func (m *ObjectMeta) XXX_Unmarshal(b []byte) error
- type PartialObjectMeta
- func (in *PartialObjectMeta) DeepCopy() *PartialObjectMeta
- func (in *PartialObjectMeta) DeepCopyInto(out *PartialObjectMeta)
- func (*PartialObjectMeta) Descriptor() ([]byte, []int)
- func (m *PartialObjectMeta) Marshal() (dAtA []byte, err error)
- func (m *PartialObjectMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *PartialObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PartialObjectMeta) ProtoMessage()
- func (m *PartialObjectMeta) Reset()
- func (m *PartialObjectMeta) Size() (n int)
- func (this *PartialObjectMeta) String() string
- func (m *PartialObjectMeta) Unmarshal(dAtA []byte) error
- func (m *PartialObjectMeta) XXX_DiscardUnknown()
- func (m *PartialObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartialObjectMeta) XXX_Merge(src proto.Message)
- func (m *PartialObjectMeta) XXX_Size() int
- func (m *PartialObjectMeta) XXX_Unmarshal(b []byte) error
- type PersistentVolumeClaim
- func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim
- func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim)
- func (*PersistentVolumeClaim) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PersistentVolumeClaim) ProtoMessage()
- func (m *PersistentVolumeClaim) Reset()
- func (m *PersistentVolumeClaim) Size() (n int)
- func (this *PersistentVolumeClaim) String() string
- func (in *PersistentVolumeClaim) ToCorePVC() *core.PersistentVolumeClaim
- func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error
- func (m *PersistentVolumeClaim) XXX_DiscardUnknown()
- func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PersistentVolumeClaim) XXX_Merge(src proto.Message)
- func (m *PersistentVolumeClaim) XXX_Size() int
- func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error
- type PersistentVolumeClaimTemplate
- func (in *PersistentVolumeClaimTemplate) DeepCopy() *PersistentVolumeClaimTemplate
- func (in *PersistentVolumeClaimTemplate) DeepCopyInto(out *PersistentVolumeClaimTemplate)
- func (*PersistentVolumeClaimTemplate) Descriptor() ([]byte, []int)
- func (m *PersistentVolumeClaimTemplate) Marshal() (dAtA []byte, err error)
- func (m *PersistentVolumeClaimTemplate) MarshalTo(dAtA []byte) (int, error)
- func (m *PersistentVolumeClaimTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PersistentVolumeClaimTemplate) ProtoMessage()
- func (m *PersistentVolumeClaimTemplate) Reset()
- func (m *PersistentVolumeClaimTemplate) Size() (n int)
- func (this *PersistentVolumeClaimTemplate) String() string
- func (in *PersistentVolumeClaimTemplate) ToAPIObject() *core.PersistentVolumeClaimTemplate
- func (m *PersistentVolumeClaimTemplate) Unmarshal(dAtA []byte) error
- func (m *PersistentVolumeClaimTemplate) XXX_DiscardUnknown()
- func (m *PersistentVolumeClaimTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PersistentVolumeClaimTemplate) XXX_Merge(src proto.Message)
- func (m *PersistentVolumeClaimTemplate) XXX_Size() int
- func (m *PersistentVolumeClaimTemplate) XXX_Unmarshal(b []byte) error
- type PodRuntimeSettings
- func (in *PodRuntimeSettings) DeepCopy() *PodRuntimeSettings
- func (in *PodRuntimeSettings) DeepCopyInto(out *PodRuntimeSettings)
- func (*PodRuntimeSettings) Descriptor() ([]byte, []int)
- func (m *PodRuntimeSettings) Marshal() (dAtA []byte, err error)
- func (m *PodRuntimeSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *PodRuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodRuntimeSettings) ProtoMessage()
- func (m *PodRuntimeSettings) Reset()
- func (m *PodRuntimeSettings) Size() (n int)
- func (this *PodRuntimeSettings) String() string
- func (m *PodRuntimeSettings) Unmarshal(dAtA []byte) error
- func (m *PodRuntimeSettings) XXX_DiscardUnknown()
- func (m *PodRuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodRuntimeSettings) XXX_Merge(src proto.Message)
- func (m *PodRuntimeSettings) XXX_Size() int
- func (m *PodRuntimeSettings) XXX_Unmarshal(b []byte) error
- type PodSpec
- func (in *PodSpec) DeepCopy() *PodSpec
- func (in *PodSpec) DeepCopyInto(out *PodSpec)
- func (*PodSpec) Descriptor() ([]byte, []int)
- func (m *PodSpec) Marshal() (dAtA []byte, err error)
- func (m *PodSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PodSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodSpec) ProtoMessage()
- func (m *PodSpec) Reset()
- func (m *PodSpec) Size() (n int)
- func (this *PodSpec) String() string
- func (m *PodSpec) Unmarshal(dAtA []byte) error
- func (m *PodSpec) XXX_DiscardUnknown()
- func (m *PodSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodSpec) XXX_Merge(src proto.Message)
- func (m *PodSpec) XXX_Size() int
- func (m *PodSpec) XXX_Unmarshal(b []byte) error
- type PodTemplateSpec
- func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec
- func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec)
- func (*PodTemplateSpec) Descriptor() ([]byte, []int)
- func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *PodTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *PodTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PodTemplateSpec) ProtoMessage()
- func (m *PodTemplateSpec) Reset()
- func (m *PodTemplateSpec) Size() (n int)
- func (this *PodTemplateSpec) String() string
- func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error
- func (m *PodTemplateSpec) XXX_DiscardUnknown()
- func (m *PodTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PodTemplateSpec) XXX_Merge(src proto.Message)
- func (m *PodTemplateSpec) XXX_Size() int
- func (m *PodTemplateSpec) XXX_Unmarshal(b []byte) error
- type RuntimeSettings
- func (in *RuntimeSettings) DeepCopy() *RuntimeSettings
- func (in *RuntimeSettings) DeepCopyInto(out *RuntimeSettings)
- func (*RuntimeSettings) Descriptor() ([]byte, []int)
- func (m *RuntimeSettings) Marshal() (dAtA []byte, err error)
- func (m *RuntimeSettings) MarshalTo(dAtA []byte) (int, error)
- func (m *RuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RuntimeSettings) ProtoMessage()
- func (m *RuntimeSettings) Reset()
- func (m *RuntimeSettings) Size() (n int)
- func (this *RuntimeSettings) String() string
- func (m *RuntimeSettings) Unmarshal(dAtA []byte) error
- func (m *RuntimeSettings) XXX_DiscardUnknown()
- func (m *RuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RuntimeSettings) XXX_Merge(src proto.Message)
- func (m *RuntimeSettings) XXX_Size() int
- func (m *RuntimeSettings) XXX_Unmarshal(b []byte) error
- type ServicePort
- func (in *ServicePort) DeepCopy() *ServicePort
- func (in *ServicePort) DeepCopyInto(out *ServicePort)
- func (*ServicePort) Descriptor() ([]byte, []int)
- func (m *ServicePort) Marshal() (dAtA []byte, err error)
- func (m *ServicePort) MarshalTo(dAtA []byte) (int, error)
- func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServicePort) ProtoMessage()
- func (m *ServicePort) Reset()
- func (m *ServicePort) Size() (n int)
- func (this *ServicePort) String() string
- func (m *ServicePort) Unmarshal(dAtA []byte) error
- func (m *ServicePort) XXX_DiscardUnknown()
- func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServicePort) XXX_Merge(src proto.Message)
- func (m *ServicePort) XXX_Size() int
- func (m *ServicePort) XXX_Unmarshal(b []byte) error
- type ServiceSpec
- func (in *ServiceSpec) DeepCopy() *ServiceSpec
- func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
- func (*ServiceSpec) Descriptor() ([]byte, []int)
- func (m *ServiceSpec) Marshal() (dAtA []byte, err error)
- func (m *ServiceSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceSpec) ProtoMessage()
- func (m *ServiceSpec) Reset()
- func (m *ServiceSpec) Size() (n int)
- func (this *ServiceSpec) String() string
- func (m *ServiceSpec) Unmarshal(dAtA []byte) error
- func (m *ServiceSpec) XXX_DiscardUnknown()
- func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceSpec) XXX_Merge(src proto.Message)
- func (m *ServiceSpec) XXX_Size() int
- func (m *ServiceSpec) XXX_Unmarshal(b []byte) error
- type ServiceTemplateSpec
- func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec
- func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)
- func (*ServiceTemplateSpec) Descriptor() ([]byte, []int)
- func (m *ServiceTemplateSpec) Marshal() (dAtA []byte, err error)
- func (m *ServiceTemplateSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceTemplateSpec) ProtoMessage()
- func (m *ServiceTemplateSpec) Reset()
- func (m *ServiceTemplateSpec) Size() (n int)
- func (this *ServiceTemplateSpec) String() string
- func (m *ServiceTemplateSpec) Unmarshal(dAtA []byte) error
- func (m *ServiceTemplateSpec) XXX_DiscardUnknown()
- func (m *ServiceTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceTemplateSpec) XXX_Merge(src proto.Message)
- func (m *ServiceTemplateSpec) XXX_Size() int
- func (m *ServiceTemplateSpec) XXX_Unmarshal(b []byte) error
Constants ¶
const ( NiceAdjustment = "NICE_ADJUSTMENT" IONiceClass = "IONICE_CLASS" IONiceClassData = "IONICE_CLASS_DATA" )
Variables ¶
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func PatchServicePorts ¶
func PatchServicePorts(cur []core.ServicePort, desired []ServicePort) []core.ServicePort
Beware of MergeServicePorts ref: https://github.com/kmodules/client-go/blob/03dac1aea5084354127990a10d0b0e7529460dd5/core/v1/service.go#L103-L136
Types ¶
type ContainerRuntimeSettings ¶
type ContainerRuntimeSettings struct { // Compute Resources required by container. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ // +optional Resources core.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional LivenessProbe *core.Probe `json:"livenessProbe,omitempty" protobuf:"bytes,2,opt,name=livenessProbe"` // Periodic probe of container service readiness. // Container will be removed from service endpoints if the probe fails. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional ReadinessProbe *core.Probe `json:"readinessProbe,omitempty" protobuf:"bytes,3,opt,name=readinessProbe"` // Actions that the management system should take in response to container lifecycle events. // Cannot be updated. // +optional Lifecycle *core.Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,4,opt,name=lifecycle"` // Security options the pod should run with. // More info: https://kubernetes.io/docs/concepts/policy/security-context/ // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ // +optional SecurityContext *core.SecurityContext `json:"securityContext,omitempty" protobuf:"bytes,5,opt,name=securityContext"` // Settings to configure `nice` to throttle the load on cpu. // More info: http://kennystechtalk.blogspot.com/2015/04/throttling-cpu-usage-with-linux-cgroups.html // More info: https://oakbytes.wordpress.com/2012/06/06/linux-scheduler-cfs-and-nice/ // +optional Nice *NiceSettings `json:"nice,omitempty" protobuf:"bytes,6,opt,name=nice"` // Settings to configure `ionice` to throttle the load on disk. // More info: http://kennystechtalk.blogspot.com/2015/04/throttling-cpu-usage-with-linux-cgroups.html // More info: https://oakbytes.wordpress.com/2012/06/06/linux-scheduler-cfs-and-nice/ // +optional IONice *IONiceSettings `json:"ionice,omitempty" protobuf:"bytes,7,opt,name=ionice"` // List of sources to populate environment variables in the container. // The keys defined within a source must be a C_IDENTIFIER. All invalid keys // will be reported as an event when the container is starting. When a key exists in multiple // sources, the value associated with the last source will take precedence. // Values defined by an Env with a duplicate key will take precedence. // Cannot be updated. // +optional EnvFrom []core.EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,8,rep,name=envFrom"` // List of environment variables to set in the container. // Cannot be updated. // +optional // +patchMergeKey=name // +patchStrategy=merge Env []core.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,9,rep,name=env"` }
func (*ContainerRuntimeSettings) DeepCopy ¶
func (in *ContainerRuntimeSettings) DeepCopy() *ContainerRuntimeSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntimeSettings.
func (*ContainerRuntimeSettings) DeepCopyInto ¶
func (in *ContainerRuntimeSettings) DeepCopyInto(out *ContainerRuntimeSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerRuntimeSettings) Descriptor ¶
func (*ContainerRuntimeSettings) Descriptor() ([]byte, []int)
func (*ContainerRuntimeSettings) Marshal ¶
func (m *ContainerRuntimeSettings) Marshal() (dAtA []byte, err error)
func (*ContainerRuntimeSettings) MarshalTo ¶
func (m *ContainerRuntimeSettings) MarshalTo(dAtA []byte) (int, error)
func (*ContainerRuntimeSettings) MarshalToSizedBuffer ¶
func (m *ContainerRuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContainerRuntimeSettings) ProtoMessage ¶
func (*ContainerRuntimeSettings) ProtoMessage()
func (*ContainerRuntimeSettings) Reset ¶
func (m *ContainerRuntimeSettings) Reset()
func (*ContainerRuntimeSettings) Size ¶
func (m *ContainerRuntimeSettings) Size() (n int)
func (*ContainerRuntimeSettings) String ¶
func (this *ContainerRuntimeSettings) String() string
func (*ContainerRuntimeSettings) Unmarshal ¶
func (m *ContainerRuntimeSettings) Unmarshal(dAtA []byte) error
func (*ContainerRuntimeSettings) XXX_DiscardUnknown ¶
func (m *ContainerRuntimeSettings) XXX_DiscardUnknown()
func (*ContainerRuntimeSettings) XXX_Marshal ¶
func (m *ContainerRuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainerRuntimeSettings) XXX_Merge ¶
func (m *ContainerRuntimeSettings) XXX_Merge(src proto.Message)
func (*ContainerRuntimeSettings) XXX_Size ¶
func (m *ContainerRuntimeSettings) XXX_Size() int
func (*ContainerRuntimeSettings) XXX_Unmarshal ¶
func (m *ContainerRuntimeSettings) XXX_Unmarshal(b []byte) error
type IONiceSettings ¶
type IONiceSettings struct { Class *int32 `json:"class,omitempty" protobuf:"varint,1,opt,name=class"` ClassData *int32 `json:"classData,omitempty" protobuf:"varint,2,opt,name=classData"` }
https://linux.die.net/man/1/ionice
func IONiceSettingsFromEnv ¶
func IONiceSettingsFromEnv() (*IONiceSettings, error)
func (*IONiceSettings) DeepCopy ¶
func (in *IONiceSettings) DeepCopy() *IONiceSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IONiceSettings.
func (*IONiceSettings) DeepCopyInto ¶
func (in *IONiceSettings) DeepCopyInto(out *IONiceSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IONiceSettings) Descriptor ¶
func (*IONiceSettings) Descriptor() ([]byte, []int)
func (*IONiceSettings) Marshal ¶
func (m *IONiceSettings) Marshal() (dAtA []byte, err error)
func (*IONiceSettings) MarshalToSizedBuffer ¶
func (m *IONiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IONiceSettings) ProtoMessage ¶
func (*IONiceSettings) ProtoMessage()
func (*IONiceSettings) Reset ¶
func (m *IONiceSettings) Reset()
func (*IONiceSettings) Size ¶
func (m *IONiceSettings) Size() (n int)
func (*IONiceSettings) String ¶
func (this *IONiceSettings) String() string
func (*IONiceSettings) Unmarshal ¶
func (m *IONiceSettings) Unmarshal(dAtA []byte) error
func (*IONiceSettings) XXX_DiscardUnknown ¶
func (m *IONiceSettings) XXX_DiscardUnknown()
func (*IONiceSettings) XXX_Marshal ¶
func (m *IONiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IONiceSettings) XXX_Merge ¶
func (m *IONiceSettings) XXX_Merge(src proto.Message)
func (*IONiceSettings) XXX_Size ¶
func (m *IONiceSettings) XXX_Size() int
func (*IONiceSettings) XXX_Unmarshal ¶
func (m *IONiceSettings) XXX_Unmarshal(b []byte) error
type NiceSettings ¶
type NiceSettings struct {
Adjustment *int32 `json:"adjustment,omitempty" protobuf:"varint,1,opt,name=adjustment"`
}
https://linux.die.net/man/1/nice
func NiceSettingsFromEnv ¶
func NiceSettingsFromEnv() (*NiceSettings, error)
func (*NiceSettings) DeepCopy ¶
func (in *NiceSettings) DeepCopy() *NiceSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NiceSettings.
func (*NiceSettings) DeepCopyInto ¶
func (in *NiceSettings) DeepCopyInto(out *NiceSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NiceSettings) Descriptor ¶
func (*NiceSettings) Descriptor() ([]byte, []int)
func (*NiceSettings) Marshal ¶
func (m *NiceSettings) Marshal() (dAtA []byte, err error)
func (*NiceSettings) MarshalToSizedBuffer ¶
func (m *NiceSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NiceSettings) ProtoMessage ¶
func (*NiceSettings) ProtoMessage()
func (*NiceSettings) Reset ¶
func (m *NiceSettings) Reset()
func (*NiceSettings) Size ¶
func (m *NiceSettings) Size() (n int)
func (*NiceSettings) String ¶
func (this *NiceSettings) String() string
func (*NiceSettings) Unmarshal ¶
func (m *NiceSettings) Unmarshal(dAtA []byte) error
func (*NiceSettings) XXX_DiscardUnknown ¶
func (m *NiceSettings) XXX_DiscardUnknown()
func (*NiceSettings) XXX_Marshal ¶
func (m *NiceSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NiceSettings) XXX_Merge ¶
func (m *NiceSettings) XXX_Merge(src proto.Message)
func (*NiceSettings) XXX_Size ¶
func (m *NiceSettings) XXX_Size() int
func (*NiceSettings) XXX_Unmarshal ¶
func (m *NiceSettings) XXX_Unmarshal(b []byte) error
type ObjectMeta ¶
type ObjectMeta struct { // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels // +optional Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,1,rep,name=labels"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,2,rep,name=annotations"` }
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*ObjectMeta) DeepCopy ¶
func (in *ObjectMeta) DeepCopy() *ObjectMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta.
func (*ObjectMeta) DeepCopyInto ¶
func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectMeta) Descriptor ¶
func (*ObjectMeta) Descriptor() ([]byte, []int)
func (*ObjectMeta) Marshal ¶
func (m *ObjectMeta) Marshal() (dAtA []byte, err error)
func (*ObjectMeta) MarshalToSizedBuffer ¶
func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectMeta) ProtoMessage ¶
func (*ObjectMeta) ProtoMessage()
func (*ObjectMeta) Reset ¶
func (m *ObjectMeta) Reset()
func (*ObjectMeta) Size ¶
func (m *ObjectMeta) Size() (n int)
func (*ObjectMeta) String ¶
func (this *ObjectMeta) String() string
func (*ObjectMeta) Unmarshal ¶
func (m *ObjectMeta) Unmarshal(dAtA []byte) error
func (*ObjectMeta) XXX_DiscardUnknown ¶
func (m *ObjectMeta) XXX_DiscardUnknown()
func (*ObjectMeta) XXX_Marshal ¶
func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectMeta) XXX_Merge ¶
func (m *ObjectMeta) XXX_Merge(src proto.Message)
func (*ObjectMeta) XXX_Size ¶
func (m *ObjectMeta) XXX_Size() int
func (*ObjectMeta) XXX_Unmarshal ¶
func (m *ObjectMeta) XXX_Unmarshal(b []byte) error
type PartialObjectMeta ¶
type PartialObjectMeta struct { // Name must be unique within a namespace. Is required when creating resources, although // some resources may allow a client to request the generation of an appropriate name // automatically. Name is primarily intended for creation idempotence and configuration // definition. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/identifiers#names // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // GenerateName is an optional prefix, used by the server, to generate a unique // name ONLY IF the Name field has not been provided. // If this field is used, the name returned to the client will be different // than the name passed. This value will also be combined with a unique suffix. // The provided value has the same validation rules as the Name field, // and may be truncated by the length of the suffix required to make the value // unique on the server. // // If this field is specified and the generated name exists, the server will // NOT return a 409 - instead, it will either return 201 Created or 500 with Reason // ServerTimeout indicating a unique name could not be found in the time allotted, and the client // should retry (optionally after the time indicated in the Retry-After header). // // Applied only if Name is not specified. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency // +optional GenerateName string `json:"generateName,omitempty" protobuf:"bytes,2,opt,name=generateName"` // Namespace defines the space within each name must be unique. An empty namespace is // equivalent to the "default" namespace, but "default" is the canonical representation. // Not all objects are required to be scoped to a namespace - the value of this field for // those objects will be empty. // // Must be a DNS_LABEL. // Cannot be updated. // More info: http://kubernetes.io/docs/user-guide/namespaces // +optional Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // Map of string keys and values that can be used to organize and categorize // (scope and select) objects. May match selectors of replication controllers // and services. // More info: http://kubernetes.io/docs/user-guide/labels // +optional Labels map[string]string `json:"labels,omitempty" protobuf:"bytes,4,rep,name=labels"` // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // More info: http://kubernetes.io/docs/user-guide/annotations // +optional Annotations map[string]string `json:"annotations,omitempty" protobuf:"bytes,5,rep,name=annotations"` // List of objects depended by this object. If ALL objects in the list have // been deleted, this object will be garbage collected. If this object is managed by a controller, // then an entry in this list will point to this controller, with the controller field set to true. // There cannot be more than one managing controller. // +optional // +patchMergeKey=uid // +patchStrategy=merge OwnerReferences []metav1.OwnerReference `json:"ownerReferences,omitempty" patchStrategy:"merge" patchMergeKey:"uid" protobuf:"bytes,6,rep,name=ownerReferences"` }
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*PartialObjectMeta) DeepCopy ¶
func (in *PartialObjectMeta) DeepCopy() *PartialObjectMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMeta.
func (*PartialObjectMeta) DeepCopyInto ¶
func (in *PartialObjectMeta) DeepCopyInto(out *PartialObjectMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PartialObjectMeta) Descriptor ¶
func (*PartialObjectMeta) Descriptor() ([]byte, []int)
func (*PartialObjectMeta) Marshal ¶
func (m *PartialObjectMeta) Marshal() (dAtA []byte, err error)
func (*PartialObjectMeta) MarshalTo ¶
func (m *PartialObjectMeta) MarshalTo(dAtA []byte) (int, error)
func (*PartialObjectMeta) MarshalToSizedBuffer ¶
func (m *PartialObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PartialObjectMeta) ProtoMessage ¶
func (*PartialObjectMeta) ProtoMessage()
func (*PartialObjectMeta) Reset ¶
func (m *PartialObjectMeta) Reset()
func (*PartialObjectMeta) Size ¶
func (m *PartialObjectMeta) Size() (n int)
func (*PartialObjectMeta) String ¶
func (this *PartialObjectMeta) String() string
func (*PartialObjectMeta) Unmarshal ¶
func (m *PartialObjectMeta) Unmarshal(dAtA []byte) error
func (*PartialObjectMeta) XXX_DiscardUnknown ¶
func (m *PartialObjectMeta) XXX_DiscardUnknown()
func (*PartialObjectMeta) XXX_Marshal ¶
func (m *PartialObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartialObjectMeta) XXX_Merge ¶
func (m *PartialObjectMeta) XXX_Merge(src proto.Message)
func (*PartialObjectMeta) XXX_Size ¶
func (m *PartialObjectMeta) XXX_Size() int
func (*PartialObjectMeta) XXX_Unmarshal ¶
func (m *PartialObjectMeta) XXX_Unmarshal(b []byte) error
type PersistentVolumeClaim ¶
type PersistentVolumeClaim struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional PartialObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the desired characteristics of a volume requested by a pod author. // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims // +optional Spec core.PersistentVolumeClaimSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status represents the current information/status of a persistent volume claim. // Read-only. // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims // +optional Status core.PersistentVolumeClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PersistentVolumeClaim is a user's request for and claim to a persistent volume
func (*PersistentVolumeClaim) DeepCopy ¶
func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim.
func (*PersistentVolumeClaim) DeepCopyInto ¶
func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersistentVolumeClaim) Descriptor ¶
func (*PersistentVolumeClaim) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaim) Marshal ¶
func (m *PersistentVolumeClaim) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaim) MarshalTo ¶
func (m *PersistentVolumeClaim) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaim) MarshalToSizedBuffer ¶
func (m *PersistentVolumeClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PersistentVolumeClaim) ProtoMessage ¶
func (*PersistentVolumeClaim) ProtoMessage()
func (*PersistentVolumeClaim) Reset ¶
func (m *PersistentVolumeClaim) Reset()
func (*PersistentVolumeClaim) Size ¶
func (m *PersistentVolumeClaim) Size() (n int)
func (*PersistentVolumeClaim) String ¶
func (this *PersistentVolumeClaim) String() string
func (*PersistentVolumeClaim) ToCorePVC ¶
func (in *PersistentVolumeClaim) ToCorePVC() *core.PersistentVolumeClaim
func (*PersistentVolumeClaim) Unmarshal ¶
func (m *PersistentVolumeClaim) Unmarshal(dAtA []byte) error
func (*PersistentVolumeClaim) XXX_DiscardUnknown ¶
func (m *PersistentVolumeClaim) XXX_DiscardUnknown()
func (*PersistentVolumeClaim) XXX_Marshal ¶
func (m *PersistentVolumeClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersistentVolumeClaim) XXX_Merge ¶
func (m *PersistentVolumeClaim) XXX_Merge(src proto.Message)
func (*PersistentVolumeClaim) XXX_Size ¶
func (m *PersistentVolumeClaim) XXX_Size() int
func (*PersistentVolumeClaim) XXX_Unmarshal ¶
func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error
type PersistentVolumeClaimTemplate ¶ added in v0.25.1
type PersistentVolumeClaimTemplate struct { // May contain labels and annotations that will be copied into the PVC // when creating it. No other fields are allowed and will be rejected during // validation. // // +optional PartialObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // The specification for the PersistentVolumeClaim. The entire content is // copied unchanged into the PVC that gets created from this // template. The same fields as in a PersistentVolumeClaim // are also valid here. Spec core.PersistentVolumeClaimSpec `json:"spec" protobuf:"bytes,2,name=spec"` }
PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
func (*PersistentVolumeClaimTemplate) DeepCopy ¶ added in v0.25.1
func (in *PersistentVolumeClaimTemplate) DeepCopy() *PersistentVolumeClaimTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimTemplate.
func (*PersistentVolumeClaimTemplate) DeepCopyInto ¶ added in v0.25.1
func (in *PersistentVolumeClaimTemplate) DeepCopyInto(out *PersistentVolumeClaimTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersistentVolumeClaimTemplate) Descriptor ¶ added in v0.25.1
func (*PersistentVolumeClaimTemplate) Descriptor() ([]byte, []int)
func (*PersistentVolumeClaimTemplate) Marshal ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) Marshal() (dAtA []byte, err error)
func (*PersistentVolumeClaimTemplate) MarshalTo ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) MarshalTo(dAtA []byte) (int, error)
func (*PersistentVolumeClaimTemplate) MarshalToSizedBuffer ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PersistentVolumeClaimTemplate) ProtoMessage ¶ added in v0.25.1
func (*PersistentVolumeClaimTemplate) ProtoMessage()
func (*PersistentVolumeClaimTemplate) Reset ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) Reset()
func (*PersistentVolumeClaimTemplate) Size ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) Size() (n int)
func (*PersistentVolumeClaimTemplate) String ¶ added in v0.25.1
func (this *PersistentVolumeClaimTemplate) String() string
func (*PersistentVolumeClaimTemplate) ToAPIObject ¶ added in v0.25.1
func (in *PersistentVolumeClaimTemplate) ToAPIObject() *core.PersistentVolumeClaimTemplate
func (*PersistentVolumeClaimTemplate) Unmarshal ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) Unmarshal(dAtA []byte) error
func (*PersistentVolumeClaimTemplate) XXX_DiscardUnknown ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) XXX_DiscardUnknown()
func (*PersistentVolumeClaimTemplate) XXX_Marshal ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PersistentVolumeClaimTemplate) XXX_Merge ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) XXX_Merge(src proto.Message)
func (*PersistentVolumeClaimTemplate) XXX_Size ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) XXX_Size() int
func (*PersistentVolumeClaimTemplate) XXX_Unmarshal ¶ added in v0.25.1
func (m *PersistentVolumeClaimTemplate) XXX_Unmarshal(b []byte) error
type PodRuntimeSettings ¶
type PodRuntimeSettings struct { // PodAnnotations are the annotations that will be attached with the respective Pod // +optional PodAnnotations map[string]string `json:"podAnnotations,omitempty" protobuf:"bytes,1,rep,name=podAnnotations"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,2,rep,name=nodeSelector"` // ServiceAccountName is the name of the ServiceAccount to use to run this pod. // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ // +optional ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,3,opt,name=serviceAccountName"` // ServiceAccountAnnotations are the annotations that will be attached with the respective ServiceAccount // +optional ServiceAccountAnnotations map[string]string `json:"serviceAccountAnnotations,omitempty" protobuf:"bytes,4,rep,name=serviceAccountAnnotations"` // AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. // +optional AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty" protobuf:"varint,5,opt,name=automountServiceAccountToken"` // NodeName is a request to schedule this pod onto a specific node. If it is non-empty, // the scheduler simply schedules this pod onto that node, assuming that it fits resource // requirements. // +optional NodeName string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` // Security options the pod should run with. // More info: https://kubernetes.io/docs/concepts/policy/security-context/ // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ // +optional SecurityContext *core.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,7,opt,name=securityContext"` // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodRuntimeSettings. // If specified, these secrets will be passed to individual puller implementations for them to use. For example, // in the case of docker, only DockerConfig type secrets are honored. // More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod // +optional ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty" protobuf:"bytes,8,rep,name=imagePullSecrets"` // If specified, the pod's scheduling constraints // +optional Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,9,opt,name=affinity"` // If specified, the pod will be dispatched by specified scheduler. // If not specified, the pod will be dispatched by default scheduler. // +optional SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,10,opt,name=schedulerName"` // If specified, the pod's tolerations. // +optional Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,11,rep,name=tolerations"` // If specified, indicates the pod's priority. "system-node-critical" and // "system-cluster-critical" are two special keywords which indicate the // highest priorities with the former being the highest priority. Any other // name must be defined by creating a PriorityClass object with that name. // If not specified, the pod priority will be default or zero if there is no // default. // +optional PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,12,opt,name=priorityClassName"` // The priority value. Various system components use this field to find the // priority of the pod. When Priority Admission Controller is enabled, it // prevents users from setting this field. The admission controller populates // this field from PriorityClassName. // The higher the value, the higher the priority. // +optional Priority *int32 `json:"priority,omitempty" protobuf:"varint,13,opt,name=priority"` // If specified, all readiness gates will be evaluated for pod readiness. // A pod is ready when all its containers are ready AND // all conditions specified in the readiness gates have status equal to "True" // More info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md // +optional ReadinessGates []core.PodReadinessGate `json:"readinessGates,omitempty" protobuf:"bytes,14,rep,name=readinessGates"` // RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used // to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. // If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an // empty definition that uses the default runtime handler. // More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md // This is an alpha feature and may change in the future. // +optional RuntimeClassName *string `json:"runtimeClassName,omitempty" protobuf:"bytes,15,opt,name=runtimeClassName"` // EnableServiceLinks indicates whether information about services should be injected into pod's // environment variables, matching the syntax of Docker links. // Optional: Defaults to true. // +optional EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" protobuf:"varint,16,opt,name=enableServiceLinks"` // TopologySpreadConstraints describes how a group of pods ought to spread across topology // domains. Scheduler will schedule pods in a way which abides by the constraints. // All topologySpreadConstraints are ANDed. // +optional // +patchMergeKey=topologyKey // +patchStrategy=merge // +listType=map // +listMapKey=topologyKey // +listMapKey=whenUnsatisfiable TopologySpreadConstraints []core.TopologySpreadConstraint `` /* 147-byte string literal not displayed */ }
func (*PodRuntimeSettings) DeepCopy ¶
func (in *PodRuntimeSettings) DeepCopy() *PodRuntimeSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodRuntimeSettings.
func (*PodRuntimeSettings) DeepCopyInto ¶
func (in *PodRuntimeSettings) DeepCopyInto(out *PodRuntimeSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodRuntimeSettings) Descriptor ¶
func (*PodRuntimeSettings) Descriptor() ([]byte, []int)
func (*PodRuntimeSettings) Marshal ¶
func (m *PodRuntimeSettings) Marshal() (dAtA []byte, err error)
func (*PodRuntimeSettings) MarshalTo ¶
func (m *PodRuntimeSettings) MarshalTo(dAtA []byte) (int, error)
func (*PodRuntimeSettings) MarshalToSizedBuffer ¶
func (m *PodRuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodRuntimeSettings) ProtoMessage ¶
func (*PodRuntimeSettings) ProtoMessage()
func (*PodRuntimeSettings) Reset ¶
func (m *PodRuntimeSettings) Reset()
func (*PodRuntimeSettings) Size ¶
func (m *PodRuntimeSettings) Size() (n int)
func (*PodRuntimeSettings) String ¶
func (this *PodRuntimeSettings) String() string
func (*PodRuntimeSettings) Unmarshal ¶
func (m *PodRuntimeSettings) Unmarshal(dAtA []byte) error
func (*PodRuntimeSettings) XXX_DiscardUnknown ¶
func (m *PodRuntimeSettings) XXX_DiscardUnknown()
func (*PodRuntimeSettings) XXX_Marshal ¶
func (m *PodRuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodRuntimeSettings) XXX_Merge ¶
func (m *PodRuntimeSettings) XXX_Merge(src proto.Message)
func (*PodRuntimeSettings) XXX_Size ¶
func (m *PodRuntimeSettings) XXX_Size() int
func (*PodRuntimeSettings) XXX_Unmarshal ¶
func (m *PodRuntimeSettings) XXX_Unmarshal(b []byte) error
type PodSpec ¶
type PodSpec struct { // ServiceAccountName is the name of the ServiceAccount to use to run this pod. // More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ // +optional ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,1,opt,name=serviceAccountName"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,2,rep,name=nodeSelector"` // If specified, the pod's scheduling constraints // +optional Affinity *core.Affinity `json:"affinity,omitempty" protobuf:"bytes,3,opt,name=affinity"` // If specified, the pod will be dispatched by specified scheduler. // If not specified, the pod will be dispatched by default scheduler. // +optional SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,4,opt,name=schedulerName"` // If specified, the pod's tolerations. // +optional Tolerations []core.Toleration `json:"tolerations,omitempty" protobuf:"bytes,5,rep,name=tolerations"` // ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. // If specified, these secrets will be passed to individual puller implementations for them to use. // +optional ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty" protobuf:"bytes,6,rep,name=imagePullSecrets"` // If specified, indicates the pod's priority. "system-node-critical" and // "system-cluster-critical" are two special keywords which indicate the // highest priorities with the former being the highest priority. Any other // name must be defined by creating a PriorityClass object with that name. // If not specified, the pod priority will be default or zero if there is no // default. // +optional PriorityClassName string `json:"priorityClassName,omitempty" protobuf:"bytes,7,opt,name=priorityClassName"` // The priority value. Various system components use this field to find the // priority of the pod. When Priority Admission Controller is enabled, it // prevents users from setting this field. The admission controller populates // this field from PriorityClassName. // The higher the value, the higher the priority. // +optional Priority *int32 `json:"priority,omitempty" protobuf:"varint,8,opt,name=priority"` // Host networking requested for this pod. Use the host's network namespace. // If this option is set, the ports that will be used must be specified. // Default to false. // +k8s:conversion-gen=false // +optional HostNetwork bool `json:"hostNetwork,omitempty" protobuf:"varint,9,opt,name=hostNetwork"` // Use the host's pid namespace. // Optional: Default to false. // +k8s:conversion-gen=false // +optional HostPID bool `json:"hostPID,omitempty" protobuf:"varint,10,opt,name=hostPID"` // Use the host's ipc namespace. // Optional: Default to false. // +k8s:conversion-gen=false // +optional HostIPC bool `json:"hostIPC,omitempty" protobuf:"varint,11,opt,name=hostIPC"` // When this is set containers will be able to view and signal processes from other containers // in the same pod, and the first process in each container will not be assigned PID 1. // HostPID and ShareProcessNamespace cannot both be set. // Optional: Default to false. // +k8s:conversion-gen=false // +optional ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" protobuf:"varint,12,opt,name=shareProcessNamespace"` // SecurityContext holds pod-level security attributes and common container settings. // Optional: Defaults to empty. See type description for default values of each field. // +optional SecurityContext *core.PodSecurityContext `json:"securityContext,omitempty" protobuf:"bytes,13,opt,name=securityContext"` // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. // Value must be non-negative integer. The value zero indicates stop immediately via // the kill signal (no opportunity to shut down). // If this value is nil, the default grace period will be used instead. // The grace period is the duration in seconds after the processes running in the pod are sent // a termination signal and the time when the processes are forcibly halted with a kill signal. // Set this value longer than the expected cleanup time for your process. // Defaults to 30 seconds. // +optional TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty" protobuf:"varint,14,opt,name=terminationGracePeriodSeconds"` // Set DNS policy for the pod. // Defaults to "ClusterFirst". // Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. // DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. // To have DNS options set along with hostNetwork, you have to specify DNS policy // explicitly to 'ClusterFirstWithHostNet'. // +optional DNSPolicy core.DNSPolicy `json:"dnsPolicy,omitempty" protobuf:"bytes,15,opt,name=dnsPolicy,casttype=k8s.io/api/core/v1.DNSPolicy"` // Specifies the DNS parameters of a pod. // Parameters specified here will be merged to the generated DNS // configuration based on DNSPolicy. // +optional DNSConfig *core.PodDNSConfig `json:"dnsConfig,omitempty" protobuf:"bytes,16,opt,name=dnsConfig"` // TopologySpreadConstraints describes how a group of pods ought to spread across topology // domains. Scheduler will schedule pods in a way which abides by the constraints. // All topologySpreadConstraints are ANDed. // +optional // +patchMergeKey=topologyKey // +patchStrategy=merge // +listType=map // +listMapKey=topologyKey // +listMapKey=whenUnsatisfiable TopologySpreadConstraints []core.TopologySpreadConstraint `` /* 147-byte string literal not displayed */ // List of volumes that can be mounted by containers belonging to the pod. // More info: https://kubernetes.io/docs/concepts/storage/volumes // +optional // +patchMergeKey=name // +patchStrategy=merge,retainKeys Volumes []core.Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,18,rep,name=volumes"` // List of initialization containers belonging to the pod. // Init containers are executed in order prior to containers being started. If any // init container fails, the pod is considered to have failed and is handled according // to its restartPolicy. The name for an init container or normal container must be // unique among all containers. // Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes. // The resourceRequirements of an init container are taken into account during scheduling // by finding the highest request/limit for each resource type, and then using the max of // of that value or the sum of the normal containers. Limits are applied to init containers // in a similar fashion. // Init containers cannot currently be added or removed. // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ // +patchMergeKey=name // +patchStrategy=merge InitContainers []core.Container `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,19,rep,name=initContainers"` // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. // Variable references $(VAR_NAME) are expanded using the container's environment. If a variable // cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. // More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell // +optional Args []string `json:"args,omitempty" protobuf:"bytes,20,rep,name=args"` // List of environment variables to set in the container. // Cannot be updated. // +optional Env []core.EnvVar `json:"env,omitempty" protobuf:"bytes,21,rep,name=env"` // Compute Resources required by the sidecar container. // +optional Resources core.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,22,opt,name=resources"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Controllers may set default LivenessProbe if no liveness probe is provided. // To ignore defaulting, set the value to empty LivenessProbe "{}". // Cannot be updated. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional LivenessProbe *core.Probe `json:"livenessProbe,omitempty" protobuf:"bytes,23,opt,name=livenessProbe"` // Periodic probe of container service readiness. // Container will be removed from service endpoints if the probe fails. // Cannot be updated. // Controllers may set default ReadinessProbe if no readyness probe is provided. // To ignore defaulting, set the value to empty ReadynessProbe "{}". // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional ReadinessProbe *core.Probe `json:"readinessProbe,omitempty" protobuf:"bytes,24,opt,name=readinessProbe"` // Actions that the management system should take in response to container lifecycle events. // Cannot be updated. // +optional Lifecycle *core.Lifecycle `json:"lifecycle,omitempty" protobuf:"bytes,25,opt,name=lifecycle"` // Security options the pod should run with. // More info: https://kubernetes.io/docs/concepts/policy/security-context/ // More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ // +optional ContainerSecurityContext *core.SecurityContext `json:"containerSecurityContext,omitempty" protobuf:"bytes,26,opt,name=containerSecurityContext"` // Pod volumes to mount into the container's filesystem. // Cannot be updated. // +optional // +patchMergeKey=mountPath // +patchStrategy=merge VolumeMounts []core.VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,27,rep,name=volumeMounts"` }
func (*PodSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSpec) Descriptor ¶
func (*PodSpec) MarshalToSizedBuffer ¶
func (*PodSpec) ProtoMessage ¶
func (*PodSpec) ProtoMessage()
func (*PodSpec) XXX_DiscardUnknown ¶
func (m *PodSpec) XXX_DiscardUnknown()
func (*PodSpec) XXX_Marshal ¶
func (*PodSpec) XXX_Unmarshal ¶
type PodTemplateSpec ¶
type PodTemplateSpec struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Workload controller's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional Controller ObjectMeta `json:"controller,omitempty" protobuf:"bytes,2,opt,name=controller"` // Specification of the desired behavior of the pod. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status // +optional Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"` }
PodTemplateSpec describes the data a pod should have when created from a template
func (*PodTemplateSpec) DeepCopy ¶
func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec.
func (*PodTemplateSpec) DeepCopyInto ¶
func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodTemplateSpec) Descriptor ¶
func (*PodTemplateSpec) Descriptor() ([]byte, []int)
func (*PodTemplateSpec) Marshal ¶
func (m *PodTemplateSpec) Marshal() (dAtA []byte, err error)
func (*PodTemplateSpec) MarshalToSizedBuffer ¶
func (m *PodTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PodTemplateSpec) ProtoMessage ¶
func (*PodTemplateSpec) ProtoMessage()
func (*PodTemplateSpec) Reset ¶
func (m *PodTemplateSpec) Reset()
func (*PodTemplateSpec) Size ¶
func (m *PodTemplateSpec) Size() (n int)
func (*PodTemplateSpec) String ¶
func (this *PodTemplateSpec) String() string
func (*PodTemplateSpec) Unmarshal ¶
func (m *PodTemplateSpec) Unmarshal(dAtA []byte) error
func (*PodTemplateSpec) XXX_DiscardUnknown ¶
func (m *PodTemplateSpec) XXX_DiscardUnknown()
func (*PodTemplateSpec) XXX_Marshal ¶
func (m *PodTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PodTemplateSpec) XXX_Merge ¶
func (m *PodTemplateSpec) XXX_Merge(src proto.Message)
func (*PodTemplateSpec) XXX_Size ¶
func (m *PodTemplateSpec) XXX_Size() int
func (*PodTemplateSpec) XXX_Unmarshal ¶
func (m *PodTemplateSpec) XXX_Unmarshal(b []byte) error
type RuntimeSettings ¶
type RuntimeSettings struct { Pod *PodRuntimeSettings `json:"pod,omitempty" protobuf:"bytes,1,opt,name=pod"` Container *ContainerRuntimeSettings `json:"container,omitempty" protobuf:"bytes,2,opt,name=container"` }
func (*RuntimeSettings) DeepCopy ¶
func (in *RuntimeSettings) DeepCopy() *RuntimeSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSettings.
func (*RuntimeSettings) DeepCopyInto ¶
func (in *RuntimeSettings) DeepCopyInto(out *RuntimeSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeSettings) Descriptor ¶
func (*RuntimeSettings) Descriptor() ([]byte, []int)
func (*RuntimeSettings) Marshal ¶
func (m *RuntimeSettings) Marshal() (dAtA []byte, err error)
func (*RuntimeSettings) MarshalToSizedBuffer ¶
func (m *RuntimeSettings) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RuntimeSettings) ProtoMessage ¶
func (*RuntimeSettings) ProtoMessage()
func (*RuntimeSettings) Reset ¶
func (m *RuntimeSettings) Reset()
func (*RuntimeSettings) Size ¶
func (m *RuntimeSettings) Size() (n int)
func (*RuntimeSettings) String ¶
func (this *RuntimeSettings) String() string
func (*RuntimeSettings) Unmarshal ¶
func (m *RuntimeSettings) Unmarshal(dAtA []byte) error
func (*RuntimeSettings) XXX_DiscardUnknown ¶
func (m *RuntimeSettings) XXX_DiscardUnknown()
func (*RuntimeSettings) XXX_Marshal ¶
func (m *RuntimeSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuntimeSettings) XXX_Merge ¶
func (m *RuntimeSettings) XXX_Merge(src proto.Message)
func (*RuntimeSettings) XXX_Size ¶
func (m *RuntimeSettings) XXX_Size() int
func (*RuntimeSettings) XXX_Unmarshal ¶
func (m *RuntimeSettings) XXX_Unmarshal(b []byte) error
type ServicePort ¶
type ServicePort struct { // The name of this port within the service. This must be a DNS_LABEL. // All ports within a ServiceSpec must have unique names. This maps to // the 'Name' field in EndpointPort objects. // Optional if only one ServicePort is defined on this service. // +optional Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // The port that will be exposed by this service. Port int32 `json:"port" protobuf:"varint,2,opt,name=port"` // The port on each node on which this service is exposed when type=NodePort or LoadBalancer. // Usually assigned by the system. If specified, it will be allocated to the service // if unused or else creation of the service will fail. // Default is to auto-allocate a port if the ServiceType of this Service requires one. // More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport // +optional NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,3,opt,name=nodePort"` }
ServicePort contains information on service's port.
func (*ServicePort) DeepCopy ¶
func (in *ServicePort) DeepCopy() *ServicePort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort.
func (*ServicePort) DeepCopyInto ¶
func (in *ServicePort) DeepCopyInto(out *ServicePort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServicePort) Descriptor ¶
func (*ServicePort) Descriptor() ([]byte, []int)
func (*ServicePort) Marshal ¶
func (m *ServicePort) Marshal() (dAtA []byte, err error)
func (*ServicePort) MarshalToSizedBuffer ¶
func (m *ServicePort) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServicePort) ProtoMessage ¶
func (*ServicePort) ProtoMessage()
func (*ServicePort) Reset ¶
func (m *ServicePort) Reset()
func (*ServicePort) Size ¶
func (m *ServicePort) Size() (n int)
func (*ServicePort) String ¶
func (this *ServicePort) String() string
func (*ServicePort) Unmarshal ¶
func (m *ServicePort) Unmarshal(dAtA []byte) error
func (*ServicePort) XXX_DiscardUnknown ¶
func (m *ServicePort) XXX_DiscardUnknown()
func (*ServicePort) XXX_Marshal ¶
func (m *ServicePort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServicePort) XXX_Merge ¶
func (m *ServicePort) XXX_Merge(src proto.Message)
func (*ServicePort) XXX_Size ¶
func (m *ServicePort) XXX_Size() int
func (*ServicePort) XXX_Unmarshal ¶
func (m *ServicePort) XXX_Unmarshal(b []byte) error
type ServiceSpec ¶
type ServiceSpec struct { // The list of ports that are exposed by this service. // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies // +patchMergeKey=port // +patchStrategy=merge Ports []ServicePort `json:"ports,omitempty" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"` // clusterIP is the IP address of the service and is usually assigned // randomly by the master. If an address is specified manually and is not in // use by others, it will be allocated to the service; otherwise, creation // of the service will fail. This field can not be changed through updates. // Valid values are "None", empty string (""), or a valid IP address. "None" // can be specified for headless services when proxying is not required. // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. // More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies // +optional ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,2,opt,name=clusterIP"` // type determines how the Service is exposed. Defaults to ClusterIP. Valid // options are ExternalName, ClusterIP, NodePort, and LoadBalancer. // "ExternalName" maps to the specified externalName. // "ClusterIP" allocates a cluster-internal IP address for load-balancing to // endpoints. Endpoints are determined by the selector or if that is not // specified, by manual construction of an Endpoints object. If clusterIP is // "None", no virtual IP is allocated and the endpoints are published as a // set of endpoints rather than a stable IP. // "NodePort" builds on ClusterIP and allocates a port on every node which // routes to the clusterIP. // "LoadBalancer" builds on NodePort and creates an // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. // More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types // +optional Type core.ServiceType `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=k8s.io/api/core/v1.ServiceType"` // externalIPs is a list of IP addresses for which nodes in the cluster // will also accept traffic for this service. These IPs are not managed by // Kubernetes. The user is responsible for ensuring that traffic arrives // at a node with this IP. A common example is external load-balancers // that are not part of the Kubernetes system. // +optional ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,4,rep,name=externalIPs"` // Only applies to Service Type: LoadBalancer // LoadBalancer will get created with the IP specified in this field. // This feature depends on whether the underlying cloud-provider supports specifying // the loadBalancerIP when a load balancer is created. // This field will be ignored if the cloud-provider does not support the feature. // +optional LoadBalancerIP string `json:"loadBalancerIP,omitempty" protobuf:"bytes,5,opt,name=loadBalancerIP"` // If specified and supported by the platform, this will restrict traffic through the cloud-provider // load-balancer will be restricted to the specified client IPs. This field will be ignored if the // cloud-provider does not support the feature." // More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ // +optional LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,6,rep,name=loadBalancerSourceRanges"` // externalTrafficPolicy denotes if this Service desires to route external // traffic to node-local or cluster-wide endpoints. "Local" preserves the // client source IP and avoids a second hop for LoadBalancer and Nodeport // type services, but risks potentially imbalanced traffic spreading. // "Cluster" obscures the client source IP and may cause a second hop to // another node, but should have good overall load-spreading. // +optional ExternalTrafficPolicy core.ServiceExternalTrafficPolicyType `` /* 149-byte string literal not displayed */ // healthCheckNodePort specifies the healthcheck nodePort for the service. // If not specified, HealthCheckNodePort is created by the service api // backend with the allocated nodePort. Will use user-specified nodePort value // if specified by the client. Only effects when Type is set to LoadBalancer // and ExternalTrafficPolicy is set to Local. // +optional HealthCheckNodePort int32 `json:"healthCheckNodePort,omitempty" protobuf:"varint,8,opt,name=healthCheckNodePort"` // sessionAffinityConfig contains the configurations of session affinity. // +optional SessionAffinityConfig *core.SessionAffinityConfig `json:"sessionAffinityConfig,omitempty" protobuf:"bytes,9,opt,name=sessionAffinityConfig"` }
ServiceSpec describes the attributes that a user creates on a service.
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceSpec) Descriptor ¶
func (*ServiceSpec) Descriptor() ([]byte, []int)
func (*ServiceSpec) Marshal ¶
func (m *ServiceSpec) Marshal() (dAtA []byte, err error)
func (*ServiceSpec) MarshalToSizedBuffer ¶
func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceSpec) ProtoMessage ¶
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) Reset ¶
func (m *ServiceSpec) Reset()
func (*ServiceSpec) Size ¶
func (m *ServiceSpec) Size() (n int)
func (*ServiceSpec) String ¶
func (this *ServiceSpec) String() string
func (*ServiceSpec) Unmarshal ¶
func (m *ServiceSpec) Unmarshal(dAtA []byte) error
func (*ServiceSpec) XXX_DiscardUnknown ¶
func (m *ServiceSpec) XXX_DiscardUnknown()
func (*ServiceSpec) XXX_Marshal ¶
func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceSpec) XXX_Merge ¶
func (m *ServiceSpec) XXX_Merge(src proto.Message)
func (*ServiceSpec) XXX_Size ¶
func (m *ServiceSpec) XXX_Size() int
func (*ServiceSpec) XXX_Unmarshal ¶
func (m *ServiceSpec) XXX_Unmarshal(b []byte) error
type ServiceTemplateSpec ¶
type ServiceTemplateSpec struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Specification of the desired behavior of the service. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status // +optional Spec ServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
ServiceTemplateSpec describes the data a service should have when created from a template
func (*ServiceTemplateSpec) DeepCopy ¶
func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateSpec.
func (*ServiceTemplateSpec) DeepCopyInto ¶
func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplateSpec) Descriptor ¶
func (*ServiceTemplateSpec) Descriptor() ([]byte, []int)
func (*ServiceTemplateSpec) Marshal ¶
func (m *ServiceTemplateSpec) Marshal() (dAtA []byte, err error)
func (*ServiceTemplateSpec) MarshalTo ¶
func (m *ServiceTemplateSpec) MarshalTo(dAtA []byte) (int, error)
func (*ServiceTemplateSpec) MarshalToSizedBuffer ¶
func (m *ServiceTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceTemplateSpec) ProtoMessage ¶
func (*ServiceTemplateSpec) ProtoMessage()
func (*ServiceTemplateSpec) Reset ¶
func (m *ServiceTemplateSpec) Reset()
func (*ServiceTemplateSpec) Size ¶
func (m *ServiceTemplateSpec) Size() (n int)
func (*ServiceTemplateSpec) String ¶
func (this *ServiceTemplateSpec) String() string
func (*ServiceTemplateSpec) Unmarshal ¶
func (m *ServiceTemplateSpec) Unmarshal(dAtA []byte) error
func (*ServiceTemplateSpec) XXX_DiscardUnknown ¶
func (m *ServiceTemplateSpec) XXX_DiscardUnknown()
func (*ServiceTemplateSpec) XXX_Marshal ¶
func (m *ServiceTemplateSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceTemplateSpec) XXX_Merge ¶
func (m *ServiceTemplateSpec) XXX_Merge(src proto.Message)
func (*ServiceTemplateSpec) XXX_Size ¶
func (m *ServiceTemplateSpec) XXX_Size() int
func (*ServiceTemplateSpec) XXX_Unmarshal ¶
func (m *ServiceTemplateSpec) XXX_Unmarshal(b []byte) error