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(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
- func (gke GKEProvider) CloudAttestationData(base, svc, ztSserverName string) (string, error)
- func (tp GKEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
- func (gke GKEProvider) GetAccountDomainServiceFromMeta(base string) (string, string, string, error)
- func (tp GKEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
- func (gke GKEProvider) GetCsrDn() pkix.Name
- func (gke GKEProvider) GetEmail(service string) []string
- func (gke GKEProvider) GetHostname(fqdn bool) string
- func (gke GKEProvider) GetName() string
- func (gke GKEProvider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
- func (gke GKEProvider) GetSanDns(service string, includeHost bool, wildcard bool, cnames []string) []string
- func (gke GKEProvider) GetSanIp(docIp map[string]bool, ips []net.IP, opts ip.Opts) []net.IP
- func (gke GKEProvider) GetSanUri(svc string, opts ip.Opts) []*url.URL
- func (gke GKEProvider) GetSuffix() string
- func (gke GKEProvider) PrepareKey(file 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(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
func (GKEProvider) CloudAttestationData ¶
func (gke GKEProvider) CloudAttestationData(base, svc, ztSserverName string) (string, error)
func (GKEProvider) GetAccessManagementProfileFromMeta ¶
func (tp GKEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
func (GKEProvider) GetAccountDomainServiceFromMeta ¶
func (GKEProvider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (tp GKEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
func (GKEProvider) GetCsrDn ¶
func (gke GKEProvider) GetCsrDn() pkix.Name
func (GKEProvider) GetEmail ¶
func (gke GKEProvider) GetEmail(service 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(cert *x509.Certificate, service string) []string
func (GKEProvider) GetSuffix ¶
func (gke GKEProvider) GetSuffix() string
func (GKEProvider) PrepareKey ¶
func (gke GKEProvider) PrepareKey(file string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.