k8s_io_api_policy_v1beta1

package
v0.0.0-...-940152b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AllowedCSIDriver

type AllowedCSIDriver struct {
	// Name is the registered name of the CSI driver
	Name string `protobuf:"bytes,1,opt,name=name" json:"name"`
}

AllowedCSIDriver represents a single inline CSI Driver that is allowed to be used.

func (*AllowedCSIDriver) Descriptor

func (*AllowedCSIDriver) Descriptor() ([]byte, []int)

func (*AllowedCSIDriver) Equal

func (this *AllowedCSIDriver) Equal(that interface{}) bool

func (*AllowedCSIDriver) GetName

func (m *AllowedCSIDriver) GetName() string

func (*AllowedCSIDriver) GoString

func (this *AllowedCSIDriver) GoString() string

func (*AllowedCSIDriver) Marshal

func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error)

func (*AllowedCSIDriver) MarshalTo

func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error)

func (*AllowedCSIDriver) MarshalToSizedBuffer

func (m *AllowedCSIDriver) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedCSIDriver) ProtoMessage

func (*AllowedCSIDriver) ProtoMessage()

func (*AllowedCSIDriver) Reset

func (m *AllowedCSIDriver) Reset()

func (*AllowedCSIDriver) Size

func (m *AllowedCSIDriver) Size() (n int)

func (*AllowedCSIDriver) String

func (this *AllowedCSIDriver) String() string

func (*AllowedCSIDriver) Unmarshal

func (m *AllowedCSIDriver) Unmarshal(dAtA []byte) error

func (*AllowedCSIDriver) XXX_DiscardUnknown

func (m *AllowedCSIDriver) XXX_DiscardUnknown()

func (*AllowedCSIDriver) XXX_Marshal

func (m *AllowedCSIDriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedCSIDriver) XXX_Merge

func (m *AllowedCSIDriver) XXX_Merge(src proto.Message)

func (*AllowedCSIDriver) XXX_Size

func (m *AllowedCSIDriver) XXX_Size() int

func (*AllowedCSIDriver) XXX_Unmarshal

func (m *AllowedCSIDriver) XXX_Unmarshal(b []byte) error

type AllowedFlexVolume

type AllowedFlexVolume struct {
	// driver is the name of the Flexvolume driver.
	Driver string `protobuf:"bytes,1,opt,name=driver" json:"driver"`
}

AllowedFlexVolume represents a single Flexvolume that is allowed to be used.

func (*AllowedFlexVolume) Descriptor

func (*AllowedFlexVolume) Descriptor() ([]byte, []int)

func (*AllowedFlexVolume) Equal

func (this *AllowedFlexVolume) Equal(that interface{}) bool

func (*AllowedFlexVolume) GetDriver

func (m *AllowedFlexVolume) GetDriver() string

func (*AllowedFlexVolume) GoString

func (this *AllowedFlexVolume) GoString() string

func (*AllowedFlexVolume) Marshal

func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error)

func (*AllowedFlexVolume) MarshalTo

func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error)

func (*AllowedFlexVolume) MarshalToSizedBuffer

func (m *AllowedFlexVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedFlexVolume) ProtoMessage

func (*AllowedFlexVolume) ProtoMessage()

func (*AllowedFlexVolume) Reset

func (m *AllowedFlexVolume) Reset()

func (*AllowedFlexVolume) Size

func (m *AllowedFlexVolume) Size() (n int)

func (*AllowedFlexVolume) String

func (this *AllowedFlexVolume) String() string

func (*AllowedFlexVolume) Unmarshal

func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error

func (*AllowedFlexVolume) XXX_DiscardUnknown

func (m *AllowedFlexVolume) XXX_DiscardUnknown()

func (*AllowedFlexVolume) XXX_Marshal

func (m *AllowedFlexVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedFlexVolume) XXX_Merge

func (m *AllowedFlexVolume) XXX_Merge(src proto.Message)

func (*AllowedFlexVolume) XXX_Size

func (m *AllowedFlexVolume) XXX_Size() int

func (*AllowedFlexVolume) XXX_Unmarshal

func (m *AllowedFlexVolume) XXX_Unmarshal(b []byte) error

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 `protobuf:"bytes,1,opt,name=pathPrefix" json:"pathPrefix"`
	// when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
	// +optional
	ReadOnly bool `protobuf:"varint,2,opt,name=readOnly" json:"readOnly"`
}

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.

func (*AllowedHostPath) Descriptor

func (*AllowedHostPath) Descriptor() ([]byte, []int)

func (*AllowedHostPath) Equal

func (this *AllowedHostPath) Equal(that interface{}) bool

func (*AllowedHostPath) GetPathPrefix

func (m *AllowedHostPath) GetPathPrefix() string

func (*AllowedHostPath) GetReadOnly

func (m *AllowedHostPath) GetReadOnly() bool

func (*AllowedHostPath) GoString

func (this *AllowedHostPath) GoString() string

func (*AllowedHostPath) Marshal

func (m *AllowedHostPath) Marshal() (dAtA []byte, err error)

func (*AllowedHostPath) MarshalTo

func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error)

func (*AllowedHostPath) MarshalToSizedBuffer

func (m *AllowedHostPath) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AllowedHostPath) ProtoMessage

func (*AllowedHostPath) ProtoMessage()

func (*AllowedHostPath) Reset

func (m *AllowedHostPath) Reset()

func (*AllowedHostPath) Size

func (m *AllowedHostPath) Size() (n int)

func (*AllowedHostPath) String

func (this *AllowedHostPath) String() string

func (*AllowedHostPath) Unmarshal

func (m *AllowedHostPath) Unmarshal(dAtA []byte) error

func (*AllowedHostPath) XXX_DiscardUnknown

func (m *AllowedHostPath) XXX_DiscardUnknown()

func (*AllowedHostPath) XXX_Marshal

func (m *AllowedHostPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AllowedHostPath) XXX_Merge

func (m *AllowedHostPath) XXX_Merge(src proto.Message)

func (*AllowedHostPath) XXX_Size

func (m *AllowedHostPath) XXX_Size() int

func (*AllowedHostPath) XXX_Unmarshal

func (m *AllowedHostPath) XXX_Unmarshal(b []byte) error

type Eviction

type Eviction struct {
	// ObjectMeta describes the pod that is being evicted.
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// DeleteOptions may be provided
	// +optional
	DeleteOptions *v1.DeleteOptions `protobuf:"bytes,2,opt,name=deleteOptions" json:"deleteOptions,omitempty"`
}

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.

func (*Eviction) Descriptor

func (*Eviction) Descriptor() ([]byte, []int)

func (*Eviction) Equal

