Documentation ¶
Index ¶
- func GetGCEAccessProfile(configFile, metaEndpoint string, provider provider.Provider) (*options.AccessProfileConfig, error)
- func GetGCEConfig(configFile, profileConfigFile, metaEndpoint, region string, ...) (*options.Config, *options.AccessProfileConfig, error)
- type GCEProvider
- func (gke GCEProvider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
- func (gke GCEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
- func (tp GCEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
- func (gke GCEProvider) GetAccountDomainServiceFromMeta(base string) (string, string, string, error)
- func (tp GCEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
- func (gke GCEProvider) GetCsrDn() pkix.Name
- func (gke GCEProvider) GetEmail(service string) []string
- func (gke GCEProvider) GetHostname(fqdn bool) string
- func (gke GCEProvider) GetName() string
- func (gke GCEProvider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
- func (gke GCEProvider) GetSanDns(service string, includeHost bool, wildcard bool, cnames []string) []string
- func (gke GCEProvider) GetSanIp(docIp map[string]bool, ips []net.IP, opts ip.Opts) []net.IP
- func (gke GCEProvider) GetSanUri(svc string, opts ip.Opts, spiffeTrustDomain, spiffeNamespace string) []*url.URL
- func (gke GCEProvider) GetSuffix() string
- func (gke GCEProvider) PrepareKey(file string) (crypto.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGCEAccessProfile ¶
func GetGCEConfig ¶
Types ¶
type GCEProvider ¶
type GCEProvider struct {
Name string
}
func (GCEProvider) AttestationData ¶
func (gke GCEProvider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
func (GCEProvider) CloudAttestationData ¶
func (gke GCEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
func (GCEProvider) GetAccessManagementProfileFromMeta ¶
func (tp GCEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
func (GCEProvider) GetAccountDomainServiceFromMeta ¶
func (GCEProvider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (tp GCEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
func (GCEProvider) GetCsrDn ¶
func (gke GCEProvider) GetCsrDn() pkix.Name
func (GCEProvider) GetEmail ¶
func (gke GCEProvider) GetEmail(service string) []string
func (GCEProvider) GetHostname ¶
func (gke GCEProvider) GetHostname(fqdn bool) string
GetHostname returns the hostname as per the provider
func (GCEProvider) GetName ¶
func (gke GCEProvider) GetName() string
GetName returns the name of the current provider
func (GCEProvider) GetRoleDnsNames ¶
func (gke GCEProvider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
func (GCEProvider) GetSuffix ¶
func (gke GCEProvider) GetSuffix() string
func (GCEProvider) PrepareKey ¶
func (gke GCEProvider) PrepareKey(file string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.