istio: istio.io/istio/pkg/kube/secretcontroller Index | Files

package secretcontroller

import "istio.io/istio/pkg/kube/secretcontroller"

Index

Package Files

secretcontroller.go

Constants

const (
    MultiClusterSecretLabel = "istio/multiCluster"
)

Variables

var CreateInterfaceFromClusterConfig = kube.CreateInterfaceFromClusterConfig

CreateInterfaceFromClusterConfig is a unit test override variable for interface create. DO NOT USE - TEST ONLY.

var LoadKubeConfig = clientcmd.Load

LoadKubeConfig is a unit test override variable for loading the k8s config. DO NOT USE - TEST ONLY.

var ValidateClientConfig = clientcmd.Validate

func StartSecretController Uses

func StartSecretController(k8s kubernetes.Interface,
    addCallback addSecretCallback,
    removeCallback removeSecretCallback,
    namespace string) error

StartSecretController creates the secret controller.

type ClusterStore Uses

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

ClusterStore is a collection of clusters

type Controller Uses

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

Controller is the controller implementation for Secret resources

func NewController Uses

func NewController(
    kubeclientset kubernetes.Interface,
    namespace string,
    cs *ClusterStore,
    addCallback addSecretCallback,
    removeCallback removeSecretCallback) *Controller

NewController returns a new secret controller

func (*Controller) Run Uses

func (c *Controller) Run(stopCh <-chan struct{})

Run starts the controller until it receives a message over stopCh

type RemoteCluster Uses

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

RemoteCluster defines cluster structZZ

Package secretcontroller imports 14 packages (graph) and is imported by 7 packages. Updated 2019-10-19. Refresh now. Tools for package owners.