func (this *Eviction) Equal(that interface{}) bool

func (*Eviction) GetDeleteOptions

func (m *Eviction) GetDeleteOptions() *v1.DeleteOptions

func (*Eviction) GetMetadata

func (m *Eviction) GetMetadata() *v1.ObjectMeta

func (*Eviction) GoString

func (this *Eviction) GoString() string

func (*Eviction) Marshal

func (m *Eviction) Marshal() (dAtA []byte, err error)

func (*Eviction) MarshalTo

func (m *Eviction) MarshalTo(dAtA []byte) (int, error)

func (*Eviction) MarshalToSizedBuffer

func (m *Eviction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Eviction) ProtoMessage

func (*Eviction) ProtoMessage()

func (*Eviction) Reset

func (m *Eviction) Reset()

func (*Eviction) Size

func (m *Eviction) Size() (n int)

func (*Eviction) String

func (this *Eviction) String() string

func (*Eviction) Unmarshal

func (m *Eviction) Unmarshal(dAtA []byte) error

func (*Eviction) XXX_DiscardUnknown

func (m *Eviction) XXX_DiscardUnknown()

func (*Eviction) XXX_Marshal

func (m *Eviction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Eviction) XXX_Merge

func (m *Eviction) XXX_Merge(src proto.Message)

func (*Eviction) XXX_Size

func (m *Eviction) XXX_Size() int

func (*Eviction) XXX_Unmarshal

func (m *Eviction) XXX_Unmarshal(b []byte) error

type FSGroupStrategyOptions

type FSGroupStrategyOptions struct {
	// rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
	// +optional
	Rule string `protobuf:"bytes,1,opt,name=rule" json:"rule"`
	// 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.
	// +optional
	Ranges []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
}

FSGroupStrategyOptions defines the strategy type and options used to create the strategy.

func (*FSGroupStrategyOptions) Descriptor

func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int)

func (*FSGroupStrategyOptions) Equal

func (this *FSGroupStrategyOptions) Equal(that interface{}) bool

func (*FSGroupStrategyOptions) GetRanges

func (m *FSGroupStrategyOptions) GetRanges() []*IDRange

func (*FSGroupStrategyOptions) GetRule

func (m *FSGroupStrategyOptions) GetRule() string

func (*FSGroupStrategyOptions) GoString

func (this *FSGroupStrategyOptions) GoString() string

func (*FSGroupStrategyOptions) Marshal

func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error)

func (*FSGroupStrategyOptions) MarshalTo

func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*FSGroupStrategyOptions) MarshalToSizedBuffer

func (m *FSGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FSGroupStrategyOptions) ProtoMessage

func (*FSGroupStrategyOptions) ProtoMessage()

func (*FSGroupStrategyOptions) Reset

func (m *FSGroupStrategyOptions) Reset()

func (*FSGroupStrategyOptions) Size

func (m *FSGroupStrategyOptions) Size() (n int)

func (*FSGroupStrategyOptions) String

func (this *FSGroupStrategyOptions) String() string

func (*FSGroupStrategyOptions) Unmarshal

func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error

func (*FSGroupStrategyOptions) XXX_DiscardUnknown

func (m *FSGroupStrategyOptions) XXX_DiscardUnknown()

func (*FSGroupStrategyOptions) XXX_Marshal

func (m *FSGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FSGroupStrategyOptions) XXX_Merge

func (m *FSGroupStrategyOptions) XXX_Merge(src proto.Message)

func (*FSGroupStrategyOptions) XXX_Size

func (m *FSGroupStrategyOptions) XXX_Size() int

func (*FSGroupStrategyOptions) XXX_Unmarshal

func (m *FSGroupStrategyOptions) XXX_Unmarshal(b []byte) error

type HostPortRange

type HostPortRange struct {
	// min is the start of the range, inclusive.
	Min int32 `protobuf:"varint,1,opt,name=min" json:"min"`
	// max is the end of the range, inclusive.
	Max int32 `protobuf:"varint,2,opt,name=max" json:"max"`
}

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.

func (*HostPortRange) Descriptor

func (*HostPortRange) Descriptor() ([]byte, []int)

func (*HostPortRange) Equal

func (this *HostPortRange) Equal(that interface{}) bool

func (*HostPortRange) GetMax

func (m *HostPortRange) GetMax() int32

func (*HostPortRange) GetMin

func (m *HostPortRange) GetMin() int32

func (*HostPortRange) GoString

func (this *HostPortRange) GoString() string

func (*HostPortRange) Marshal

func (m *HostPortRange) Marshal() (dAtA []byte, err error)

func (*HostPortRange) MarshalTo

func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error)

func (*HostPortRange) MarshalToSizedBuffer

func (m *HostPortRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostPortRange) ProtoMessage

func (*HostPortRange) ProtoMessage()

func (*HostPortRange) Reset

func (m *HostPortRange) Reset()

func (*HostPortRange) Size

func (m *HostPortRange) Size() (n int)

func (*HostPortRange) String

func (this *HostPortRange) String() string

func (*HostPortRange) Unmarshal

func (m *HostPortRange) Unmarshal(dAtA []byte) error

func (*HostPortRange) XXX_DiscardUnknown

func (m *HostPortRange) XXX_DiscardUnknown()

func (*HostPortRange) XXX_Marshal

func (m *HostPortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostPortRange) XXX_Merge

func (m *HostPortRange) XXX_Merge(src proto.Message)

func (*HostPortRange) XXX_Size

func (m *HostPortRange) XXX_Size() int

func (*HostPortRange) XXX_Unmarshal

func (m *HostPortRange) XXX_Unmarshal(b []byte) error

type IDRange

type IDRange struct {
	// min is the start of the range, inclusive.
	Min int64 `protobuf:"varint,1,opt,name=min" json:"min"`
	// max is the end of the range, inclusive.
	Max int64 `protobuf:"varint,2,opt,name=max" json:"max"`
}

IDRange provides a min/max of an allowed range of IDs.

func (*IDRange) Descriptor

func (*IDRange) Descriptor() ([]byte, []int)

func (*IDRange) Equal

func (this *IDRange) Equal(that interface{}) bool

func (*IDRange) GetMax

func (m *IDRange) GetMax() int64

func (*IDRange) GetMin

func (m *IDRange) GetMin() int64

func (*IDRange) GoString

func (this *IDRange) GoString() string

func (*IDRange) Marshal

func (m *IDRange) Marshal() (dAtA []byte, err error)

func (*IDRange) MarshalTo

func (m *IDRange) MarshalTo(dAtA []byte) (int, error)

func (*IDRange) MarshalToSizedBuffer

func (m *IDRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IDRange) ProtoMessage

