Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushBufferOnExit ¶
Types ¶
type AadClient ¶
type AadClient interface {
GetAadToken(ctx context.Context, azureConfig *datamodel.AzureConfig, resource string) (string, error)
}
func NewAadClient ¶
type ImdsClient ¶
type ImdsClient interface { GetMSIToken(ctx context.Context, imdsURL, clientID, resource 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 *zap.Logger) ImdsClient
type SecureTLSBootstrapClientOpts ¶
type SecureTLSBootstrapClientOpts struct { CustomClientID string NextProto string AADResource string LogFormat string Verbose bool }
func (SecureTLSBootstrapClientOpts) Validate ¶
func (o SecureTLSBootstrapClientOpts) Validate() error
type TLSBootstrapClient ¶
TLSBootstrapClient retrieves tokens for performing node TLS bootstrapping.
func NewTLSBootstrapClient ¶
func NewTLSBootstrapClient(logger *zap.Logger, opts SecureTLSBootstrapClientOpts) TLSBootstrapClient
Source Files
¶
Click to show internal directories.
Click to hide internal directories.