v1

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowedFlexVolumeApplyConfiguration

type AllowedFlexVolumeApplyConfiguration struct {
	Driver *string `json:"driver,omitempty"`
}

AllowedFlexVolumeApplyConfiguration represents an declarative configuration of the AllowedFlexVolume type for use with apply.

func AllowedFlexVolume

func AllowedFlexVolume() *AllowedFlexVolumeApplyConfiguration

AllowedFlexVolumeApplyConfiguration constructs an declarative configuration of the AllowedFlexVolume type for use with apply.

func (*AllowedFlexVolumeApplyConfiguration) WithDriver

WithDriver sets the Driver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Driver field is set to the value of the last call.

type FSGroupStrategyOptionsApplyConfiguration

type FSGroupStrategyOptionsApplyConfiguration struct {
	Type   *v1.FSGroupStrategyType     `json:"type,omitempty"`
	Ranges []IDRangeApplyConfiguration `json:"ranges,omitempty"`
}

FSGroupStrategyOptionsApplyConfiguration represents an declarative configuration of the FSGroupStrategyOptions type for use with apply.

func FSGroupStrategyOptions

func FSGroupStrategyOptions() *FSGroupStrategyOptionsApplyConfiguration

FSGroupStrategyOptionsApplyConfiguration constructs an declarative configuration of the FSGroupStrategyOptions type for use with apply.

