Documentation ¶
Index ¶
- func GetAttestationData(domain, service, account, region string, useRegionalSTS bool, ...) (*attestation.AttestationData, error)
- func GetEKSPodId() string
- func GetRoleCertificate(ztsUrl, svcKeyFile, svcCertFile 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttestationData ¶
func GetAttestationData(domain, service, account, region string, useRegionalSTS bool, sysLogger io.Writer) (*attestation.AttestationData, error)
New creates a new AttestationData with values fed to it and from the result of STS Assume Role
func GetEKSPodId ¶
func GetEKSPodId() string
func GetRoleCertificate ¶
func RefreshInstance ¶
func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, region string, sysLogger io.Writer) error
func RegisterInstance ¶
func RegisterInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, region string, sysLogger io.Writer) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.