func (*IDRange) ProtoMessage()

func (*IDRange) Reset

func (m *IDRange) Reset()

func (*IDRange) Size

func (m *IDRange) Size() (n int)

func (*IDRange) String

func (this *IDRange) String() string

func (*IDRange) Unmarshal

func (m *IDRange) Unmarshal(dAtA []byte) error

func (*IDRange) XXX_DiscardUnknown

func (m *IDRange) XXX_DiscardUnknown()

func (*IDRange) XXX_Marshal

func (m *IDRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDRange) XXX_Merge

func (m *IDRange) XXX_Merge(src proto.Message)

func (*IDRange) XXX_Size

func (m *IDRange) XXX_Size() int

func (*IDRange) XXX_Unmarshal

func (m *IDRange) XXX_Unmarshal(b []byte) error

type PodDisruptionBudget

type PodDisruptionBudget struct {
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the desired behavior of the PodDisruptionBudget.
	// +optional
	Spec *PodDisruptionBudgetSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Most recently observed status of the PodDisruptionBudget.
	// +optional
	Status *PodDisruptionBudgetStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
}

PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods

func (*PodDisruptionBudget) Descriptor

func (*PodDisruptionBudget) Descriptor() ([]byte, []int)

func (*PodDisruptionBudget) Equal

func (this *PodDisruptionBudget) Equal(that interface{}) bool

func (*PodDisruptionBudget) GetMetadata

func (m *PodDisruptionBudget) GetMetadata() *v1.ObjectMeta

func (*PodDisruptionBudget) GetSpec

func (*PodDisruptionBudget) GetStatus

func (*PodDisruptionBudget) GoString

func (this *PodDisruptionBudget) GoString() string

func (*PodDisruptionBudget) Marshal

func (m *PodDisruptionBudget) Marshal() (dAtA []byte, err error)

func (*PodDisruptionBudget) MarshalTo

func (m *PodDisruptionBudget) MarshalTo(dAtA []byte) (int, error)

func (*PodDisruptionBudget) MarshalToSizedBuffer

func (m *PodDisruptionBudget) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodDisruptionBudget) ProtoMessage

func (*PodDisruptionBudget) ProtoMessage()

func (*PodDisruptionBudget) Reset

func (m *PodDisruptionBudget) Reset()

func (*PodDisruptionBudget) Size

func (m *PodDisruptionBudget) Size() (n int)

func (*PodDisruptionBudget) String

func (this *PodDisruptionBudget) String() string

func (*PodDisruptionBudget) Unmarshal

func (m *PodDisruptionBudget) Unmarshal(dAtA []byte) error

func (*PodDisruptionBudget) XXX_DiscardUnknown

func (m *PodDisruptionBudget) XXX_DiscardUnknown()

func (*PodDisruptionBudget) XXX_Marshal

func (m *PodDisruptionBudget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodDisruptionBudget) XXX_Merge

func (m *PodDisruptionBudget) XXX_Merge(src proto.Message)

func (*PodDisruptionBudget) XXX_Size

func (m *PodDisruptionBudget) XXX_Size() int

func (*PodDisruptionBudget) XXX_Unmarshal

func (m *PodDisruptionBudget) XXX_Unmarshal(b []byte) error

type PodDisruptionBudgetList

type PodDisruptionBudgetList struct {
	// +optional
	Metadata *v1.ListMeta           `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items    []*PodDisruptionBudget `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

func (*PodDisruptionBudgetList) Descriptor

func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int)

func (*PodDisruptionBudgetList) Equal

func (this *PodDisruptionBudgetList) Equal(that interface{}) bool

func (*PodDisruptionBudgetList) GetItems

func (*PodDisruptionBudgetList) GetMetadata

func (m *PodDisruptionBudgetList) GetMetadata() *v1.ListMeta

func (*PodDisruptionBudgetList) GoString

func (this *PodDisruptionBudgetList) GoString() string

func (*PodDisruptionBudgetList) Marshal

func (m *PodDisruptionBudgetList) Marshal() (dAtA []byte, err error)

func (*PodDisruptionBudgetList) MarshalTo

func (m *PodDisruptionBudgetList) MarshalTo(dAtA []byte) (int, error)

func (*PodDisruptionBudgetList) MarshalToSizedBuffer

func (m *PodDisruptionBudgetList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodDisruptionBudgetList) ProtoMessage

func (*PodDisruptionBudgetList) ProtoMessage()

func (*PodDisruptionBudgetList) Reset

func (m *PodDisruptionBudgetList) Reset()

func (*PodDisruptionBudgetList) Size

func (m *PodDisruptionBudgetList) Size() (n int)

func (*PodDisruptionBudgetList) String

func (this *PodDisruptionBudgetList) String() string

func (*PodDisruptionBudgetList) Unmarshal

func (m *PodDisruptionBudgetList) Unmarshal(dAtA []byte) error

func (*PodDisruptionBudgetList) XXX_DiscardUnknown

func (m *PodDisruptionBudgetList) XXX_DiscardUnknown()

func (*PodDisruptionBudgetList) XXX_Marshal

func (m *PodDisruptionBudgetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodDisruptionBudgetList) XXX_Merge

func (m *PodDisruptionBudgetList) XXX_Merge(src proto.Message)

func (*PodDisruptionBudgetList) XXX_Size

func (m *PodDisruptionBudgetList) XXX_Size() int

func (*PodDisruptionBudgetList) XXX_Unmarshal

func (m *PodDisruptionBudgetList) XXX_Unmarshal(b []byte) error

type PodDisruptionBudgetSpec

type PodDisruptionBudgetSpec struct {
	// An eviction is allowed if at least "minAvailable" pods selected by
	// "selector" will still be available after the eviction, i.e. even in the
	// absence of the evicted pod.  So for example you can prevent all voluntary
	// evictions by specifying "100%".
	// +optional
	MinAvailable *intstr.IntOrString `protobuf:"bytes,1,opt,name=minAvailable" json:"minAvailable,omitempty"`
	// Label query over pods whose evictions are managed by the disruption
	// budget.
	// +optional
	Selector *v1.LabelSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"`
	// An eviction is allowed if at most "maxUnavailable" pods selected by
	// "selector" are unavailable after the eviction, i.e. even in absence of
	// the evicted pod. For example, one can prevent all voluntary evictions
	// by specifying 0. This is a mutually exclusive setting with "minAvailable".
	// +optional
	MaxUnavailable *intstr.IntOrString `protobuf:"bytes,3,opt,name=maxUnavailable" json:"maxUnavailable,omitempty"`
}

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

func (*PodDisruptionBudgetSpec) Descriptor

func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int)