func (*FSGroupStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ranges field.

func (*FSGroupStrategyOptionsApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type IDRangeApplyConfiguration

type IDRangeApplyConfiguration struct {
	Min *int64 `json:"min,omitempty"`
	Max *int64 `json:"max,omitempty"`
}

IDRangeApplyConfiguration represents an declarative configuration of the IDRange type for use with apply.

func IDRange

func IDRange() *IDRangeApplyConfiguration

IDRangeApplyConfiguration constructs an declarative configuration of the IDRange type for use with apply.

func (*IDRangeApplyConfiguration) WithMax

WithMax sets the Max field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Max field is set to the value of the last call.

func (*IDRangeApplyConfiguration) WithMin

WithMin sets the Min field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Min field is set to the value of the last call.

type RangeAllocationApplyConfiguration

type RangeAllocationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Range                            *string `json:"range,omitempty"`
	Data                             []byte  `json:"data,omitempty"`
}

RangeAllocationApplyConfiguration represents an declarative configuration of the RangeAllocation type for use with apply.

func RangeAllocation

func RangeAllocation(name string) *RangeAllocationApplyConfiguration

RangeAllocation constructs an declarative configuration of the RangeAllocation type for use with apply.

func (*RangeAllocationApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*RangeAllocationApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithData

WithData adds the given value to the Data field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Data field.

func (*RangeAllocationApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *RangeAllocationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RangeAllocationApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*RangeAllocationApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RangeAllocationApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RangeAllocationApplyConfiguration) WithRange

WithRange sets the Range field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Range field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*RangeAllocationApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RunAsUserStrategyOptionsApplyConfiguration

type RunAsUserStrategyOptionsApplyConfiguration struct {
	Type        *v1.RunAsUserStrategyType `json:"type,omitempty"`
	UID         *int64                    `json:"uid,omitempty"`
	UIDRangeMin *int64                    `json:"uidRangeMin,omitempty"`
	UIDRangeMax *int64                    `json:"uidRangeMax,omitempty"`
}

RunAsUserStrategyOptionsApplyConfiguration represents an declarative configuration of the RunAsUserStrategyOptions type for use with apply.

func RunAsUserStrategyOptions

func RunAsUserStrategyOptions() *RunAsUserStrategyOptionsApplyConfiguration

RunAsUserStrategyOptionsApplyConfiguration constructs an declarative configuration of the RunAsUserStrategyOptions type for use with apply.

func (*RunAsUserStrategyOptionsApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

func (*RunAsUserStrategyOptionsApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

func (*RunAsUserStrategyOptionsApplyConfiguration) WithUIDRangeMax

WithUIDRangeMax sets the UIDRangeMax field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UIDRangeMax field is set to the value of the last call.

func (*RunAsUserStrategyOptionsApplyConfiguration) WithUIDRangeMin

WithUIDRangeMin sets the UIDRangeMin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UIDRangeMin field is set to the value of the last call.

type SELinuxContextStrategyOptionsApplyConfiguration

type SELinuxContextStrategyOptionsApplyConfiguration struct {
	Type           *v1.SELinuxContextStrategyType `json:"type,omitempty"`
	SELinuxOptions *corev1.SELinuxOptions         `json:"seLinuxOptions,omitempty"`
}

SELinuxContextStrategyOptionsApplyConfiguration represents an declarative configuration of the SELinuxContextStrategyOptions type for use with apply.

func SELinuxContextStrategyOptions

func SELinuxContextStrategyOptions() *SELinuxContextStrategyOptionsApplyConfiguration

SELinuxContextStrategyOptionsApplyConfiguration constructs an declarative configuration of the SELinuxContextStrategyOptions type for use with apply.

func (*SELinuxContextStrategyOptionsApplyConfiguration) WithSELinuxOptions

WithSELinuxOptions sets the SELinuxOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SELinuxOptions field is set to the value of the last call.

func (*SELinuxContextStrategyOptionsApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type SecurityContextConstraintsApplyConfiguration

type SecurityContextConstraintsApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Priority                         *int32                                               `json:"priority,omitempty"`
	AllowPrivilegedContainer         *bool                                                `json:"allowPrivilegedContainer,omitempty"`
	DefaultAddCapabilities           []corev1.Capability                                  `json:"defaultAddCapabilities,omitempty"`
	RequiredDropCapabilities         []corev1.Capability                                  `json:"requiredDropCapabilities,omitempty"`
	AllowedCapabilities              []corev1.Capability                                  `json:"allowedCapabilities,omitempty"`
	AllowHostDirVolumePlugin         *bool                                                `json:"allowHostDirVolumePlugin,omitempty"`
	Volumes                          []securityv1.FSType                                  `json:"volumes,omitempty"`
	AllowedFlexVolumes               []AllowedFlexVolumeApplyConfiguration                `json:"allowedFlexVolumes,omitempty"`
	AllowHostNetwork                 *bool                                                `json:"allowHostNetwork,omitempty"`
	AllowHostPorts                   *bool                                                `json:"allowHostPorts,omitempty"`
	AllowHostPID                     *bool                                                `json:"allowHostPID,omitempty"`
	AllowHostIPC                     *bool                                                `json:"allowHostIPC,omitempty"`
	DefaultAllowPrivilegeEscalation  *bool                                                `json:"defaultAllowPrivilegeEscalation,omitempty"`
	AllowPrivilegeEscalation         *bool                                                `json:"allowPrivilegeEscalation,omitempty"`
	SELinuxContext                   *SELinuxContextStrategyOptionsApplyConfiguration     `json:"seLinuxContext,omitempty"`
	RunAsUser                        *RunAsUserStrategyOptionsApplyConfiguration          `json:"runAsUser,omitempty"`
	SupplementalGroups               *SupplementalGroupsStrategyOptionsApplyConfiguration `json:"supplementalGroups,omitempty"`
	FSGroup                          *FSGroupStrategyOptionsApplyConfiguration            `json:"fsGroup,omitempty"`
	ReadOnlyRootFilesystem           *bool                                                `json:"readOnlyRootFilesystem,omitempty"`
	Users                            []string                                             `json:"users,omitempty"`
	Groups                           []string                                             `json:"groups,omitempty"`
	SeccompProfiles                  []string                                             `json:"seccompProfiles,omitempty"`
	AllowedUnsafeSysctls             []string                                             `json:"allowedUnsafeSysctls,omitempty"`
	ForbiddenSysctls                 []string                                             `json:"forbiddenSysctls,omitempty"`
}

SecurityContextConstraintsApplyConfiguration represents an declarative configuration of the SecurityContextConstraints type for use with apply.

func SecurityContextConstraints

func SecurityContextConstraints(name string) *SecurityContextConstraintsApplyConfiguration

SecurityContextConstraints constructs an declarative configuration of the SecurityContextConstraints type for use with apply.

func (*SecurityContextConstraintsApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowHostDirVolumePlugin

WithAllowHostDirVolumePlugin sets the AllowHostDirVolumePlugin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowHostDirVolumePlugin field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowHostIPC

WithAllowHostIPC sets the AllowHostIPC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowHostIPC field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowHostNetwork

WithAllowHostNetwork sets the AllowHostNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowHostNetwork field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowHostPID

WithAllowHostPID sets the AllowHostPID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowHostPID field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowHostPorts

WithAllowHostPorts sets the AllowHostPorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowHostPorts field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowPrivilegeEscalation

WithAllowPrivilegeEscalation sets the AllowPrivilegeEscalation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowPrivilegeEscalation field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowPrivilegedContainer

WithAllowPrivilegedContainer sets the AllowPrivilegedContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowPrivilegedContainer field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowedCapabilities

WithAllowedCapabilities adds the given value to the AllowedCapabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedCapabilities field.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowedFlexVolumes

WithAllowedFlexVolumes adds the given value to the AllowedFlexVolumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedFlexVolumes field.

func (*SecurityContextConstraintsApplyConfiguration) WithAllowedUnsafeSysctls

WithAllowedUnsafeSysctls adds the given value to the AllowedUnsafeSysctls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedUnsafeSysctls field.

func (*SecurityContextConstraintsApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SecurityContextConstraintsApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithDefaultAddCapabilities

WithDefaultAddCapabilities adds the given value to the DefaultAddCapabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DefaultAddCapabilities field.

func (*SecurityContextConstraintsApplyConfiguration) WithDefaultAllowPrivilegeEscalation

WithDefaultAllowPrivilegeEscalation sets the DefaultAllowPrivilegeEscalation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultAllowPrivilegeEscalation field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithFSGroup

WithFSGroup sets the FSGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSGroup field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SecurityContextConstraintsApplyConfiguration) WithForbiddenSysctls

WithForbiddenSysctls adds the given value to the ForbiddenSysctls field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ForbiddenSysctls field.

func (*SecurityContextConstraintsApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithGroups

WithGroups adds the given value to the Groups field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Groups field.

func (*SecurityContextConstraintsApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SecurityContextConstraintsApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SecurityContextConstraintsApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithReadOnlyRootFilesystem

WithReadOnlyRootFilesystem sets the ReadOnlyRootFilesystem field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadOnlyRootFilesystem field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithRequiredDropCapabilities

WithRequiredDropCapabilities adds the given value to the RequiredDropCapabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RequiredDropCapabilities field.

func (*SecurityContextConstraintsApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithRunAsUser

WithRunAsUser sets the RunAsUser field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunAsUser field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithSELinuxContext

WithSELinuxContext sets the SELinuxContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SELinuxContext field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithSeccompProfiles

WithSeccompProfiles adds the given value to the SeccompProfiles field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SeccompProfiles field.

func (*SecurityContextConstraintsApplyConfiguration) WithSupplementalGroups

WithSupplementalGroups sets the SupplementalGroups field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SupplementalGroups field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

func (*SecurityContextConstraintsApplyConfiguration) WithUsers

WithUsers adds the given value to the Users field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Users field.

func (*SecurityContextConstraintsApplyConfiguration) WithVolumes

WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.

type SupplementalGroupsStrategyOptionsApplyConfiguration

type SupplementalGroupsStrategyOptionsApplyConfiguration struct {
	Type   *v1.SupplementalGroupsStrategyType `json:"type,omitempty"`
	Ranges []IDRangeApplyConfiguration        `json:"ranges,omitempty"`
}

SupplementalGroupsStrategyOptionsApplyConfiguration represents an declarative configuration of the SupplementalGroupsStrategyOptions type for use with apply.

func SupplementalGroupsStrategyOptions

func SupplementalGroupsStrategyOptions() *SupplementalGroupsStrategyOptionsApplyConfiguration

SupplementalGroupsStrategyOptionsApplyConfiguration constructs an declarative configuration of the SupplementalGroupsStrategyOptions type for use with apply.

func (*SupplementalGroupsStrategyOptionsApplyConfiguration) WithRanges

WithRanges adds the given value to the Ranges field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ranges field.

func (*SupplementalGroupsStrategyOptionsApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

Jump to

Keyboard shortcuts

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