Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an Azure Client struct. It implements EndpointsProvider interface
func NewProvider ¶
func NewProvider(subscriptionID string, azureAuthFile string, stop chan struct{}, kubeController k8s.Controller, azureResourceClient ResourceClient, providerIdent string) (Client, error)
NewProvider creates an Azure Client
func (Client) GetAnnouncementsChannel ¶
func (az Client) GetAnnouncementsChannel() <-chan interface{}
GetAnnouncementsChannel returns the announcement channel for the Azure endponits provider.
func (Client) GetID ¶
GetID returns the unique identifier for the compute provider. This string will be used by logging tools to contextualize messages.
func (Client) GetServicesForServiceAccount ¶ added in v0.4.0
func (az Client) GetServicesForServiceAccount(svcAccount service.K8sServiceAccount) ([]service.MeshService, error)
GetServicesForServiceAccount retrieves a list of services for the given service account.
func (Client) ListEndpointsForService ¶
func (az Client) ListEndpointsForService(svc service.MeshService) []endpoint.Endpoint
ListEndpointsForService implements endpoints.Provider interface and returns the IP addresses and Ports for the given mesh service.
type ResourceClient ¶
type ResourceClient interface { // ListAzureResources lists the AzureResources, which will become mapping of a service to an Azure URI. ListAzureResources() []*osm.AzureResource }
ResourceClient is an interface defining necessary functions to list the AzureResources.