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(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
- func (eks EKSProvider) CloudAttestationData(_, _, _ string) (string, error)
- func (eks EKSProvider) GetAccessManagementProfileFromMeta(_ string) (string, error)
- func (eks EKSProvider) GetAccountDomainServiceFromMeta(_ string) (string, string, string, error)
- func (eks EKSProvider) GetAdditionalSshHostPrincipals(_ string) (string, error)
- func (eks EKSProvider) GetCsrDn() pkix.Name
- func (eks EKSProvider) GetEmail(_ string) []string
- func (eks EKSProvider) GetHostname(fqdn bool) string
- func (eks EKSProvider) GetName() string
- func (eks EKSProvider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
- func (eks EKSProvider) GetSanDns(_ string, _ bool, _ bool, _ []string) []string
- func (eks EKSProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.IP
- func (eks EKSProvider) GetSanUri(_ string, _ ip.Opts, _, _ string) []*url.URL
- func (eks EKSProvider) GetSuffixes() []string
- func (eks EKSProvider) PrepareKey(_ 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(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
func (EKSProvider) CloudAttestationData ¶ added in v1.11.25
func (eks EKSProvider) CloudAttestationData(_, _, _ string) (string, error)
func (EKSProvider) GetAccessManagementProfileFromMeta ¶ added in v1.11.25
func (eks EKSProvider) GetAccessManagementProfileFromMeta(_ string) (string, error)
func (EKSProvider) GetAccountDomainServiceFromMeta ¶ added in v1.11.25
func (EKSProvider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (eks EKSProvider) GetAdditionalSshHostPrincipals(_ string) (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(_ string) []string
func (EKSProvider) GetHostname ¶ added in v1.11.19
func (eks EKSProvider) GetHostname(fqdn bool) 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(_ *x509.Certificate, _ string) []string
func (EKSProvider) GetSuffixes ¶ added in v1.11.54
func (eks EKSProvider) GetSuffixes() []string
func (EKSProvider) PrepareKey ¶ added in v1.11.19
func (eks EKSProvider) PrepareKey(_ string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.