agent

package
v1.11.40 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 22 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

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

func RefreshInstance

func RefreshInstance(ztsUrl, metaEndpoint string, opts *options.Options) error

func RegisterInstance

func RegisterInstance(ztsUrl, metaEndpoint string, opts *options.Options, docExpiryCheck bool) error

func RoleKey

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

func RunAgent

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

func SaveRoleCertKey

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

func SetupAgent

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