Documentation ¶
Overview ¶
Package v1 contains PodSecurity admission configuration file types
Index ¶
- Constants
- Variables
- func Convert_api_PodSecurityConfiguration_To_v1_PodSecurityConfiguration(in *api.PodSecurityConfiguration, out *PodSecurityConfiguration, ...) error
- func Convert_api_PodSecurityDefaults_To_v1_PodSecurityDefaults(in *api.PodSecurityDefaults, out *PodSecurityDefaults, s conversion.Scope) error
- func Convert_api_PodSecurityExemptions_To_v1_PodSecurityExemptions(in *api.PodSecurityExemptions, out *PodSecurityExemptions, s conversion.Scope) error
- func Convert_v1_PodSecurityConfiguration_To_api_PodSecurityConfiguration(in *PodSecurityConfiguration, out *api.PodSecurityConfiguration, ...) error
- func Convert_v1_PodSecurityDefaults_To_api_PodSecurityDefaults(in *PodSecurityDefaults, out *api.PodSecurityDefaults, s conversion.Scope) error
- func Convert_v1_PodSecurityExemptions_To_api_PodSecurityExemptions(in *PodSecurityExemptions, out *api.PodSecurityExemptions, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaults_PodSecurityDefaults(obj *PodSecurityDefaults)
- func SetObjectDefaults_PodSecurityConfiguration(in *PodSecurityConfiguration)
- type PodSecurityConfiguration
- type PodSecurityDefaults
- type PodSecurityExemptions
Constants ¶
const GroupName = "pod-security.admission.config.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder is a pointer used to call AddToScheme SchemeBuilder runtime.SchemeBuilder // AddToScheme is used to register the types to API encoding/decoding machinery AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_api_PodSecurityConfiguration_To_v1_PodSecurityConfiguration ¶
func Convert_api_PodSecurityConfiguration_To_v1_PodSecurityConfiguration(in *api.PodSecurityConfiguration, out *PodSecurityConfiguration, s conversion.Scope) error
Convert_api_PodSecurityConfiguration_To_v1_PodSecurityConfiguration is an autogenerated conversion function.
func Convert_api_PodSecurityDefaults_To_v1_PodSecurityDefaults ¶
func Convert_api_PodSecurityDefaults_To_v1_PodSecurityDefaults(in *api.PodSecurityDefaults, out *PodSecurityDefaults, s conversion.Scope) error
Convert_api_PodSecurityDefaults_To_v1_PodSecurityDefaults is an autogenerated conversion function.
func Convert_api_PodSecurityExemptions_To_v1_PodSecurityExemptions ¶
func Convert_api_PodSecurityExemptions_To_v1_PodSecurityExemptions(in *api.PodSecurityExemptions, out *PodSecurityExemptions, s conversion.Scope) error
Convert_api_PodSecurityExemptions_To_v1_PodSecurityExemptions is an autogenerated conversion function.
func Convert_v1_PodSecurityConfiguration_To_api_PodSecurityConfiguration ¶
func Convert_v1_PodSecurityConfiguration_To_api_PodSecurityConfiguration(in *PodSecurityConfiguration, out *api.PodSecurityConfiguration, s conversion.Scope) error
Convert_v1_PodSecurityConfiguration_To_api_PodSecurityConfiguration is an autogenerated conversion function.
func Convert_v1_PodSecurityDefaults_To_api_PodSecurityDefaults ¶
func Convert_v1_PodSecurityDefaults_To_api_PodSecurityDefaults(in *PodSecurityDefaults, out *api.PodSecurityDefaults, s conversion.Scope) error
Convert_v1_PodSecurityDefaults_To_api_PodSecurityDefaults is an autogenerated conversion function.
func Convert_v1_PodSecurityExemptions_To_api_PodSecurityExemptions ¶
func Convert_v1_PodSecurityExemptions_To_api_PodSecurityExemptions(in *PodSecurityExemptions, out *api.PodSecurityExemptions, s conversion.Scope) error
Convert_v1_PodSecurityExemptions_To_api_PodSecurityExemptions is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func SetDefaults_PodSecurityDefaults ¶
func SetDefaults_PodSecurityDefaults(obj *PodSecurityDefaults)
func SetObjectDefaults_PodSecurityConfiguration ¶
func SetObjectDefaults_PodSecurityConfiguration(in *PodSecurityConfiguration)
Types ¶
type PodSecurityConfiguration ¶
type PodSecurityConfiguration struct { metav1.TypeMeta Defaults PodSecurityDefaults `json:"defaults"` Exemptions PodSecurityExemptions `json:"exemptions"` }
func (*PodSecurityConfiguration) DeepCopy ¶
func (in *PodSecurityConfiguration) DeepCopy() *PodSecurityConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityConfiguration.
func (*PodSecurityConfiguration) DeepCopyInto ¶
func (in *PodSecurityConfiguration) DeepCopyInto(out *PodSecurityConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSecurityConfiguration) DeepCopyObject ¶
func (in *PodSecurityConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodSecurityDefaults ¶
type PodSecurityDefaults struct { Enforce string `json:"enforce,omitempty"` EnforceVersion string `json:"enforce-version,omitempty"` Audit string `json:"audit,omitempty"` AuditVersion string `json:"audit-version,omitempty"` Warn string `json:"warn,omitempty"` WarnVersion string `json:"warn-version,omitempty"` }
func (*PodSecurityDefaults) DeepCopy ¶
func (in *PodSecurityDefaults) DeepCopy() *PodSecurityDefaults
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityDefaults.
func (*PodSecurityDefaults) DeepCopyInto ¶
func (in *PodSecurityDefaults) DeepCopyInto(out *PodSecurityDefaults)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSecurityExemptions ¶
type PodSecurityExemptions struct { Usernames []string `json:"usernames,omitempty"` Namespaces []string `json:"namespaces,omitempty"` RuntimeClasses []string `json:"runtimeClasses,omitempty"` }
func (*PodSecurityExemptions) DeepCopy ¶
func (in *PodSecurityExemptions) DeepCopy() *PodSecurityExemptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityExemptions.
func (*PodSecurityExemptions) DeepCopyInto ¶
func (in *PodSecurityExemptions) DeepCopyInto(out *PodSecurityExemptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.