Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
GetIdentity() (*api.ServiceInstance, error)
}
Provider provides access to the identity of the locally running service instance.
func New ¶
New creates an identity provider which exposes the identity specified by the given configuration parameters (service name, tags, endpoint, etc). If a pod name is specified, then missing parameters may be automatically fetched from Kubernetes API using the given client.
Source Files
¶
- composite.go
- kubernetes.go
- provider.go
- static.go
Click to show internal directories.
Click to hide internal directories.