func (*PodDisruptionBudgetSpec) Equal

func (this *PodDisruptionBudgetSpec) Equal(that interface{}) bool

func (*PodDisruptionBudgetSpec) GetMaxUnavailable

func (m *PodDisruptionBudgetSpec) GetMaxUnavailable() *intstr.IntOrString

func (*PodDisruptionBudgetSpec) GetMinAvailable

func (m *PodDisruptionBudgetSpec) GetMinAvailable() *intstr.IntOrString

func (*PodDisruptionBudgetSpec) GetSelector

func (m *PodDisruptionBudgetSpec) GetSelector() *v1.LabelSelector

func (*PodDisruptionBudgetSpec) GoString

func (this *PodDisruptionBudgetSpec) GoString() string

func (*PodDisruptionBudgetSpec) Marshal

func (m *PodDisruptionBudgetSpec) Marshal() (dAtA []byte, err error)

func (*PodDisruptionBudgetSpec) MarshalTo

func (m *PodDisruptionBudgetSpec) MarshalTo(dAtA []byte) (int, error)

func (*PodDisruptionBudgetSpec) MarshalToSizedBuffer

func (m *PodDisruptionBudgetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodDisruptionBudgetSpec) ProtoMessage

func (*PodDisruptionBudgetSpec) ProtoMessage()

func (*PodDisruptionBudgetSpec) Reset

func (m *PodDisruptionBudgetSpec) Reset()

func (*PodDisruptionBudgetSpec) Size

func (m *PodDisruptionBudgetSpec) Size() (n int)

func (*PodDisruptionBudgetSpec) String

func (this *PodDisruptionBudgetSpec) String() string

func (*PodDisruptionBudgetSpec) Unmarshal

func (m *PodDisruptionBudgetSpec) Unmarshal(dAtA []byte) error

func (*PodDisruptionBudgetSpec) XXX_DiscardUnknown

func (m *PodDisruptionBudgetSpec) XXX_DiscardUnknown()

func (*PodDisruptionBudgetSpec) XXX_Marshal

func (m *PodDisruptionBudgetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodDisruptionBudgetSpec) XXX_Merge

func (m *PodDisruptionBudgetSpec) XXX_Merge(src proto.Message)

func (*PodDisruptionBudgetSpec) XXX_Size

func (m *PodDisruptionBudgetSpec) XXX_Size() int

func (*PodDisruptionBudgetSpec) XXX_Unmarshal

func (m *PodDisruptionBudgetSpec) XXX_Unmarshal(b []byte) error

type PodDisruptionBudgetStatus

type PodDisruptionBudgetStatus struct {
	// Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other
	// status informatio is valid only if observedGeneration equals to PDB's object generation.
	// +optional
	ObservedGeneration int64 `protobuf:"varint,1,opt,name=observedGeneration" json:"observedGeneration"`
	// DisruptedPods contains information about pods whose eviction was
	// processed by the API server eviction subresource handler but has not
	// yet been observed by the PodDisruptionBudget controller.
	// A pod will be in this map from the time when the API server processed the
	// eviction request to the time when the pod is seen by PDB controller
	// as having been marked for deletion (or after a timeout). The key in the map is the name of the pod
	// and the value is the time when the API server processed the eviction request. If
	// the deletion didn't occur and a pod is still there it will be removed from
	// the list automatically by PodDisruptionBudget controller after some time.
	// If everything goes smooth this map should be empty for the most of the time.
	// Large number of entries in the map may indicate problems with pod deletions.
	// +optional
	DisruptedPods map[string]*v1.Time `` /* 146-byte string literal not displayed */
	// Number of pod disruptions that are currently allowed.
	DisruptionsAllowed int32 `protobuf:"varint,3,opt,name=disruptionsAllowed" json:"disruptionsAllowed"`
	// current number of healthy pods
	CurrentHealthy int32 `protobuf:"varint,4,opt,name=currentHealthy" json:"currentHealthy"`
	// minimum desired number of healthy pods
	DesiredHealthy int32 `protobuf:"varint,5,opt,name=desiredHealthy" json:"desiredHealthy"`
	// total number of pods counted by this disruption budget
	ExpectedPods int32 `protobuf:"varint,6,opt,name=expectedPods" json:"expectedPods"`
}

PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.

func (*PodDisruptionBudgetStatus) Descriptor

func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int)

func (*PodDisruptionBudgetStatus) Equal

func (this *PodDisruptionBudgetStatus) Equal(that interface{}) bool

func (*PodDisruptionBudgetStatus) GetCurrentHealthy

func (m *PodDisruptionBudgetStatus) GetCurrentHealthy() int32

func (*PodDisruptionBudgetStatus) GetDesiredHealthy

func (m *PodDisruptionBudgetStatus) GetDesiredHealthy() int32

func (*PodDisruptionBudgetStatus) GetDisruptedPods

func (m *PodDisruptionBudgetStatus) GetDisruptedPods() map[string]*v1.Time

func (*PodDisruptionBudgetStatus) GetDisruptionsAllowed

func (m *PodDisruptionBudgetStatus) GetDisruptionsAllowed() int32

func (*PodDisruptionBudgetStatus) GetExpectedPods

func (m *PodDisruptionBudgetStatus) GetExpectedPods() int32

func (*PodDisruptionBudgetStatus) GetObservedGeneration

func (m *PodDisruptionBudgetStatus) GetObservedGeneration() int64

func (*PodDisruptionBudgetStatus) GoString

func (this *PodDisruptionBudgetStatus) GoString() string

func (*PodDisruptionBudgetStatus) Marshal

func (m *PodDisruptionBudgetStatus) Marshal() (dAtA []byte, err error)

func (*PodDisruptionBudgetStatus) MarshalTo

func (m *PodDisruptionBudgetStatus) MarshalTo(dAtA []byte) (int, error)

func (*PodDisruptionBudgetStatus) MarshalToSizedBuffer

func (m *PodDisruptionBudgetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodDisruptionBudgetStatus) ProtoMessage

func (*PodDisruptionBudgetStatus) ProtoMessage()

func (*PodDisruptionBudgetStatus) Reset

func (m *PodDisruptionBudgetStatus) Reset()

func (*PodDisruptionBudgetStatus) Size

func (m *PodDisruptionBudgetStatus) Size() (n int)

func (*PodDisruptionBudgetStatus) String

func (this *PodDisruptionBudgetStatus) String() string

func (*PodDisruptionBudgetStatus) Unmarshal

func (m *PodDisruptionBudgetStatus) Unmarshal(dAtA []byte) error

func (*PodDisruptionBudgetStatus) XXX_DiscardUnknown

func (m *PodDisruptionBudgetStatus) XXX_DiscardUnknown()

