- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 629 for lake (0.05 sec)
-
pkg/credentialprovider/keyring_test.go
} } func TestDockerKeyringLookup(t *testing.T) { ada := AuthConfig{ Username: "ada", Password: "smash", // Fake value for testing. Email: "******@****.***", } grace := AuthConfig{ Username: "grace", Password: "squash", // Fake value for testing. Email: "******@****.***", } dk := &BasicDockerKeyring{} dk.Add(DockerConfig{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 15 10:47:22 UTC 2023 - 15.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common.go
return nil, errors.Wrap(err, "failed to get server version") } // Get the fake clientset dryRunOpts := apiclient.GetDefaultDryRunClientOptions(dryRunGetter, os.Stdout) // Print GET and LIST requests dryRunOpts.PrintGETAndLIST = true fakeclient := apiclient.NewDryRunClientWithOpts(dryRunOpts) // As we know the return of Discovery() of the fake clientset is of type *fakediscovery.FakeDiscovery // we can convert it to that struct.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10.1K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
client := initFakeKubeClient(t, tc.certificateData) // 4. Read the signed certificate _, _, err := SignCSRK8s(client.Kube(), createFakeCsr(t), "fake-signer", []cert.KeyUsage{cert.UsageAny}, "fake.com", tc.k8sCaCertFile, true, true, 1*time.Second) if tc.expectFail { if err == nil { t.Fatalf("should have failed at updateMutatingWebhookConfig") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" clientset "k8s.io/client-go/kubernetes" "k8s.io/client-go/kubernetes/fake" core "k8s.io/client-go/testing" podutil "k8s.io/kubernetes/pkg/api/v1/pod" "k8s.io/utils/clock" testingclock "k8s.io/utils/clock/testing" "github.com/stretchr/testify/assert" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair_test.go
item: &api.RangeAllocation{ ObjectMeta: metav1.ObjectMeta{ ResourceVersion: "1", }, Range: dst.Range, Data: dst.Data, }, } } func makeFakeClientSet() *fake.Clientset { return fake.NewSimpleClientset() } func makeIPNet(cidr string) *net.IPNet { _, net, _ := netutils.ParseCIDRSloppy(cidr) return net } func TestShouldWorkOnSecondary(t *testing.T) { testCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
numPods := len(test.pods) for i := 0; i < 20; i++ { idx := rand.Perm(numPods) randomizedPods := make([]*v1.Pod, numPods) for j := 0; j < numPods; j++ { randomizedPods[j] = &test.pods[idx[j]] } sort.Sort(ActivePods(randomizedPods)) gotOrder := make([]string, len(randomizedPods)) for i := range randomizedPods { gotOrder[i] = randomizedPods[i].Name }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
pkg/serviceaccount/jwt_test.go
}, "invalid secret lookup": { Token: rsaToken, Client: fake.NewSimpleClientset(serviceAccount), Keys: []interface{}{getPublicKey(rsaPublicKey)}, ExpectedErr: true, ExpectedOK: false, }, "invalid serviceaccount lookup": { Token: rsaToken, Client: fake.NewSimpleClientset(rsaSecret, ecdsaSecret), Keys: []interface{}{getPublicKey(rsaPublicKey)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 17K bytes - Viewed (0) -
cmd/kubemark/app/hollow_node.go
} } // NewHollowNodeCommand creates a *cobra.Command object with default parameters func NewHollowNodeCommand() *cobra.Command { s := &hollowNodeConfig{ NodeLabels: make(map[string]string), ExtendedResources: make(map[string]string), } cmd := &cobra.Command{ Use: "kubemark", Long: "kubemark", RunE: func(cmd *cobra.Command, args []string) error { verflag.PrintAndExitIfRequested()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 11K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go
"k8s.io/apimachinery/pkg/util/dump" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/authentication/request/headerrequest" "k8s.io/apiserver/pkg/server/dynamiccertificates" "k8s.io/client-go/kubernetes/fake" corev1listers "k8s.io/client-go/listers/core/v1" clienttesting "k8s.io/client-go/testing" "k8s.io/client-go/tools/cache" ) var ( someRandomCA = []byte(`-----BEGIN CERTIFICATE-----
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go
metrics.ResetForTest() t.Cleanup(metrics.ResetForTest) // Create the fake terminal size queue and the actualTerminalSizes which // will be received at the opposite websocket endpoint. numSizeQueue := 10000 sizeQueue := newTerminalSizeQueue(numSizeQueue) actualTerminalSizes := make([]remotecommand.TerminalSize, 0, numSizeQueue) // Create upstream fake SPDY server which copies STDIN back onto STDERR stream.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 36.4K bytes - Viewed (0)