...

Source file src/edge-infra.dev/pkg/edge/api/utils/cluster_helper.go

Documentation: edge-infra.dev/pkg/edge/api/utils

     1  package utils
     2  
     3  import (
     4  	"encoding/base64"
     5  )
     6  
     7  // ToBase64 converts a byte to a base64 encoded string.
     8  func ToBase64(value []byte) string {
     9  	return base64.StdEncoding.EncodeToString(value)
    10  }
    11  

View as plain text