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 (gce GCEProvider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
- func (gce GCEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
- func (gce GCEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
- func (gce GCEProvider) GetAccountDomainServiceFromMeta(base string) (string, string, string, error)
- func (gce GCEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
- func (gce GCEProvider) GetCsrDn() pkix.Name
- func (gce GCEProvider) GetEmail(_ string) []string
- func (gce GCEProvider) GetHostname(fqdn bool) string
- func (gce GCEProvider) GetName() string
- func (gce GCEProvider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
- func (gce GCEProvider) GetSanDns(_ string, _ bool, _ bool, _ []string) []string
- func (gce GCEProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.IP
- func (gce GCEProvider) GetSanUri(_ string, _ ip.Opts, _, _ string) []*url.URL
- func (gce GCEProvider) GetSuffixes() []string
- func (gce GCEProvider) PrepareKey(_ 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 (gce GCEProvider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
func (GCEProvider) CloudAttestationData ¶
func (gce GCEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error)
func (GCEProvider) GetAccessManagementProfileFromMeta ¶
func (gce GCEProvider) GetAccessManagementProfileFromMeta(base string) (string, error)
func (GCEProvider) GetAccountDomainServiceFromMeta ¶
func (GCEProvider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (gce GCEProvider) GetAdditionalSshHostPrincipals(base string) (string, error)
func (GCEProvider) GetCsrDn ¶
func (gce GCEProvider) GetCsrDn() pkix.Name
func (GCEProvider) GetEmail ¶
func (gce GCEProvider) GetEmail(_ string) []string
func (GCEProvider) GetHostname ¶
func (gce GCEProvider) GetHostname(fqdn bool) string
GetHostname returns the hostname as per the provider
func (GCEProvider) GetName ¶
func (gce GCEProvider) GetName() string
GetName returns the name of the current provider
func (GCEProvider) GetRoleDnsNames ¶
func (gce GCEProvider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
func (GCEProvider) GetSuffixes ¶ added in v1.11.54
func (gce GCEProvider) GetSuffixes() []string
func (GCEProvider) PrepareKey ¶
func (gce GCEProvider) PrepareKey(_ string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.