 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	ControllerName = "hashicorp.com/consul-api-gateway-controller"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type ConsulNamespaceConfig ¶
type ConsulNamespaceConfig struct {
	ConsulDestinationNamespace      string
	MirrorKubernetesNamespaces      bool
	MirrorKubernetesNamespacePrefix string
}
    func (ConsulNamespaceConfig) Namespace ¶
func (c ConsulNamespaceConfig) Namespace(namespace string) string
type K8sSecretClient ¶
type K8sSecretClient struct {
	// contains filtered or unexported fields
}
    K8sSecretClient acts as a secret fetcher for kubernetes secrets
func NewK8sSecretClient ¶
func NewK8sSecretClient(logger hclog.Logger, config *rest.Config) (*K8sSecretClient, error)
NewK8sSecretClient initializes a K8sSecretClient instance
func (*K8sSecretClient) AddToMultiClient ¶
func (c *K8sSecretClient) AddToMultiClient(m *envoy.MultiSecretClient)
type Kubernetes ¶
type Kubernetes struct {
	// contains filtered or unexported fields
}
    func New ¶
func New(logger hclog.Logger, config *Config) (*Kubernetes, error)
func (*Kubernetes) SetConsul ¶
func (k *Kubernetes) SetConsul(consul *api.Client)
func (*Kubernetes) SetStore ¶
func (k *Kubernetes) SetStore(store store.Store)
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
          
            mocks
            
            
          
           Package mocks is a generated GoMock package. | Package mocks is a generated GoMock package. | 
| 
          
            mocks
            
            
          
           Package mocks is a generated GoMock package. | Package mocks is a generated GoMock package. | 
| 
          
            mocks
            
            
          
           Package mocks is a generated GoMock package. | Package mocks is a generated GoMock package. | 
 Click to show internal directories. 
   Click to hide internal directories.