func (*PodDisruptionBudgetStatus) XXX_Marshal

func (m *PodDisruptionBudgetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodDisruptionBudgetStatus) XXX_Merge

func (m *PodDisruptionBudgetStatus) XXX_Merge(src proto.Message)

func (*PodDisruptionBudgetStatus) XXX_Size

func (m *PodDisruptionBudgetStatus) XXX_Size() int

func (*PodDisruptionBudgetStatus) XXX_Unmarshal

func (m *PodDisruptionBudgetStatus) XXX_Unmarshal(b []byte) error

type PodSecurityPolicy

type PodSecurityPolicy struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// spec defines the policy enforced.
	// +optional
	Spec *PodSecurityPolicySpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
}

PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.

func (*PodSecurityPolicy) Descriptor

func (*PodSecurityPolicy) Descriptor() ([]byte, []int)

func (*PodSecurityPolicy) Equal

func (this *PodSecurityPolicy) Equal(that interface{}) bool

func (*PodSecurityPolicy) GetMetadata

func (m *PodSecurityPolicy) GetMetadata() *v1.ObjectMeta

func (*PodSecurityPolicy) GetSpec

func (*PodSecurityPolicy) GoString

func (this *PodSecurityPolicy) GoString() string

func (*PodSecurityPolicy) Marshal

func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicy) MarshalTo

func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicy) MarshalToSizedBuffer

func (m *PodSecurityPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicy) ProtoMessage

func (*PodSecurityPolicy) ProtoMessage()

func (*PodSecurityPolicy) Reset

func (m *PodSecurityPolicy) Reset()

func (*PodSecurityPolicy) Size

func (m *PodSecurityPolicy) Size() (n int)

func (*PodSecurityPolicy) String

func (this *PodSecurityPolicy) String() string

func (*PodSecurityPolicy) Unmarshal

func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error

func (*PodSecurityPolicy) XXX_DiscardUnknown

func (m *PodSecurityPolicy) XXX_DiscardUnknown()

func (*PodSecurityPolicy) XXX_Marshal

func (m *PodSecurityPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicy) XXX_Merge

func (m *PodSecurityPolicy) XXX_Merge(src proto.Message)

func (*PodSecurityPolicy) XXX_Size

func (m *PodSecurityPolicy) XXX_Size() int

func (*PodSecurityPolicy) XXX_Unmarshal

func (m *PodSecurityPolicy) XXX_Unmarshal(b []byte) error

type PodSecurityPolicyList

type PodSecurityPolicyList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// items is a list of schema objects.
	Items []*PodSecurityPolicy `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

PodSecurityPolicyList is a list of PodSecurityPolicy objects.

func (*PodSecurityPolicyList) Descriptor

func (*PodSecurityPolicyList) Descriptor() ([]byte, []int)

func (*PodSecurityPolicyList) Equal

func (this *PodSecurityPolicyList) Equal(that interface{}) bool

func (*PodSecurityPolicyList) GetItems

func (m *PodSecurityPolicyList) GetItems() []*PodSecurityPolicy

func (*PodSecurityPolicyList) GetMetadata

func (m *PodSecurityPolicyList) GetMetadata() *v1.ListMeta

func (*PodSecurityPolicyList) GoString

func (this *PodSecurityPolicyList) GoString() string

func (*PodSecurityPolicyList) Marshal

func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicyList) MarshalTo

func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicyList) MarshalToSizedBuffer

func (m *PodSecurityPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicyList) ProtoMessage

func (*PodSecurityPolicyList) ProtoMessage()

func (*PodSecurityPolicyList) Reset

func (m *PodSecurityPolicyList) Reset()

func (*PodSecurityPolicyList) Size

func (m *PodSecurityPolicyList) Size() (n int)

func (*PodSecurityPolicyList) String

func (this *PodSecurityPolicyList) String() string

func (*PodSecurityPolicyList) Unmarshal

func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error

func (*PodSecurityPolicyList) XXX_DiscardUnknown

func (m *PodSecurityPolicyList) XXX_DiscardUnknown()

func (*PodSecurityPolicyList) XXX_Marshal

func (m *PodSecurityPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicyList) XXX_Merge

func (m *PodSecurityPolicyList) XXX_Merge(src proto.Message)

func (*PodSecurityPolicyList) XXX_Size

func (m *PodSecurityPolicyList) XXX_Size() int

func (*PodSecurityPolicyList) XXX_Unmarshal

func (m *PodSecurityPolicyList) XXX_Unmarshal(b []byte) error

type PodSecurityPolicySpec

type PodSecurityPolicySpec struct {
	// privileged determines if a pod can request to be run as privileged.
	// +optional
	Privileged bool `protobuf:"varint,1,opt,name=privileged" json:"privileged"`
	// 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.
	// +optional
	DefaultAddCapabilities []string `protobuf:"bytes,2,rep,name=defaultAddCapabilities" json:"defaultAddCapabilities,omitempty"`
	// requiredDropCapabilities are the capabilities that will be dropped from the container.  These
	// are required to be dropped and cannot be added.
	// +optional
	RequiredDropCapabilities []string `protobuf:"bytes,3,rep,name=requiredDropCapabilities" json:"requiredDropCapabilities,omitempty"`
	// 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.
	// +optional
	AllowedCapabilities []string `protobuf:"bytes,4,rep,name=allowedCapabilities" json:"allowedCapabilities,omitempty"`
	// volumes is a white list of allowed volume plugins. Empty indicates that
	// no volumes may be used. To allow all volumes you may use '*'.
	// +optional
	Volumes []string `protobuf:"bytes,5,rep,name=volumes" json:"volumes,omitempty"`
	// hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.
	// +optional
	HostNetwork bool `protobuf:"varint,6,opt,name=hostNetwork" json:"hostNetwork"`
	// hostPorts determines which host port ranges are allowed to be exposed.
	// +optional
	HostPorts []*HostPortRange `protobuf:"bytes,7,rep,name=hostPorts" json:"hostPorts,omitempty"`
	// hostPID determines if the policy allows the use of HostPID in the pod spec.
	// +optional
	HostPID bool `protobuf:"varint,8,opt,name=hostPID" json:"hostPID"`
	// hostIPC determines if the policy allows the use of HostIPC in the pod spec.
	// +optional
	HostIPC bool `protobuf:"varint,9,opt,name=hostIPC" json:"hostIPC"`
	// seLinux is the strategy that will dictate the allowable labels that may be set.
	SeLinux *SELinuxStrategyOptions `protobuf:"bytes,10,opt,name=seLinux" json:"seLinux,omitempty"`
	// runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
	RunAsUser *RunAsUserStrategyOptions `protobuf:"bytes,11,opt,name=runAsUser" json:"runAsUser,omitempty"`
	// 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.
	// +optional
	RunAsGroup *RunAsGroupStrategyOptions `protobuf:"bytes,22,opt,name=runAsGroup" json:"runAsGroup,omitempty"`
	// supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.
	SupplementalGroups *SupplementalGroupsStrategyOptions `protobuf:"bytes,12,opt,name=supplementalGroups" json:"supplementalGroups,omitempty"`
	// fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.
	FsGroup *FSGroupStrategyOptions `protobuf:"bytes,13,opt,name=fsGroup" json:"fsGroup,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.
	// +optional
	ReadOnlyRootFilesystem bool `protobuf:"varint,14,opt,name=readOnlyRootFilesystem" json:"readOnlyRootFilesystem"`
	// defaultAllowPrivilegeEscalation controls the default setting for whether a
	// process can gain more privileges than its parent process.
	// +optional
	DefaultAllowPrivilegeEscalation bool `protobuf:"varint,15,opt,name=defaultAllowPrivilegeEscalation" json:"defaultAllowPrivilegeEscalation"`
	// allowPrivilegeEscalation determines if a pod can request to allow
	// privilege escalation. If unspecified, defaults to true.
	// +optional
	AllowPrivilegeEscalation bool `protobuf:"varint,16,opt,name=allowPrivilegeEscalation" json:"allowPrivilegeEscalation"`
	// allowedHostPaths is a white list of allowed host paths. Empty indicates
	// that all host paths may be used.
	// +optional
	AllowedHostPaths []*AllowedHostPath `protobuf:"bytes,17,rep,name=allowedHostPaths" json:"allowedHostPaths,omitempty"`
	// 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.
	// +optional
	AllowedFlexVolumes []*AllowedFlexVolume `protobuf:"bytes,18,rep,name=allowedFlexVolumes" json:"allowedFlexVolumes,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.
	// This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
	// +optional
	AllowedCSIDrivers []*AllowedCSIDriver `protobuf:"bytes,23,rep,name=allowedCSIDrivers" json:"allowedCSIDrivers,omitempty"`
	// 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.
	// +optional
	AllowedUnsafeSysctls []string `protobuf:"bytes,19,rep,name=allowedUnsafeSysctls" json:"allowedUnsafeSysctls,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.
	// +optional
	ForbiddenSysctls []string `protobuf:"bytes,20,rep,name=forbiddenSysctls" json:"forbiddenSysctls,omitempty"`
	// 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.
	// +optional
	AllowedProcMountTypes []string `protobuf:"bytes,21,rep,name=allowedProcMountTypes" json:"allowedProcMountTypes,omitempty"`
	// 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.
	// +optional
	RuntimeClass *RuntimeClassStrategyOptions `protobuf:"bytes,24,opt,name=runtimeClass" json:"runtimeClass,omitempty"`
}

