server

package
v0.0.0-...-9f270a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	KeylimeVerifierHost  string `hcl:"keylime_verifier_host"`
	KeylimeVerifierPort  string `hcl:"keylime_verifier_port"`
	KeylimeTlsCACertFile string `hcl:"keylime_tls_ca_cert_file"`
	KeylimeTlsCertFile   string `hcl:"keylime_tls_cert_file"`
	KeylimeTlsKeyFile    string `hcl:"keylime_tls_key_file"`
	// contains filtered or unexported fields
}

type KeylimeVerifierStatusResponse

type KeylimeVerifierStatusResponse struct {
	Code    int    `json:"code"`
	Status  string `json:"status"`
	Results struct {
		OperationalState int `json:"operational_state"`
	} `json:"results"`
}

type KeylimeVerifierValidateResponse

type KeylimeVerifierValidateResponse struct {
	Code    int    `json:"code"`
	Status  string `json:"status"`
	Results struct {
		Valid int `json:"valid"`
	} `json:"results"`
}

type Plugin

type Plugin struct {
	nodeattestorv1.UnimplementedNodeAttestorServer
	configv1.UnimplementedConfigServer
	// contains filtered or unexported fields
}

func New

func New() *Plugin

func (*Plugin) Attest

func (*Plugin) Configure

func (*Plugin) SetLogger

func (p *Plugin) SetLogger(logger hclog.Logger)

SetLogger sets this plugin's logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL