package
1.30.0-kw1
Repository: https://github.com/kubewarden/k8s-objects.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

GroupName is the group name use in this package.

# Variables

SchemeGroupVersion is group version used to register these objects.

# Structs

Affinity Affinity is a group of affinity scheduling rules.
AppArmorProfile AppArmorProfile defines a pod or container's AppArmor settings.
AttachedVolume AttachedVolume describes a volume attached to a node swagger:model AttachedVolume.
AWSElasticBlockStoreVolumeSource Represents a Persistent Disk resource in AWS.
AzureDiskVolumeSource AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
AzureFilePersistentVolumeSource AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
AzureFileVolumeSource AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
Binding Binding ties one object to another; for example, a pod is bound to a node by a scheduler.
Capabilities Adds and removes POSIX capabilities from running containers.
CephFSPersistentVolumeSource Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
CephFSVolumeSource Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
CinderPersistentVolumeSource Represents a cinder volume resource in Openstack.
CinderVolumeSource Represents a cinder volume resource in Openstack.
ClaimSource ClaimSource describes a reference to a ResourceClaim.
ClientIPConfig ClientIPConfig represents the configurations of Client IP based session affinity.
ClusterTrustBundleProjection ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
ComponentCondition Information about the condition of a component.
ComponentStatus ComponentStatus (and ComponentStatusList) holds the cluster validation info.
ComponentStatusList Status of all the conditions for the component as a list of ComponentStatus objects.
ConfigMap ConfigMap holds configuration data for pods to consume.
ConfigMapEnvSource ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
ConfigMapKeySelector Selects a key from a ConfigMap.
ConfigMapList ConfigMapList is a resource containing a list of ConfigMap objects.
ConfigMapNodeConfigSource ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.
ConfigMapProjection Adapts a ConfigMap into a projected volume.
ConfigMapVolumeSource Adapts a ConfigMap into a volume.
Container A single application container that you want to run within a pod.
ContainerImage Describe a container image swagger:model ContainerImage.
ContainerPort ContainerPort represents a network port in a single container.
ContainerResizePolicy ContainerResizePolicy represents resource resize policy for the container.
ContainerState ContainerState holds a possible state of container.
ContainerStateRunning ContainerStateRunning is a running state of a container.
ContainerStateTerminated ContainerStateTerminated is a terminated state of a container.
ContainerStateWaiting ContainerStateWaiting is a waiting state of a container.
ContainerStatus ContainerStatus contains details for the current status of this container.
CSIPersistentVolumeSource Represents storage that is managed by an external CSI volume driver (Beta feature) swagger:model CSIPersistentVolumeSource.
CSIVolumeSource Represents a source location of a volume to mount, managed by an external CSI driver swagger:model CSIVolumeSource.
DaemonEndpoint DaemonEndpoint contains information about a single Daemon endpoint.
DownwardAPIProjection Represents downward API info for projecting into a projected volume.
DownwardAPIVolumeFile DownwardAPIVolumeFile represents information to create the file containing the pod field swagger:model DownwardAPIVolumeFile.
DownwardAPIVolumeSource DownwardAPIVolumeSource represents a volume containing downward API info.
EmptyDirVolumeSource Represents an empty directory for a pod.
EndpointAddress EndpointAddress is a tuple that describes single IP address.
EndpointPort EndpointPort is a tuple that describes a single port.
Endpoints Endpoints is a collection of endpoints that implement the actual service.
EndpointsList EndpointsList is a list of endpoints.
EndpointSubset EndpointSubset is a group of addresses with a common set of ports.
EnvFromSource EnvFromSource represents the source of a set of ConfigMaps swagger:model EnvFromSource.
EnvVar EnvVar represents an environment variable present in a Container.
EnvVarSource EnvVarSource represents a source for the value of an EnvVar.
EphemeralContainer An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging.
EphemeralVolumeSource Represents an ephemeral volume that is handled by a normal storage driver.
Event Event is a report of an event somewhere in the cluster.
EventList EventList is a list of events.
EventSeries EventSeries contain information on series of events, i.e.
EventSource EventSource contains information for an event.
ExecAction ExecAction describes a "run in container" action.
FCVolumeSource Represents a Fibre Channel volume.
FlexPersistentVolumeSource FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
FlexVolumeSource FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
FlockerVolumeSource Represents a Flocker volume mounted by the Flocker agent.
GCEPersistentDiskVolumeSource Represents a Persistent Disk resource in Google Compute Engine.
GitRepoVolumeSource Represents a volume that is populated with the contents of a git repository.
GlusterfsPersistentVolumeSource Represents a Glusterfs mount that lasts the lifetime of a pod.
GlusterfsVolumeSource Represents a Glusterfs mount that lasts the lifetime of a pod.
GRPCAction GRPC action swagger:model GRPCAction.
HostAlias HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
HostIP HostIP represents a single IP address allocated to the host.
HostPathVolumeSource Represents a host path mapped into a pod.
HTTPGetAction HTTPGetAction describes an action based on HTTP Get requests.
HTTPHeader HTTPHeader describes a custom header to be used in HTTP probes swagger:model HTTPHeader.
ISCSIPersistentVolumeSource ISCSIPersistentVolumeSource represents an ISCSI disk.
ISCSIVolumeSource Represents an ISCSI disk.
KeyToPath Maps a string key to a path within a volume.
Lifecycle Lifecycle describes actions that the management system should take in response to container lifecycle events.
LifecycleHandler LifecycleHandler defines a specific action that should be taken in a lifecycle hook.
LimitRange LimitRange sets resource usage limits for each kind of resource in a Namespace.
LimitRangeItem LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
LimitRangeList LimitRangeList is a list of LimitRange items.
LimitRangeSpec LimitRangeSpec defines a min/max usage limit for resources that match on kind.
LoadBalancerIngress LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.
LoadBalancerStatus LoadBalancerStatus represents the status of a load-balancer.
LocalObjectReference LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
LocalVolumeSource Local represents directly-attached storage with node affinity (Beta feature) swagger:model LocalVolumeSource.
ModifyVolumeStatus ModifyVolumeStatus represents the status object of ControllerModifyVolume operation swagger:model ModifyVolumeStatus.
Namespace Namespace provides a scope for Names.
NamespaceCondition NamespaceCondition contains details about state of namespace.
NamespaceList NamespaceList is a list of Namespaces.
NamespaceSpec NamespaceSpec describes the attributes on a Namespace.
NamespaceStatus NamespaceStatus is information about the current status of a Namespace.
NFSVolumeSource Represents an NFS mount that lasts the lifetime of a pod.
Node Node is a worker node in Kubernetes.
NodeAddress NodeAddress contains information for the node's address.
NodeAffinity Node affinity is a group of node affinity scheduling rules.
NodeCondition NodeCondition contains condition information for a node.
NodeConfigSource NodeConfigSource specifies a source of node configuration.
NodeConfigStatus NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
NodeDaemonEndpoints NodeDaemonEndpoints lists ports opened by daemons running on the Node.
NodeList NodeList is the whole list of all Nodes which have been registered with master.
NodeRuntimeHandler NodeRuntimeHandler is a set of runtime handler information.
NodeRuntimeHandlerFeatures NodeRuntimeHandlerFeatures is a set of runtime features.
NodeSelector A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms.
NodeSelectorRequirement A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
NodeSelectorTerm A null or empty node selector term matches no objects.
NodeSpec NodeSpec describes the attributes that a node is created with.
NodeStatus NodeStatus is information about the current status of a node.
NodeSystemInfo NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
ObjectFieldSelector ObjectFieldSelector selects an APIVersioned field of an object.
ObjectReference ObjectReference contains enough information to let you inspect or modify the referred object.
PersistentVolume PersistentVolume (PV) is a storage resource provisioned by an administrator.
PersistentVolumeClaim PersistentVolumeClaim is a user's request for and claim to a persistent volume swagger:model PersistentVolumeClaim.
PersistentVolumeClaimCondition PersistentVolumeClaimCondition contains details about state of pvc swagger:model PersistentVolumeClaimCondition.
PersistentVolumeClaimList PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
PersistentVolumeClaimSpec PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes swagger:model PersistentVolumeClaimSpec.
PersistentVolumeClaimStatus PersistentVolumeClaimStatus is the current status of a persistent volume claim.
PersistentVolumeClaimTemplate PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
PersistentVolumeClaimVolumeSource PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.
PersistentVolumeList PersistentVolumeList is a list of PersistentVolume items.
PersistentVolumeSpec PersistentVolumeSpec is the specification of a persistent volume.
PersistentVolumeStatus PersistentVolumeStatus is the current status of a persistent volume.
PhotonPersistentDiskVolumeSource Represents a Photon Controller persistent disk resource.
Pod Pod is a collection of containers that can run on a host.
PodAffinity Pod affinity is a group of inter pod affinity scheduling rules.
PodAffinityTerm Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running swagger:model PodAffinityTerm.
PodAntiAffinity Pod anti affinity is a group of inter pod anti affinity scheduling rules.
PodCondition PodCondition contains details for the current condition of this pod.
PodDNSConfig PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
PodDNSConfigOption PodDNSConfigOption defines DNS resolver options of a pod.
PodIP PodIP represents a single IP address allocated to the pod.
PodList PodList is a list of Pods.
PodOS PodOS defines the OS parameters of a pod.
PodReadinessGate PodReadinessGate contains the reference to a pod condition swagger:model PodReadinessGate.
PodResourceClaim PodResourceClaim references exactly one ResourceClaim through a ClaimSource.
PodResourceClaimStatus PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate.
PodSchedulingGate PodSchedulingGate is associated to a Pod to guard its scheduling.
PodSecurityContext PodSecurityContext holds pod-level security attributes and common container settings.
PodSpec PodSpec is a description of a pod.
PodStatus PodStatus represents information about the status of a pod.
PodTemplate PodTemplate describes a template for creating copies of a predefined pod.
PodTemplateList PodTemplateList is a list of PodTemplates.
PodTemplateSpec PodTemplateSpec describes the data a pod should have when created from a template swagger:model PodTemplateSpec.
PortStatus port status swagger:model PortStatus.
PortworxVolumeSource PortworxVolumeSource represents a Portworx volume resource.
PreferredSchedulingTerm An empty preferred scheduling term matches all objects with implicit weight 0 (i.e.
Probe Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
ProjectedVolumeSource Represents a projected volume source swagger:model ProjectedVolumeSource.
QuobyteVolumeSource Represents a Quobyte mount that lasts the lifetime of a pod.
RBDPersistentVolumeSource Represents a Rados Block Device mount that lasts the lifetime of a pod.
RBDVolumeSource Represents a Rados Block Device mount that lasts the lifetime of a pod.
ReplicationController ReplicationController represents the configuration of a replication controller.
ReplicationControllerCondition ReplicationControllerCondition describes the state of a replication controller at a certain point.
ReplicationControllerList ReplicationControllerList is a collection of replication controllers.
ReplicationControllerSpec ReplicationControllerSpec is the specification of a replication controller.
ReplicationControllerStatus ReplicationControllerStatus represents the current status of a replication controller.
ResourceClaim ResourceClaim references one entry in PodSpec.ResourceClaims.
ResourceFieldSelector ResourceFieldSelector represents container resources (cpu, memory) and their output format swagger:model ResourceFieldSelector.
ResourceQuota ResourceQuota sets aggregate quota restrictions enforced per namespace swagger:model ResourceQuota.
ResourceQuotaList ResourceQuotaList is a list of ResourceQuota items.
ResourceQuotaSpec ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
ResourceQuotaStatus ResourceQuotaStatus defines the enforced hard limits and observed use.
ResourceRequirements ResourceRequirements describes the compute resource requirements.
ScaleIOPersistentVolumeSource ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume swagger:model ScaleIOPersistentVolumeSource.
ScaleIOVolumeSource ScaleIOVolumeSource represents a persistent ScaleIO volume swagger:model ScaleIOVolumeSource.
ScopedResourceSelectorRequirement A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
ScopeSelector A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.
SeccompProfile SeccompProfile defines a pod/container's seccomp profile settings.
Secret Secret holds secret data of a certain type.
SecretEnvSource SecretEnvSource selects a Secret to populate the environment variables with.
SecretKeySelector SecretKeySelector selects a key of a Secret.
SecretList SecretList is a list of Secret.
SecretProjection Adapts a secret into a projected volume.
SecretReference SecretReference represents a Secret Reference.
SecretVolumeSource Adapts a Secret into a volume.
SecurityContext SecurityContext holds security configuration that will be applied to a container.
SELinuxOptions SELinuxOptions are the labels to be applied to the container swagger:model SELinuxOptions.
Service Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
ServiceAccount ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets swagger:model ServiceAccount.
ServiceAccountList ServiceAccountList is a list of ServiceAccount objects swagger:model ServiceAccountList.
ServiceAccountTokenProjection ServiceAccountTokenProjection represents a projected service account token volume.
ServiceList ServiceList holds a list of services.
ServicePort ServicePort contains information on service's port.
ServiceSpec ServiceSpec describes the attributes that a user creates on a service.
ServiceStatus ServiceStatus represents the current status of a service.
SessionAffinityConfig SessionAffinityConfig represents the configurations of session affinity.
SleepAction SleepAction describes a "sleep" action.
StorageOSPersistentVolumeSource Represents a StorageOS persistent volume resource.
StorageOSVolumeSource Represents a StorageOS persistent volume resource.
Sysctl Sysctl defines a kernel parameter to be set swagger:model Sysctl.
Taint The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
TCPSocketAction TCPSocketAction describes an action based on opening a socket swagger:model TCPSocketAction.
Toleration The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.
TopologySelectorLabelRequirement A topology selector requirement is a selector that matches given label.
TopologySelectorTerm A topology selector term represents the result of label queries.
TopologySpreadConstraint TopologySpreadConstraint specifies how to spread matching pods among the given topology.
TypedLocalObjectReference TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.
TypedObjectReference typed object reference swagger:model TypedObjectReference.
Volume Volume represents a named volume in a pod that may be accessed by any container in the pod.
VolumeDevice volumeDevice describes a mapping of a raw block device within a container.
VolumeMount VolumeMount describes a mounting of a Volume within a container.
VolumeMountStatus VolumeMountStatus shows status of volume mounts.
VolumeNodeAffinity VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
VolumeProjection Projection that may be projected along with other supported volume types swagger:model VolumeProjection.
VolumeResourceRequirements VolumeResourceRequirements describes the storage resource requirements for a volume.
VsphereVirtualDiskVolumeSource Represents a vSphere volume resource.
WeightedPodAffinityTerm The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) swagger:model WeightedPodAffinityTerm.
WindowsSecurityContextOptions WindowsSecurityContextOptions contain Windows-specific options and credentials.