import "go.chromium.org/luci/machine-db/api/crimson/v1"
crimson.pb.go crimsonserver_dec.go datacenters.pb.go dracs.pb.go generate.go hosts.pb.go ips.pb.go kvms.pb.go machines.pb.go nics.pb.go oses.pb.go pb.discovery.go physical_hosts.pb.go platforms.pb.go racks.pb.go switches.pb.go vlans.pb.go vm_slots.pb.go vms.pb.go
func FileDescriptorSet() *descriptor.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterCrimsonServer(s prpc.Registrar, srv CrimsonServer)
type CreateDRACRequest struct { // The DRAC to create in the database. Drac *DRAC `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to create a new DRAC in the database.
func (*CreateDRACRequest) Descriptor() ([]byte, []int)
func (m *CreateDRACRequest) GetDrac() *DRAC
func (*CreateDRACRequest) ProtoMessage()
func (m *CreateDRACRequest) Reset()
func (m *CreateDRACRequest) String() string
func (m *CreateDRACRequest) XXX_DiscardUnknown()
func (m *CreateDRACRequest) XXX_Merge(src proto.Message)
func (m *CreateDRACRequest) XXX_Size() int
func (m *CreateDRACRequest) XXX_Unmarshal(b []byte) error
type CreateMachineRequest struct { // The machine to create in the database. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to create a new machine in the database.
func (*CreateMachineRequest) Descriptor() ([]byte, []int)
func (m *CreateMachineRequest) GetMachine() *Machine
func (*CreateMachineRequest) ProtoMessage()
func (m *CreateMachineRequest) Reset()
func (m *CreateMachineRequest) String() string
func (m *CreateMachineRequest) XXX_DiscardUnknown()
func (m *CreateMachineRequest) XXX_Merge(src proto.Message)
func (m *CreateMachineRequest) XXX_Size() int
func (m *CreateMachineRequest) XXX_Unmarshal(b []byte) error
type CreateNICRequest struct { // The NIC to create in the database. Nic *NIC `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to create a new NIC in the database.
func (*CreateNICRequest) Descriptor() ([]byte, []int)
func (m *CreateNICRequest) GetNic() *NIC
func (*CreateNICRequest) ProtoMessage()
func (m *CreateNICRequest) Reset()
func (m *CreateNICRequest) String() string
func (m *CreateNICRequest) XXX_DiscardUnknown()
func (m *CreateNICRequest) XXX_Merge(src proto.Message)
func (m *CreateNICRequest) XXX_Size() int
func (m *CreateNICRequest) XXX_Unmarshal(b []byte) error
type CreatePhysicalHostRequest struct { // The host to create in the database. Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to create a new physical host in the database.
func (*CreatePhysicalHostRequest) Descriptor() ([]byte, []int)
func (m *CreatePhysicalHostRequest) GetHost() *PhysicalHost
func (*CreatePhysicalHostRequest) ProtoMessage()
func (m *CreatePhysicalHostRequest) Reset()
func (m *CreatePhysicalHostRequest) String() string
func (m *CreatePhysicalHostRequest) XXX_DiscardUnknown()
func (m *CreatePhysicalHostRequest) XXX_Merge(src proto.Message)
func (m *CreatePhysicalHostRequest) XXX_Size() int
func (m *CreatePhysicalHostRequest) XXX_Unmarshal(b []byte) error
type CreateVMRequest struct { // The VM to create in the database. Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to create a new VM in the database.
func (*CreateVMRequest) Descriptor() ([]byte, []int)
func (m *CreateVMRequest) GetVm() *VM
func (*CreateVMRequest) ProtoMessage()
func (m *CreateVMRequest) Reset()
func (m *CreateVMRequest) String() string
func (m *CreateVMRequest) XXX_DiscardUnknown()
func (m *CreateVMRequest) XXX_Merge(src proto.Message)
func (m *CreateVMRequest) XXX_Size() int
func (m *CreateVMRequest) XXX_Unmarshal(b []byte) error
type CrimsonClient interface { // Lists datacenters in the database. ListDatacenters(ctx context.Context, in *ListDatacentersRequest, opts ...grpc.CallOption) (*ListDatacentersResponse, error) // Lists free IP addresses in the database. ListFreeIPs(ctx context.Context, in *ListFreeIPsRequest, opts ...grpc.CallOption) (*ListIPsResponse, error) // Lists KVMs in the database. ListKVMs(ctx context.Context, in *ListKVMsRequest, opts ...grpc.CallOption) (*ListKVMsResponse, error) // Lists operating systems in the database. ListOSes(ctx context.Context, in *ListOSesRequest, opts ...grpc.CallOption) (*ListOSesResponse, error) // Lists platforms in the database. ListPlatforms(ctx context.Context, in *ListPlatformsRequest, opts ...grpc.CallOption) (*ListPlatformsResponse, error) // Lists racks in the database. ListRacks(ctx context.Context, in *ListRacksRequest, opts ...grpc.CallOption) (*ListRacksResponse, error) // Lists switches in the database. ListSwitches(ctx context.Context, in *ListSwitchesRequest, opts ...grpc.CallOption) (*ListSwitchesResponse, error) // Lists VLANs in the database. ListVLANs(ctx context.Context, in *ListVLANsRequest, opts ...grpc.CallOption) (*ListVLANsResponse, error) // Creates a new machine in the database. CreateMachine(ctx context.Context, in *CreateMachineRequest, opts ...grpc.CallOption) (*Machine, error) // Deletes a machine from the database. DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists machines in the database. ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error) // Renames a machine in the database. RenameMachine(ctx context.Context, in *RenameMachineRequest, opts ...grpc.CallOption) (*Machine, error) // Updates a machine in the database. UpdateMachine(ctx context.Context, in *UpdateMachineRequest, opts ...grpc.CallOption) (*Machine, error) // Creates a new NIC in the database. CreateNIC(ctx context.Context, in *CreateNICRequest, opts ...grpc.CallOption) (*NIC, error) // Deletes a NIC from the database. DeleteNIC(ctx context.Context, in *DeleteNICRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists NICs in the database. ListNICs(ctx context.Context, in *ListNICsRequest, opts ...grpc.CallOption) (*ListNICsResponse, error) // Updates a NIC in the database. UpdateNIC(ctx context.Context, in *UpdateNICRequest, opts ...grpc.CallOption) (*NIC, error) // Creates a new DRAC in the database. CreateDRAC(ctx context.Context, in *CreateDRACRequest, opts ...grpc.CallOption) (*DRAC, error) // Lists DRACs in the database. ListDRACs(ctx context.Context, in *ListDRACsRequest, opts ...grpc.CallOption) (*ListDRACsResponse, error) // Updates a DRAC in the database. UpdateDRAC(ctx context.Context, in *UpdateDRACRequest, opts ...grpc.CallOption) (*DRAC, error) // Creates a new physical host in the database. CreatePhysicalHost(ctx context.Context, in *CreatePhysicalHostRequest, opts ...grpc.CallOption) (*PhysicalHost, error) // Lists physical hosts in the database. ListPhysicalHosts(ctx context.Context, in *ListPhysicalHostsRequest, opts ...grpc.CallOption) (*ListPhysicalHostsResponse, error) // Updates a physical host in the database. UpdatePhysicalHost(ctx context.Context, in *UpdatePhysicalHostRequest, opts ...grpc.CallOption) (*PhysicalHost, error) // Finds available VM slots in the database. FindVMSlots(ctx context.Context, in *FindVMSlotsRequest, opts ...grpc.CallOption) (*FindVMSlotsResponse, error) // Creates a new VM in the database. CreateVM(ctx context.Context, in *CreateVMRequest, opts ...grpc.CallOption) (*VM, error) // Lists VMs in the database. ListVMs(ctx context.Context, in *ListVMsRequest, opts ...grpc.CallOption) (*ListVMsResponse, error) // Updates a VM in the database. UpdateVM(ctx context.Context, in *UpdateVMRequest, opts ...grpc.CallOption) (*VM, error) // Deletes a physical or virtual host from the database. DeleteHost(ctx context.Context, in *DeleteHostRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
CrimsonClient is the client API for Crimson service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCrimsonClient(cc *grpc.ClientConn) CrimsonClient
func NewCrimsonPRPCClient(client *prpc.Client) CrimsonClient
type CrimsonServer interface { // Lists datacenters in the database. ListDatacenters(context.Context, *ListDatacentersRequest) (*ListDatacentersResponse, error) // Lists free IP addresses in the database. ListFreeIPs(context.Context, *ListFreeIPsRequest) (*ListIPsResponse, error) // Lists KVMs in the database. ListKVMs(context.Context, *ListKVMsRequest) (*ListKVMsResponse, error) // Lists operating systems in the database. ListOSes(context.Context, *ListOSesRequest) (*ListOSesResponse, error) // Lists platforms in the database. ListPlatforms(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error) // Lists racks in the database. ListRacks(context.Context, *ListRacksRequest) (*ListRacksResponse, error) // Lists switches in the database. ListSwitches(context.Context, *ListSwitchesRequest) (*ListSwitchesResponse, error) // Lists VLANs in the database. ListVLANs(context.Context, *ListVLANsRequest) (*ListVLANsResponse, error) // Creates a new machine in the database. CreateMachine(context.Context, *CreateMachineRequest) (*Machine, error) // Deletes a machine from the database. DeleteMachine(context.Context, *DeleteMachineRequest) (*empty.Empty, error) // Lists machines in the database. ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error) // Renames a machine in the database. RenameMachine(context.Context, *RenameMachineRequest) (*Machine, error) // Updates a machine in the database. UpdateMachine(context.Context, *UpdateMachineRequest) (*Machine, error) // Creates a new NIC in the database. CreateNIC(context.Context, *CreateNICRequest) (*NIC, error) // Deletes a NIC from the database. DeleteNIC(context.Context, *DeleteNICRequest) (*empty.Empty, error) // Lists NICs in the database. ListNICs(context.Context, *ListNICsRequest) (*ListNICsResponse, error) // Updates a NIC in the database. UpdateNIC(context.Context, *UpdateNICRequest) (*NIC, error) // Creates a new DRAC in the database. CreateDRAC(context.Context, *CreateDRACRequest) (*DRAC, error) // Lists DRACs in the database. ListDRACs(context.Context, *ListDRACsRequest) (*ListDRACsResponse, error) // Updates a DRAC in the database. UpdateDRAC(context.Context, *UpdateDRACRequest) (*DRAC, error) // Creates a new physical host in the database. CreatePhysicalHost(context.Context, *CreatePhysicalHostRequest) (*PhysicalHost, error) // Lists physical hosts in the database. ListPhysicalHosts(context.Context, *ListPhysicalHostsRequest) (*ListPhysicalHostsResponse, error) // Updates a physical host in the database. UpdatePhysicalHost(context.Context, *UpdatePhysicalHostRequest) (*PhysicalHost, error) // Finds available VM slots in the database. FindVMSlots(context.Context, *FindVMSlotsRequest) (*FindVMSlotsResponse, error) // Creates a new VM in the database. CreateVM(context.Context, *CreateVMRequest) (*VM, error) // Lists VMs in the database. ListVMs(context.Context, *ListVMsRequest) (*ListVMsResponse, error) // Updates a VM in the database. UpdateVM(context.Context, *UpdateVMRequest) (*VM, error) // Deletes a physical or virtual host from the database. DeleteHost(context.Context, *DeleteHostRequest) (*empty.Empty, error) }
CrimsonServer is the server API for Crimson service.
type DRAC struct { // The name of this DRAC on the network. Uniquely identifies this DRAC. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The machine this DRAC belongs to. Uniquely identifies this DRAC. Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` // The IPv4 address associated with this DRAC. Ipv4 string `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // The VLAN this DRAC belongs to. // When creating a DRAC, omit this field. It will be inferred from the IPv4 address. Vlan int64 `protobuf:"varint,4,opt,name=vlan,proto3" json:"vlan,omitempty"` // The MAC address associated with this DRAC. MacAddress string `protobuf:"bytes,5,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The switch this DRAC is connected to. Switch string `protobuf:"bytes,6,opt,name=switch,proto3" json:"switch,omitempty"` // The switchport this DRAC is connected to. Switchport int32 `protobuf:"varint,7,opt,name=switchport,proto3" json:"switchport,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A DRAC in the database.
type Datacenter struct { // The name of this datacenter. Uniquely identifies this datacenter. 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 state of this datacenter. State v1.State `protobuf:"varint,3,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A datacenter in the database.
func (*Datacenter) Descriptor() ([]byte, []int)
func (m *Datacenter) GetDescription() string
func (m *Datacenter) GetName() string
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_Merge(src proto.Message)
func (m *Datacenter) XXX_Size() int
func (m *Datacenter) XXX_Unmarshal(b []byte) error
type DecoratedCrimson struct { // Service is the service to decorate. Service CrimsonServer // Prelude is called for each method before forwarding the call to Service. // If Prelude returns an error, then the call is skipped and the error is // processed via the Postlude (if one is defined), or it is returned directly. Prelude func(c context.Context, methodName string, req proto.Message) (context.Context, error) // Postlude is called for each method after Service has processed the call, or // after the Prelude has returned an error. This takes the the Service's // response proto (which may be nil) and/or any error. The decorated // service will return the response (possibly mutated) and error that Postlude // returns. Postlude func(c context.Context, methodName string, rsp proto.Message, err error) error }
func (s *DecoratedCrimson) CreateDRAC(c context.Context, req *CreateDRACRequest) (rsp *DRAC, err error)
func (s *DecoratedCrimson) CreateMachine(c context.Context, req *CreateMachineRequest) (rsp *Machine, err error)
func (s *DecoratedCrimson) CreateNIC(c context.Context, req *CreateNICRequest) (rsp *NIC, err error)
func (s *DecoratedCrimson) CreatePhysicalHost(c context.Context, req *CreatePhysicalHostRequest) (rsp *PhysicalHost, err error)
func (s *DecoratedCrimson) CreateVM(c context.Context, req *CreateVMRequest) (rsp *VM, err error)
func (s *DecoratedCrimson) DeleteHost(c context.Context, req *DeleteHostRequest) (rsp *empty.Empty, err error)
func (s *DecoratedCrimson) DeleteMachine(c context.Context, req *DeleteMachineRequest) (rsp *empty.Empty, err error)
func (s *DecoratedCrimson) DeleteNIC(c context.Context, req *DeleteNICRequest) (rsp *empty.Empty, err error)
func (s *DecoratedCrimson) FindVMSlots(c context.Context, req *FindVMSlotsRequest) (rsp *FindVMSlotsResponse, err error)
func (s *DecoratedCrimson) ListDRACs(c context.Context, req *ListDRACsRequest) (rsp *ListDRACsResponse, err error)
func (s *DecoratedCrimson) ListDatacenters(c context.Context, req *ListDatacentersRequest) (rsp *ListDatacentersResponse, err error)
func (s *DecoratedCrimson) ListFreeIPs(c context.Context, req *ListFreeIPsRequest) (rsp *ListIPsResponse, err error)
func (s *DecoratedCrimson) ListKVMs(c context.Context, req *ListKVMsRequest) (rsp *ListKVMsResponse, err error)
func (s *DecoratedCrimson) ListMachines(c context.Context, req *ListMachinesRequest) (rsp *ListMachinesResponse, err error)
func (s *DecoratedCrimson) ListNICs(c context.Context, req *ListNICsRequest) (rsp *ListNICsResponse, err error)
func (s *DecoratedCrimson) ListOSes(c context.Context, req *ListOSesRequest) (rsp *ListOSesResponse, err error)
func (s *DecoratedCrimson) ListPhysicalHosts(c context.Context, req *ListPhysicalHostsRequest) (rsp *ListPhysicalHostsResponse, err error)
func (s *DecoratedCrimson) ListPlatforms(c context.Context, req *ListPlatformsRequest) (rsp *ListPlatformsResponse, err error)
func (s *DecoratedCrimson) ListRacks(c context.Context, req *ListRacksRequest) (rsp *ListRacksResponse, err error)
func (s *DecoratedCrimson) ListSwitches(c context.Context, req *ListSwitchesRequest) (rsp *ListSwitchesResponse, err error)
func (s *DecoratedCrimson) ListVLANs(c context.Context, req *ListVLANsRequest) (rsp *ListVLANsResponse, err error)
func (s *DecoratedCrimson) ListVMs(c context.Context, req *ListVMsRequest) (rsp *ListVMsResponse, err error)
func (s *DecoratedCrimson) RenameMachine(c context.Context, req *RenameMachineRequest) (rsp *Machine, err error)
func (s *DecoratedCrimson) UpdateDRAC(c context.Context, req *UpdateDRACRequest) (rsp *DRAC, err error)
func (s *DecoratedCrimson) UpdateMachine(c context.Context, req *UpdateMachineRequest) (rsp *Machine, err error)
func (s *DecoratedCrimson) UpdateNIC(c context.Context, req *UpdateNICRequest) (rsp *NIC, err error)
func (s *DecoratedCrimson) UpdatePhysicalHost(c context.Context, req *UpdatePhysicalHostRequest) (rsp *PhysicalHost, err error)
func (s *DecoratedCrimson) UpdateVM(c context.Context, req *UpdateVMRequest) (rsp *VM, err error)
type DeleteHostRequest struct { // The name of the host to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The VLAN the host belongs to. Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to delete a physical or virtual host from the database.
func (*DeleteHostRequest) Descriptor() ([]byte, []int)
func (m *DeleteHostRequest) GetName() string
func (m *DeleteHostRequest) GetVlan() int64
func (*DeleteHostRequest) ProtoMessage()
func (m *DeleteHostRequest) Reset()
func (m *DeleteHostRequest) String() string
func (m *DeleteHostRequest) XXX_DiscardUnknown()
func (m *DeleteHostRequest) XXX_Merge(src proto.Message)
func (m *DeleteHostRequest) XXX_Size() int
func (m *DeleteHostRequest) XXX_Unmarshal(b []byte) error
type DeleteMachineRequest struct { // The name of the machine to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to delete a machine from the database.
func (*DeleteMachineRequest) Descriptor() ([]byte, []int)
func (m *DeleteMachineRequest) GetName() string
func (*DeleteMachineRequest) ProtoMessage()
func (m *DeleteMachineRequest) Reset()
func (m *DeleteMachineRequest) String() string
func (m *DeleteMachineRequest) XXX_DiscardUnknown()
func (m *DeleteMachineRequest) XXX_Merge(src proto.Message)
func (m *DeleteMachineRequest) XXX_Size() int
func (m *DeleteMachineRequest) XXX_Unmarshal(b []byte) error
type DeleteNICRequest struct { // The name of the NIC to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The machine the NIC belongs to. Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to delete a NIC from the database.
func (*DeleteNICRequest) Descriptor() ([]byte, []int)
func (m *DeleteNICRequest) GetMachine() string
func (m *DeleteNICRequest) GetName() string
func (*DeleteNICRequest) ProtoMessage()
func (m *DeleteNICRequest) Reset()
func (m *DeleteNICRequest) String() string
func (m *DeleteNICRequest) XXX_DiscardUnknown()
func (m *DeleteNICRequest) XXX_Merge(src proto.Message)
func (m *DeleteNICRequest) XXX_Size() int
func (m *DeleteNICRequest) XXX_Unmarshal(b []byte) error
type FindVMSlotsRequest struct { // The number of available VM slots to find. // Values < 1 return all available VM slots. Slots int32 `protobuf:"varint,1,opt,name=slots,proto3" json:"slots,omitempty"` // The platform manufacturers to filter found VM slots on. Manufacturers []string `protobuf:"bytes,2,rep,name=manufacturers,proto3" json:"manufacturers,omitempty"` // The virtual datacenter to filter found VM slots on. VirtualDatacenters []string `protobuf:"bytes,3,rep,name=virtual_datacenters,json=virtualDatacenters,proto3" json:"virtual_datacenters,omitempty"` // The states to filter found VM slots on. States []v1.State `protobuf:"varint,6,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to find available VM slots in the database.
func (*FindVMSlotsRequest) Descriptor() ([]byte, []int)
func (m *FindVMSlotsRequest) GetManufacturers() []string
func (m *FindVMSlotsRequest) GetSlots() int32
func (m *FindVMSlotsRequest) GetStates() []v1.State
func (m *FindVMSlotsRequest) GetVirtualDatacenters() []string
func (*FindVMSlotsRequest) ProtoMessage()
func (m *FindVMSlotsRequest) Reset()
func (m *FindVMSlotsRequest) String() string
func (m *FindVMSlotsRequest) XXX_DiscardUnknown()
func (m *FindVMSlotsRequest) XXX_Merge(src proto.Message)
func (m *FindVMSlotsRequest) XXX_Size() int
func (m *FindVMSlotsRequest) XXX_Unmarshal(b []byte) error
type FindVMSlotsResponse struct { // The hosts with available VM slots. // Only includes name, vlan_id, and vm_slots. // vm_slots in this context means the number of available VM slots. Hosts []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of available VM slots in the database.
func (*FindVMSlotsResponse) Descriptor() ([]byte, []int)
func (m *FindVMSlotsResponse) GetHosts() []*PhysicalHost
func (*FindVMSlotsResponse) ProtoMessage()
func (m *FindVMSlotsResponse) Reset()
func (m *FindVMSlotsResponse) String() string
func (m *FindVMSlotsResponse) XXX_DiscardUnknown()
func (m *FindVMSlotsResponse) XXX_Merge(src proto.Message)
func (m *FindVMSlotsResponse) XXX_Size() int
func (m *FindVMSlotsResponse) XXX_Unmarshal(b []byte) error
type IP struct { // The IPv4 address. Uniquely identifies this IP address. Ipv4 string `protobuf:"bytes,1,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // The VLAN this IP address belongs to. Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"` // The hostname this IP address is assigned to. Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An IP address in the database.
type KVM struct { // The name of this KVM on the network. Uniquely identifies this KVM. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The VLAN this KVM belongs to. Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"` // The type of platform this KVM is. Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` // The datacenter this KVM belongs to. Datacenter string `protobuf:"bytes,4,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // The rack this KVM belongs to. Rack string `protobuf:"bytes,5,opt,name=rack,proto3" json:"rack,omitempty"` // A description of this KVM. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // The MAC address associated with this KVM. MacAddress string `protobuf:"bytes,7,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The IPv4 address associated with this KVM. Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // The state of this KVM. State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A KVM in the database.
type ListDRACsRequest struct { // The names of DRACs to get. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The machines to filter retrieved DRACs on. Machines []string `protobuf:"bytes,2,rep,name=machines,proto3" json:"machines,omitempty"` // The IPv4 addresses to filter retrieved DRACs on. Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"` // The VLANs to filter retrieved DRACs on. Vlans []int64 `protobuf:"varint,4,rep,packed,name=vlans,proto3" json:"vlans,omitempty"` // The MAC addresses to filter retrieved DRACs on. MacAddresses []string `protobuf:"bytes,5,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"` // The switches to filter retrieved DRACs on. Switches []string `protobuf:"bytes,6,rep,name=switches,proto3" json:"switches,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list DRACs in the database.
func (*ListDRACsRequest) Descriptor() ([]byte, []int)
func (m *ListDRACsRequest) GetIpv4S() []string
func (m *ListDRACsRequest) GetMacAddresses() []string
func (m *ListDRACsRequest) GetMachines() []string
func (m *ListDRACsRequest) GetNames() []string
func (m *ListDRACsRequest) GetSwitches() []string
func (m *ListDRACsRequest) GetVlans() []int64
func (*ListDRACsRequest) ProtoMessage()
func (m *ListDRACsRequest) Reset()
func (m *ListDRACsRequest) String() string
func (m *ListDRACsRequest) XXX_DiscardUnknown()
func (m *ListDRACsRequest) XXX_Merge(src proto.Message)
func (m *ListDRACsRequest) XXX_Size() int
func (m *ListDRACsRequest) XXX_Unmarshal(b []byte) error
type ListDRACsResponse struct { // The DRACs matching this request. Dracs []*DRAC `protobuf:"bytes,1,rep,name=dracs,proto3" json:"dracs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of DRACs in the database.
func (*ListDRACsResponse) Descriptor() ([]byte, []int)
func (m *ListDRACsResponse) GetDracs() []*DRAC
func (*ListDRACsResponse) ProtoMessage()
func (m *ListDRACsResponse) Reset()
func (m *ListDRACsResponse) String() string
func (m *ListDRACsResponse) XXX_DiscardUnknown()
func (m *ListDRACsResponse) XXX_Merge(src proto.Message)
func (m *ListDRACsResponse) XXX_Size() int
func (m *ListDRACsResponse) XXX_Unmarshal(b []byte) error
type ListDatacentersRequest struct { // The names of datacenters to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list datacenters in the database.
func (*ListDatacentersRequest) Descriptor() ([]byte, []int)
func (m *ListDatacentersRequest) GetNames() []string
func (*ListDatacentersRequest) ProtoMessage()
func (m *ListDatacentersRequest) Reset()
func (m *ListDatacentersRequest) String() string
func (m *ListDatacentersRequest) XXX_DiscardUnknown()
func (m *ListDatacentersRequest) XXX_Merge(src proto.Message)
func (m *ListDatacentersRequest) XXX_Size() int
func (m *ListDatacentersRequest) XXX_Unmarshal(b []byte) error
type ListDatacentersResponse struct { // The datacenters matching the request. Datacenters []*Datacenter `protobuf:"bytes,1,rep,name=datacenters,proto3" json:"datacenters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of datacenters in the database.
func (*ListDatacentersResponse) Descriptor() ([]byte, []int)
func (m *ListDatacentersResponse) GetDatacenters() []*Datacenter
func (*ListDatacentersResponse) ProtoMessage()
func (m *ListDatacentersResponse) Reset()
func (m *ListDatacentersResponse) String() string
func (m *ListDatacentersResponse) XXX_DiscardUnknown()
func (m *ListDatacentersResponse) XXX_Merge(src proto.Message)
func (m *ListDatacentersResponse) XXX_Size() int
func (m *ListDatacentersResponse) XXX_Unmarshal(b []byte) error
type ListFreeIPsRequest struct { // The VLAN to list free IP addresses on. Vlan int64 `protobuf:"varint,1,opt,name=vlan,proto3" json:"vlan,omitempty"` // The maximum number of free IP addresses to return, or 0 to let the server decide. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list free IP addresses in the database.
func (*ListFreeIPsRequest) Descriptor() ([]byte, []int)
func (m *ListFreeIPsRequest) GetPageSize() int32
func (m *ListFreeIPsRequest) GetVlan() int64
func (*ListFreeIPsRequest) ProtoMessage()
func (m *ListFreeIPsRequest) Reset()
func (m *ListFreeIPsRequest) String() string
func (m *ListFreeIPsRequest) XXX_DiscardUnknown()
func (m *ListFreeIPsRequest) XXX_Merge(src proto.Message)
func (m *ListFreeIPsRequest) XXX_Size() int
func (m *ListFreeIPsRequest) XXX_Unmarshal(b []byte) error
type ListIPsResponse struct { // The IP addresses matching this request. Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of IP addresses in the database.
func (*ListIPsResponse) Descriptor() ([]byte, []int)
func (m *ListIPsResponse) GetIps() []*IP
func (*ListIPsResponse) ProtoMessage()
func (m *ListIPsResponse) Reset()
func (m *ListIPsResponse) String() string
func (m *ListIPsResponse) XXX_DiscardUnknown()
func (m *ListIPsResponse) XXX_Merge(src proto.Message)
func (m *ListIPsResponse) XXX_Size() int
func (m *ListIPsResponse) XXX_Unmarshal(b []byte) error
type ListKVMsRequest struct { // The names of KVMs to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The VLANs to filter retrieved KVMs on. Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"` // The platforms to filter retrieved KVMs on. Platforms []string `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"` // The datacenters to filter retrieved KVMs on. Datacenters []string `protobuf:"bytes,4,rep,name=datacenters,proto3" json:"datacenters,omitempty"` // The racks to filter retrieved KVMs on. Racks []string `protobuf:"bytes,5,rep,name=racks,proto3" json:"racks,omitempty"` // The MAC addresses to filter retrieved KVMs on. MacAddresses []string `protobuf:"bytes,6,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"` // The IPv4 addresses to filter retrieved KVMs on. Ipv4S []string `protobuf:"bytes,7,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"` // The states to filter retrieved KVMs on. States []v1.State `protobuf:"varint,8,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list KVMs in the database.
func (*ListKVMsRequest) Descriptor() ([]byte, []int)
func (m *ListKVMsRequest) GetDatacenters() []string
func (m *ListKVMsRequest) GetIpv4S() []string
func (m *ListKVMsRequest) GetMacAddresses() []string
func (m *ListKVMsRequest) GetNames() []string
func (m *ListKVMsRequest) GetPlatforms() []string
func (m *ListKVMsRequest) GetRacks() []string
func (m *ListKVMsRequest) GetStates() []v1.State
func (m *ListKVMsRequest) GetVlans() []int64
func (*ListKVMsRequest) ProtoMessage()
func (m *ListKVMsRequest) Reset()
func (m *ListKVMsRequest) String() string
func (m *ListKVMsRequest) XXX_DiscardUnknown()
func (m *ListKVMsRequest) XXX_Merge(src proto.Message)
func (m *ListKVMsRequest) XXX_Size() int
func (m *ListKVMsRequest) XXX_Unmarshal(b []byte) error
type ListKVMsResponse struct { // The KVMs matching the request. Kvms []*KVM `protobuf:"bytes,1,rep,name=kvms,proto3" json:"kvms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of KVMs in the database.
func (*ListKVMsResponse) Descriptor() ([]byte, []int)
func (m *ListKVMsResponse) GetKvms() []*KVM
func (*ListKVMsResponse) ProtoMessage()
func (m *ListKVMsResponse) Reset()
func (m *ListKVMsResponse) String() string
func (m *ListKVMsResponse) XXX_DiscardUnknown()
func (m *ListKVMsResponse) XXX_Merge(src proto.Message)
func (m *ListKVMsResponse) XXX_Size() int
func (m *ListKVMsResponse) XXX_Unmarshal(b []byte) error
type ListMachinesRequest struct { // The names of machines to get. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The platforms to filter retrieved machines on. Platforms []string `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms,omitempty"` // The racks to filter retrieved machines on. Racks []string `protobuf:"bytes,3,rep,name=racks,proto3" json:"racks,omitempty"` // The states to filter retrieved machines on. States []v1.State `protobuf:"varint,4,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"` // The datacenters to filter retrieved machines on. Datacenters []string `protobuf:"bytes,5,rep,name=datacenters,proto3" json:"datacenters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list machines in the database.
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
func (m *ListMachinesRequest) GetDatacenters() []string
func (m *ListMachinesRequest) GetNames() []string
func (m *ListMachinesRequest) GetPlatforms() []string
func (m *ListMachinesRequest) GetRacks() []string
func (m *ListMachinesRequest) GetStates() []v1.State
func (*ListMachinesRequest) ProtoMessage()
func (m *ListMachinesRequest) Reset()
func (m *ListMachinesRequest) String() string
func (m *ListMachinesRequest) XXX_DiscardUnknown()
func (m *ListMachinesRequest) XXX_Merge(src proto.Message)
func (m *ListMachinesRequest) XXX_Size() int
func (m *ListMachinesRequest) XXX_Unmarshal(b []byte) error
type ListMachinesResponse struct { // The machines matching this request. Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of machines in the database.
func (*ListMachinesResponse) Descriptor() ([]byte, []int)
func (m *ListMachinesResponse) GetMachines() []*Machine
func (*ListMachinesResponse) ProtoMessage()
func (m *ListMachinesResponse) Reset()
func (m *ListMachinesResponse) String() string
func (m *ListMachinesResponse) XXX_DiscardUnknown()
func (m *ListMachinesResponse) XXX_Merge(src proto.Message)
func (m *ListMachinesResponse) XXX_Size() int
func (m *ListMachinesResponse) XXX_Unmarshal(b []byte) error
type ListNICsRequest struct { // The names of NICs to filter retrieved NICs on. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The machines to filter retrieved NICs on. Machines []string `protobuf:"bytes,2,rep,name=machines,proto3" json:"machines,omitempty"` // The MAC addresses to filter retrieved NICs on. MacAddresses []string `protobuf:"bytes,3,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"` // The switches to filter retrieved NICs on. Switches []string `protobuf:"bytes,4,rep,name=switches,proto3" json:"switches,omitempty"` // The hostnames of NICs to filter retrieved NICs on. Hostnames []string `protobuf:"bytes,5,rep,name=hostnames,proto3" json:"hostnames,omitempty"` // The IPv4 addresses of NICs to filter retrieved NICs on. Ipv4S []string `protobuf:"bytes,6,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list NICs in the database.
func (*ListNICsRequest) Descriptor() ([]byte, []int)
func (m *ListNICsRequest) GetHostnames() []string
func (m *ListNICsRequest) GetIpv4S() []string
func (m *ListNICsRequest) GetMacAddresses() []string
func (m *ListNICsRequest) GetMachines() []string
func (m *ListNICsRequest) GetNames() []string
func (m *ListNICsRequest) GetSwitches() []string
func (*ListNICsRequest) ProtoMessage()
func (m *ListNICsRequest) Reset()
func (m *ListNICsRequest) String() string
func (m *ListNICsRequest) XXX_DiscardUnknown()
func (m *ListNICsRequest) XXX_Merge(src proto.Message)
func (m *ListNICsRequest) XXX_Size() int
func (m *ListNICsRequest) XXX_Unmarshal(b []byte) error
type ListNICsResponse struct { // The NICs matching this request. Nics []*NIC `protobuf:"bytes,1,rep,name=nics,proto3" json:"nics,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of NICs in the database.
func (*ListNICsResponse) Descriptor() ([]byte, []int)
func (m *ListNICsResponse) GetNics() []*NIC
func (*ListNICsResponse) ProtoMessage()
func (m *ListNICsResponse) Reset()
func (m *ListNICsResponse) String() string
func (m *ListNICsResponse) XXX_DiscardUnknown()
func (m *ListNICsResponse) XXX_Merge(src proto.Message)
func (m *ListNICsResponse) XXX_Size() int
func (m *ListNICsResponse) XXX_Unmarshal(b []byte) error
type ListOSesRequest struct { // The names of operating systems to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list operating systems in the database.
func (*ListOSesRequest) Descriptor() ([]byte, []int)
func (m *ListOSesRequest) GetNames() []string
func (*ListOSesRequest) ProtoMessage()
func (m *ListOSesRequest) Reset()
func (m *ListOSesRequest) String() string
func (m *ListOSesRequest) XXX_DiscardUnknown()
func (m *ListOSesRequest) XXX_Merge(src proto.Message)
func (m *ListOSesRequest) XXX_Size() int
func (m *ListOSesRequest) XXX_Unmarshal(b []byte) error
type ListOSesResponse struct { // The operating systems matching the request. Oses []*OS `protobuf:"bytes,1,rep,name=oses,proto3" json:"oses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of operating systems in the database.
func (*ListOSesResponse) Descriptor() ([]byte, []int)
func (m *ListOSesResponse) GetOses() []*OS
func (*ListOSesResponse) ProtoMessage()
func (m *ListOSesResponse) Reset()
func (m *ListOSesResponse) String() string
func (m *ListOSesResponse) XXX_DiscardUnknown()
func (m *ListOSesResponse) XXX_Merge(src proto.Message)
func (m *ListOSesResponse) XXX_Size() int
func (m *ListOSesResponse) XXX_Unmarshal(b []byte) error
type ListPhysicalHostsRequest struct { // The names of hosts to get. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The VLANs to filter retrieved hosts on. Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"` // The IPv4 addresses to filter retrieved hosts on. Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"` // The machines to filter retrieved hosts on. Machines []string `protobuf:"bytes,4,rep,name=machines,proto3" json:"machines,omitempty"` // The operating systems to filter retrieved hosts on. Oses []string `protobuf:"bytes,5,rep,name=oses,proto3" json:"oses,omitempty"` // The states to filter retrieved hosts on. States []v1.State `protobuf:"varint,6,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"` // The platforms to filter retrieved hosts on. Platforms []string `protobuf:"bytes,7,rep,name=platforms,proto3" json:"platforms,omitempty"` // The racks to filter retrieved hosts on. Racks []string `protobuf:"bytes,8,rep,name=racks,proto3" json:"racks,omitempty"` // The datacenters to filter retrieved hosts on. Datacenters []string `protobuf:"bytes,9,rep,name=datacenters,proto3" json:"datacenters,omitempty"` // The virtual datacenters to filter retrieved hosts on. VirtualDatacenters []string `protobuf:"bytes,10,rep,name=virtual_datacenters,json=virtualDatacenters,proto3" json:"virtual_datacenters,omitempty"` // The NICs to filter retrieved hosts on. Nics []string `protobuf:"bytes,11,rep,name=nics,proto3" json:"nics,omitempty"` // The MAC addresses to filter retrieved hosts on. MacAddresses []string `protobuf:"bytes,12,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list physical hosts in the database.
func (*ListPhysicalHostsRequest) Descriptor() ([]byte, []int)
func (m *ListPhysicalHostsRequest) GetDatacenters() []string
func (m *ListPhysicalHostsRequest) GetIpv4S() []string
func (m *ListPhysicalHostsRequest) GetMacAddresses() []string
func (m *ListPhysicalHostsRequest) GetMachines() []string
func (m *ListPhysicalHostsRequest) GetNames() []string
func (m *ListPhysicalHostsRequest) GetNics() []string
func (m *ListPhysicalHostsRequest) GetOses() []string
func (m *ListPhysicalHostsRequest) GetPlatforms() []string
func (m *ListPhysicalHostsRequest) GetRacks() []string
func (m *ListPhysicalHostsRequest) GetStates() []v1.State
func (m *ListPhysicalHostsRequest) GetVirtualDatacenters() []string
func (m *ListPhysicalHostsRequest) GetVlans() []int64
func (*ListPhysicalHostsRequest) ProtoMessage()
func (m *ListPhysicalHostsRequest) Reset()
func (m *ListPhysicalHostsRequest) String() string
func (m *ListPhysicalHostsRequest) XXX_DiscardUnknown()
func (m *ListPhysicalHostsRequest) XXX_Merge(src proto.Message)
func (m *ListPhysicalHostsRequest) XXX_Size() int
func (m *ListPhysicalHostsRequest) XXX_Unmarshal(b []byte) error
type ListPhysicalHostsResponse struct { // The hosts matching this request. Hosts []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of physical hosts in the database.
func (*ListPhysicalHostsResponse) Descriptor() ([]byte, []int)
func (m *ListPhysicalHostsResponse) GetHosts() []*PhysicalHost
func (*ListPhysicalHostsResponse) ProtoMessage()
func (m *ListPhysicalHostsResponse) Reset()
func (m *ListPhysicalHostsResponse) String() string
func (m *ListPhysicalHostsResponse) XXX_DiscardUnknown()
func (m *ListPhysicalHostsResponse) XXX_Merge(src proto.Message)
func (m *ListPhysicalHostsResponse) XXX_Size() int
func (m *ListPhysicalHostsResponse) XXX_Unmarshal(b []byte) error
type ListPlatformsRequest struct { // The names of platforms to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The manufacturers to filter retrieved platforms on. Manufacturers []string `protobuf:"bytes,2,rep,name=manufacturers,proto3" json:"manufacturers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list platforms in the database.
func (*ListPlatformsRequest) Descriptor() ([]byte, []int)
func (m *ListPlatformsRequest) GetManufacturers() []string
func (m *ListPlatformsRequest) GetNames() []string
func (*ListPlatformsRequest) ProtoMessage()
func (m *ListPlatformsRequest) Reset()
func (m *ListPlatformsRequest) String() string
func (m *ListPlatformsRequest) XXX_DiscardUnknown()
func (m *ListPlatformsRequest) XXX_Merge(src proto.Message)
func (m *ListPlatformsRequest) XXX_Size() int
func (m *ListPlatformsRequest) XXX_Unmarshal(b []byte) error
type ListPlatformsResponse struct { // The platforms matching the request. Platforms []*Platform `protobuf:"bytes,1,rep,name=platforms,proto3" json:"platforms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of platforms in the database.
func (*ListPlatformsResponse) Descriptor() ([]byte, []int)
func (m *ListPlatformsResponse) GetPlatforms() []*Platform
func (*ListPlatformsResponse) ProtoMessage()
func (m *ListPlatformsResponse) Reset()
func (m *ListPlatformsResponse) String() string
func (m *ListPlatformsResponse) XXX_DiscardUnknown()
func (m *ListPlatformsResponse) XXX_Merge(src proto.Message)
func (m *ListPlatformsResponse) XXX_Size() int
func (m *ListPlatformsResponse) XXX_Unmarshal(b []byte) error
type ListRacksRequest struct { // The names of racks to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The datacenters to filter retrieved racks on. Datacenters []string `protobuf:"bytes,2,rep,name=datacenters,proto3" json:"datacenters,omitempty"` // The KVMs to filter retrieved racks on. Kvms []string `protobuf:"bytes,3,rep,name=kvms,proto3" json:"kvms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list racks in the database.
func (*ListRacksRequest) Descriptor() ([]byte, []int)
func (m *ListRacksRequest) GetDatacenters() []string
func (m *ListRacksRequest) GetKvms() []string
func (m *ListRacksRequest) GetNames() []string
func (*ListRacksRequest) ProtoMessage()
func (m *ListRacksRequest) Reset()
func (m *ListRacksRequest) String() string
func (m *ListRacksRequest) XXX_DiscardUnknown()
func (m *ListRacksRequest) XXX_Merge(src proto.Message)
func (m *ListRacksRequest) XXX_Size() int
func (m *ListRacksRequest) XXX_Unmarshal(b []byte) error
type ListRacksResponse struct { // The racks matching the request. Racks []*Rack `protobuf:"bytes,1,rep,name=racks,proto3" json:"racks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of racks in the database.
func (*ListRacksResponse) Descriptor() ([]byte, []int)
func (m *ListRacksResponse) GetRacks() []*Rack
func (*ListRacksResponse) ProtoMessage()
func (m *ListRacksResponse) Reset()
func (m *ListRacksResponse) String() string
func (m *ListRacksResponse) XXX_DiscardUnknown()
func (m *ListRacksResponse) XXX_Merge(src proto.Message)
func (m *ListRacksResponse) XXX_Size() int
func (m *ListRacksResponse) XXX_Unmarshal(b []byte) error
type ListSwitchesRequest struct { // The names of switches to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The datacenters to filter retrieved switches on. Datacenters []string `protobuf:"bytes,2,rep,name=datacenters,proto3" json:"datacenters,omitempty"` // The racks to filter retrieved switches on. Racks []string `protobuf:"bytes,3,rep,name=racks,proto3" json:"racks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list switches in the database.
func (*ListSwitchesRequest) Descriptor() ([]byte, []int)
func (m *ListSwitchesRequest) GetDatacenters() []string
func (m *ListSwitchesRequest) GetNames() []string
func (m *ListSwitchesRequest) GetRacks() []string
func (*ListSwitchesRequest) ProtoMessage()
func (m *ListSwitchesRequest) Reset()
func (m *ListSwitchesRequest) String() string
func (m *ListSwitchesRequest) XXX_DiscardUnknown()
func (m *ListSwitchesRequest) XXX_Merge(src proto.Message)
func (m *ListSwitchesRequest) XXX_Size() int
func (m *ListSwitchesRequest) XXX_Unmarshal(b []byte) error
type ListSwitchesResponse struct { // The switches matching the request. Switches []*Switch `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of switches in the database.
func (*ListSwitchesResponse) Descriptor() ([]byte, []int)
func (m *ListSwitchesResponse) GetSwitches() []*Switch
func (*ListSwitchesResponse) ProtoMessage()
func (m *ListSwitchesResponse) Reset()
func (m *ListSwitchesResponse) String() string
func (m *ListSwitchesResponse) XXX_DiscardUnknown()
func (m *ListSwitchesResponse) XXX_Merge(src proto.Message)
func (m *ListSwitchesResponse) XXX_Size() int
func (m *ListSwitchesResponse) XXX_Unmarshal(b []byte) error
type ListVLANsRequest struct { // The IDs of VLANs to retrieve. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // The aliases of VLANs to retrieve. Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list VLANs in the database.
func (*ListVLANsRequest) Descriptor() ([]byte, []int)
func (m *ListVLANsRequest) GetAliases() []string
func (m *ListVLANsRequest) GetIds() []int64
func (*ListVLANsRequest) ProtoMessage()
func (m *ListVLANsRequest) Reset()
func (m *ListVLANsRequest) String() string
func (m *ListVLANsRequest) XXX_DiscardUnknown()
func (m *ListVLANsRequest) XXX_Merge(src proto.Message)
func (m *ListVLANsRequest) XXX_Size() int
func (m *ListVLANsRequest) XXX_Unmarshal(b []byte) error
type ListVLANsResponse struct { // The VLANs matching the request. Vlans []*VLAN `protobuf:"bytes,1,rep,name=vlans,proto3" json:"vlans,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of VLANs in the database.
func (*ListVLANsResponse) Descriptor() ([]byte, []int)
func (m *ListVLANsResponse) GetVlans() []*VLAN
func (*ListVLANsResponse) ProtoMessage()
func (m *ListVLANsResponse) Reset()
func (m *ListVLANsResponse) String() string
func (m *ListVLANsResponse) XXX_DiscardUnknown()
func (m *ListVLANsResponse) XXX_Merge(src proto.Message)
func (m *ListVLANsResponse) XXX_Size() int
func (m *ListVLANsResponse) XXX_Unmarshal(b []byte) error
type ListVMsRequest struct { // The names of VMs to get. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // The VLANs to filter retrieved VMs on. Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"` // The IPv4 addresses to filter retrieved VMs on. Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"` // The physical hosts to filter retrieved VMs on. Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"` // The physical host VLANs to filter retrieved VMs on. HostVlans []int64 `protobuf:"varint,5,rep,packed,name=host_vlans,json=hostVlans,proto3" json:"host_vlans,omitempty"` // The operating system to filter retrieved VMs on. Oses []string `protobuf:"bytes,6,rep,name=oses,proto3" json:"oses,omitempty"` // The states to filter retrieved VMs on. States []v1.State `protobuf:"varint,10,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to list VMs in the database.
func (*ListVMsRequest) Descriptor() ([]byte, []int)
func (m *ListVMsRequest) GetHostVlans() []int64
func (m *ListVMsRequest) GetHosts() []string
func (m *ListVMsRequest) GetIpv4S() []string
func (m *ListVMsRequest) GetNames() []string
func (m *ListVMsRequest) GetOses() []string
func (m *ListVMsRequest) GetStates() []v1.State
func (m *ListVMsRequest) GetVlans() []int64
func (*ListVMsRequest) ProtoMessage()
func (m *ListVMsRequest) Reset()
func (m *ListVMsRequest) String() string
func (m *ListVMsRequest) XXX_DiscardUnknown()
func (m *ListVMsRequest) XXX_Merge(src proto.Message)
func (m *ListVMsRequest) XXX_Size() int
func (m *ListVMsRequest) XXX_Unmarshal(b []byte) error
type ListVMsResponse struct { // The VMs matching this request. Vms []*VM `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A response containing a list of VMs in the database.
func (*ListVMsResponse) Descriptor() ([]byte, []int)
func (m *ListVMsResponse) GetVms() []*VM
func (*ListVMsResponse) ProtoMessage()
func (m *ListVMsResponse) Reset()
func (m *ListVMsResponse) String() string
func (m *ListVMsResponse) XXX_DiscardUnknown()
func (m *ListVMsResponse) XXX_Merge(src proto.Message)
func (m *ListVMsResponse) XXX_Size() int
func (m *ListVMsResponse) XXX_Unmarshal(b []byte) error
type Machine struct { // The name of this machine. Uniquely identifies this machine. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of platform this machine is. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // The rack this machine belongs to. Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"` // A description of this machine. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // The asset tag associated with this machine. AssetTag string `protobuf:"bytes,5,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"` // The service tag associated with this machine. ServiceTag string `protobuf:"bytes,6,opt,name=service_tag,json=serviceTag,proto3" json:"service_tag,omitempty"` // The deployment ticket associated with this machine. DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"` // The state of this machine. State v1.State `protobuf:"varint,8,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` // The datacenter this machine belongs to. // When creating a machine, omit this field. It will be inferred from the rack. Datacenter string `protobuf:"bytes,9,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // The DRAC password associated with this machine. DracPassword string `protobuf:"bytes,10,opt,name=drac_password,json=dracPassword,proto3" json:"drac_password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A machine in the database.
type NIC struct { // The name of this NIC. With machine, uniquely identifies this NIC. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The machine this NIC belongs to. With name, uniquely identifies this NIC. Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` // The MAC address associated with this NIC. MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // The switch this NIC is connected to. Switch string `protobuf:"bytes,4,opt,name=switch,proto3" json:"switch,omitempty"` // The switchport this NIC is connected to. Switchport int32 `protobuf:"varint,5,opt,name=switchport,proto3" json:"switchport,omitempty"` // The name of this NIC on the network. Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"` // The IPv4 address associated with this NIC. Ipv4 string `protobuf:"bytes,7,opt,name=ipv4,proto3" json:"ipv4,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A network interface in the database.
type OS struct { // The name of this operating system. Uniquely identifies this operating system. 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 in the database.
type PhysicalHost struct { // The name of this host on the network. Uniquely identifies this host. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The VLAN this host belongs to. // When creating a host, omit this field. It will be inferred from the IPv4 address. Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"` // The machine backing this host. Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"` // The operating system backing this host. Os string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"` // The number of VMs which can be deployed on this host. VmSlots int32 `protobuf:"varint,5,opt,name=vm_slots,json=vmSlots,proto3" json:"vm_slots,omitempty"` // A description of this host. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // The deployment ticket associated with this host. DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"` // The IPv4 address associated with this host. Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // The state of the machine backing this host. State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` // The virtual datacenter VMs deployed on this host belong to. VirtualDatacenter string `protobuf:"bytes,10,opt,name=virtual_datacenter,json=virtualDatacenter,proto3" json:"virtual_datacenter,omitempty"` // The primary NIC for this host. Nic string `protobuf:"bytes,11,opt,name=nic,proto3" json:"nic,omitempty"` // The MAC address associated with the primary NIC. MacAddress string `protobuf:"bytes,12,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A physical host in the database.
func (*PhysicalHost) Descriptor() ([]byte, []int)
func (m *PhysicalHost) GetDeploymentTicket() string
func (m *PhysicalHost) GetDescription() string
func (m *PhysicalHost) GetIpv4() string
func (m *PhysicalHost) GetMacAddress() string
func (m *PhysicalHost) GetMachine() string
func (m *PhysicalHost) GetName() string
func (m *PhysicalHost) GetNic() string
func (m *PhysicalHost) GetOs() string
func (m *PhysicalHost) GetState() v1.State
func (m *PhysicalHost) GetVirtualDatacenter() string
func (m *PhysicalHost) GetVlan() int64
func (m *PhysicalHost) GetVmSlots() int32
func (*PhysicalHost) ProtoMessage()
func (m *PhysicalHost) Reset()
func (m *PhysicalHost) String() string
func (m *PhysicalHost) XXX_DiscardUnknown()
func (m *PhysicalHost) XXX_Merge(src proto.Message)
func (m *PhysicalHost) XXX_Size() int
func (m *PhysicalHost) XXX_Unmarshal(b []byte) error
type Platform struct { // The name of this platform. Uniquely identifies this platform. 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 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 in the database.
type Rack struct { // The name of this rack. Uniquely identifies this rack. 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 datacenter this rack belongs to. Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,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 in the database.
type RenameMachineRequest struct { // The name of the machine to rename. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new name to give this machine. NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to rename a machine in the database.
func (*RenameMachineRequest) Descriptor() ([]byte, []int)
func (m *RenameMachineRequest) GetName() string
func (m *RenameMachineRequest) GetNewName() string
func (*RenameMachineRequest) ProtoMessage()
func (m *RenameMachineRequest) Reset()
func (m *RenameMachineRequest) String() string
func (m *RenameMachineRequest) XXX_DiscardUnknown()
func (m *RenameMachineRequest) XXX_Merge(src proto.Message)
func (m *RenameMachineRequest) XXX_Size() int
func (m *RenameMachineRequest) XXX_Unmarshal(b []byte) error
type Switch struct { // The name of this switch. Uniquely identifies this switch. 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 datacenter this switch belongs to. Datacenter string `protobuf:"bytes,4,opt,name=datacenter,proto3" json:"datacenter,omitempty"` // The rack this switch belongs to. Rack string `protobuf:"bytes,5,opt,name=rack,proto3" json:"rack,omitempty"` // The state of this switch. State v1.State `protobuf:"varint,6,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A switch in the database.
type UpdateDRACRequest struct { // The DRAC to update in the database. Drac *DRAC `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"` // The fields to update in the DRAC. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a DRAC in the database.
func (*UpdateDRACRequest) Descriptor() ([]byte, []int)
func (m *UpdateDRACRequest) GetDrac() *DRAC
func (m *UpdateDRACRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateDRACRequest) ProtoMessage()
func (m *UpdateDRACRequest) Reset()
func (m *UpdateDRACRequest) String() string
func (m *UpdateDRACRequest) XXX_DiscardUnknown()
func (m *UpdateDRACRequest) XXX_Merge(src proto.Message)
func (m *UpdateDRACRequest) XXX_Size() int
func (m *UpdateDRACRequest) XXX_Unmarshal(b []byte) error
type UpdateMachineRequest struct { // The machine to update in the database. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // The fields to update in the machine. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a machine in the database.
func (*UpdateMachineRequest) Descriptor() ([]byte, []int)
func (m *UpdateMachineRequest) GetMachine() *Machine
func (m *UpdateMachineRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateMachineRequest) ProtoMessage()
func (m *UpdateMachineRequest) Reset()
func (m *UpdateMachineRequest) String() string
func (m *UpdateMachineRequest) XXX_DiscardUnknown()
func (m *UpdateMachineRequest) XXX_Merge(src proto.Message)
func (m *UpdateMachineRequest) XXX_Size() int
func (m *UpdateMachineRequest) XXX_Unmarshal(b []byte) error
type UpdateNICRequest struct { // The NIC to update in the database. Nic *NIC `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"` // The fields to update in the NIC. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a NIC in the database.
func (*UpdateNICRequest) Descriptor() ([]byte, []int)
func (m *UpdateNICRequest) GetNic() *NIC
func (m *UpdateNICRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateNICRequest) ProtoMessage()
func (m *UpdateNICRequest) Reset()
func (m *UpdateNICRequest) String() string
func (m *UpdateNICRequest) XXX_DiscardUnknown()
func (m *UpdateNICRequest) XXX_Merge(src proto.Message)
func (m *UpdateNICRequest) XXX_Size() int
func (m *UpdateNICRequest) XXX_Unmarshal(b []byte) error
type UpdatePhysicalHostRequest struct { // The host to update in the database. Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // The fields to update in the host. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a physical host in the database.
func (*UpdatePhysicalHostRequest) Descriptor() ([]byte, []int)
func (m *UpdatePhysicalHostRequest) GetHost() *PhysicalHost
func (m *UpdatePhysicalHostRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdatePhysicalHostRequest) ProtoMessage()
func (m *UpdatePhysicalHostRequest) Reset()
func (m *UpdatePhysicalHostRequest) String() string
func (m *UpdatePhysicalHostRequest) XXX_DiscardUnknown()
func (m *UpdatePhysicalHostRequest) XXX_Merge(src proto.Message)
func (m *UpdatePhysicalHostRequest) XXX_Size() int
func (m *UpdatePhysicalHostRequest) XXX_Unmarshal(b []byte) error
type UpdateVMRequest struct { // The VM to update in the database. Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"` // The fields to update in the VM. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a VM in the database.
func (*UpdateVMRequest) Descriptor() ([]byte, []int)
func (m *UpdateVMRequest) GetUpdateMask() *field_mask.FieldMask
func (m *UpdateVMRequest) GetVm() *VM
func (*UpdateVMRequest) ProtoMessage()
func (m *UpdateVMRequest) Reset()
func (m *UpdateVMRequest) String() string
func (m *UpdateVMRequest) XXX_DiscardUnknown()
func (m *UpdateVMRequest) XXX_Merge(src proto.Message)
func (m *UpdateVMRequest) XXX_Size() int
func (m *UpdateVMRequest) XXX_Unmarshal(b []byte) error
type VLAN struct { // The ID of this VLAN. Uniquely identifies this VLAN. 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"` // A description of this VLAN. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The state of this VLAN. State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` // The block of IPv4 addresses belonging to this VLAN. CidrBlock string `protobuf:"bytes,5,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A VLAN in the database.
type VM struct { // The name of this VM on the network. Uniquely identifies this VM. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The VLAN this VM belongs to. // When creating a VM, omit this field. It will be inferred from the IPv4 address. Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"` // The physical host this VM is running on. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // The VLAN this VM's physical host belongs to. // When creating a VM, omit this field. It will be inferred from the host. HostVlan int64 `protobuf:"varint,4,opt,name=host_vlan,json=hostVlan,proto3" json:"host_vlan,omitempty"` // The operating system running on this VM. Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` // A description of this VM. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // The deployment ticket associated with this VM. DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"` // The IPv4 address associated with this host. Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"` // The state of this VM. State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A VM in the database.
Package crimson imports 11 packages (graph) and is imported by 4 packages. Updated 2019-02-20. Refresh now. Tools for package owners.