Documentation ¶
Index ¶
- func GetPrevRoleCertDates(certFile string) (*rdl.Timestamp, *rdl.Timestamp, error)
- func GetRoleCertificates(ztsUrl string, opts *options.Options) bool
- func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options) error
- func RegisterInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, ...) error
- func RoleKey(rotateKey bool, svcKey string) (*rsa.PrivateKey, error)
- func RunAgent(siaCmd, ztsUrl string, opts *options.Options)
- func SaveRoleCertKey(key, cert []byte, role options.Role, opts *options.Options) error
- func SetupAgent(opts *options.Options, siaMainDir, siaLinkDir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrevRoleCertDates ¶
func GetRoleCertificates ¶ added in v1.11.12
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 SaveRoleCertKey ¶
func SetupAgent ¶ added in v1.11.19
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.