Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAgentIdentity ¶
type IAgentIdentity interface { InstanceID() (string, error) ShortInstanceID() (string, error) Region() (string, error) AvailabilityZone() (string, error) AvailabilityZoneId() (string, error) InstanceType() (string, error) Credentials() *credentials.Credentials IdentityType() string GetServiceEndpoint(string) string }
IAgentIdentity defines the interface identity cacher exposes
type IAgentIdentityInner ¶
type IAgentIdentityInner interface { InstanceID() (string, error) Region() (string, error) AvailabilityZone() (string, error) AvailabilityZoneId() (string, error) InstanceType() (string, error) IsIdentityEnvironment() bool Credentials() *credentials.Credentials IdentityType() string }
IAgentIdentityInner defines the interface each identity needs to expose
type ICredentialRefresherAgentIdentity ¶
type ICredentialRefresherAgentIdentity interface {
CredentialProvider() credentialproviders.IRemoteProvider
}
ICredentialRefresherAgentIdentity defines the interface for identities that require custom credential refresh (e.g. onprem, ec2)
type ICredentialRefresherProvider ¶
type ICredentialRefresherProvider interface {}
ICredentialRefresherProvider defines the interface for credential providers that require custom credential refresh
type IInnerIdentityGetter ¶
type IInnerIdentityGetter interface {
GetInner() IAgentIdentityInner
}
type IMetadataIdentity ¶
IMetadataIdentity defines the interface for identities that will query metadata for VPC CIDR block information (ec2, ecs)
Directories ¶
Path | Synopsis |
---|---|
availableidentities
|
|
ec2/ec2detector
Package ec2detector implements the detection of EC2 using specific sub-detectors
|
Package ec2detector implements the detection of EC2 using specific sub-detectors |
ec2/ec2detector/nitrodetector
Package nitrodetector implements logic to determine if we are running on an nitro hypervisor
|
Package nitrodetector implements logic to determine if we are running on an nitro hypervisor |
ec2/ec2detector/xendetector
Package xendetector implements logic to determine if we are running on an amazon Xen hypervisor
|
Package xendetector implements logic to determine if we are running on an amazon Xen hypervisor |
onpremprovider
package onprem contains functions that help procure the managed instance auth credentials dependencies
|
package onprem contains functions that help procure the managed instance auth credentials dependencies |
Click to show internal directories.
Click to hide internal directories.