PodSecurityPolicySpec defines the policy enforced.

func (*PodSecurityPolicySpec) Descriptor

func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int)

func (*PodSecurityPolicySpec) Equal

func (this *PodSecurityPolicySpec) Equal(that interface{}) bool

func (*PodSecurityPolicySpec) GetAllowPrivilegeEscalation

func (m *PodSecurityPolicySpec) GetAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetAllowedCSIDrivers

func (m *PodSecurityPolicySpec) GetAllowedCSIDrivers() []*AllowedCSIDriver

func (*PodSecurityPolicySpec) GetAllowedCapabilities

func (m *PodSecurityPolicySpec) GetAllowedCapabilities() []string

func (*PodSecurityPolicySpec) GetAllowedFlexVolumes

func (m *PodSecurityPolicySpec) GetAllowedFlexVolumes() []*AllowedFlexVolume

func (*PodSecurityPolicySpec) GetAllowedHostPaths

func (m *PodSecurityPolicySpec) GetAllowedHostPaths() []*AllowedHostPath

func (*PodSecurityPolicySpec) GetAllowedProcMountTypes

func (m *PodSecurityPolicySpec) GetAllowedProcMountTypes() []string

func (*PodSecurityPolicySpec) GetAllowedUnsafeSysctls

func (m *PodSecurityPolicySpec) GetAllowedUnsafeSysctls() []string

func (*PodSecurityPolicySpec) GetDefaultAddCapabilities

func (m *PodSecurityPolicySpec) GetDefaultAddCapabilities() []string

func (*PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation

func (m *PodSecurityPolicySpec) GetDefaultAllowPrivilegeEscalation() bool

func (*PodSecurityPolicySpec) GetForbiddenSysctls

func (m *PodSecurityPolicySpec) GetForbiddenSysctls() []string

func (*PodSecurityPolicySpec) GetFsGroup

func (*PodSecurityPolicySpec) GetHostIPC

func (m *PodSecurityPolicySpec) GetHostIPC() bool

func (*PodSecurityPolicySpec) GetHostNetwork

func (m *PodSecurityPolicySpec) GetHostNetwork() bool

func (*PodSecurityPolicySpec) GetHostPID

func (m *PodSecurityPolicySpec) GetHostPID() bool

func (*PodSecurityPolicySpec) GetHostPorts

func (m *PodSecurityPolicySpec) GetHostPorts() []*HostPortRange

func (*PodSecurityPolicySpec) GetPrivileged

func (m *PodSecurityPolicySpec) GetPrivileged() bool

func (*PodSecurityPolicySpec) GetReadOnlyRootFilesystem

func (m *PodSecurityPolicySpec) GetReadOnlyRootFilesystem() bool

func (*PodSecurityPolicySpec) GetRequiredDropCapabilities

func (m *PodSecurityPolicySpec) GetRequiredDropCapabilities() []string

func (*PodSecurityPolicySpec) GetRunAsGroup

func (*PodSecurityPolicySpec) GetRunAsUser

func (*PodSecurityPolicySpec) GetRuntimeClass

func (m *PodSecurityPolicySpec) GetRuntimeClass() *RuntimeClassStrategyOptions

func (*PodSecurityPolicySpec) GetSeLinux

func (*PodSecurityPolicySpec) GetSupplementalGroups

func (m *PodSecurityPolicySpec) GetSupplementalGroups() *SupplementalGroupsStrategyOptions

func (*PodSecurityPolicySpec) GetVolumes

func (m *PodSecurityPolicySpec) GetVolumes() []string

func (*PodSecurityPolicySpec) GoString

func (this *PodSecurityPolicySpec) GoString() string

func (*PodSecurityPolicySpec) Marshal

func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error)

func (*PodSecurityPolicySpec) MarshalTo

func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error)

