proto

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

func (*Endpoints) ProtoMessage

func (*Endpoints) ProtoMessage()

func (*Endpoints) Reset

func (m *Endpoints) Reset()

func (*Endpoints) String

func (m *Endpoints) String() string

func (*Endpoints) XXX_DiscardUnknown

func (m *Endpoints) XXX_DiscardUnknown()

func (*Endpoints) XXX_Marshal

func (m *Endpoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Endpoints) XXX_Merge

func (m *Endpoints) XXX_Merge(src proto.Message)

func (*Endpoints) XXX_Size

func (m *Endpoints) XXX_Size() int

func (*Endpoints) XXX_Unmarshal

func (m *Endpoints) XXX_Unmarshal(b []byte) error

type Pods

type Pods struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pods) Descriptor

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

func (*Pods) ProtoMessage

func (*Pods) ProtoMessage()

func (*Pods) Reset

func (m *Pods) Reset()

func (*Pods) String

func (m *Pods) String() string

func (*Pods) XXX_DiscardUnknown

func (m *Pods) XXX_DiscardUnknown()

func (*Pods) XXX_Marshal

func (m *Pods) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Pods) XXX_Merge

func (m *Pods) XXX_Merge(src proto.Message)

func (*Pods) XXX_Size

func (m *Pods) XXX_Size() int

func (*Pods) XXX_Unmarshal

func (m *Pods) XXX_Unmarshal(b []byte) error

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

func (*Services) ProtoMessage

func (*Services) ProtoMessage()

func (*Services) Reset

func (m *Services) Reset()

func (*Services) String

func (m *Services) String() string

func (*Services) XXX_DiscardUnknown

func (m *Services) XXX_DiscardUnknown()

func (*Services) XXX_Marshal

func (m *Services) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Services) XXX_Merge

func (m *Services) XXX_Merge(src proto.Message)

func (*Services) XXX_Size

func (m *Services) XXX_Size() int

func (*Services) XXX_Unmarshal

func (m *Services) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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