Documentation
¶
Index ¶
- type Datacenter
- func (*Datacenter) Descriptor() ([]byte, []int)
- func (m *Datacenter) GetDescription() string
- func (m *Datacenter) GetKvm() []*KVM
- func (m *Datacenter) GetName() string
- func (m *Datacenter) GetRack() []*Rack
- func (m *Datacenter) GetState() v1.State
- func (*Datacenter) ProtoMessage()
- func (m *Datacenter) Reset()
- func (m *Datacenter) String() string
- func (m *Datacenter) XXX_DiscardUnknown()
- func (m *Datacenter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Datacenter) XXX_Merge(src proto.Message)
- func (m *Datacenter) XXX_Size() int
- func (m *Datacenter) XXX_Unmarshal(b []byte) error
- type Datacenters
- func (*Datacenters) Descriptor() ([]byte, []int)
- func (m *Datacenters) GetDatacenter() []string
- func (*Datacenters) ProtoMessage()
- func (m *Datacenters) Reset()
- func (m *Datacenters) String() string
- func (m *Datacenters) XXX_DiscardUnknown()
- func (m *Datacenters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Datacenters) XXX_Merge(src proto.Message)
- func (m *Datacenters) XXX_Size() int
- func (m *Datacenters) XXX_Unmarshal(b []byte) error
- type KVM
- func (*KVM) Descriptor() ([]byte, []int)
- func (m *KVM) GetDescription() string
- func (m *KVM) GetIpv4() string
- func (m *KVM) GetMacAddress() string
- func (m *KVM) GetName() string
- func (m *KVM) GetPlatform() string
- func (m *KVM) GetRack() string
- func (m *KVM) GetState() v1.State
- func (*KVM) ProtoMessage()
- func (m *KVM) Reset()
- func (m *KVM) String() string
- func (m *KVM) XXX_DiscardUnknown()
- func (m *KVM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KVM) XXX_Merge(src proto.Message)
- func (m *KVM) XXX_Size() int
- func (m *KVM) XXX_Unmarshal(b []byte) error
- type OS
- func (*OS) Descriptor() ([]byte, []int)
- func (m *OS) GetDescription() string
- func (m *OS) GetName() string
- func (*OS) ProtoMessage()
- func (m *OS) Reset()
- func (m *OS) String() string
- func (m *OS) XXX_DiscardUnknown()
- func (m *OS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OS) XXX_Merge(src proto.Message)
- func (m *OS) XXX_Size() int
- func (m *OS) XXX_Unmarshal(b []byte) error
- type OSes
- func (*OSes) Descriptor() ([]byte, []int)
- func (m *OSes) GetOperatingSystem() []*OS
- func (*OSes) ProtoMessage()
- func (m *OSes) Reset()
- func (m *OSes) String() string
- func (m *OSes) XXX_DiscardUnknown()
- func (m *OSes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OSes) XXX_Merge(src proto.Message)
- func (m *OSes) XXX_Size() int
- func (m *OSes) XXX_Unmarshal(b []byte) error
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)
- func (m *Platform) GetDescription() string
- func (m *Platform) GetManufacturer() string
- func (m *Platform) GetName() string
- func (*Platform) ProtoMessage()
- func (m *Platform) Reset()
- func (m *Platform) String() string
- func (m *Platform) XXX_DiscardUnknown()
- func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Platform) XXX_Merge(src proto.Message)
- func (m *Platform) XXX_Size() int
- func (m *Platform) XXX_Unmarshal(b []byte) error
- type Platforms
- func (*Platforms) Descriptor() ([]byte, []int)
- func (m *Platforms) GetPlatform() []*Platform
- func (*Platforms) ProtoMessage()
- func (m *Platforms) Reset()
- func (m *Platforms) String() string
- func (m *Platforms) XXX_DiscardUnknown()
- func (m *Platforms) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Platforms) XXX_Merge(src proto.Message)
- func (m *Platforms) XXX_Size() int
- func (m *Platforms) XXX_Unmarshal(b []byte) error
- type Rack
- func (*Rack) Descriptor() ([]byte, []int)
- func (m *Rack) GetDescription() string
- func (m *Rack) GetKvm() string
- func (m *Rack) GetName() string
- func (m *Rack) GetState() v1.State
- func (m *Rack) GetSwitch() []*Switch
- func (*Rack) ProtoMessage()
- func (m *Rack) Reset()
- func (m *Rack) String() string
- func (m *Rack) XXX_DiscardUnknown()
- func (m *Rack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rack) XXX_Merge(src proto.Message)
- func (m *Rack) XXX_Size() int
- func (m *Rack) XXX_Unmarshal(b []byte) error
- type Switch
- func (*Switch) Descriptor() ([]byte, []int)
- func (m *Switch) GetDescription() string
- func (m *Switch) GetName() string
- func (m *Switch) GetPorts() int32
- func (m *Switch) GetState() v1.State
- func (*Switch) ProtoMessage()
- func (m *Switch) Reset()
- func (m *Switch) String() string
- func (m *Switch) XXX_DiscardUnknown()
- func (m *Switch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Switch) XXX_Merge(src proto.Message)
- func (m *Switch) XXX_Size() int
- func (m *Switch) XXX_Unmarshal(b []byte) error
- type VLAN
- func (*VLAN) Descriptor() ([]byte, []int)
- func (m *VLAN) GetAlias() string
- func (m *VLAN) GetCidrBlock() string
- func (m *VLAN) GetId() int64
- func (m *VLAN) GetState() v1.State
- func (*VLAN) ProtoMessage()
- func (m *VLAN) Reset()
- func (m *VLAN) String() string
- func (m *VLAN) XXX_DiscardUnknown()
- func (m *VLAN) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VLAN) XXX_Merge(src proto.Message)
- func (m *VLAN) XXX_Size() int
- func (m *VLAN) XXX_Unmarshal(b []byte) error
- type VLANs
- func (*VLANs) Descriptor() ([]byte, []int)
- func (m *VLANs) GetVlan() []*VLAN
- func (*VLANs) ProtoMessage()
- func (m *VLANs) Reset()
- func (m *VLANs) String() string
- func (m *VLANs) XXX_DiscardUnknown()
- func (m *VLANs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VLANs) XXX_Merge(src proto.Message)
- func (m *VLANs) XXX_Size() int
- func (m *VLANs) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A datacenter to store in the database.
func (*Datacenter) Descriptor ¶
func (*Datacenter) Descriptor() ([]byte, []int)
func (*Datacenter) GetDescription ¶
func (m *Datacenter) GetDescription() string
func (*Datacenter) GetKvm ¶
func (m *Datacenter) GetKvm() []*KVM
func (*Datacenter) GetName ¶
func (m *Datacenter) GetName() string
func (*Datacenter) GetRack ¶
func (m *Datacenter) GetRack() []*Rack
func (*Datacenter) GetState ¶
func (m *Datacenter) GetState() v1.State
func (*Datacenter) ProtoMessage ¶
func (*Datacenter) ProtoMessage()
func (*Datacenter) Reset ¶
func (m *Datacenter) Reset()
func (*Datacenter) String ¶
func (m *Datacenter) String() string
func (*Datacenter) XXX_DiscardUnknown ¶
func (m *Datacenter) XXX_DiscardUnknown()
func (*Datacenter) XXX_Marshal ¶
func (m *Datacenter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Datacenter) XXX_Merge ¶
func (m *Datacenter) XXX_Merge(src proto.Message)
func (*Datacenter) XXX_Size ¶
func (m *Datacenter) XXX_Size() int
func (*Datacenter) XXX_Unmarshal ¶
func (m *Datacenter) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of datacenter config files.
func (*Datacenters) Descriptor ¶
func (*Datacenters) Descriptor() ([]byte, []int)
func (*Datacenters) GetDatacenter ¶
func (m *Datacenters) GetDatacenter() []string
func (*Datacenters) ProtoMessage ¶
func (*Datacenters) ProtoMessage()
func (*Datacenters) Reset ¶
func (m *Datacenters) Reset()
func (*Datacenters) String ¶
func (m *Datacenters) String() string
func (*Datacenters) XXX_DiscardUnknown ¶
func (m *Datacenters) XXX_DiscardUnknown()
func (*Datacenters) XXX_Marshal ¶
func (m *Datacenters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Datacenters) XXX_Merge ¶
func (m *Datacenters) XXX_Merge(src proto.Message)
func (*Datacenters) XXX_Size ¶
func (m *Datacenters) XXX_Size() int
func (*Datacenters) XXX_Unmarshal ¶
func (m *Datacenters) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A KVM to store in the database.
func (*KVM) Descriptor ¶
func (*KVM) GetDescription ¶
func (*KVM) GetMacAddress ¶
func (*KVM) GetPlatform ¶
func (*KVM) ProtoMessage ¶
func (*KVM) ProtoMessage()
func (*KVM) XXX_DiscardUnknown ¶
func (m *KVM) XXX_DiscardUnknown()
func (*KVM) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An operating system to store in the database.
func (*OS) Descriptor ¶
func (*OS) GetDescription ¶
func (*OS) ProtoMessage ¶
func (*OS) ProtoMessage()
func (*OS) XXX_DiscardUnknown ¶
func (m *OS) XXX_DiscardUnknown()
func (*OS) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of operating systems.
func (*OSes) Descriptor ¶
func (*OSes) GetOperatingSystem ¶
func (*OSes) ProtoMessage ¶
func (*OSes) ProtoMessage()
func (*OSes) XXX_DiscardUnknown ¶
func (m *OSes) XXX_DiscardUnknown()
func (*OSes) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A platform to store in the database.
func (*Platform) Descriptor ¶
func (*Platform) GetDescription ¶
func (*Platform) GetManufacturer ¶
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) XXX_DiscardUnknown ¶
func (m *Platform) XXX_DiscardUnknown()
func (*Platform) XXX_Marshal ¶
func (*Platform) XXX_Unmarshal ¶
type Platforms ¶
type Platforms struct { // A list of platforms. Platform []*Platform `protobuf:"bytes,1,rep,name=platform,proto3" json:"platform,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of platforms.
func (*Platforms) Descriptor ¶
func (*Platforms) GetPlatform ¶
func (*Platforms) ProtoMessage ¶
func (*Platforms) ProtoMessage()
func (*Platforms) XXX_DiscardUnknown ¶
func (m *Platforms) XXX_DiscardUnknown()
func (*Platforms) XXX_Marshal ¶
func (*Platforms) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A rack to store in the database.
func (*Rack) Descriptor ¶
func (*Rack) GetDescription ¶
func (*Rack) ProtoMessage ¶
func (*Rack) ProtoMessage()
func (*Rack) XXX_DiscardUnknown ¶
func (m *Rack) XXX_DiscardUnknown()
func (*Rack) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A switch to store in the database.
func (*Switch) Descriptor ¶
func (*Switch) GetDescription ¶
func (*Switch) ProtoMessage ¶
func (*Switch) ProtoMessage()
func (*Switch) XXX_DiscardUnknown ¶
func (m *Switch) XXX_DiscardUnknown()
func (*Switch) XXX_Marshal ¶
func (*Switch) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A VLAN to store in the database.
func (*VLAN) Descriptor ¶
func (*VLAN) GetCidrBlock ¶
func (*VLAN) ProtoMessage ¶
func (*VLAN) ProtoMessage()
func (*VLAN) XXX_DiscardUnknown ¶
func (m *VLAN) XXX_DiscardUnknown()
func (*VLAN) XXX_Unmarshal ¶
type VLANs ¶
type VLANs struct { // A list of VLANs. Vlan []*VLAN `protobuf:"bytes,1,rep,name=vlan,proto3" json:"vlan,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list of VLANs.
func (*VLANs) Descriptor ¶
func (*VLANs) ProtoMessage ¶
func (*VLANs) ProtoMessage()
func (*VLANs) XXX_DiscardUnknown ¶
func (m *VLANs) XXX_DiscardUnknown()
func (*VLANs) XXX_Marshal ¶
func (*VLANs) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.