Documentation ¶
Index ¶
- type AllowedCSIDriver
- type AllowedFlexVolume
- type AllowedHostPath
- type DaemonSet
- type DaemonSetCondition
- type DaemonSetList
- type DaemonSetSpec
- type DaemonSetStatus
- type DaemonSetUpdateStrategy
- type Deployment
- type DeploymentCondition
- type DeploymentList
- type DeploymentRollback
- type DeploymentSpec
- type DeploymentStatus
- type DeploymentStrategy
- type FSGroupStrategyOptions
- type HTTPIngressPath
- type HTTPIngressRuleValue
- type HostPortRange
- type IDRange
- type IPBlock
- type Ingress
- type IngressBackend
- type IngressList
- type IngressRule
- type IngressSpec
- type IngressStatus
- type IngressTLS
- type NetworkPolicy
- type NetworkPolicyEgressRule
- type NetworkPolicyIngressRule
- type NetworkPolicyList
- type NetworkPolicyPeer
- type NetworkPolicyPort
- type NetworkPolicySpec
- type PodSecurityPolicy
- type PodSecurityPolicyList
- type PodSecurityPolicySpec
- type ReplicaSet
- type ReplicaSetCondition
- type ReplicaSetList
- type ReplicaSetSpec
- type ReplicaSetStatus
- type RollbackConfig
- type RollingUpdateDaemonSet
- type RollingUpdateDeployment
- type RunAsGroupStrategyOptions
- type RunAsUserStrategyOptions
- type RuntimeClassStrategyOptions
- type SELinuxStrategyOptions
- type Scale
- type ScaleSpec
- type ScaleStatus
- type SupplementalGroupsStrategyOptions
- func (v SupplementalGroupsStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
- func (v SupplementalGroupsStrategyOptions) MarshalJSON() ([]byte, error)
- func (v *SupplementalGroupsStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SupplementalGroupsStrategyOptions) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedCSIDriver ¶
type AllowedCSIDriver struct { // Name is the registered name of the CSI driver // Required: true Name *string `json:"name"` }
AllowedCSIDriver AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.
swagger:model AllowedCSIDriver
func (AllowedCSIDriver) MarshalEasyJSON ¶
func (v AllowedCSIDriver) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (AllowedCSIDriver) MarshalJSON ¶
func (v AllowedCSIDriver) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*AllowedCSIDriver) UnmarshalEasyJSON ¶
func (v *AllowedCSIDriver) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AllowedCSIDriver) UnmarshalJSON ¶
func (v *AllowedCSIDriver) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type AllowedFlexVolume ¶
type AllowedFlexVolume struct { // driver is the name of the Flexvolume driver. // Required: true Driver *string `json:"driver"` }
AllowedFlexVolume AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.
swagger:model AllowedFlexVolume
func (AllowedFlexVolume) MarshalEasyJSON ¶
func (v AllowedFlexVolume) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (AllowedFlexVolume) MarshalJSON ¶
func (v AllowedFlexVolume) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*AllowedFlexVolume) UnmarshalEasyJSON ¶
func (v *AllowedFlexVolume) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AllowedFlexVolume) UnmarshalJSON ¶
func (v *AllowedFlexVolume) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type AllowedHostPath ¶
type AllowedHostPath struct { // pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. // // Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` PathPrefix string `json:"pathPrefix,omitempty"` // when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. ReadOnly bool `json:"readOnly,omitempty"` }
AllowedHostPath AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.
swagger:model AllowedHostPath
func (AllowedHostPath) MarshalEasyJSON ¶
func (v AllowedHostPath) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (AllowedHostPath) MarshalJSON ¶
func (v AllowedHostPath) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*AllowedHostPath) UnmarshalEasyJSON ¶
func (v *AllowedHostPath) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AllowedHostPath) UnmarshalJSON ¶
func (v *AllowedHostPath) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSet ¶
type DaemonSet 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"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *DaemonSetSpec `json:"spec,omitempty"` // The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *DaemonSetStatus `json:"status,omitempty"` }
DaemonSet DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.
swagger:model DaemonSet
func (DaemonSet) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSet) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*DaemonSet) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSet) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSetCondition ¶
type DaemonSetCondition struct { // Last time the condition transitioned from one status to another. LastTransitionTime apimachinery_pkg_apis_meta_v1.Time `json:"lastTransitionTime,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Status of the condition, one of True, False, Unknown. // Required: true Status *string `json:"status"` // Type of DaemonSet condition. // Required: true Type *string `json:"type"` }
DaemonSetCondition DaemonSetCondition describes the state of a DaemonSet at a certain point.
swagger:model DaemonSetCondition
func (DaemonSetCondition) MarshalEasyJSON ¶
func (v DaemonSetCondition) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSetCondition) MarshalJSON ¶
func (v DaemonSetCondition) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DaemonSetCondition) UnmarshalEasyJSON ¶
func (v *DaemonSetCondition) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSetCondition) UnmarshalJSON ¶
func (v *DaemonSetCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSetList ¶
type DaemonSetList 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"` // A list of daemon sets. // Required: true Items []*DaemonSet `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"` }
DaemonSetList DaemonSetList is a collection of daemon sets.
swagger:model DaemonSetList
func (DaemonSetList) MarshalEasyJSON ¶
func (v DaemonSetList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSetList) MarshalJSON ¶
func (v DaemonSetList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DaemonSetList) UnmarshalEasyJSON ¶
func (v *DaemonSetList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSetList) UnmarshalJSON ¶
func (v *DaemonSetList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSetSpec ¶
type DaemonSetSpec struct { // The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"` // A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"selector,omitempty"` // An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template // Required: true Template *api_core_v1.PodTemplateSpec `json:"template"` // DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation. TemplateGeneration int64 `json:"templateGeneration,omitempty"` // An update strategy to replace existing DaemonSet pods with new pods. UpdateStrategy *DaemonSetUpdateStrategy `json:"updateStrategy,omitempty"` }
DaemonSetSpec DaemonSetSpec is the specification of a daemon set.
swagger:model DaemonSetSpec
func (DaemonSetSpec) MarshalEasyJSON ¶
func (v DaemonSetSpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSetSpec) MarshalJSON ¶
func (v DaemonSetSpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DaemonSetSpec) UnmarshalEasyJSON ¶
func (v *DaemonSetSpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSetSpec) UnmarshalJSON ¶
func (v *DaemonSetSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSetStatus ¶
type DaemonSetStatus struct { // Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. CollisionCount int32 `json:"collisionCount,omitempty"` // Represents the latest available observations of a DaemonSet's current state. Conditions []*DaemonSetCondition `json:"conditions"` // The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ // Required: true CurrentNumberScheduled *int32 `json:"currentNumberScheduled"` // The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ // Required: true DesiredNumberScheduled *int32 `json:"desiredNumberScheduled"` // The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) NumberAvailable int32 `json:"numberAvailable,omitempty"` // The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ // Required: true NumberMisscheduled *int32 `json:"numberMisscheduled"` // The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. // Required: true NumberReady *int32 `json:"numberReady"` NumberUnavailable int32 `json:"numberUnavailable,omitempty"` // The most recent generation observed by the daemon set controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // The total number of nodes that are running updated daemon pod UpdatedNumberScheduled int32 `json:"updatedNumberScheduled,omitempty"` }
DaemonSetStatus DaemonSetStatus represents the current status of a daemon set.
swagger:model DaemonSetStatus
func (DaemonSetStatus) MarshalEasyJSON ¶
func (v DaemonSetStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSetStatus) MarshalJSON ¶
func (v DaemonSetStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DaemonSetStatus) UnmarshalEasyJSON ¶
func (v *DaemonSetStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSetStatus) UnmarshalJSON ¶
func (v *DaemonSetStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DaemonSetUpdateStrategy ¶
type DaemonSetUpdateStrategy struct { // Rolling update config params. Present only if type = "RollingUpdate". RollingUpdate *RollingUpdateDaemonSet `json:"rollingUpdate,omitempty"` // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is OnDelete. Type string `json:"type,omitempty"` }
DaemonSetUpdateStrategy daemon set update strategy
swagger:model DaemonSetUpdateStrategy
func (DaemonSetUpdateStrategy) MarshalEasyJSON ¶
func (v DaemonSetUpdateStrategy) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DaemonSetUpdateStrategy) MarshalJSON ¶
func (v DaemonSetUpdateStrategy) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DaemonSetUpdateStrategy) UnmarshalEasyJSON ¶
func (v *DaemonSetUpdateStrategy) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DaemonSetUpdateStrategy) UnmarshalJSON ¶
func (v *DaemonSetUpdateStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Deployment ¶
type Deployment 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"` // Standard object metadata. Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the Deployment. Spec *DeploymentSpec `json:"spec,omitempty"` // Most recently observed status of the Deployment. Status *DeploymentStatus `json:"status,omitempty"` }
Deployment DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.
swagger:model Deployment
func (Deployment) MarshalEasyJSON ¶
func (v Deployment) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Deployment) MarshalJSON ¶
func (v Deployment) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Deployment) UnmarshalEasyJSON ¶
func (v *Deployment) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Deployment) UnmarshalJSON ¶
func (v *Deployment) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentCondition ¶
type DeploymentCondition struct { // Last time the condition transitioned from one status to another. LastTransitionTime apimachinery_pkg_apis_meta_v1.Time `json:"lastTransitionTime,omitempty"` // The last time this condition was updated. LastUpdateTime apimachinery_pkg_apis_meta_v1.Time `json:"lastUpdateTime,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Status of the condition, one of True, False, Unknown. // Required: true Status *string `json:"status"` // Type of deployment condition. // Required: true Type *string `json:"type"` }
DeploymentCondition DeploymentCondition describes the state of a deployment at a certain point.
swagger:model DeploymentCondition
func (DeploymentCondition) MarshalEasyJSON ¶
func (v DeploymentCondition) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentCondition) MarshalJSON ¶
func (v DeploymentCondition) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentCondition) UnmarshalEasyJSON ¶
func (v *DeploymentCondition) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentCondition) UnmarshalJSON ¶
func (v *DeploymentCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentList ¶
type DeploymentList 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 the list of Deployments. // Required: true Items []*Deployment `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. Metadata apimachinery_pkg_apis_meta_v1.ListMeta `json:"metadata,omitempty"` }
DeploymentList DeploymentList is a list of Deployments.
swagger:model DeploymentList
func (DeploymentList) MarshalEasyJSON ¶
func (v DeploymentList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentList) MarshalJSON ¶
func (v DeploymentList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentList) UnmarshalEasyJSON ¶
func (v *DeploymentList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentList) UnmarshalJSON ¶
func (v *DeploymentList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentRollback ¶
type DeploymentRollback 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"` // Required: This must match the Name of a deployment. // Required: true Name *string `json:"name"` // The config of this deployment rollback. // Required: true RollbackTo *RollbackConfig `json:"rollbackTo"` // The annotations to be updated to a deployment UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty"` }
DeploymentRollback DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
swagger:model DeploymentRollback
func (DeploymentRollback) MarshalEasyJSON ¶
func (v DeploymentRollback) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentRollback) MarshalJSON ¶
func (v DeploymentRollback) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentRollback) UnmarshalEasyJSON ¶
func (v *DeploymentRollback) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentRollback) UnmarshalJSON ¶
func (v *DeploymentRollback) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentSpec ¶
type DeploymentSpec struct { // Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // Indicates that the deployment is paused and will not be processed by the deployment controller. Paused bool `json:"paused,omitempty"` // The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline". ProgressDeadlineSeconds int32 `json:"progressDeadlineSeconds,omitempty"` // Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. Replicas int32 `json:"replicas,omitempty"` // The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets". RevisionHistoryLimit int32 `json:"revisionHistoryLimit,omitempty"` // DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. RollbackTo *RollbackConfig `json:"rollbackTo,omitempty"` // Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. Selector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"selector,omitempty"` // The deployment strategy to use to replace existing pods with new ones. Strategy *DeploymentStrategy `json:"strategy,omitempty"` // Template describes the pods that will be created. // Required: true Template *api_core_v1.PodTemplateSpec `json:"template"` }
DeploymentSpec DeploymentSpec is the specification of the desired behavior of the Deployment.
swagger:model DeploymentSpec
func (DeploymentSpec) MarshalEasyJSON ¶
func (v DeploymentSpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentSpec) MarshalJSON ¶
func (v DeploymentSpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentSpec) UnmarshalEasyJSON ¶
func (v *DeploymentSpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentSpec) UnmarshalJSON ¶
func (v *DeploymentSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentStatus ¶
type DeploymentStatus struct { // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. CollisionCount int32 `json:"collisionCount,omitempty"` // Represents the latest available observations of a deployment's current state. Conditions []*DeploymentCondition `json:"conditions"` // The generation observed by the deployment controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Total number of ready pods targeted by this deployment. ReadyReplicas int32 `json:"readyReplicas,omitempty"` // Total number of non-terminated pods targeted by this deployment (their labels match the selector). Replicas int32 `json:"replicas,omitempty"` UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"` // Total number of non-terminated pods targeted by this deployment that have the desired template spec. UpdatedReplicas int32 `json:"updatedReplicas,omitempty"` }
DeploymentStatus DeploymentStatus is the most recently observed status of the Deployment.
swagger:model DeploymentStatus
func (DeploymentStatus) MarshalEasyJSON ¶
func (v DeploymentStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentStatus) MarshalJSON ¶
func (v DeploymentStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentStatus) UnmarshalEasyJSON ¶
func (v *DeploymentStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentStatus) UnmarshalJSON ¶
func (v *DeploymentStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DeploymentStrategy ¶
type DeploymentStrategy struct { // Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. RollingUpdate *RollingUpdateDeployment `json:"rollingUpdate,omitempty"` // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. Type string `json:"type,omitempty"` }
DeploymentStrategy DeploymentStrategy describes how to replace existing pods with new ones.
swagger:model DeploymentStrategy
func (DeploymentStrategy) MarshalEasyJSON ¶
func (v DeploymentStrategy) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DeploymentStrategy) MarshalJSON ¶
func (v DeploymentStrategy) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DeploymentStrategy) UnmarshalEasyJSON ¶
func (v *DeploymentStrategy) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DeploymentStrategy) UnmarshalJSON ¶
func (v *DeploymentStrategy) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type FSGroupStrategyOptions ¶
type FSGroupStrategyOptions struct { // ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. Ranges []*IDRange `json:"ranges"` // rule is the strategy that will dictate what FSGroup is used in the SecurityContext. Rule string `json:"rule,omitempty"` }
FSGroupStrategyOptions FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.
swagger:model FSGroupStrategyOptions
func (FSGroupStrategyOptions) MarshalEasyJSON ¶
func (v FSGroupStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (FSGroupStrategyOptions) MarshalJSON ¶
func (v FSGroupStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*FSGroupStrategyOptions) UnmarshalEasyJSON ¶
func (v *FSGroupStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*FSGroupStrategyOptions) UnmarshalJSON ¶
func (v *FSGroupStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type HTTPIngressPath ¶
type HTTPIngressPath struct { // Backend defines the referenced service endpoint to which the traffic will be forwarded to. // Required: true Backend *IngressBackend `json:"backend"` // Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. Path string `json:"path,omitempty"` }
HTTPIngressPath HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
swagger:model HTTPIngressPath
func (HTTPIngressPath) MarshalEasyJSON ¶
func (v HTTPIngressPath) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (HTTPIngressPath) MarshalJSON ¶
func (v HTTPIngressPath) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*HTTPIngressPath) UnmarshalEasyJSON ¶
func (v *HTTPIngressPath) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*HTTPIngressPath) UnmarshalJSON ¶
func (v *HTTPIngressPath) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type HTTPIngressRuleValue ¶
type HTTPIngressRuleValue struct { // A collection of paths that map requests to backends. // Required: true Paths []*HTTPIngressPath `json:"paths"` }
HTTPIngressRuleValue HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
swagger:model HTTPIngressRuleValue
func (HTTPIngressRuleValue) MarshalEasyJSON ¶
func (v HTTPIngressRuleValue) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (HTTPIngressRuleValue) MarshalJSON ¶
func (v HTTPIngressRuleValue) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*HTTPIngressRuleValue) UnmarshalEasyJSON ¶
func (v *HTTPIngressRuleValue) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*HTTPIngressRuleValue) UnmarshalJSON ¶
func (v *HTTPIngressRuleValue) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type HostPortRange ¶
type HostPortRange struct { // max is the end of the range, inclusive. // Required: true Max *int32 `json:"max"` // min is the start of the range, inclusive. // Required: true Min *int32 `json:"min"` }
HostPortRange HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.
swagger:model HostPortRange
func (HostPortRange) MarshalEasyJSON ¶
func (v HostPortRange) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (HostPortRange) MarshalJSON ¶
func (v HostPortRange) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*HostPortRange) UnmarshalEasyJSON ¶
func (v *HostPortRange) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*HostPortRange) UnmarshalJSON ¶
func (v *HostPortRange) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IDRange ¶
type IDRange struct { // max is the end of the range, inclusive. // Required: true Max *int64 `json:"max"` // min is the start of the range, inclusive. // Required: true Min *int64 `json:"min"` }
IDRange IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.
swagger:model IDRange
func (IDRange) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (IDRange) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*IDRange) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IDRange) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type IPBlock ¶
type IPBlock struct { // CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" // Required: true Cidr *string `json:"cidr"` // Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range Except []string `json:"except"` }
IPBlock DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
swagger:model IPBlock
func (IPBlock) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (IPBlock) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*IPBlock) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IPBlock) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Ingress ¶
type Ingress 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"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *IngressSpec `json:"spec,omitempty"` // Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *IngressStatus `json:"status,omitempty"` }
Ingress Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information.
swagger:model Ingress
func (Ingress) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Ingress) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Ingress) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Ingress) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type IngressBackend ¶
type IngressBackend struct { // Specifies the name of the referenced service. // Required: true ServiceName *string `json:"serviceName"` // Specifies the port of the referenced service. // Required: true ServicePort *apimachinery_pkg_util_intstr.IntOrString `json:"servicePort"` }
IngressBackend IngressBackend describes all endpoints for a given service and port.
swagger:model IngressBackend
func (IngressBackend) MarshalEasyJSON ¶
func (v IngressBackend) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressBackend) MarshalJSON ¶
func (v IngressBackend) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressBackend) UnmarshalEasyJSON ¶
func (v *IngressBackend) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressBackend) UnmarshalJSON ¶
func (v *IngressBackend) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IngressList ¶
type IngressList 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 the list of Ingress. // Required: true Items []*Ingress `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 object's 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"` }
IngressList IngressList is a collection of Ingress.
swagger:model IngressList
func (IngressList) MarshalEasyJSON ¶
func (v IngressList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressList) MarshalJSON ¶
func (v IngressList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressList) UnmarshalEasyJSON ¶
func (v *IngressList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressList) UnmarshalJSON ¶
func (v *IngressList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IngressRule ¶
type IngressRule struct { // Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the // IP in the Spec of the parent Ingress. // 2. The `:` delimiter is not respected because ports are not allowed. // Currently the port of an Ingress is implicitly :80 for http and // :443 for https. // Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. Host string `json:"host,omitempty"` // http HTTP *HTTPIngressRuleValue `json:"http,omitempty"` }
IngressRule IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
swagger:model IngressRule
func (IngressRule) MarshalEasyJSON ¶
func (v IngressRule) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressRule) MarshalJSON ¶
func (v IngressRule) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressRule) UnmarshalEasyJSON ¶
func (v *IngressRule) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressRule) UnmarshalJSON ¶
func (v *IngressRule) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IngressSpec ¶
type IngressSpec struct { // A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default. Backend *IngressBackend `json:"backend,omitempty"` // A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. Rules []*IngressRule `json:"rules"` // TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI. TLS []*IngressTLS `json:"tls"` }
IngressSpec IngressSpec describes the Ingress the user wishes to exist.
swagger:model IngressSpec
func (IngressSpec) MarshalEasyJSON ¶
func (v IngressSpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressSpec) MarshalJSON ¶
func (v IngressSpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressSpec) UnmarshalEasyJSON ¶
func (v *IngressSpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressSpec) UnmarshalJSON ¶
func (v *IngressSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IngressStatus ¶
type IngressStatus struct { // LoadBalancer contains the current status of the load-balancer. LoadBalancer api_core_v1.LoadBalancerStatus `json:"loadBalancer,omitempty"` }
IngressStatus IngressStatus describe the current state of the Ingress.
swagger:model IngressStatus
func (IngressStatus) MarshalEasyJSON ¶
func (v IngressStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressStatus) MarshalJSON ¶
func (v IngressStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressStatus) UnmarshalEasyJSON ¶
func (v *IngressStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressStatus) UnmarshalJSON ¶
func (v *IngressStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type IngressTLS ¶
type IngressTLS struct { // Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. Hosts []string `json:"hosts"` // SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing. SecretName string `json:"secretName,omitempty"` }
IngressTLS IngressTLS describes the transport layer security associated with an Ingress.
swagger:model IngressTLS
func (IngressTLS) MarshalEasyJSON ¶
func (v IngressTLS) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (IngressTLS) MarshalJSON ¶
func (v IngressTLS) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*IngressTLS) UnmarshalEasyJSON ¶
func (v *IngressTLS) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*IngressTLS) UnmarshalJSON ¶
func (v *IngressTLS) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicy ¶
type NetworkPolicy 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"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior for this NetworkPolicy. Spec *NetworkPolicySpec `json:"spec,omitempty"` }
NetworkPolicy DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods
swagger:model NetworkPolicy
func (NetworkPolicy) MarshalEasyJSON ¶
func (v NetworkPolicy) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicy) MarshalJSON ¶
func (v NetworkPolicy) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicy) UnmarshalEasyJSON ¶
func (v *NetworkPolicy) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicy) UnmarshalJSON ¶
func (v *NetworkPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicyEgressRule ¶
type NetworkPolicyEgressRule struct { // List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. Ports []*NetworkPolicyPort `json:"ports"` // List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. To []*NetworkPolicyPeer `json:"to"` }
NetworkPolicyEgressRule DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
swagger:model NetworkPolicyEgressRule
func (NetworkPolicyEgressRule) MarshalEasyJSON ¶
func (v NetworkPolicyEgressRule) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicyEgressRule) MarshalJSON ¶
func (v NetworkPolicyEgressRule) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicyEgressRule) UnmarshalEasyJSON ¶
func (v *NetworkPolicyEgressRule) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicyEgressRule) UnmarshalJSON ¶
func (v *NetworkPolicyEgressRule) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicyIngressRule ¶
type NetworkPolicyIngressRule struct { // List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list. From []*NetworkPolicyPeer `json:"from"` // List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. Ports []*NetworkPolicyPort `json:"ports"` }
NetworkPolicyIngressRule DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.
swagger:model NetworkPolicyIngressRule
func (NetworkPolicyIngressRule) MarshalEasyJSON ¶
func (v NetworkPolicyIngressRule) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicyIngressRule) MarshalJSON ¶
func (v NetworkPolicyIngressRule) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicyIngressRule) UnmarshalEasyJSON ¶
func (v *NetworkPolicyIngressRule) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicyIngressRule) UnmarshalJSON ¶
func (v *NetworkPolicyIngressRule) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicyList ¶
type NetworkPolicyList 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 []*NetworkPolicy `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"` }
NetworkPolicyList DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.
swagger:model NetworkPolicyList
func (NetworkPolicyList) MarshalEasyJSON ¶
func (v NetworkPolicyList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicyList) MarshalJSON ¶
func (v NetworkPolicyList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicyList) UnmarshalEasyJSON ¶
func (v *NetworkPolicyList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicyList) UnmarshalJSON ¶
func (v *NetworkPolicyList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicyPeer ¶
type NetworkPolicyPeer struct { // IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. IPBlock *IPBlock `json:"ipBlock,omitempty"` // Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. // // If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. NamespaceSelector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"namespaceSelector,omitempty"` // This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. // // If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. PodSelector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"podSelector,omitempty"` }
NetworkPolicyPeer DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.
swagger:model NetworkPolicyPeer
func (NetworkPolicyPeer) MarshalEasyJSON ¶
func (v NetworkPolicyPeer) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicyPeer) MarshalJSON ¶
func (v NetworkPolicyPeer) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicyPeer) UnmarshalEasyJSON ¶
func (v *NetworkPolicyPeer) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicyPeer) UnmarshalJSON ¶
func (v *NetworkPolicyPeer) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicyPort ¶
type NetworkPolicyPort struct { // If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. Port apimachinery_pkg_util_intstr.IntOrString `json:"port,omitempty"` // Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. Protocol string `json:"protocol,omitempty"` }
NetworkPolicyPort DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.
swagger:model NetworkPolicyPort
func (NetworkPolicyPort) MarshalEasyJSON ¶
func (v NetworkPolicyPort) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicyPort) MarshalJSON ¶
func (v NetworkPolicyPort) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicyPort) UnmarshalEasyJSON ¶
func (v *NetworkPolicyPort) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicyPort) UnmarshalJSON ¶
func (v *NetworkPolicyPort) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NetworkPolicySpec ¶
type NetworkPolicySpec struct { // List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 Egress []*NetworkPolicyEgressRule `json:"egress"` // List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default). Ingress []*NetworkPolicyIngressRule `json:"ingress"` // Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace. // Required: true PodSelector *apimachinery_pkg_apis_meta_v1.LabelSelector `json:"podSelector"` // List of rule types that the NetworkPolicy relates to. Valid options are "Ingress", "Egress", or "Ingress,Egress". If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 PolicyTypes []string `json:"policyTypes"` }
NetworkPolicySpec DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.
swagger:model NetworkPolicySpec
func (NetworkPolicySpec) MarshalEasyJSON ¶
func (v NetworkPolicySpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NetworkPolicySpec) MarshalJSON ¶
func (v NetworkPolicySpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NetworkPolicySpec) UnmarshalEasyJSON ¶
func (v *NetworkPolicySpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NetworkPolicySpec) UnmarshalJSON ¶
func (v *NetworkPolicySpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type PodSecurityPolicy ¶
type PodSecurityPolicy 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"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // spec defines the policy enforced. Spec *PodSecurityPolicySpec `json:"spec,omitempty"` }
PodSecurityPolicy PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.
swagger:model PodSecurityPolicy
func (PodSecurityPolicy) MarshalEasyJSON ¶
func (v PodSecurityPolicy) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodSecurityPolicy) MarshalJSON ¶
func (v PodSecurityPolicy) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*PodSecurityPolicy) UnmarshalEasyJSON ¶
func (v *PodSecurityPolicy) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodSecurityPolicy) UnmarshalJSON ¶
func (v *PodSecurityPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type PodSecurityPolicyList ¶
type PodSecurityPolicyList 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 []*PodSecurityPolicy `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"` }
PodSecurityPolicyList PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.
swagger:model PodSecurityPolicyList
func (PodSecurityPolicyList) MarshalEasyJSON ¶
func (v PodSecurityPolicyList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodSecurityPolicyList) MarshalJSON ¶
func (v PodSecurityPolicyList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*PodSecurityPolicyList) UnmarshalEasyJSON ¶
func (v *PodSecurityPolicyList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodSecurityPolicyList) UnmarshalJSON ¶
func (v *PodSecurityPolicyList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type PodSecurityPolicySpec ¶
type PodSecurityPolicySpec struct { // allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. AllowPrivilegeEscalation bool `json:"allowPrivilegeEscalation,omitempty"` // AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. AllowedCSIDrivers []*AllowedCSIDriver `json:"allowedCSIDrivers"` // allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. AllowedCapabilities []string `json:"allowedCapabilities"` // allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the "volumes" field. AllowedFlexVolumes []*AllowedFlexVolume `json:"allowedFlexVolumes"` // allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. AllowedHostPaths []*AllowedHostPath `json:"allowedHostPaths"` // AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. AllowedProcMountTypes []string `json:"allowedProcMountTypes"` // allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. // // Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc. AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls"` // defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. DefaultAddCapabilities []string `json:"defaultAddCapabilities"` // defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. DefaultAllowPrivilegeEscalation bool `json:"defaultAllowPrivilegeEscalation,omitempty"` // forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. // // Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc. ForbiddenSysctls []string `json:"forbiddenSysctls"` // fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. // Required: true FsGroup *FSGroupStrategyOptions `json:"fsGroup"` // hostIPC determines if the policy allows the use of HostIPC in the pod spec. HostIPC bool `json:"hostIPC,omitempty"` // hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. HostNetwork bool `json:"hostNetwork,omitempty"` // hostPID determines if the policy allows the use of HostPID in the pod spec. HostPID bool `json:"hostPID,omitempty"` // hostPorts determines which host port ranges are allowed to be exposed. HostPorts []*HostPortRange `json:"hostPorts"` // privileged determines if a pod can request to be run as privileged. Privileged bool `json:"privileged,omitempty"` // readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem,omitempty"` // requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. RequiredDropCapabilities []string `json:"requiredDropCapabilities"` // RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. RunAsGroup *RunAsGroupStrategyOptions `json:"runAsGroup,omitempty"` // runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. // Required: true RunAsUser *RunAsUserStrategyOptions `json:"runAsUser"` // runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod. If this field is omitted, the pod's runtimeClassName field is unrestricted. Enforcement of this field depends on the RuntimeClass feature gate being enabled. RuntimeClass *RuntimeClassStrategyOptions `json:"runtimeClass,omitempty"` // seLinux is the strategy that will dictate the allowable labels that may be set. // Required: true SeLinux *SELinuxStrategyOptions `json:"seLinux"` // supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. // Required: true SupplementalGroups *SupplementalGroupsStrategyOptions `json:"supplementalGroups"` // volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. Volumes []string `json:"volumes"` }
PodSecurityPolicySpec PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.
swagger:model PodSecurityPolicySpec
func (PodSecurityPolicySpec) MarshalEasyJSON ¶
func (v PodSecurityPolicySpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (PodSecurityPolicySpec) MarshalJSON ¶
func (v PodSecurityPolicySpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*PodSecurityPolicySpec) UnmarshalEasyJSON ¶
func (v *PodSecurityPolicySpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*PodSecurityPolicySpec) UnmarshalJSON ¶
func (v *PodSecurityPolicySpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ReplicaSet ¶
type ReplicaSet 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"` // If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Spec *ReplicaSetSpec `json:"spec,omitempty"` // Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *ReplicaSetStatus `json:"status,omitempty"` }
ReplicaSet DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.
swagger:model ReplicaSet
func (ReplicaSet) MarshalEasyJSON ¶
func (v ReplicaSet) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ReplicaSet) MarshalJSON ¶
func (v ReplicaSet) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ReplicaSet) UnmarshalEasyJSON ¶
func (v *ReplicaSet) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ReplicaSet) UnmarshalJSON ¶
func (v *ReplicaSet) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ReplicaSetCondition ¶
type ReplicaSetCondition struct { // The last time the condition transitioned from one status to another. LastTransitionTime apimachinery_pkg_apis_meta_v1.Time `json:"lastTransitionTime,omitempty"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Status of the condition, one of True, False, Unknown. // Required: true Status *string `json:"status"` // Type of replica set condition. // Required: true Type *string `json:"type"` }
ReplicaSetCondition ReplicaSetCondition describes the state of a replica set at a certain point.
swagger:model ReplicaSetCondition
func (ReplicaSetCondition) MarshalEasyJSON ¶
func (v ReplicaSetCondition) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ReplicaSetCondition) MarshalJSON ¶
func (v ReplicaSetCondition) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ReplicaSetCondition) UnmarshalEasyJSON ¶
func (v *ReplicaSetCondition) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ReplicaSetCondition) UnmarshalJSON ¶
func (v *ReplicaSetCondition) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ReplicaSetList ¶
type ReplicaSetList 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"` // List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller // Required: true Items []*ReplicaSet `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#types-kinds Metadata apimachinery_pkg_apis_meta_v1.ListMeta `json:"metadata,omitempty"` }
ReplicaSetList ReplicaSetList is a collection of ReplicaSets.
swagger:model ReplicaSetList
func (ReplicaSetList) MarshalEasyJSON ¶
func (v ReplicaSetList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ReplicaSetList) MarshalJSON ¶
func (v ReplicaSetList) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ReplicaSetList) UnmarshalEasyJSON ¶
func (v *ReplicaSetList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ReplicaSetList) UnmarshalJSON ¶
func (v *ReplicaSetList) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ReplicaSetSpec ¶
type ReplicaSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller Replicas int32 `json:"replicas,omitempty"` // Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors Selector apimachinery_pkg_apis_meta_v1.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template Template api_core_v1.PodTemplateSpec `json:"template,omitempty"` }
ReplicaSetSpec ReplicaSetSpec is the specification of a ReplicaSet.
swagger:model ReplicaSetSpec
func (ReplicaSetSpec) MarshalEasyJSON ¶
func (v ReplicaSetSpec) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ReplicaSetSpec) MarshalJSON ¶
func (v ReplicaSetSpec) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ReplicaSetSpec) UnmarshalEasyJSON ¶
func (v *ReplicaSetSpec) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ReplicaSetSpec) UnmarshalJSON ¶
func (v *ReplicaSetSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type ReplicaSetStatus ¶
type ReplicaSetStatus struct { // The number of available replicas (ready for at least minReadySeconds) for this replica set. AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Represents the latest available observations of a replica set's current state. Conditions []*ReplicaSetCondition `json:"conditions"` // The number of pods that have labels matching the labels of the pod template of the replicaset. FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"` // ObservedGeneration reflects the generation of the most recently observed ReplicaSet. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // The number of ready replicas for this replica set. ReadyReplicas int32 `json:"readyReplicas,omitempty"` // Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller // Required: true Replicas *int32 `json:"replicas"` }
ReplicaSetStatus ReplicaSetStatus represents the current status of a ReplicaSet.
swagger:model ReplicaSetStatus
func (ReplicaSetStatus) MarshalEasyJSON ¶
func (v ReplicaSetStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ReplicaSetStatus) MarshalJSON ¶
func (v ReplicaSetStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ReplicaSetStatus) UnmarshalEasyJSON ¶
func (v *ReplicaSetStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ReplicaSetStatus) UnmarshalJSON ¶
func (v *ReplicaSetStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RollbackConfig ¶
type RollbackConfig struct { // The revision to rollback to. If set to 0, rollback to the last revision. Revision int64 `json:"revision,omitempty"` }
RollbackConfig DEPRECATED.
swagger:model RollbackConfig
func (RollbackConfig) MarshalEasyJSON ¶
func (v RollbackConfig) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RollbackConfig) MarshalJSON ¶
func (v RollbackConfig) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RollbackConfig) UnmarshalEasyJSON ¶
func (v *RollbackConfig) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RollbackConfig) UnmarshalJSON ¶
func (v *RollbackConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RollingUpdateDaemonSet ¶
type RollingUpdateDaemonSet struct { apimachinery_pkg_util_intstr.IntOrString `json:"maxUnavailable,omitempty"` }MaxUnavailable
RollingUpdateDaemonSet Spec to control the desired behavior of daemon set rolling update.
swagger:model RollingUpdateDaemonSet
func (RollingUpdateDaemonSet) MarshalEasyJSON ¶
func (v RollingUpdateDaemonSet) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RollingUpdateDaemonSet) MarshalJSON ¶
func (v RollingUpdateDaemonSet) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RollingUpdateDaemonSet) UnmarshalEasyJSON ¶
func (v *RollingUpdateDaemonSet) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RollingUpdateDaemonSet) UnmarshalJSON ¶
func (v *RollingUpdateDaemonSet) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RollingUpdateDeployment ¶
type RollingUpdateDeployment struct { // The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. By default, a value of 1 is used. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. MaxSurge apimachinery_pkg_util_intstr.IntOrString `json:"maxSurge,omitempty"` MaxUnavailable apimachinery_pkg_util_intstr.IntOrString `json:"maxUnavailable,omitempty"` }
RollingUpdateDeployment Spec to control the desired behavior of rolling update.
swagger:model RollingUpdateDeployment
func (RollingUpdateDeployment) MarshalEasyJSON ¶
func (v RollingUpdateDeployment) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RollingUpdateDeployment) MarshalJSON ¶
func (v RollingUpdateDeployment) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RollingUpdateDeployment) UnmarshalEasyJSON ¶
func (v *RollingUpdateDeployment) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RollingUpdateDeployment) UnmarshalJSON ¶
func (v *RollingUpdateDeployment) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RunAsGroupStrategyOptions ¶
type RunAsGroupStrategyOptions struct { // ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. Ranges []*IDRange `json:"ranges"` // rule is the strategy that will dictate the allowable RunAsGroup values that may be set. // Required: true Rule *string `json:"rule"` }
RunAsGroupStrategyOptions RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.
swagger:model RunAsGroupStrategyOptions
func (RunAsGroupStrategyOptions) MarshalEasyJSON ¶
func (v RunAsGroupStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RunAsGroupStrategyOptions) MarshalJSON ¶
func (v RunAsGroupStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RunAsGroupStrategyOptions) UnmarshalEasyJSON ¶
func (v *RunAsGroupStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RunAsGroupStrategyOptions) UnmarshalJSON ¶
func (v *RunAsGroupStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RunAsUserStrategyOptions ¶
type RunAsUserStrategyOptions struct { // ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. Ranges []*IDRange `json:"ranges"` // rule is the strategy that will dictate the allowable RunAsUser values that may be set. // Required: true Rule *string `json:"rule"` }
RunAsUserStrategyOptions RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.
swagger:model RunAsUserStrategyOptions
func (RunAsUserStrategyOptions) MarshalEasyJSON ¶
func (v RunAsUserStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RunAsUserStrategyOptions) MarshalJSON ¶
func (v RunAsUserStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RunAsUserStrategyOptions) UnmarshalEasyJSON ¶
func (v *RunAsUserStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RunAsUserStrategyOptions) UnmarshalJSON ¶
func (v *RunAsUserStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RuntimeClassStrategyOptions ¶
type RuntimeClassStrategyOptions struct { // allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset. // Required: true AllowedRuntimeClassNames []string `json:"allowedRuntimeClassNames"` // defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. DefaultRuntimeClassName string `json:"defaultRuntimeClassName,omitempty"` }
RuntimeClassStrategyOptions RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
swagger:model RuntimeClassStrategyOptions
func (RuntimeClassStrategyOptions) MarshalEasyJSON ¶
func (v RuntimeClassStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RuntimeClassStrategyOptions) MarshalJSON ¶
func (v RuntimeClassStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RuntimeClassStrategyOptions) UnmarshalEasyJSON ¶
func (v *RuntimeClassStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RuntimeClassStrategyOptions) UnmarshalJSON ¶
func (v *RuntimeClassStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SELinuxStrategyOptions ¶
type SELinuxStrategyOptions struct { // rule is the strategy that will dictate the allowable labels that may be set. // Required: true Rule *string `json:"rule"` // seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ SeLinuxOptions api_core_v1.SELinuxOptions `json:"seLinuxOptions,omitempty"` }
SELinuxStrategyOptions SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.
swagger:model SELinuxStrategyOptions
func (SELinuxStrategyOptions) MarshalEasyJSON ¶
func (v SELinuxStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SELinuxStrategyOptions) MarshalJSON ¶
func (v SELinuxStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SELinuxStrategyOptions) UnmarshalEasyJSON ¶
func (v *SELinuxStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SELinuxStrategyOptions) UnmarshalJSON ¶
func (v *SELinuxStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Scale ¶
type Scale 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"` // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. Metadata apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"` // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Spec *ScaleSpec `json:"spec,omitempty"` // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only. Status *ScaleStatus `json:"status,omitempty"` }
Scale represents a scaling request for a resource.
swagger:model Scale
func (Scale) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Scale) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Scale) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Scale) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ScaleSpec ¶
type ScaleSpec struct { // desired number of instances for the scaled object. Replicas int32 `json:"replicas,omitempty"` }
ScaleSpec describes the attributes of a scale subresource
swagger:model ScaleSpec
func (ScaleSpec) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (ScaleSpec) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*ScaleSpec) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ScaleSpec) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ScaleStatus ¶
type ScaleStatus struct { // actual number of observed instances of the scaled object. // Required: true Replicas *int32 `json:"replicas"` // label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector map[string]string `json:"selector,omitempty"` // label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors TargetSelector string `json:"targetSelector,omitempty"` }
ScaleStatus represents the current status of a scale subresource.
swagger:model ScaleStatus
func (ScaleStatus) MarshalEasyJSON ¶
func (v ScaleStatus) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ScaleStatus) MarshalJSON ¶
func (v ScaleStatus) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ScaleStatus) UnmarshalEasyJSON ¶
func (v *ScaleStatus) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ScaleStatus) UnmarshalJSON ¶
func (v *ScaleStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SupplementalGroupsStrategyOptions ¶
type SupplementalGroupsStrategyOptions struct { // ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. Ranges []*IDRange `json:"ranges"` // rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. Rule string `json:"rule,omitempty"` }
SupplementalGroupsStrategyOptions SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
swagger:model SupplementalGroupsStrategyOptions
func (SupplementalGroupsStrategyOptions) MarshalEasyJSON ¶
func (v SupplementalGroupsStrategyOptions) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SupplementalGroupsStrategyOptions) MarshalJSON ¶
func (v SupplementalGroupsStrategyOptions) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SupplementalGroupsStrategyOptions) UnmarshalEasyJSON ¶
func (v *SupplementalGroupsStrategyOptions) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SupplementalGroupsStrategyOptions) UnmarshalJSON ¶
func (v *SupplementalGroupsStrategyOptions) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Source Files ¶
- allowed_c_s_i_driver.go
- allowed_c_s_i_driver_easyjson.go
- allowed_flex_volume.go
- allowed_flex_volume_easyjson.go
- allowed_host_path.go
- allowed_host_path_easyjson.go
- daemon_set.go
- daemon_set_condition.go
- daemon_set_condition_easyjson.go
- daemon_set_easyjson.go
- daemon_set_list.go
- daemon_set_list_easyjson.go
- daemon_set_spec.go
- daemon_set_spec_easyjson.go
- daemon_set_status.go
- daemon_set_status_easyjson.go
- daemon_set_update_strategy.go
- daemon_set_update_strategy_easyjson.go
- deployment.go
- deployment_condition.go
- deployment_condition_easyjson.go
- deployment_easyjson.go
- deployment_list.go
- deployment_list_easyjson.go
- deployment_rollback.go
- deployment_rollback_easyjson.go
- deployment_spec.go
- deployment_spec_easyjson.go
- deployment_status.go
- deployment_status_easyjson.go
- deployment_strategy.go
- deployment_strategy_easyjson.go
- f_s_group_strategy_options.go
- f_s_group_strategy_options_easyjson.go
- host_port_range.go
- host_port_range_easyjson.go
- http_ingress_path.go
- http_ingress_path_easyjson.go
- http_ingress_rule_value.go
- http_ingress_rule_value_easyjson.go
- id_range.go
- id_range_easyjson.go
- ingress.go
- ingress_backend.go
- ingress_backend_easyjson.go
- ingress_easyjson.go
- ingress_list.go
- ingress_list_easyjson.go
- ingress_rule.go
- ingress_rule_easyjson.go
- ingress_spec.go
- ingress_spec_easyjson.go
- ingress_status.go
- ingress_status_easyjson.go
- ingress_tls.go
- ingress_tls_easyjson.go
- ip_block.go
- ip_block_easyjson.go
- network_policy.go
- network_policy_easyjson.go
- network_policy_egress_rule.go
- network_policy_egress_rule_easyjson.go
- network_policy_ingress_rule.go
- network_policy_ingress_rule_easyjson.go
- network_policy_list.go
- network_policy_list_easyjson.go
- network_policy_peer.go
- network_policy_peer_easyjson.go
- network_policy_port.go
- network_policy_port_easyjson.go
- network_policy_spec.go
- network_policy_spec_easyjson.go
- pod_security_policy.go
- pod_security_policy_easyjson.go
- pod_security_policy_list.go
- pod_security_policy_list_easyjson.go
- pod_security_policy_spec.go
- pod_security_policy_spec_easyjson.go
- replica_set.go
- replica_set_condition.go
- replica_set_condition_easyjson.go
- replica_set_easyjson.go
- replica_set_list.go
- replica_set_list_easyjson.go
- replica_set_spec.go
- replica_set_spec_easyjson.go
- replica_set_status.go
- replica_set_status_easyjson.go
- rollback_config.go
- rollback_config_easyjson.go
- rolling_update_daemon_set.go
- rolling_update_daemon_set_easyjson.go
- rolling_update_deployment.go
- rolling_update_deployment_easyjson.go
- run_as_group_strategy_options.go
- run_as_group_strategy_options_easyjson.go
- run_as_user_strategy_options.go
- run_as_user_strategy_options_easyjson.go
- runtime_class_strategy_options.go
- runtime_class_strategy_options_easyjson.go
- s_e_linux_strategy_options.go
- s_e_linux_strategy_options_easyjson.go
- scale.go
- scale_easyjson.go
- scale_spec.go
- scale_spec_easyjson.go
- scale_status.go
- scale_status_easyjson.go
- supplemental_groups_strategy_options.go
- supplemental_groups_strategy_options_easyjson.go