Documentation ¶
Index ¶
- Variables
- func GetEndpointQuantityOfResourceGroup(resources dtypes.ResourceGroup, kind atypes.Endpoint_Kind) uint
- func GetEndpointQuantityOfResourceUnits(r atypes.Resources, kind atypes.Endpoint_Kind) uint
- func LeaseIDToNamespace(lid mtypes.LeaseID) string
- func MakeIPSharingKey(lID mtypes.LeaseID, endpointName string) string
- type ServiceClient
- type ServiceDiscoveryAgent
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrShuttingDown = errors.New("shutting down")
)
Functions ¶
func GetEndpointQuantityOfResourceGroup ¶
func GetEndpointQuantityOfResourceGroup(resources dtypes.ResourceGroup, kind atypes.Endpoint_Kind) uint
func GetEndpointQuantityOfResourceUnits ¶
func GetEndpointQuantityOfResourceUnits(r atypes.Resources, kind atypes.Endpoint_Kind) uint
func LeaseIDToNamespace ¶
LeaseIDToNamespace generates a unique sha256 sum for identifying a provider's object name.
Types ¶
type ServiceClient ¶
type ServiceDiscoveryAgent ¶
type ServiceDiscoveryAgent interface { Stop() GetClient(ctx context.Context, isHTTPS, secure bool) (ServiceClient, error) DiscoverNow() }
Click to show internal directories.
Click to hide internal directories.