Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheCollection ¶
CacheCollection is a struct of the Kubernetes caches used in OSM
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a struct for all components necessary to connect to and maintain state of a Kubernetes cluster.
func NewClient ¶
func NewClient(kubeClient kubernetes.Interface, azureResourceKubeConfig *rest.Config, kubeController k8s.Controller, stop chan struct{}, cfg configurator.Configurator) (*Client, error)
NewClient creates the Kubernetes client, which retrieves the AzureResource CRD and Services resources.
func (*Client) ListAzureResources ¶
func (c *Client) ListAzureResources() []*osm.AzureResource
ListAzureResources lists the AzureResource CRD resources.
type InformerCollection ¶
type InformerCollection struct {
AzureResource cache.SharedIndexInformer
}
InformerCollection is a struct of the Kubernetes informers used in OSM
Click to show internal directories.
Click to hide internal directories.