agent

package
v1.11.44 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 24 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 GetRoleCertificates added in v1.11.12

func GetRoleCertificates(ztsUrl string, opts *options.Options) (int, int)

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, ztsUrl string, opts *options.Options)

func SaveRoleCertKey

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

func SetupAgent added in v1.11.19

func SetupAgent(opts *options.Options, siaMainDir, siaLinkDir string)

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