Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceMetadata ¶
type InstanceMetadata interface { Hostname() string TenantID() string SubscriptionID() string Location() string ResourceGroup() string Environment() *azureclient.AROEnvironment }
func New ¶
func New(ctx context.Context, log *logrus.Entry, isLocalDevelopmentMode bool) (InstanceMetadata, error)
New returns a new InstanceMetadata for the given mode, environment, and deployment system
func NewDev ¶
func NewDev(checkEnv bool) (InstanceMetadata, error)
Click to show internal directories.
Click to hide internal directories.