Documentation ¶
Index ¶
- Constants
- Variables
- type Endpoints
- type Ingresses
- type Pods
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderConfig) GetApiServerAddress() string
- func (x *ProviderConfig) GetEndpoints() *Endpoints
- func (x *ProviderConfig) GetIngresses() *Ingresses
- func (x *ProviderConfig) GetNamespace() string
- func (x *ProviderConfig) GetPods() *Pods
- func (x *ProviderConfig) GetReEvalSec() int32
- func (x *ProviderConfig) GetServices() *Services
- func (x *ProviderConfig) GetTlsConfig() *proto.TLSConfig
- func (*ProviderConfig) ProtoMessage()
- func (x *ProviderConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderConfig) Reset()
- func (x *ProviderConfig) String() string
- type Services
Constants ¶
View Source
const (
Default_ProviderConfig_ReEvalSec = int32(60)
)
Default values for ProviderConfig fields.
Variables ¶
View Source
var File_github_com_google_cloudprober_rds_kubernetes_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
func (*Endpoints) Descriptor
deprecated
func (*Endpoints) ProtoMessage ¶
func (*Endpoints) ProtoMessage()
func (*Endpoints) ProtoReflect ¶ added in v0.10.8
func (x *Endpoints) ProtoReflect() protoreflect.Message
type Ingresses ¶ added in v0.11.0
type Ingresses struct {
// contains filtered or unexported fields
}
func (*Ingresses) Descriptor
deprecated
added in
v0.11.0
func (*Ingresses) ProtoMessage ¶ added in v0.11.0
func (*Ingresses) ProtoMessage()
func (*Ingresses) ProtoReflect ¶ added in v0.11.0
func (x *Ingresses) ProtoReflect() protoreflect.Message
type Pods ¶
type Pods struct {
// contains filtered or unexported fields
}
func (*Pods) Descriptor
deprecated
func (*Pods) ProtoMessage ¶
func (*Pods) ProtoMessage()
func (*Pods) ProtoReflect ¶ added in v0.10.8
func (x *Pods) ProtoReflect() protoreflect.Message
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"` // Ingresses discovery options. This field should be declared for the // ingresses discovery to be enabled. // Note: Ingress support is experimental and may change in future. Ingresses *Ingresses `protobuf:"bytes,5,opt,name=ingresses" json:"ingresses,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 *proto.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"` // default 1 min // contains filtered or unexported fields }
Kubernetes provider config.
func (*ProviderConfig) Descriptor
deprecated
func (*ProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
func (*ProviderConfig) GetApiServerAddress ¶
func (x *ProviderConfig) GetApiServerAddress() string
func (*ProviderConfig) GetEndpoints ¶
func (x *ProviderConfig) GetEndpoints() *Endpoints
func (*ProviderConfig) GetIngresses ¶ added in v0.11.0
func (x *ProviderConfig) GetIngresses() *Ingresses
func (*ProviderConfig) GetNamespace ¶
func (x *ProviderConfig) GetNamespace() string
func (*ProviderConfig) GetPods ¶
func (x *ProviderConfig) GetPods() *Pods
func (*ProviderConfig) GetReEvalSec ¶
func (x *ProviderConfig) GetReEvalSec() int32
func (*ProviderConfig) GetServices ¶
func (x *ProviderConfig) GetServices() *Services
func (*ProviderConfig) GetTlsConfig ¶
func (x *ProviderConfig) GetTlsConfig() *proto.TLSConfig
func (*ProviderConfig) ProtoMessage ¶
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) ProtoReflect ¶ added in v0.10.8
func (x *ProviderConfig) ProtoReflect() protoreflect.Message
func (*ProviderConfig) Reset ¶
func (x *ProviderConfig) Reset()
func (*ProviderConfig) String ¶
func (x *ProviderConfig) String() string
type Services ¶
type Services struct {
// contains filtered or unexported fields
}
func (*Services) Descriptor
deprecated
func (*Services) ProtoMessage ¶
func (*Services) ProtoMessage()
func (*Services) ProtoReflect ¶ added in v0.10.8
func (x *Services) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.