Documentation ¶
Index ¶
- Constants
- type Endpoints
- func (*Endpoints) Descriptor() ([]byte, []int)
- func (*Endpoints) ProtoMessage()
- func (m *Endpoints) Reset()
- func (m *Endpoints) String() string
- func (m *Endpoints) XXX_DiscardUnknown()
- func (m *Endpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoints) XXX_Merge(src proto.Message)
- func (m *Endpoints) XXX_Size() int
- func (m *Endpoints) XXX_Unmarshal(b []byte) error
- type Pods
- func (*Pods) Descriptor() ([]byte, []int)
- func (*Pods) ProtoMessage()
- func (m *Pods) Reset()
- func (m *Pods) String() string
- func (m *Pods) XXX_DiscardUnknown()
- func (m *Pods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pods) XXX_Merge(src proto.Message)
- func (m *Pods) XXX_Size() int
- func (m *Pods) XXX_Unmarshal(b []byte) error
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)
- func (m *ProviderConfig) GetApiServerAddress() string
- func (m *ProviderConfig) GetEndpoints() *Endpoints
- func (m *ProviderConfig) GetNamespace() string
- func (m *ProviderConfig) GetPods() *Pods
- func (m *ProviderConfig) GetReEvalSec() int32
- func (m *ProviderConfig) GetServices() *Services
- func (m *ProviderConfig) GetTlsConfig() *proto1.TLSConfig
- func (*ProviderConfig) ProtoMessage()
- func (m *ProviderConfig) Reset()
- func (m *ProviderConfig) String() string
- func (m *ProviderConfig) XXX_DiscardUnknown()
- func (m *ProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderConfig) XXX_Merge(src proto.Message)
- func (m *ProviderConfig) XXX_Size() int
- func (m *ProviderConfig) XXX_Unmarshal(b []byte) error
- type Services
- func (*Services) Descriptor() ([]byte, []int)
- func (*Services) ProtoMessage()
- func (m *Services) Reset()
- func (m *Services) String() string
- func (m *Services) XXX_DiscardUnknown()
- func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Services) XXX_Merge(src proto.Message)
- func (m *Services) XXX_Size() int
- func (m *Services) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_ProviderConfig_ReEvalSec int32 = 60
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Endpoints) Descriptor ¶
func (*Endpoints) ProtoMessage ¶
func (*Endpoints) ProtoMessage()
func (*Endpoints) XXX_DiscardUnknown ¶
func (m *Endpoints) XXX_DiscardUnknown()
func (*Endpoints) XXX_Marshal ¶
func (*Endpoints) XXX_Unmarshal ¶
type Pods ¶
type Pods struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pods) Descriptor ¶
func (*Pods) ProtoMessage ¶
func (*Pods) ProtoMessage()
func (*Pods) XXX_DiscardUnknown ¶
func (m *Pods) XXX_DiscardUnknown()
func (*Pods) XXX_Unmarshal ¶
type ProviderConfig ¶
type ProviderConfig struct { // Namespace to list resources for. If not specified, we default to all // namespaces. Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"` // Pods discovery options. This field should be declared for the pods // discovery to be enabled. Pods *Pods `protobuf:"bytes,2,opt,name=pods" json:"pods,omitempty"` // Endpoints discovery options. This field should be declared for the // endpoints discovery to be enabled. Endpoints *Endpoints `protobuf:"bytes,3,opt,name=endpoints" json:"endpoints,omitempty"` // Services discovery options. This field should be declared for the // services discovery to be enabled. Services *Services `protobuf:"bytes,4,opt,name=services" json:"services,omitempty"` // Kubernetes API server address. If not specified, we assume in-cluster mode // and get it from the local environment variables. ApiServerAddress *string `protobuf:"bytes,91,opt,name=api_server_address,json=apiServerAddress" json:"api_server_address,omitempty"` // TLS config to authenticate communication with the API server. TlsConfig *proto1.TLSConfig `protobuf:"bytes,93,opt,name=tls_config,json=tlsConfig" json:"tls_config,omitempty"` // How often resources should be evaluated/expanded. ReEvalSec *int32 `protobuf:"varint,99,opt,name=re_eval_sec,json=reEvalSec,def=60" json:"re_eval_sec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Kubernetes provider config.
func (*ProviderConfig) Descriptor ¶
func (*ProviderConfig) Descriptor() ([]byte, []int)
func (*ProviderConfig) GetApiServerAddress ¶
func (m *ProviderConfig) GetApiServerAddress() string
func (*ProviderConfig) GetEndpoints ¶
func (m *ProviderConfig) GetEndpoints() *Endpoints
func (*ProviderConfig) GetNamespace ¶
func (m *ProviderConfig) GetNamespace() string
func (*ProviderConfig) GetPods ¶
func (m *ProviderConfig) GetPods() *Pods
func (*ProviderConfig) GetReEvalSec ¶
func (m *ProviderConfig) GetReEvalSec() int32
func (*ProviderConfig) GetServices ¶
func (m *ProviderConfig) GetServices() *Services
func (*ProviderConfig) GetTlsConfig ¶
func (m *ProviderConfig) GetTlsConfig() *proto1.TLSConfig
func (*ProviderConfig) ProtoMessage ¶
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) Reset ¶
func (m *ProviderConfig) Reset()
func (*ProviderConfig) String ¶
func (m *ProviderConfig) String() string
func (*ProviderConfig) XXX_DiscardUnknown ¶
func (m *ProviderConfig) XXX_DiscardUnknown()
func (*ProviderConfig) XXX_Marshal ¶
func (m *ProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderConfig) XXX_Merge ¶
func (m *ProviderConfig) XXX_Merge(src proto.Message)
func (*ProviderConfig) XXX_Size ¶
func (m *ProviderConfig) XXX_Size() int
func (*ProviderConfig) XXX_Unmarshal ¶
func (m *ProviderConfig) XXX_Unmarshal(b []byte) error
type Services ¶
type Services struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Services) Descriptor ¶
func (*Services) ProtoMessage ¶
func (*Services) ProtoMessage()
func (*Services) XXX_DiscardUnknown ¶
func (m *Services) XXX_DiscardUnknown()
func (*Services) XXX_Marshal ¶
func (*Services) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.