Documentation ¶
Index ¶
- func GetEC2AccessProfile(configFile, metaEndpoint string, useRegionalSTS bool, region string) (*options.AccessProfileConfig, error)
- func GetEC2Config(configFile, profileConfigFile, metaEndpoint string, useRegionalSTS bool, ...) (*options.Config, *options.ConfigAccount, *options.AccessProfileConfig, error)
- func GetEC2DocumentDetails(metaEndPoint string) ([]byte, []byte, string, string, string, *time.Time, error)
- func GetECSOnEC2TaskId() string
- type EC2Provider
- func (ec2 EC2Provider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
- func (ec2 EC2Provider) GetCsrDn() pkix.Name
- func (ec2 EC2Provider) GetEmail(service string) []string
- func (ec2 EC2Provider) GetHostname() string
- func (ec2 EC2Provider) GetName() string
- func (ec2 EC2Provider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
- func (ec2 EC2Provider) GetSanDns(service string, includeHost bool, wildcard bool, cnames []string) []string
- func (ec2 EC2Provider) GetSanIp(docIp map[string]bool, ips []net.IP, opts ip.Opts) []net.IP
- func (ec2 EC2Provider) GetSanUri(svc string, opts ip.Opts) []*url.URL
- func (ec2 EC2Provider) GetSuffix() string
- func (ec2 EC2Provider) PrepareKey(file string) (crypto.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEC2AccessProfile ¶ added in v1.11.9
func GetEC2Config ¶ added in v1.10.40
func GetEC2Config(configFile, profileConfigFile, metaEndpoint string, useRegionalSTS bool, region, account string) (*options.Config, *options.ConfigAccount, *options.AccessProfileConfig, error)
func GetEC2DocumentDetails ¶ added in v1.10.40
func GetECSOnEC2TaskId ¶ added in v1.10.40
func GetECSOnEC2TaskId() string
Types ¶
type EC2Provider ¶ added in v1.11.19
type EC2Provider struct {
Name string
}
func (EC2Provider) AttestationData ¶ added in v1.11.19
func (ec2 EC2Provider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
func (EC2Provider) GetCsrDn ¶ added in v1.11.19
func (ec2 EC2Provider) GetCsrDn() pkix.Name
func (EC2Provider) GetEmail ¶ added in v1.11.19
func (ec2 EC2Provider) GetEmail(service string) []string
func (EC2Provider) GetHostname ¶ added in v1.11.19
func (ec2 EC2Provider) GetHostname() string
GetHostname returns the hostname as per the provider
func (EC2Provider) GetName ¶ added in v1.11.19
func (ec2 EC2Provider) GetName() string
GetName returns the name of the current provider
func (EC2Provider) GetRoleDnsNames ¶ added in v1.11.19
func (ec2 EC2Provider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
func (EC2Provider) GetSuffix ¶ added in v1.11.19
func (ec2 EC2Provider) GetSuffix() string
func (EC2Provider) PrepareKey ¶ added in v1.11.19
func (ec2 EC2Provider) PrepareKey(file string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.