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