Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecCredential ¶
func GetExecCredential(logger *logrus.Logger) (*datamodel.ExecCredential, error)
Types ¶
type AadClient ¶
type AadClient interface {
GetAadToken(clientID, clientSecret, tenantID string, scopes []string) (string, error)
}
func NewAadClient ¶
type ImdsClient ¶
type ImdsClient interface {
GetMSIToken(clientID string) (*datamodel.TokenResponseJSON, error)
GetInstanceData() (*datamodel.VmssInstanceData, error)
GetAttestedData(nonce string) (*datamodel.VmssAttestedData, error)
SetImdsURL(imdsURL string)
}
func NewImdsClient ¶
func NewImdsClient(logger *logrus.Logger, imdsURL string) ImdsClient
type TLSBootstrapClient ¶
func NewTLSBootstrapClient ¶
func NewTLSBootstrapClient(logger *logrus.Logger, clientID, nextProto string) TLSBootstrapClient
Click to show internal directories.
Click to hide internal directories.