Documentation ¶
Index ¶
- Constants
- type Dev
- type Interface
- type Test
- func (t *Test) ACRName() string
- func (t *Test) ACRResourceID() string
- func (p Test) AdminClientAuthorizer() clientauthorizer.ClientAuthorizer
- func (p Test) ArmClientAuthorizer() clientauthorizer.ClientAuthorizer
- func (p Test) ClustersGenevaLoggingConfigVersion() string
- func (p Test) ClustersGenevaLoggingEnvironment() string
- func (p Test) ClustersGenevaLoggingSecret() (*rsa.PrivateKey, *x509.Certificate)
- func (p Test) ClustersKeyvaultURI() string
- func (p Test) CosmosDB() (string, string)
- func (p Test) DatabaseName() string
- func (p Test) DialContext(ctx context.Context, network, address string) (net.Conn, error)
- func (t *Test) Domain() string
- func (t *Test) FPAuthorizer(tenantID, resource string) (autorest.Authorizer, error)
- func (t *Test) GetCertificateSecret(ctx context.Context, secretName string) (key *rsa.PrivateKey, certs []*x509.Certificate, err error)
- func (t *Test) GetSecret(ctx context.Context, secretName string) ([]byte, error)
- func (p Test) InitializeAuthorizers() error
- func (t *Test) Listen() (net.Listener, error)
- func (t *Test) Location() string
- func (t *Test) ManagedDomain(clusterDomain string) (string, error)
- func (p Test) MetricsSocketPath() string
- func (t *Test) ResourceGroup() string
- func (t *Test) SetARMClientAuthorizer(armClientAuthorizer clientauthorizer.ClientAuthorizer)
- func (t *Test) SetAdminClientAuthorizer(adminClientAuthorizer clientauthorizer.ClientAuthorizer)
- func (t *Test) SubscriptionID() string
- func (p Test) Zones(vmSize string) ([]string, error)
Constants ¶
View Source
const ( RPFirstPartySecretName = "rp-firstparty" RPServerSecretName = "rp-server" ClusterLoggingSecretName = "cluster-mdsd" EncryptionSecretName = "encryption-key" RPLoggingSecretName = "rp-mdsd" RPMonitoringSecretName = "rp-mdm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { instancemetadata.InstanceMetadata InitializeAuthorizers() error ArmClientAuthorizer() clientauthorizer.ClientAuthorizer AdminClientAuthorizer() clientauthorizer.ClientAuthorizer ClustersGenevaLoggingConfigVersion() string ClustersGenevaLoggingEnvironment() string ClustersGenevaLoggingSecret() (*rsa.PrivateKey, *x509.Certificate) ClustersKeyvaultURI() string CosmosDB() (string, string) DatabaseName() string DialContext(context.Context, string, string) (net.Conn, error) Domain() string FPAuthorizer(string, string) (autorest.Authorizer, error) GetCertificateSecret(context.Context, string) (*rsa.PrivateKey, []*x509.Certificate, error) GetSecret(context.Context, string) ([]byte, error) Listen() (net.Listener, error) ManagedDomain(string) (string, error) MetricsSocketPath() string Zones(vmSize string) ([]string, error) ACRResourceID() string ACRName() string }
type Test ¶
type Test struct { L net.Listener TestSubscriptionID string TestLocation string TestResourceGroup string TestDomain string TestSecret []byte TLSKey *rsa.PrivateKey TLSCerts []*x509.Certificate // contains filtered or unexported fields }
func (*Test) ACRResourceID ¶
func (Test) AdminClientAuthorizer ¶
func (p Test) AdminClientAuthorizer() clientauthorizer.ClientAuthorizer
func (Test) ArmClientAuthorizer ¶
func (p Test) ArmClientAuthorizer() clientauthorizer.ClientAuthorizer
func (Test) ClustersGenevaLoggingConfigVersion ¶
func (p Test) ClustersGenevaLoggingConfigVersion() string
func (Test) ClustersGenevaLoggingEnvironment ¶
func (p Test) ClustersGenevaLoggingEnvironment() string
func (Test) ClustersGenevaLoggingSecret ¶
func (p Test) ClustersGenevaLoggingSecret() (*rsa.PrivateKey, *x509.Certificate)
func (Test) ClustersKeyvaultURI ¶
func (p Test) ClustersKeyvaultURI() string
func (Test) DatabaseName ¶
func (p Test) DatabaseName() string
func (Test) DialContext ¶
func (*Test) FPAuthorizer ¶
func (t *Test) FPAuthorizer(tenantID, resource string) (autorest.Authorizer, error)
func (*Test) GetCertificateSecret ¶
func (t *Test) GetCertificateSecret(ctx context.Context, secretName string) (key *rsa.PrivateKey, certs []*x509.Certificate, err error)
func (Test) InitializeAuthorizers ¶
func (p Test) InitializeAuthorizers() error
func (Test) MetricsSocketPath ¶
func (p Test) MetricsSocketPath() string
func (*Test) ResourceGroup ¶
func (*Test) SetARMClientAuthorizer ¶
func (t *Test) SetARMClientAuthorizer(armClientAuthorizer clientauthorizer.ClientAuthorizer)
func (*Test) SetAdminClientAuthorizer ¶
func (t *Test) SetAdminClientAuthorizer(adminClientAuthorizer clientauthorizer.ClientAuthorizer)
func (*Test) SubscriptionID ¶
Click to show internal directories.
Click to hide internal directories.