- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 179 for podutil (0.17 sec)
-
pkg/kubelet/status/fake_status_manager.go
klog.InfoS("RemoveOrphanedStatuses()") return } func (m *fakeManager) GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceList, bool) { klog.InfoS("GetContainerResourceAllocation()") return m.state.GetContainerResourceAllocation(podUID, containerName) } func (m *fakeManager) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) { klog.InfoS("GetPodResizeStatus()") return "", false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 05:59:34 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/kubelet/status/state/state.go
type Reader interface { GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceList, bool) GetPodResourceAllocation() PodResourceAllocation GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) GetResizeStatus() PodResizeStatus } type writer interface { SetContainerResourceAllocation(podUID string, containerName string, alloc v1.ResourceList) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go
expectError bool expected error name string }{ { resp: &http.Response{ Body: ioutil.NopCloser(bytes.NewBufferString("Success")), StatusCode: http.StatusOK, }, expectError: false, name: "ok", }, { resp: &http.Response{ Body: ioutil.NopCloser(bytes.NewBufferString("Invalid request.")), StatusCode: http.StatusBadRequest, }, expectError: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 19:04:33 UTC 2018 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/filerenewer.go
return &FileRenewer{ caCert: caCert, caKey: caKey, } } // Renew a certificate using a given CA cert and key func (r *FileRenewer) Renew(cfg *pkiutil.CertConfig) (*x509.Certificate, crypto.Signer, error) { return pkiutil.NewCertAndKey(r.caCert, r.caKey, cfg)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 11 00:35:31 UTC 2020 - 1.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags.go
limitations under the License. */ package kubelet import ( "fmt" "os" "path/filepath" "strings" "github.com/pkg/errors" "k8s.io/klog/v2" nodeutil "k8s.io/component-helpers/node/util" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/constants" "k8s.io/kubernetes/cmd/kubeadm/app/images"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ CertificatesDir: dir, }, } caCfg := Certificates{ { config: pkiutil.CertConfig{}, Name: "test-ca", BaseName: "test-ca", }, { config: pkiutil.CertConfig{ Config: certutil.Config{ AltNames: certutil.AltNames{ DNSNames: []string{"test-domain.space"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter.go
"k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" certutil "k8s.io/client-go/util/cert" "k8s.io/client-go/util/keyutil" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" ) // certificateReadWriter defines the behavior of a component that // read or write a certificate stored/embedded in a file type certificateReadWriter interface { //Exists return true if the certificate exists
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 01 03:09:53 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_linux_test.go
if err := tc.validateFunc(kubelet); err != nil { t.Errorf("%s failed validation: %v", name, err) } } }) } } func TestPodVolumesExistWithMount(t *testing.T) { poduid := types.UID("poduid") testCases := map[string]struct { prepareFunc func(kubelet *Kubelet) error expected bool }{ "noncsivolume-dir-not-exist": { prepareFunc: func(kubelet *Kubelet) error { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 8.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/state/state_checkpoint.go
} for containerID, cset := range src.Entries { podUID, containerName, err := sc.initialContainers.GetContainerRef(containerID) if err != nil { return fmt.Errorf("containerID '%v' not found in initial containers list", containerID) } if dst.Entries == nil { dst.Entries = make(map[string]map[string]string) } if _, exists := dst.Entries[podUID]; !exists { dst.Entries[podUID] = make(map[string]string) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 13 00:59:30 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/fake_topology_manager_test.go
name string containerName string podUID string expected TopologyHint }{ { name: "Case1", containerName: "nginx", podUID: "0aafa4c4-38e8-11e9-bcb1-a4bf01040474", expected: TopologyHint{}, }, } for _, tc := range tcases { fm := fakeManager{} actual := fm.GetAffinity(tc.podUID, tc.containerName) if !reflect.DeepEqual(actual, tc.expected) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 10 11:44:15 UTC 2021 - 2.8K bytes - Viewed (0)