Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for podutil (0.11 sec)

  1. cni/pkg/util/podutil.go

    Ben Leggett <******@****.***> 1717175891 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. pkg/security/apparmor/validate.go

    	if !isRequired(pod) {
    		return nil
    	}
    
    	if v.ValidateHost() != nil {
    		return v.validateHostErr
    	}
    
    	var retErr error
    	podutil.VisitContainers(&pod.Spec, podutil.AllContainers, func(container *v1.Container, containerType podutil.ContainerType) bool {
    		profile := GetProfile(pod, container)
    		if profile == nil {
    			return true
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. pkg/security/apparmor/helpers.go

    		pod.Spec.SecurityContext.AppArmorProfile.Type != v1.AppArmorProfileTypeUnconfined {
    		return true
    	}
    
    	inUse := !podutil.VisitContainers(&pod.Spec, podutil.AllContainers, func(c *v1.Container, _ podutil.ContainerType) bool {
    		if c.SecurityContext != nil && c.SecurityContext.AppArmorProfile != nil &&
    			c.SecurityContext.AppArmorProfile.Type != v1.AppArmorProfileTypeUnconfined {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:32 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. pkg/kubelet/configmap/configmap_manager.go

    limitations under the License.
    */
    
    package configmap
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	corev1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	"k8s.io/kubernetes/pkg/kubelet/util/manager"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/kubelet/secret/secret_manager.go

    limitations under the License.
    */
    
    package secret
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	clientset "k8s.io/client-go/kubernetes"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	corev1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	"k8s.io/kubernetes/pkg/kubelet/util/manager"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime"
    	corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    	"k8s.io/kubectl/pkg/polymorphichelpers"
    	"k8s.io/kubectl/pkg/util/podutils"
    	gatewayapi "sigs.k8s.io/gateway-api/apis/v1"
    	gatewayapibeta "sigs.k8s.io/gateway-api/apis/v1beta1"
    
    	"istio.io/istio/pilot/pkg/config/kube/gateway"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/util/cmdutil.go

    calvin <******@****.***> 1706611761 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/io/ioutil/ioutil.go

    // license that can be found in the LICENSE file.
    
    // Package ioutil implements some I/O utility functions.
    //
    // Deprecated: As of Go 1.16, the same functionality is now provided
    // by package [io] or package [os], and those implementations
    // should be preferred in new code.
    // See the specific function documentation for details.
    package ioutil
    
    import (
    	"io"
    	"io/fs"
    	"os"
    	"slices"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    		return func() {}
    	}
    	fixtureDir = filepath.Join(filepath.Dir(filename), "testdata")
    
    	originalNewPrivateKey := pkiutil.NewPrivateKey
    	pkiutil.NewPrivateKey = newPrivateKey
    	return func() {
    		pkiutil.NewPrivateKey = originalNewPrivateKey
    	}
    }
    
    func newPrivateKey(keyType kubeadmapi.EncryptionAlgorithmType) (crypto.Signer, error) {
    	lock.Lock()
    	defer lock.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/certs/util.go

    	"k8s.io/client-go/util/keyutil"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
    )
    
    // SetupCertificateAuthority is a utility function for kubeadm testing that creates a
    // CertificateAuthority cert/key pair
    func SetupCertificateAuthority(t *testing.T) (*x509.Certificate, crypto.Signer) {
    	caCert, caKey, err := pkiutil.NewCertificateAuthority(&pkiutil.CertConfig{
    		Config: certutil.Config{CommonName: "kubernetes"},
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top