Versions in this module Expand all Collapse all v0 v0.9.0-rc8 May 5, 2026 v0.8.1 Apr 24, 2026 Changes in this version + const CoCoChartOCI + const CoCoChartVersion + const CoCoNamespace + const CoCoReleaseName + func ComputeModelHash(modelID string) string + func InstallCoCo(ctx context.Context, opts *CoCoInstallOpts) (string, error) + func MarshalReport(r *AttestationReport) ([]byte, error) + func NewKey(tag, modelHash string) (enclave.Key, error) + func UninstallCoCo(ctx context.Context, opts *CoCoInstallOpts) (string, error) + func UserData(pubkey []byte, modelHash string) ([]byte, error) + func VerifyBinding(quote, pubkey []byte, modelHash string) error + func VerifyNitro(doc []byte, expectedUserData []byte) error + func VerifyNitroWithPCR0(doc []byte, expectedUserData []byte, expectedPCR0 []byte) error + func VerifySNP(report []byte, expectedUserData []byte) error + func VerifyTDX(quote []byte, expectedUserData []byte) error + type AttestationReport struct + ModelHash string + Pubkey string + Quote []byte + TEEType TEEType + Timestamp int64 + func Attest(key enclave.Key, modelHash string) (*AttestationReport, error) + type CoCoInstallOpts struct + DryRun bool + HelmBin string + Kubeconfig string + KubectlBin string + type CoCoRuntimeClass string + const RuntimeQEMUCoCoDev + const RuntimeQEMUSNP + const RuntimeQEMUTDX + func ParseCoCoRuntime(s string) (CoCoRuntimeClass, error) + func ValidCoCoRuntimes() []CoCoRuntimeClass + type CoCoStatus struct + Installed bool + KVMAvailable bool + Namespace string + OperatorReady bool + RuntimeClasses []string + Version string + func CheckCoCo(ctx context.Context, opts *CoCoInstallOpts) (*CoCoStatus, error) + type TEEType string + const TEETypeNitro + const TEETypeSNP + const TEETypeStub + const TEETypeTDX + func ExtractUserData(quote []byte) ([]byte, TEEType, error) + func ParseTEEType(s string) (TEEType, error) + func ValidTEETypes() []TEEType