proto

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Endpoints.ProtoReflect.Descriptor instead.

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) ProtoReflect added in v0.10.8

func (x *Endpoints) ProtoReflect() protoreflect.Message

func (*Endpoints) Reset

func (x *Endpoints) Reset()

func (*Endpoints) String

func (x *Endpoints) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Ingresses.ProtoReflect.Descriptor instead.

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

func (*Ingresses) Reset added in v0.11.0

func (x *Ingresses) Reset()

func (*Ingresses) String added in v0.11.0

func (x *Ingresses) String() string

type Pods

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

func (*Pods) Descriptor deprecated

func (*Pods) Descriptor() ([]byte, []int)

Deprecated: Use Pods.ProtoReflect.Descriptor instead.

func (*Pods) ProtoMessage

func (*Pods) ProtoMessage()

func (*Pods) ProtoReflect added in v0.10.8

func (x *Pods) ProtoReflect() protoreflect.Message

func (*Pods) Reset

func (x *Pods) Reset()

func (*Pods) String

func (x *Pods) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Services.ProtoReflect.Descriptor instead.

func (*Services) ProtoMessage

func (*Services) ProtoMessage()

func (*Services) ProtoReflect added in v0.10.8

func (x *Services) ProtoReflect() protoreflect.Message

func (*Services) Reset

func (x *Services) Reset()

func (*Services) String

func (x *Services) String() string

Jump to

Keyboard shortcuts

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