Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 179 for podutil (0.11 sec)

  1. 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)
  2. 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)
  3. pkg/volume/util/io_util.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package util
    
    import (
    	"io/ioutil"
    	"os"
    	"path/filepath"
    )
    
    // IoUtil is a mockable util for common IO operations
    type IoUtil interface {
    	ReadFile(filename string) ([]byte, error)
    	ReadDir(dirname string) ([]os.FileInfo, error)
    	Lstat(name string) (os.FileInfo, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/kubectl-convert/kubectl-convert.go

    	"k8s.io/component-base/cli"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    	"k8s.io/kubernetes/pkg/kubectl/cmd/convert"
    )
    
    func main() {
    	flags := pflag.NewFlagSet("kubectl-convert", pflag.ExitOnError)
    	pflag.CommandLine = flags
    
    	kubeConfigFlags := genericclioptions.NewConfigFlags(true).WithDeprecatedPasswordFlag()
    	kubeConfigFlags.AddFlags(flags)
    	matchVersionKubeConfigFlags := cmdutil.NewMatchVersionFlags(kubeConfigFlags)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubectl/cmd/convert/convert.go

    	o.PrintFlags.AddFlags(cmd)
    
    	cmdutil.AddValidateFlags(cmd)
    	cmdutil.AddFilenameOptionFlags(cmd, &o.FilenameOptions, "to need to get converted.")
    	return cmd
    }
    
    // Complete collects information required to run Convert command from command line.
    func (o *ConvertOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) (err error) {
    	err = o.FilenameOptions.RequireFilenameOrKustomize()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/xml/DomUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/etcd.go

    	"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"
    	etcdphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/etcd"
    	etcdutil "k8s.io/kubernetes/cmd/kubeadm/app/util/etcd"
    )
    
    var (
    	etcdLocalExample = cmdutil.Examples(`
    		# Generates the static Pod manifest file for etcd, functionally
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top