agent

package
v1.10.43 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPrevRoleCertDates

func GetPrevRoleCertDates(certFile string) (*rdl.Timestamp, *rdl.Timestamp, error)

func GetRoleCertificate

func GetRoleCertificate(ztsUrl, svcKeyFile, svcCertFile string, opts *options.Options) bool

func RefreshInstance

func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options) error

func RegisterInstance

func RegisterInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, docExpiryCheck bool) error

func RoleKey

func RoleKey(rotateKey bool, svcKey string) (*rsa.PrivateKey, error)

func RunAgent

func RunAgent(siaCmd, siaDir, ztsUrl string, opts *options.Options)

func SaveRoleCertKey

func SaveRoleCertKey(key, cert []byte, role options.Role, opts *options.Options) error

func SaveSvcCertKey

func SaveSvcCertKey(key, cert []byte, svc options.Service, opts *options.Options) error

Types

This section is empty.

Directories

Path Synopsis
devel

Jump to

Keyboard shortcuts

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