func (*PodSecurityPolicySpec) MarshalToSizedBuffer

func (m *PodSecurityPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PodSecurityPolicySpec) ProtoMessage

func (*PodSecurityPolicySpec) ProtoMessage()

func (*PodSecurityPolicySpec) Reset

func (m *PodSecurityPolicySpec) Reset()

func (*PodSecurityPolicySpec) Size

func (m *PodSecurityPolicySpec) Size() (n int)

func (*PodSecurityPolicySpec) String

func (this *PodSecurityPolicySpec) String() string

func (*PodSecurityPolicySpec) Unmarshal

func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error

func (*PodSecurityPolicySpec) XXX_DiscardUnknown

func (m *PodSecurityPolicySpec) XXX_DiscardUnknown()

func (*PodSecurityPolicySpec) XXX_Marshal

func (m *PodSecurityPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PodSecurityPolicySpec) XXX_Merge

func (m *PodSecurityPolicySpec) XXX_Merge(src proto.Message)

func (*PodSecurityPolicySpec) XXX_Size

func (m *PodSecurityPolicySpec) XXX_Size() int

func (*PodSecurityPolicySpec) XXX_Unmarshal

func (m *PodSecurityPolicySpec) XXX_Unmarshal(b []byte) error

type RunAsGroupStrategyOptions

type RunAsGroupStrategyOptions struct {
	// rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
	Rule string `protobuf:"bytes,1,opt,name=rule" json:"rule"`
	// 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.
	// +optional
	Ranges []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
}

RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.

func (*RunAsGroupStrategyOptions) Descriptor

func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int)

func (*RunAsGroupStrategyOptions) Equal

func (this *RunAsGroupStrategyOptions) Equal(that interface{}) bool

func (*RunAsGroupStrategyOptions) GetRanges

func (m *RunAsGroupStrategyOptions) GetRanges() []*IDRange

func (*RunAsGroupStrategyOptions) GetRule

func (m *RunAsGroupStrategyOptions) GetRule() string

func (*RunAsGroupStrategyOptions) GoString

func (this *RunAsGroupStrategyOptions) GoString() string

func (*RunAsGroupStrategyOptions) Marshal

func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RunAsGroupStrategyOptions) MarshalTo

func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RunAsGroupStrategyOptions) MarshalToSizedBuffer

func (m *RunAsGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunAsGroupStrategyOptions) ProtoMessage

func (*RunAsGroupStrategyOptions) ProtoMessage()

func (*RunAsGroupStrategyOptions) Reset

func (m *RunAsGroupStrategyOptions) Reset()

func (*RunAsGroupStrategyOptions) Size

func (m *RunAsGroupStrategyOptions) Size() (n int)

func (*RunAsGroupStrategyOptions) String

func (this *RunAsGroupStrategyOptions) String() string

func (*RunAsGroupStrategyOptions) Unmarshal

func (m *RunAsGroupStrategyOptions) Unmarshal(dAtA []byte) error

func (*RunAsGroupStrategyOptions) XXX_DiscardUnknown

func (m *RunAsGroupStrategyOptions) XXX_DiscardUnknown()

func (*RunAsGroupStrategyOptions) XXX_Marshal

func (m *RunAsGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunAsGroupStrategyOptions) XXX_Merge

func (m *RunAsGroupStrategyOptions) XXX_Merge(src proto.Message)

func (*RunAsGroupStrategyOptions) XXX_Size

func (m *RunAsGroupStrategyOptions) XXX_Size() int

func (*RunAsGroupStrategyOptions) XXX_Unmarshal

func (m *RunAsGroupStrategyOptions) XXX_Unmarshal(b []byte) error

type RunAsUserStrategyOptions

type RunAsUserStrategyOptions struct {
	// rule is the strategy that will dictate the allowable RunAsUser values that may be set.
	Rule string `protobuf:"bytes,1,opt,name=rule" json:"rule"`
	// 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.
	// +optional
	Ranges []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
}

RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.

func (*RunAsUserStrategyOptions) Descriptor

func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int)

func (*RunAsUserStrategyOptions) Equal

func (this *RunAsUserStrategyOptions) Equal(that interface{}) bool

func (*RunAsUserStrategyOptions) GetRanges

func (m *RunAsUserStrategyOptions) GetRanges() []*IDRange

func (*RunAsUserStrategyOptions) GetRule

func (m *RunAsUserStrategyOptions) GetRule() string

func (*RunAsUserStrategyOptions) GoString

func (this *RunAsUserStrategyOptions) GoString() string

func (*RunAsUserStrategyOptions) Marshal

func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RunAsUserStrategyOptions) MarshalTo

func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RunAsUserStrategyOptions) MarshalToSizedBuffer

func (m *RunAsUserStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RunAsUserStrategyOptions) ProtoMessage

func (*RunAsUserStrategyOptions) ProtoMessage()

func (*RunAsUserStrategyOptions) Reset

func (m *RunAsUserStrategyOptions) Reset()

func (*RunAsUserStrategyOptions) Size

func (m *RunAsUserStrategyOptions) Size() (n int)

func (*RunAsUserStrategyOptions) String

func (this *RunAsUserStrategyOptions) String() string

func (*RunAsUserStrategyOptions) Unmarshal

func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error

func (*RunAsUserStrategyOptions) XXX_DiscardUnknown

func (m *RunAsUserStrategyOptions) XXX_DiscardUnknown()

func (*RunAsUserStrategyOptions) XXX_Marshal

func (m *RunAsUserStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunAsUserStrategyOptions) XXX_Merge

func (m *RunAsUserStrategyOptions) XXX_Merge(src proto.Message)

func (*RunAsUserStrategyOptions) XXX_Size

func (m *RunAsUserStrategyOptions) XXX_Size() int

func (*RunAsUserStrategyOptions) XXX_Unmarshal

func (m *RunAsUserStrategyOptions) XXX_Unmarshal(b []byte) error

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.
	AllowedRuntimeClassNames []string `protobuf:"bytes,1,rep,name=allowedRuntimeClassNames" json:"allowedRuntimeClassNames,omitempty"`
	// 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.
	// +optional
	DefaultRuntimeClassName string `protobuf:"bytes,2,opt,name=defaultRuntimeClassName" json:"defaultRuntimeClassName"`
}

RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.

func (*RuntimeClassStrategyOptions) Descriptor

func (*RuntimeClassStrategyOptions) Descriptor() ([]byte, []int)

func (*RuntimeClassStrategyOptions) Equal

func (this *RuntimeClassStrategyOptions) Equal(that interface{}) bool

func (*RuntimeClassStrategyOptions) GetAllowedRuntimeClassNames

func (m *RuntimeClassStrategyOptions) GetAllowedRuntimeClassNames() []string

func (*RuntimeClassStrategyOptions) GetDefaultRuntimeClassName

func (m *RuntimeClassStrategyOptions) GetDefaultRuntimeClassName() string

func (*RuntimeClassStrategyOptions) GoString

func (this *RuntimeClassStrategyOptions) GoString() string

func (*RuntimeClassStrategyOptions) Marshal

func (m *RuntimeClassStrategyOptions) Marshal() (dAtA []byte, err error)

func (*RuntimeClassStrategyOptions) MarshalTo

func (m *RuntimeClassStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*RuntimeClassStrategyOptions) MarshalToSizedBuffer

func (m *RuntimeClassStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeClassStrategyOptions) ProtoMessage

func (*RuntimeClassStrategyOptions) ProtoMessage()

func (*RuntimeClassStrategyOptions) Reset

func (m *RuntimeClassStrategyOptions) Reset()

func (*RuntimeClassStrategyOptions) Size

func (m *RuntimeClassStrategyOptions) Size() (n int)

func (*RuntimeClassStrategyOptions) String

func (this *RuntimeClassStrategyOptions) String() string

func (*RuntimeClassStrategyOptions) Unmarshal

func (m *RuntimeClassStrategyOptions) Unmarshal(dAtA []byte) error

func (*RuntimeClassStrategyOptions) XXX_DiscardUnknown

func (m *RuntimeClassStrategyOptions) XXX_DiscardUnknown()

func (*RuntimeClassStrategyOptions) XXX_Marshal

func (m *RuntimeClassStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeClassStrategyOptions) XXX_Merge

func (m *RuntimeClassStrategyOptions) XXX_Merge(src proto.Message)

func (*RuntimeClassStrategyOptions) XXX_Size

func (m *RuntimeClassStrategyOptions) XXX_Size() int

func (*RuntimeClassStrategyOptions) XXX_Unmarshal

func (m *RuntimeClassStrategyOptions) XXX_Unmarshal(b []byte) error

type SELinuxStrategyOptions

type SELinuxStrategyOptions struct {
	// rule is the strategy that will dictate the allowable labels that may be set.
	Rule string `protobuf:"bytes,1,opt,name=rule" json:"rule"`
	// seLinuxOptions required to run as; required for MustRunAs
	// More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
	// +optional
	SeLinuxOptions *v11.SELinuxOptions `protobuf:"bytes,2,opt,name=seLinuxOptions" json:"seLinuxOptions,omitempty"`
}

SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.

func (*SELinuxStrategyOptions) Descriptor

func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int)

func (*SELinuxStrategyOptions) Equal

func (this *SELinuxStrategyOptions) Equal(that interface{}) bool

func (*SELinuxStrategyOptions) GetRule

func (m *SELinuxStrategyOptions) GetRule() string

func (*SELinuxStrategyOptions) GetSeLinuxOptions

func (m *SELinuxStrategyOptions) GetSeLinuxOptions() *v11.SELinuxOptions

func (*SELinuxStrategyOptions) GoString

func (this *SELinuxStrategyOptions) GoString() string

func (*SELinuxStrategyOptions) Marshal

func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error)

func (*SELinuxStrategyOptions) MarshalTo

func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*SELinuxStrategyOptions) MarshalToSizedBuffer

func (m *SELinuxStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SELinuxStrategyOptions) ProtoMessage

func (*SELinuxStrategyOptions) ProtoMessage()

func (*SELinuxStrategyOptions) Reset

func (m *SELinuxStrategyOptions) Reset()

func (*SELinuxStrategyOptions) Size

func (m *SELinuxStrategyOptions) Size() (n int)

func (*SELinuxStrategyOptions) String

func (this *SELinuxStrategyOptions) String() string

func (*SELinuxStrategyOptions) Unmarshal

func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error

func (*SELinuxStrategyOptions) XXX_DiscardUnknown

func (m *SELinuxStrategyOptions) XXX_DiscardUnknown()

func (*SELinuxStrategyOptions) XXX_Marshal

func (m *SELinuxStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SELinuxStrategyOptions) XXX_Merge

func (m *SELinuxStrategyOptions) XXX_Merge(src proto.Message)

func (*SELinuxStrategyOptions) XXX_Size

func (m *SELinuxStrategyOptions) XXX_Size() int

func (*SELinuxStrategyOptions) XXX_Unmarshal

func (m *SELinuxStrategyOptions) XXX_Unmarshal(b []byte) error

type SupplementalGroupsStrategyOptions

type SupplementalGroupsStrategyOptions struct {
	// rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
	// +optional
	Rule string `protobuf:"bytes,1,opt,name=rule" json:"rule"`
	// 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.
	// +optional
	Ranges []*IDRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
}

SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.

func (*SupplementalGroupsStrategyOptions) Descriptor

func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int)

func (*SupplementalGroupsStrategyOptions) Equal

func (this *SupplementalGroupsStrategyOptions) Equal(that interface{}) bool

func (*SupplementalGroupsStrategyOptions) GetRanges

func (m *SupplementalGroupsStrategyOptions) GetRanges() []*IDRange

func (*SupplementalGroupsStrategyOptions) GetRule

func (*SupplementalGroupsStrategyOptions) GoString

func (this *SupplementalGroupsStrategyOptions) GoString() string

func (*SupplementalGroupsStrategyOptions) Marshal

func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error)

func (*SupplementalGroupsStrategyOptions) MarshalTo

func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*SupplementalGroupsStrategyOptions) MarshalToSizedBuffer

func (m *SupplementalGroupsStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SupplementalGroupsStrategyOptions) ProtoMessage

func (*SupplementalGroupsStrategyOptions) ProtoMessage()

func (*SupplementalGroupsStrategyOptions) Reset

func (*SupplementalGroupsStrategyOptions) Size

func (m *SupplementalGroupsStrategyOptions) Size() (n int)

func (*SupplementalGroupsStrategyOptions) String

func (*SupplementalGroupsStrategyOptions) Unmarshal

func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error

func (*SupplementalGroupsStrategyOptions) XXX_DiscardUnknown

func (m *SupplementalGroupsStrategyOptions) XXX_DiscardUnknown()

func (*SupplementalGroupsStrategyOptions) XXX_Marshal

func (m *SupplementalGroupsStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupplementalGroupsStrategyOptions) XXX_Merge

func (*SupplementalGroupsStrategyOptions) XXX_Size

func (m *SupplementalGroupsStrategyOptions) XXX_Size() int

func (*SupplementalGroupsStrategyOptions) XXX_Unmarshal

func (m *SupplementalGroupsStrategyOptions) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL