cache

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	// contains filtered or unexported fields
}

func NewCache

func NewCache() *Cache

func (*Cache) Discovery

func (c *Cache) Discovery() *CacheDiscoveryManifest

func (*Cache) Ingress

func (c *Cache) Ingress() *CacheIngressManifest

func (*Cache) Node

func (c *Cache) Node() *CacheNodeManifest

type CacheDiscoveryManifest

type CacheDiscoveryManifest struct {
	// contains filtered or unexported fields
}

func NewCacheDiscoveryManifest

func NewCacheDiscoveryManifest() *CacheDiscoveryManifest

func (*CacheDiscoveryManifest) Clear

func (c *CacheDiscoveryManifest) Clear(discovery string)

func (*CacheDiscoveryManifest) Flush

func (c *CacheDiscoveryManifest) Flush(discovery string)

func (*CacheDiscoveryManifest) Get

func (*CacheDiscoveryManifest) SetSubnetManifest

func (c *CacheDiscoveryManifest) SetSubnetManifest(cidr string, s *types.SubnetManifest)

type CacheIngressManifest

type CacheIngressManifest struct {
	// contains filtered or unexported fields
}

func NewCacheIngressManifest

func NewCacheIngressManifest() *CacheIngressManifest

func (*CacheIngressManifest) Clear

func (c *CacheIngressManifest) Clear(ingress string)

func (*CacheIngressManifest) DelDiscovery

func (c *CacheIngressManifest) DelDiscovery(selflink string)

func (*CacheIngressManifest) DelIngress

func (c *CacheIngressManifest) DelIngress(selflink string)

func (*CacheIngressManifest) DelRouteManifest

func (c *CacheIngressManifest) DelRouteManifest(ingress, name string)

func (*CacheIngressManifest) Flush

func (c *CacheIngressManifest) Flush(ingress string)

func (*CacheIngressManifest) Get

func (*CacheIngressManifest) GetResolvers

func (c *CacheIngressManifest) GetResolvers() map[string]*types.ResolverManifest

func (*CacheIngressManifest) GetRoutes

func (c *CacheIngressManifest) GetRoutes(ingress string) map[string]*types.RouteManifest

func (*CacheIngressManifest) SetDiscovery

func (c *CacheIngressManifest) SetDiscovery(discovery *types.Discovery)

func (*CacheIngressManifest) SetEndpointManifest

func (c *CacheIngressManifest) SetEndpointManifest(addr string, s *types.EndpointManifest)

func (*CacheIngressManifest) SetIngress

func (c *CacheIngressManifest) SetIngress(ingress *types.Ingress)

func (*CacheIngressManifest) SetResolvers

func (c *CacheIngressManifest) SetResolvers()

func (*CacheIngressManifest) SetRouteManifest

func (c *CacheIngressManifest) SetRouteManifest(ingress, name string, s *types.RouteManifest)

func (*CacheIngressManifest) SetSubnetManifest

func (c *CacheIngressManifest) SetSubnetManifest(cidr string, s *types.SubnetManifest)

type CacheNodeManifest

type CacheNodeManifest struct {
	// contains filtered or unexported fields
}

func NewCacheNodeManifest

func NewCacheNodeManifest() *CacheNodeManifest

func (*CacheNodeManifest) Clear

func (c *CacheNodeManifest) Clear(node string)

func (*CacheNodeManifest) DelDiscovery

func (c *CacheNodeManifest) DelDiscovery(selflink string)

func (*CacheNodeManifest) DelIngress

func (c *CacheNodeManifest) DelIngress(selflink string)

func (*CacheNodeManifest) DelNode

func (c *CacheNodeManifest) DelNode(node *types.Node)

func (*CacheNodeManifest) DelPodManifest

func (c *CacheNodeManifest) DelPodManifest(node, pod string)

func (*CacheNodeManifest) DelVolumeManifest

func (c *CacheNodeManifest) DelVolumeManifest(node, volume string)

func (*CacheNodeManifest) Flush

func (c *CacheNodeManifest) Flush(node string)

func (*CacheNodeManifest) Get

func (*CacheNodeManifest) GetConfigs

func (c *CacheNodeManifest) GetConfigs() map[string]*types.ConfigManifest

func (*CacheNodeManifest) GetResolvers

func (c *CacheNodeManifest) GetResolvers() map[string]*types.ResolverManifest

func (*CacheNodeManifest) SetConfigManifest

func (c *CacheNodeManifest) SetConfigManifest(name string, s *types.ConfigManifest)

func (*CacheNodeManifest) SetDiscovery

func (c *CacheNodeManifest) SetDiscovery(discovery *types.Discovery)

func (*CacheNodeManifest) SetEndpointManifest

func (c *CacheNodeManifest) SetEndpointManifest(addr string, s *types.EndpointManifest)

func (*CacheNodeManifest) SetIngress

func (c *CacheNodeManifest) SetIngress(ingress *types.Ingress)

func (*CacheNodeManifest) SetNode

func (c *CacheNodeManifest) SetNode(node *types.Node)

func (*CacheNodeManifest) SetPodManifest

func (c *CacheNodeManifest) SetPodManifest(node, pod string, s *types.PodManifest)

func (*CacheNodeManifest) SetResolvers

func (c *CacheNodeManifest) SetResolvers()

func (*CacheNodeManifest) SetSecretManifest

func (c *CacheNodeManifest) SetSecretManifest(name string, s *types.SecretManifest)

func (*CacheNodeManifest) SetSubnetManifest

func (c *CacheNodeManifest) SetSubnetManifest(cidr string, s *types.SubnetManifest)

func (*CacheNodeManifest) SetVolumeManifest

func (c *CacheNodeManifest) SetVolumeManifest(node, volume string, s *types.VolumeManifest)

type Cleaner

type Cleaner func(ctx context.Context) error

Jump to

Keyboard shortcuts

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