proto

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default_GCEInstances_ReEvalSec int32 = 300
View Source
const Default_ProviderConfig_ApiVersion string = "v1"
View Source
const Default_RTCVariables_RTCConfig_ReEvalSec int32 = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type GCEInstances

type GCEInstances struct {
	// Zone filter, e.g. zone_filter: "us-east1-*" for all zones in us-east1
	// region.
	ZoneFilter *string `protobuf:"bytes,1,opt,name=zone_filter,json=zoneFilter" json:"zone_filter,omitempty"`
	// How often resources should be evaluated/expanded.
	ReEvalSec            *int32   `protobuf:"varint,98,opt,name=re_eval_sec,json=reEvalSec,def=300" json:"re_eval_sec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GCEInstances) Descriptor

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

func (*GCEInstances) GetReEvalSec

func (m *GCEInstances) GetReEvalSec() int32

func (*GCEInstances) GetZoneFilter

func (m *GCEInstances) GetZoneFilter() string

func (*GCEInstances) ProtoMessage

func (*GCEInstances) ProtoMessage()

func (*GCEInstances) Reset

func (m *GCEInstances) Reset()

func (*GCEInstances) String

func (m *GCEInstances) String() string

func (*GCEInstances) XXX_DiscardUnknown

func (m *GCEInstances) XXX_DiscardUnknown()

func (*GCEInstances) XXX_Marshal

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

func (*GCEInstances) XXX_Merge

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

func (*GCEInstances) XXX_Size

func (m *GCEInstances) XXX_Size() int

func (*GCEInstances) XXX_Unmarshal

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

type ProviderConfig

type ProviderConfig struct {
	// GCP projects. If running on GCE, it defaults to the local project.
	Project []string `protobuf:"bytes,1,rep,name=project" json:"project,omitempty"`
	// GCE instances discovery options. This field should be declared for the GCE
	// instances discovery to be enabled.
	GceInstances *GCEInstances `protobuf:"bytes,2,opt,name=gce_instances,json=gceInstances" json:"gce_instances,omitempty"`
	// Regional forwarding rules discovery options. This field should be declared
	// for the regional forwarding rules discovery to be enabled.
	// NOTE: This is not supported yet.
	RegionalForwardingRules *RegionalForwardingRules `protobuf:"bytes,3,opt,name=regional_forwarding_rules,json=regionalForwardingRules" json:"regional_forwarding_rules,omitempty"`
	// RTC variables discovery options.
	RtcVariables *RTCVariables `protobuf:"bytes,4,opt,name=rtc_variables,json=rtcVariables" json:"rtc_variables,omitempty"`
	// Compute API version.
	ApiVersion           *string  `protobuf:"bytes,99,opt,name=api_version,json=apiVersion,def=v1" json:"api_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GCP provider config.

func (*ProviderConfig) Descriptor

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

func (*ProviderConfig) GetApiVersion

func (m *ProviderConfig) GetApiVersion() string

func (*ProviderConfig) GetGceInstances

func (m *ProviderConfig) GetGceInstances() *GCEInstances

func (*ProviderConfig) GetProject

func (m *ProviderConfig) GetProject() []string

func (*ProviderConfig) GetRegionalForwardingRules

func (m *ProviderConfig) GetRegionalForwardingRules() *RegionalForwardingRules

func (*ProviderConfig) GetRtcVariables

func (m *ProviderConfig) GetRtcVariables() *RTCVariables

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 RTCVariables

type RTCVariables struct {
	RtcConfig            []*RTCVariables_RTCConfig `protobuf:"bytes,1,rep,name=rtc_config,json=rtcConfig" json:"rtc_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

Runtime configurator variables.

func (*RTCVariables) Descriptor

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

func (*RTCVariables) GetRtcConfig

func (m *RTCVariables) GetRtcConfig() []*RTCVariables_RTCConfig

func (*RTCVariables) ProtoMessage

func (*RTCVariables) ProtoMessage()

func (*RTCVariables) Reset

func (m *RTCVariables) Reset()

func (*RTCVariables) String

func (m *RTCVariables) String() string

func (*RTCVariables) XXX_DiscardUnknown

func (m *RTCVariables) XXX_DiscardUnknown()

func (*RTCVariables) XXX_Marshal

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

func (*RTCVariables) XXX_Merge

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

func (*RTCVariables) XXX_Size

func (m *RTCVariables) XXX_Size() int

func (*RTCVariables) XXX_Unmarshal

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

type RTCVariables_RTCConfig

type RTCVariables_RTCConfig struct {
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// How often RTC variables should be evaluated/expanded.
	ReEvalSec            *int32   `protobuf:"varint,2,opt,name=re_eval_sec,json=reEvalSec,def=10" json:"re_eval_sec,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RTCVariables_RTCConfig) Descriptor

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

func (*RTCVariables_RTCConfig) GetName

func (m *RTCVariables_RTCConfig) GetName() string

func (*RTCVariables_RTCConfig) GetReEvalSec

func (m *RTCVariables_RTCConfig) GetReEvalSec() int32

func (*RTCVariables_RTCConfig) ProtoMessage

func (*RTCVariables_RTCConfig) ProtoMessage()

func (*RTCVariables_RTCConfig) Reset

func (m *RTCVariables_RTCConfig) Reset()

func (*RTCVariables_RTCConfig) String

func (m *RTCVariables_RTCConfig) String() string

func (*RTCVariables_RTCConfig) XXX_DiscardUnknown

func (m *RTCVariables_RTCConfig) XXX_DiscardUnknown()

func (*RTCVariables_RTCConfig) XXX_Marshal

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

func (*RTCVariables_RTCConfig) XXX_Merge

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

func (*RTCVariables_RTCConfig) XXX_Size

func (m *RTCVariables_RTCConfig) XXX_Size() int

func (*RTCVariables_RTCConfig) XXX_Unmarshal

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

type RegionalForwardingRules

type RegionalForwardingRules struct {
	// Region filter, e.g. "region_filter:europe-*"
	RegionFilter         *string  `protobuf:"bytes,1,opt,name=region_filter,json=regionFilter" json:"region_filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegionalForwardingRules) Descriptor

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

func (*RegionalForwardingRules) GetRegionFilter

func (m *RegionalForwardingRules) GetRegionFilter() string

func (*RegionalForwardingRules) ProtoMessage

func (*RegionalForwardingRules) ProtoMessage()

func (*RegionalForwardingRules) Reset

func (m *RegionalForwardingRules) Reset()

func (*RegionalForwardingRules) String

func (m *RegionalForwardingRules) String() string

func (*RegionalForwardingRules) XXX_DiscardUnknown

func (m *RegionalForwardingRules) XXX_DiscardUnknown()

func (*RegionalForwardingRules) XXX_Marshal

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

func (*RegionalForwardingRules) XXX_Merge

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

func (*RegionalForwardingRules) XXX_Size

func (m *RegionalForwardingRules) XXX_Size() int

func (*RegionalForwardingRules) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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