Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for podutil (0.12 sec)

  1. pkg/volume/util/fsquota/quota_linux_test.go

    func fakeSupportsQuotas(path string) (bool, error) {
    	dummySetFSInfo(path)
    	return SupportsQuotas(dummyQuotaTest(), path)
    }
    
    func fakeAssignQuota(path string, poduid types.UID, bytes int64) error {
    	dummySetFSInfo(path)
    	return AssignQuota(dummyQuotaTest(), path, poduid, resource.NewQuantity(bytes, resource.DecimalSI))
    }
    
    func fakeClearQuota(path string) error {
    	dummySetFSInfo(path)
    	return ClearQuota(dummyQuotaTest(), path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pkg/controller/podgc/gc_controller.go

    	"k8s.io/klog/v2"
    	apipod "k8s.io/kubernetes/pkg/api/v1/pod"
    	"k8s.io/kubernetes/pkg/controller/podgc/metrics"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	nodeutil "k8s.io/kubernetes/pkg/util/node"
    	utilpod "k8s.io/kubernetes/pkg/util/pod"
    	"k8s.io/kubernetes/pkg/util/taints"
    )
    
    const (
    	// gcCheckPeriod defines frequency of running main controller loop
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/controller/volume/expand/expand_controller.go

    	return ""
    }
    
    func (expc *expandController) GetPodVolumeDir(podUID types.UID, pluginName string, volumeName string) string {
    	return ""
    }
    
    func (expc *expandController) GetPodVolumeDeviceDir(podUID types.UID, pluginName string) string {
    	return ""
    }
    
    func (expc *expandController) GetPodPluginDir(podUID types.UID, pluginName string) string {
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pkg/serviceaccount/claims_test.go

    		secret         = &v1.Secret{ObjectMeta: metav1.ObjectMeta{Name: "secretname", Namespace: "ns", UID: "secretuid"}}
    		pod            = &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "podname", Namespace: "ns", UID: "poduid"}}
    		node           = &v1.Node{ObjectMeta: metav1.ObjectMeta{Name: "nodename", UID: "nodeuid"}}
    	)
    
    	deletionTestCases := []deletionTestCase{
    		{
    			name: "valid",
    			time: nil,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go

    import (
    	"context"
    	"fmt"
    	"log"
    	"math/rand"
    	"net"
    	"net/url"
    	"os"
    	"path"
    	"strings"
    	"sync"
    	"time"
    
    	grpcprom "github.com/grpc-ecosystem/go-grpc-prometheus"
    	"go.etcd.io/etcd/client/pkg/v3/logutil"
    	"go.etcd.io/etcd/client/pkg/v3/transport"
    	clientv3 "go.etcd.io/etcd/client/v3"
    	"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
    	"go.uber.org/zap"
    	"go.uber.org/zap/zapcore"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:56:39 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	"strings"
    
    	"github.com/hashicorp/go-multierror"
    	"github.com/spf13/cobra"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubectl/pkg/util/podutils"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	ambientutil "istio.io/istio/istioctl/pkg/util/ambient"
    	ztunnelDump "istio.io/istio/istioctl/pkg/writer/ztunnel/configdump"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/attach_detach_controller.go

    func (adc *attachDetachController) GetPluginDir(podUID string) string {
    	return ""
    }
    
    func (adc *attachDetachController) GetVolumeDevicePluginDir(podUID string) string {
    	return ""
    }
    
    func (adc *attachDetachController) GetPodsDir() string {
    	return ""
    }
    
    func (adc *attachDetachController) GetPodVolumeDir(podUID types.UID, pluginName, volumeName string) string {
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. pkg/volume/util/operationexecutor/operation_executor_test.go

    				PodName:    volumetypes.UniquePodName(podName),
    				VolumeName: v1.UniqueVolumeName(secretName),
    				PodUID:     pod.UID,
    			}
    		} else {
    			pod := getTestPodWithGCEPD(podName, pdName)
    			volumesToUnmount[i] = MountedVolume{
    				PodName:    volumetypes.UniquePodName(podName),
    				VolumeName: v1.UniqueVolumeName(pdName),
    				PodUID:     pod.UID,
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

    import org.jetbrains.kotlin.descriptors.CallableDescriptor
    import org.jetbrains.kotlin.diagnostics.Errors
    import org.jetbrains.kotlin.lexer.KtTokens
    import org.jetbrains.kotlin.psi.*
    import org.jetbrains.kotlin.psi.psiUtil.*
    import org.jetbrains.kotlin.resolve.BindingContext
    import org.jetbrains.kotlin.resolve.calls.components.isVararg
    import org.jetbrains.kotlin.resolve.calls.inference.returnTypeOrNothing
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package webhook
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"fmt"
    	"io/ioutil"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"path/filepath"
    	"reflect"
    	"strings"
    	"testing"
    	"text/template"
    	"time"
    
    	utiltesting "k8s.io/client-go/util/testing"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top