Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Encode (0.15 sec)

  1. common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto

    option go_package = "k8s.io/api/apiserverinternal/v1alpha1";
    
    // An API server instance reports the version it can decode and the version it
    // encodes objects to when persisting objects in the backend.
    message ServerStorageVersion {
      // The ID of the reporting API server.
      optional string apiServerID = 1;
    
      // The API server encodes the object to this version when persisting it in
      // the backend (e.g., etcd).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-dump.go

    // Convert the generated YAML to pretty JSON.
    func yamlToPrettyJSON(yml string) (string, error) {
    	// YAML objects are not completely compatible with JSON
    	// objects. Let yaml.YAMLToJSON handle the edge cases and
    	// we'll re-encode the result to pretty JSON.
    	uglyJSON, err := yaml.YAMLToJSON([]byte(yml))
    	if err != nil {
    		return "", err
    	}
    	var decoded any
    	if uglyJSON[0] == '[' {
    		decoded = make([]any, 0)
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

      // with a registered type. Most likely, nothing should be done with this
      // except for passing it through the system.
      optional bytes raw = 2;
    
      // ContentEncoding is encoding used to encode 'Raw' data.
      // Unspecified means no encoding.
      optional string contentEncoding = 3;
    
      // ContentType  is serialization method used to serialize 'Raw'.
      // Unspecified means ContentTypeJSON.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/util.go

    	if err != nil {
    		return SecretItem{}, fmt.Errorf("error building secret: %v", err)
    	}
    
    	return secret, nil
    }
    
    func secretMetaFromCert(rawCert []byte) (SecretMeta, error) {
    	block, _ := pem.Decode(rawCert)
    	if block == nil {
    		return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM")
    	}
    	cert, err := x509.ParseCertificate(block.Bytes)
    	if err != nil {
    		return SecretMeta{}, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      repeated CertificateSigningRequest items = 2;
    }
    
    // CertificateSigningRequestSpec contains the certificate request.
    message CertificateSigningRequestSpec {
      // Base64-encoded PKCS#10 CSR data
      // +listType=atomic
      optional bytes request = 1;
    
      // Requested signer for the request. It is a qualified name in the form:
      // `scope-hostname.io/name`.
      // If empty, it will be defaulted:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/pod_cache.go

    		if existing.Netns.Inode() == workload.Netns.Inode() {
    			workload.Netns.Close()
    			// Replace the workload, but keep the old Netns
    			p.currentPodCache[uid] = WorkloadInfo{
    				Workload: workload.Workload,
    				Netns:    existing.Netns,
    			}
    			// already in cache
    			return existing.Netns
    		}
    		log.Debug("netns inode mismatch, using the new one")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		}
    	}
    
    	// Sort by name, node
    	sort.Slice(verifiedWorkloads, func(i, j int) bool {
    		in := verifiedWorkloads[i].Namespace + "." + verifiedWorkloads[i].Name
    		jn := verifiedWorkloads[j].Namespace + "." + verifiedWorkloads[j].Name
    		if in != jn {
    			return in < jn
    		}
    		iNode := verifiedWorkloads[i].Node
    		jNode := verifiedWorkloads[j].Node
    		return iNode < jNode
    	})
    
    	if filter.Verbose {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns_other.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	return 0, fmt.Errorf("unable to get inode os not supported")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 781 bytes
    - Viewed (0)
  9. istioctl/pkg/writer/table/writer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package table
    
    import (
    	"fmt"
    	"io"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/fatih/color"
    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  10. .devcontainer/devcontainer.json

        "ghcr.io/mpriscella/features/kind:1": {}
      },
      "customizations": {
        "vscode": {
          "extensions": [
            "golang.go",
            "rust-lang.rust-analyzer",
            "eamodio.gitlens",
            "zxh404.vscode-proto3",
            "ms-azuretools.vscode-docker",
            "redhat.vscode-yaml",
            "IBM.output-colorizer"
          ],
          "settings": {
            "files.eol": "\n",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 879 bytes
    - Viewed (1)
Back to top