remoteclusters

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 48 Imported by: 3

Documentation

Index

Constants

View Source
const CASecretName = "cacerts"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

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

func NewCluster

func NewCluster(name string, cfg config.Configuration, ctrl controller.Controller, cl client.Client, k8sConfig []byte, log logr.Logger) (*Cluster, error)

func (*Cluster) Cleanup

func (c *Cluster) Cleanup() error

func (*Cluster) CleanupComponents

func (c *Cluster) CleanupComponents(remoteConfig *istiov1beta1.RemoteIstio, istio *istiov1beta1.Istio) error

func (*Cluster) GetClient

func (c *Cluster) GetClient() (client.Client, error)

func (*Cluster) GetName

func (c *Cluster) GetName() string

func (*Cluster) GetRemoteConfig

func (c *Cluster) GetRemoteConfig() *istiov1beta1.RemoteIstio

func (*Cluster) Reconcile

func (c *Cluster) Reconcile(remoteConfig *istiov1beta1.RemoteIstio, istio *istiov1beta1.Istio) error

func (*Cluster) ReconcileComponents

func (c *Cluster) ReconcileComponents(remoteConfig *istiov1beta1.RemoteIstio, istio *istiov1beta1.Istio) error

func (*Cluster) ReconcileEnabledServiceEndpoints

func (c *Cluster) ReconcileEnabledServiceEndpoints(remoteConfig *istiov1beta1.RemoteIstio, istio *istiov1beta1.Istio) error

func (*Cluster) RemoveRemoteIstioComponents

func (c *Cluster) RemoveRemoteIstioComponents() error

func (*Cluster) Shutdown

func (c *Cluster) Shutdown()

type Manager

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

func NewManager

func NewManager(ctx context.Context) *Manager

func (*Manager) Add

func (m *Manager) Add(cluster *Cluster) error

func (*Manager) Delete

func (m *Manager) Delete(cluster *Cluster) error

func (*Manager) Get

func (m *Manager) Get(name string) (*Cluster, error)

func (*Manager) GetAll

func (m *Manager) GetAll() map[string]*Cluster

Jump to

Keyboard shortcuts

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