azure

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheCollection

type CacheCollection struct {
	AzureResource cache.Store
}

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.

func (*Client) Run

func (c *Client) Run(stop <-chan struct{}) error

Run executes informer collection.

type InformerCollection

type InformerCollection struct {
	AzureResource cache.SharedIndexInformer
}

InformerCollection is a struct of the Kubernetes informers used in OSM

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL