Documentation ¶
Index ¶
- func GetGKEAccessProfile(configFile, metaEndpoint string, provider provider.Provider) (*options.AccessProfileConfig, error)
- func GetGKEConfig(configFile, profileConfigFile, metaEndpoint, region string, ...) (*options.Config, *options.AccessProfileConfig, error)
- func GetGKEPodId() string
- type GKEProvider
- func (gke GKEProvider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
- func (gke GKEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
- func (gke GKEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
- func (gke GKEProvider) GetAccountDomainServiceFromMeta(base string) (string, string, string, error)
- func (gke GKEProvider) GetAdditionalSshHostPrincipals(_ string) (string, error)
- func (gke GKEProvider) GetCsrDn() pkix.Name
- func (gke GKEProvider) GetEmail(_ string) []string
- func (gke GKEProvider) GetHostname(fqdn bool) string
- func (gke GKEProvider) GetName() string
- func (gke GKEProvider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
- func (gke GKEProvider) GetSanDns(_ string, _ bool, _ bool, _ []string) []string
- func (gke GKEProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.IP
- func (gke GKEProvider) GetSanUri(_ string, _ ip.Opts, _, _ string) []*url.URL
- func (gke GKEProvider) GetSuffixes() []string
- func (gke GKEProvider) PrepareKey(_ string) (crypto.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGKEAccessProfile ¶
func GetGKEConfig ¶
func GetGKEPodId ¶
func GetGKEPodId() string
Types ¶
type GKEProvider ¶
type GKEProvider struct {
Name string
}
func (GKEProvider) AttestationData ¶
func (gke GKEProvider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
func (GKEProvider) CloudAttestationData ¶
func (gke GKEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
func (GKEProvider) GetAccessManagementProfileFromMeta ¶
func (gke GKEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
func (GKEProvider) GetAccountDomainServiceFromMeta ¶
func (GKEProvider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (gke GKEProvider) GetAdditionalSshHostPrincipals(_ string) (string, error)
func (GKEProvider) GetCsrDn ¶
func (gke GKEProvider) GetCsrDn() pkix.Name
func (GKEProvider) GetEmail ¶
func (gke GKEProvider) GetEmail(_ string) []string
func (GKEProvider) GetHostname ¶
func (gke GKEProvider) GetHostname(fqdn bool) string
GetHostname returns the hostname as per the provider
func (GKEProvider) GetName ¶
func (gke GKEProvider) GetName() string
GetName returns the name of the current provider
func (GKEProvider) GetRoleDnsNames ¶
func (gke GKEProvider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
func (GKEProvider) GetSuffixes ¶ added in v1.11.54
func (gke GKEProvider) GetSuffixes() []string
func (GKEProvider) PrepareKey ¶
func (gke GKEProvider) PrepareKey(_ string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.