Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 395 for podutil (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/tracing_test.go

    		t.Run(tc.name, func(t *testing.T) {
    			proxyConfig := fmt.Sprintf("test-tracing-config-%s", tc.name)
    			if tc.createFile {
    				f, err := ioutil.TempFile("", proxyConfig)
    				if err != nil {
    					t.Fatal(err)
    				}
    				defer os.Remove(f.Name())
    				if err := ioutil.WriteFile(f.Name(), []byte(tc.contents), os.FileMode(0755)); err != nil {
    					t.Fatal(err)
    				}
    				proxyConfig = f.Name()
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    	testCases := []struct {
    		name             string
    		podUID           types.UID
    		spec             func(string, []string) *volume.Spec
    		shouldFail       bool
    		exitError        error
    		createAttachment bool
    	}{
    		{
    			name:   "setup with correct persistent volume source should result in finish exit status",
    			podUID: types.UID(fmt.Sprintf("%08X", rand.Uint64())),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolByPsiTest.kt

    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.psi.KtDeclaration
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.psiUtil.collectDescendantsOfType
    import org.jetbrains.kotlin.test.services.TestServices
    
    abstract class AbstractSymbolByPsiTest : AbstractSymbolTest() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    import (
    	"bytes"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/manager.go

    	for _, claimInfo := range m.cache.claimInfo {
    		for podUID := range claimInfo.PodUIDs {
    			if activePods.Has(podUID) {
    				continue
    			}
    			if inactivePodClaims[podUID] == nil {
    				inactivePodClaims[podUID] = &podClaims{
    					uid:        types.UID(podUID),
    					namespace:  claimInfo.Namespace,
    					claimNames: []string{},
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. test/const7.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check that the compiler refuses excessively long constants.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"strings"
    )
    
    // testProg creates a package called name, with path dir/name.go,
    // which declares an untyped constant of the given length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package webhook
    
    import (
    	stdjson "encoding/json"
    	"fmt"
    	"io"
    	"io/ioutil"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	"k8s.io/apimachinery/pkg/runtime"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeletphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet"
    )
    
    var (
    	kubeletStartPhaseExample = cmdutil.Examples(`
    		# Writes a dynamic environment file with kubelet flags from a InitConfiguration file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/security/src/main/java/org/gradle/plugins/signing/signatory/pgp/PgpSignatory.java

    import org.bouncycastle.openpgp.PGPPrivateKey;
    import org.bouncycastle.openpgp.PGPSecretKey;
    import org.bouncycastle.openpgp.PGPSignature;
    import org.bouncycastle.openpgp.PGPSignatureGenerator;
    import org.bouncycastle.openpgp.PGPUtil;
    import org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor;
    import org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder;
    import org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_cache.txt

    		w.Write([]byte("not equal"))
    	}
    }
    -- empty/empty.go --
    package empty
    -- contains_files/contains_files.go --
    package main
    
    import (
    	"fmt"
    	"path/filepath"
    	"io/ioutil"
    	"os"
    )
    
    func main() {
    	infos, err := ioutil.ReadDir(filepath.Clean(os.Args[1]))
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	if len(infos) == 0 {
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top