Documentation
¶
Index ¶
- func Attestation(report *AttestationReport) ([]byte, error)
- func Exec(out *LogOutput, name string, args ...string) error
- func GetFileHash(fp string) ([]byte, error)
- func GetMrEnclave(file string) ([]byte, error)
- func GlobSortList(patterns []string) ([]string, error)
- func InDir(dir string, run func() error) error
- func Listen(uri *url.URL) (net.Listener, error)
- func NewVsockClient(proxy func(*http.Request) (*url.URL, error)) *http.Client
- func NewVsockTransport(proxy func(*http.Request) (*url.URL, error)) *http.Transport
- func RunNitroEnclave(path string, mem string, debug bool) *exec.Cmd
- func Tar(out *LogOutput, prefix string, filelist []string) (string, error)
- func TarTo(out *LogOutput, dir, tag string, filelist []string) (string, error)
- type AttestationReport
- type GitInfo
- type LogOutput
- type MerkleTreeResult
- type VsockLogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attestation ¶
func Attestation(report *AttestationReport) ([]byte, error)
func GetFileHash ¶
func GetMrEnclave ¶
func GlobSortList ¶
func NewVsockTransport ¶
Types ¶
type AttestationReport ¶
type MerkleTreeResult ¶
func FilesMerkleTree ¶
func FilesMerkleTree(patterns []string, workers int, salt []byte) (*MerkleTreeResult, error)
type VsockLogWriter ¶
type VsockLogWriter struct {
// contains filtered or unexported fields
}
func NewVsockLogWriter ¶
func NewVsockLogWriter(url string) *VsockLogWriter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.