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(ctx context.Context, clientID, clientSecret, tenantID string, scopes []string) (string, error)
}
func NewAadClient ¶
type ImdsClient ¶
type ImdsClient interface { GetMSIToken(ctx context.Context, imdsURL, clientID string) (*datamodel.AADTokenResponse, error) GetInstanceData(ctx context.Context, imdsURL string) (*datamodel.VMSSInstanceData, error) GetAttestedData(ctx context.Context, imdsURL, nonce string) (*datamodel.VMSSAttestedData, error) }
func NewImdsClient ¶
func NewImdsClient(logger *logrus.Logger) ImdsClient
type TLSBootstrapClient ¶
TLSBootstrapClient retrieves tokens for performing node TLS bootstrapping.
func NewTLSBootstrapClient ¶
func NewTLSBootstrapClient(logger *logrus.Logger, clientID, nextProto string) TLSBootstrapClient
Click to show internal directories.
Click to hide internal directories.