config

package
v0.0.0-...-ddee7fb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_machine_db_api_config_v1_datacenters_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_machine_db_api_config_v1_oses_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_machine_db_api_config_v1_platforms_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_machine_db_api_config_v1_vlans_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Datacenter

type Datacenter struct {

	// The name of this datacenter. Must be globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this datacenter.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The racks belonging to this datacenter.
	Rack []*Rack `protobuf:"bytes,3,rep,name=rack,proto3" json:"rack,omitempty"`
	// The state of this datacenter.
	State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
	// The KVMs belonging to this datacenter.
	Kvm []*KVM `protobuf:"bytes,5,rep,name=kvm,proto3" json:"kvm,omitempty"`
	// contains filtered or unexported fields
}

A datacenter to store in the database.

func (*Datacenter) Descriptor deprecated

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

Deprecated: Use Datacenter.ProtoReflect.Descriptor instead.

func (*Datacenter) GetDescription

func (x *Datacenter) GetDescription() string

func (*Datacenter) GetKvm

func (x *Datacenter) GetKvm() []*KVM

func (*Datacenter) GetName

func (x *Datacenter) GetName() string

func (*Datacenter) GetRack

func (x *Datacenter) GetRack() []*Rack

func (*Datacenter) GetState

func (x *Datacenter) GetState() v1.State

func (*Datacenter) ProtoMessage

func (*Datacenter) ProtoMessage()

func (*Datacenter) ProtoReflect

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

func (*Datacenter) Reset

func (x *Datacenter) Reset()

func (*Datacenter) String

func (x *Datacenter) String() string

type Datacenters

type Datacenters struct {

	// A list of names of datacenter config files.
	Datacenter []string `protobuf:"bytes,1,rep,name=datacenter,proto3" json:"datacenter,omitempty"`
	// contains filtered or unexported fields
}

A list of datacenter config files.

func (*Datacenters) Descriptor deprecated

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

Deprecated: Use Datacenters.ProtoReflect.Descriptor instead.

func (*Datacenters) GetDatacenter

func (x *Datacenters) GetDatacenter() []string

func (*Datacenters) ProtoMessage

func (*Datacenters) ProtoMessage()

func (*Datacenters) ProtoReflect

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

func (*Datacenters) Reset

func (x *Datacenters) Reset()

func (*Datacenters) String

func (x *Datacenters) String() string

type KVM

type KVM struct {

	// The name of this KVM on the network. Must be globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this KVM.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The type of platform this KVM is.
	Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
	// The rack this KVM belongs to.
	// Must be the name of a rack in the same datacenter.
	Rack string `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
	// The MAC address associated with this KVM.
	MacAddress string `protobuf:"bytes,5,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	// The IPv4 address associated with this KVM.
	Ipv4 string `protobuf:"bytes,6,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	// The state of this KVM.
	State v1.State `protobuf:"varint,7,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A KVM to store in the database.

func (*KVM) Descriptor deprecated

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

Deprecated: Use KVM.ProtoReflect.Descriptor instead.

func (*KVM) GetDescription

func (x *KVM) GetDescription() string

func (*KVM) GetIpv4

func (x *KVM) GetIpv4() string

func (*KVM) GetMacAddress

func (x *KVM) GetMacAddress() string

func (*KVM) GetName

func (x *KVM) GetName() string

func (*KVM) GetPlatform

func (x *KVM) GetPlatform() string

func (*KVM) GetRack

func (x *KVM) GetRack() string

func (*KVM) GetState

func (x *KVM) GetState() v1.State

func (*KVM) ProtoMessage

func (*KVM) ProtoMessage()

func (*KVM) ProtoReflect

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

func (*KVM) Reset

func (x *KVM) Reset()

func (*KVM) String

func (x *KVM) String() string

type OS

type OS struct {

	// The name of this operating system. Must be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this operating system.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

An operating system to store in the database.

func (*OS) Descriptor deprecated

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

Deprecated: Use OS.ProtoReflect.Descriptor instead.

func (*OS) GetDescription

func (x *OS) GetDescription() string

func (*OS) GetName

func (x *OS) GetName() string

func (*OS) ProtoMessage

func (*OS) ProtoMessage()

func (*OS) ProtoReflect

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

func (*OS) Reset

func (x *OS) Reset()

func (*OS) String

func (x *OS) String() string

type OSes

type OSes struct {

	// A list of operating systems.
	OperatingSystem []*OS `protobuf:"bytes,1,rep,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	// contains filtered or unexported fields
}

A list of operating systems.

func (*OSes) Descriptor deprecated

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

Deprecated: Use OSes.ProtoReflect.Descriptor instead.

func (*OSes) GetOperatingSystem

func (x *OSes) GetOperatingSystem() []*OS

func (*OSes) ProtoMessage

func (*OSes) ProtoMessage()

func (*OSes) ProtoReflect

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

func (*OSes) Reset

func (x *OSes) Reset()

func (*OSes) String

func (x *OSes) String() string

type Platform

type Platform struct {

	// The name of this platform. Must be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this platform.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The name of the hardware manufacturer of this platform.
	Manufacturer string `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	// contains filtered or unexported fields
}

A platform to store in the database.

func (*Platform) Descriptor deprecated

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

Deprecated: Use Platform.ProtoReflect.Descriptor instead.

func (*Platform) GetDescription

func (x *Platform) GetDescription() string

func (*Platform) GetManufacturer

func (x *Platform) GetManufacturer() string

func (*Platform) GetName

func (x *Platform) GetName() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) ProtoReflect

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

func (*Platform) Reset

func (x *Platform) Reset()

func (*Platform) String

func (x *Platform) String() string

type Platforms

type Platforms struct {

	// A list of platforms.
	Platform []*Platform `protobuf:"bytes,1,rep,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

A list of platforms.

func (*Platforms) Descriptor deprecated

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

Deprecated: Use Platforms.ProtoReflect.Descriptor instead.

func (*Platforms) GetPlatform

func (x *Platforms) GetPlatform() []*Platform

func (*Platforms) ProtoMessage

func (*Platforms) ProtoMessage()

func (*Platforms) ProtoReflect

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

func (*Platforms) Reset

func (x *Platforms) Reset()

func (*Platforms) String

func (x *Platforms) String() string

type Rack

type Rack struct {

	// The name of this rack. Must be globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this rack.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The switches belonging to this rack.
	Switch []*Switch `protobuf:"bytes,3,rep,name=switch,proto3" json:"switch,omitempty"`
	// The state of this rack.
	State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
	// The KVM serving this rack.
	Kvm string `protobuf:"bytes,5,opt,name=kvm,proto3" json:"kvm,omitempty"`
	// contains filtered or unexported fields
}

A rack to store in the database.

func (*Rack) Descriptor deprecated

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

Deprecated: Use Rack.ProtoReflect.Descriptor instead.

func (*Rack) GetDescription

func (x *Rack) GetDescription() string

func (*Rack) GetKvm

func (x *Rack) GetKvm() string

func (*Rack) GetName

func (x *Rack) GetName() string

func (*Rack) GetState

func (x *Rack) GetState() v1.State

func (*Rack) GetSwitch

func (x *Rack) GetSwitch() []*Switch

func (*Rack) ProtoMessage

func (*Rack) ProtoMessage()

func (*Rack) ProtoReflect

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

func (*Rack) Reset

func (x *Rack) Reset()

func (*Rack) String

func (x *Rack) String() string

type Switch

type Switch struct {

	// The name of this switch. Must be globally unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A description of this switch.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The number of ports this switch has.
	Ports int32 `protobuf:"varint,3,opt,name=ports,proto3" json:"ports,omitempty"`
	// The state of this switch.
	State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A switch to store in the database.

func (*Switch) Descriptor deprecated

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

Deprecated: Use Switch.ProtoReflect.Descriptor instead.

func (*Switch) GetDescription

func (x *Switch) GetDescription() string

func (*Switch) GetName

func (x *Switch) GetName() string

func (*Switch) GetPorts

func (x *Switch) GetPorts() int32

func (*Switch) GetState

func (x *Switch) GetState() v1.State

func (*Switch) ProtoMessage

func (*Switch) ProtoMessage()

func (*Switch) ProtoReflect

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

func (*Switch) Reset

func (x *Switch) Reset()

func (*Switch) String

func (x *Switch) String() string

type VLAN

type VLAN struct {

	// The ID of this VLAN. Must be unique.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// An alias for this VLAN.
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// The block of IPv4 addresses belonging to this VLAN.
	CidrBlock string `protobuf:"bytes,3,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"`
	// The state of this VLAN.
	State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A VLAN to store in the database.

func (*VLAN) Descriptor deprecated

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

Deprecated: Use VLAN.ProtoReflect.Descriptor instead.

func (*VLAN) GetAlias

func (x *VLAN) GetAlias() string

func (*VLAN) GetCidrBlock

func (x *VLAN) GetCidrBlock() string

func (*VLAN) GetId

func (x *VLAN) GetId() int64

func (*VLAN) GetState

func (x *VLAN) GetState() v1.State

func (*VLAN) ProtoMessage

func (*VLAN) ProtoMessage()

func (*VLAN) ProtoReflect

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

func (*VLAN) Reset

func (x *VLAN) Reset()

func (*VLAN) String

func (x *VLAN) String() string

type VLANs

type VLANs struct {

	// A list of VLANs.
	Vlan []*VLAN `protobuf:"bytes,1,rep,name=vlan,proto3" json:"vlan,omitempty"`
	// contains filtered or unexported fields
}

A list of VLANs.

func (*VLANs) Descriptor deprecated

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

Deprecated: Use VLANs.ProtoReflect.Descriptor instead.

func (*VLANs) GetVlan

func (x *VLANs) GetVlan() []*VLAN

func (*VLANs) ProtoMessage

func (*VLANs) ProtoMessage()

func (*VLANs) ProtoReflect

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

func (*VLANs) Reset

func (x *VLANs) Reset()

func (*VLANs) String

func (x *VLANs) String() string

Jump to

Keyboard shortcuts

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