Documentation ¶
Index ¶
- Variables
- func FileDescriptorSet() *descriptorpb.FileDescriptorSet
- func RegisterCrimsonServer(s prpc.Registrar, srv CrimsonServer)
- type CreateDRACRequest
- type CreateMachineRequest
- func (*CreateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMachineRequest) GetMachine() *Machine
- func (*CreateMachineRequest) ProtoMessage()
- func (x *CreateMachineRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMachineRequest) Reset()
- func (x *CreateMachineRequest) String() string
- type CreateNICRequest
- type CreatePhysicalHostRequest
- func (*CreatePhysicalHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePhysicalHostRequest) GetHost() *PhysicalHost
- func (*CreatePhysicalHostRequest) ProtoMessage()
- func (x *CreatePhysicalHostRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePhysicalHostRequest) Reset()
- func (x *CreatePhysicalHostRequest) String() string
- type CreateVMRequest
- type CrimsonClient
- type CrimsonServer
- type DRAC
- func (*DRAC) Descriptor() ([]byte, []int)deprecated
- func (x *DRAC) GetIpv4() string
- func (x *DRAC) GetMacAddress() string
- func (x *DRAC) GetMachine() string
- func (x *DRAC) GetName() string
- func (x *DRAC) GetSwitch() string
- func (x *DRAC) GetSwitchport() int32
- func (x *DRAC) GetVlan() int64
- func (*DRAC) ProtoMessage()
- func (x *DRAC) ProtoReflect() protoreflect.Message
- func (x *DRAC) Reset()
- func (x *DRAC) String() string
- type Datacenter
- func (*Datacenter) Descriptor() ([]byte, []int)deprecated
- func (x *Datacenter) GetDescription() string
- func (x *Datacenter) GetName() string
- func (x *Datacenter) GetState() v1.State
- func (*Datacenter) ProtoMessage()
- func (x *Datacenter) ProtoReflect() protoreflect.Message
- func (x *Datacenter) Reset()
- func (x *Datacenter) String() string
- type DecoratedCrimson
- func (s *DecoratedCrimson) CreateDRAC(ctx context.Context, req *CreateDRACRequest) (rsp *DRAC, err error)
- func (s *DecoratedCrimson) CreateMachine(ctx context.Context, req *CreateMachineRequest) (rsp *Machine, err error)
- func (s *DecoratedCrimson) CreateNIC(ctx context.Context, req *CreateNICRequest) (rsp *NIC, err error)
- func (s *DecoratedCrimson) CreatePhysicalHost(ctx context.Context, req *CreatePhysicalHostRequest) (rsp *PhysicalHost, err error)
- func (s *DecoratedCrimson) CreateVM(ctx context.Context, req *CreateVMRequest) (rsp *VM, err error)
- func (s *DecoratedCrimson) DeleteHost(ctx context.Context, req *DeleteHostRequest) (rsp *emptypb.Empty, err error)
- func (s *DecoratedCrimson) DeleteMachine(ctx context.Context, req *DeleteMachineRequest) (rsp *emptypb.Empty, err error)
- func (s *DecoratedCrimson) DeleteNIC(ctx context.Context, req *DeleteNICRequest) (rsp *emptypb.Empty, err error)
- func (s *DecoratedCrimson) FindVMSlots(ctx context.Context, req *FindVMSlotsRequest) (rsp *FindVMSlotsResponse, err error)
- func (s *DecoratedCrimson) ListDRACs(ctx context.Context, req *ListDRACsRequest) (rsp *ListDRACsResponse, err error)
- func (s *DecoratedCrimson) ListDatacenters(ctx context.Context, req *ListDatacentersRequest) (rsp *ListDatacentersResponse, err error)
- func (s *DecoratedCrimson) ListFreeIPs(ctx context.Context, req *ListFreeIPsRequest) (rsp *ListIPsResponse, err error)
- func (s *DecoratedCrimson) ListKVMs(ctx context.Context, req *ListKVMsRequest) (rsp *ListKVMsResponse, err error)
- func (s *DecoratedCrimson) ListMachines(ctx context.Context, req *ListMachinesRequest) (rsp *ListMachinesResponse, err error)
- func (s *DecoratedCrimson) ListNICs(ctx context.Context, req *ListNICsRequest) (rsp *ListNICsResponse, err error)
- func (s *DecoratedCrimson) ListOSes(ctx context.Context, req *ListOSesRequest) (rsp *ListOSesResponse, err error)
- func (s *DecoratedCrimson) ListPhysicalHosts(ctx context.Context, req *ListPhysicalHostsRequest) (rsp *ListPhysicalHostsResponse, err error)
- func (s *DecoratedCrimson) ListPlatforms(ctx context.Context, req *ListPlatformsRequest) (rsp *ListPlatformsResponse, err error)
- func (s *DecoratedCrimson) ListRacks(ctx context.Context, req *ListRacksRequest) (rsp *ListRacksResponse, err error)
- func (s *DecoratedCrimson) ListSwitches(ctx context.Context, req *ListSwitchesRequest) (rsp *ListSwitchesResponse, err error)
- func (s *DecoratedCrimson) ListVLANs(ctx context.Context, req *ListVLANsRequest) (rsp *ListVLANsResponse, err error)
- func (s *DecoratedCrimson) ListVMs(ctx context.Context, req *ListVMsRequest) (rsp *ListVMsResponse, err error)
- func (s *DecoratedCrimson) RenameMachine(ctx context.Context, req *RenameMachineRequest) (rsp *Machine, err error)
- func (s *DecoratedCrimson) UpdateDRAC(ctx context.Context, req *UpdateDRACRequest) (rsp *DRAC, err error)
- func (s *DecoratedCrimson) UpdateMachine(ctx context.Context, req *UpdateMachineRequest) (rsp *Machine, err error)
- func (s *DecoratedCrimson) UpdateNIC(ctx context.Context, req *UpdateNICRequest) (rsp *NIC, err error)
- func (s *DecoratedCrimson) UpdatePhysicalHost(ctx context.Context, req *UpdatePhysicalHostRequest) (rsp *PhysicalHost, err error)
- func (s *DecoratedCrimson) UpdateVM(ctx context.Context, req *UpdateVMRequest) (rsp *VM, err error)
- type DeleteHostRequest
- func (*DeleteHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteHostRequest) GetName() string
- func (x *DeleteHostRequest) GetVlan() int64
- func (*DeleteHostRequest) ProtoMessage()
- func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteHostRequest) Reset()
- func (x *DeleteHostRequest) String() string
- type DeleteMachineRequest
- func (*DeleteMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMachineRequest) GetName() string
- func (*DeleteMachineRequest) ProtoMessage()
- func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMachineRequest) Reset()
- func (x *DeleteMachineRequest) String() string
- type DeleteNICRequest
- func (*DeleteNICRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNICRequest) GetMachine() string
- func (x *DeleteNICRequest) GetName() string
- func (*DeleteNICRequest) ProtoMessage()
- func (x *DeleteNICRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNICRequest) Reset()
- func (x *DeleteNICRequest) String() string
- type FindVMSlotsRequest
- func (*FindVMSlotsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindVMSlotsRequest) GetManufacturers() []string
- func (x *FindVMSlotsRequest) GetSlots() int32
- func (x *FindVMSlotsRequest) GetStates() []v1.State
- func (x *FindVMSlotsRequest) GetVirtualDatacenters() []string
- func (*FindVMSlotsRequest) ProtoMessage()
- func (x *FindVMSlotsRequest) ProtoReflect() protoreflect.Message
- func (x *FindVMSlotsRequest) Reset()
- func (x *FindVMSlotsRequest) String() string
- type FindVMSlotsResponse
- func (*FindVMSlotsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindVMSlotsResponse) GetHosts() []*PhysicalHost
- func (*FindVMSlotsResponse) ProtoMessage()
- func (x *FindVMSlotsResponse) ProtoReflect() protoreflect.Message
- func (x *FindVMSlotsResponse) Reset()
- func (x *FindVMSlotsResponse) String() string
- type IP
- type KVM
- func (*KVM) Descriptor() ([]byte, []int)deprecated
- func (x *KVM) GetDatacenter() string
- func (x *KVM) GetDescription() string
- func (x *KVM) GetIpv4() string
- func (x *KVM) GetMacAddress() string
- func (x *KVM) GetName() string
- func (x *KVM) GetPlatform() string
- func (x *KVM) GetRack() string
- func (x *KVM) GetState() v1.State
- func (x *KVM) GetVlan() int64
- func (*KVM) ProtoMessage()
- func (x *KVM) ProtoReflect() protoreflect.Message
- func (x *KVM) Reset()
- func (x *KVM) String() string
- type ListDRACsRequest
- func (*ListDRACsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDRACsRequest) GetIpv4S() []string
- func (x *ListDRACsRequest) GetMacAddresses() []string
- func (x *ListDRACsRequest) GetMachines() []string
- func (x *ListDRACsRequest) GetNames() []string
- func (x *ListDRACsRequest) GetSwitches() []string
- func (x *ListDRACsRequest) GetVlans() []int64
- func (*ListDRACsRequest) ProtoMessage()
- func (x *ListDRACsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDRACsRequest) Reset()
- func (x *ListDRACsRequest) String() string
- type ListDRACsResponse
- type ListDatacentersRequest
- func (*ListDatacentersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatacentersRequest) GetNames() []string
- func (*ListDatacentersRequest) ProtoMessage()
- func (x *ListDatacentersRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatacentersRequest) Reset()
- func (x *ListDatacentersRequest) String() string
- type ListDatacentersResponse
- func (*ListDatacentersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatacentersResponse) GetDatacenters() []*Datacenter
- func (*ListDatacentersResponse) ProtoMessage()
- func (x *ListDatacentersResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatacentersResponse) Reset()
- func (x *ListDatacentersResponse) String() string
- type ListFreeIPsRequest
- func (*ListFreeIPsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFreeIPsRequest) GetPageSize() int32
- func (x *ListFreeIPsRequest) GetVlan() int64
- func (*ListFreeIPsRequest) ProtoMessage()
- func (x *ListFreeIPsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFreeIPsRequest) Reset()
- func (x *ListFreeIPsRequest) String() string
- type ListIPsResponse
- type ListKVMsRequest
- func (*ListKVMsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListKVMsRequest) GetDatacenters() []string
- func (x *ListKVMsRequest) GetIpv4S() []string
- func (x *ListKVMsRequest) GetMacAddresses() []string
- func (x *ListKVMsRequest) GetNames() []string
- func (x *ListKVMsRequest) GetPlatforms() []string
- func (x *ListKVMsRequest) GetRacks() []string
- func (x *ListKVMsRequest) GetStates() []v1.State
- func (x *ListKVMsRequest) GetVlans() []int64
- func (*ListKVMsRequest) ProtoMessage()
- func (x *ListKVMsRequest) ProtoReflect() protoreflect.Message
- func (x *ListKVMsRequest) Reset()
- func (x *ListKVMsRequest) String() string
- type ListKVMsResponse
- type ListMachinesRequest
- func (*ListMachinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesRequest) GetDatacenters() []string
- func (x *ListMachinesRequest) GetNames() []string
- func (x *ListMachinesRequest) GetPlatforms() []string
- func (x *ListMachinesRequest) GetRacks() []string
- func (x *ListMachinesRequest) GetStates() []v1.State
- func (*ListMachinesRequest) ProtoMessage()
- func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMachinesRequest) Reset()
- func (x *ListMachinesRequest) String() string
- type ListMachinesResponse
- func (*ListMachinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesResponse) GetMachines() []*Machine
- func (*ListMachinesResponse) ProtoMessage()
- func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMachinesResponse) Reset()
- func (x *ListMachinesResponse) String() string
- type ListNICsRequest
- func (*ListNICsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNICsRequest) GetHostnames() []string
- func (x *ListNICsRequest) GetIpv4S() []string
- func (x *ListNICsRequest) GetMacAddresses() []string
- func (x *ListNICsRequest) GetMachines() []string
- func (x *ListNICsRequest) GetNames() []string
- func (x *ListNICsRequest) GetSwitches() []string
- func (*ListNICsRequest) ProtoMessage()
- func (x *ListNICsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNICsRequest) Reset()
- func (x *ListNICsRequest) String() string
- type ListNICsResponse
- type ListOSesRequest
- type ListOSesResponse
- type ListPhysicalHostsRequest
- func (*ListPhysicalHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPhysicalHostsRequest) GetDatacenters() []string
- func (x *ListPhysicalHostsRequest) GetIpv4S() []string
- func (x *ListPhysicalHostsRequest) GetMacAddresses() []string
- func (x *ListPhysicalHostsRequest) GetMachines() []string
- func (x *ListPhysicalHostsRequest) GetNames() []string
- func (x *ListPhysicalHostsRequest) GetNics() []string
- func (x *ListPhysicalHostsRequest) GetOses() []string
- func (x *ListPhysicalHostsRequest) GetPlatforms() []string
- func (x *ListPhysicalHostsRequest) GetRacks() []string
- func (x *ListPhysicalHostsRequest) GetStates() []v1.State
- func (x *ListPhysicalHostsRequest) GetVirtualDatacenters() []string
- func (x *ListPhysicalHostsRequest) GetVlans() []int64
- func (*ListPhysicalHostsRequest) ProtoMessage()
- func (x *ListPhysicalHostsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPhysicalHostsRequest) Reset()
- func (x *ListPhysicalHostsRequest) String() string
- type ListPhysicalHostsResponse
- func (*ListPhysicalHostsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPhysicalHostsResponse) GetHosts() []*PhysicalHost
- func (*ListPhysicalHostsResponse) ProtoMessage()
- func (x *ListPhysicalHostsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPhysicalHostsResponse) Reset()
- func (x *ListPhysicalHostsResponse) String() string
- type ListPlatformsRequest
- func (*ListPlatformsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsRequest) GetManufacturers() []string
- func (x *ListPlatformsRequest) GetNames() []string
- func (*ListPlatformsRequest) ProtoMessage()
- func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsRequest) Reset()
- func (x *ListPlatformsRequest) String() string
- type ListPlatformsResponse
- func (*ListPlatformsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsResponse) GetPlatforms() []*Platform
- func (*ListPlatformsResponse) ProtoMessage()
- func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsResponse) Reset()
- func (x *ListPlatformsResponse) String() string
- type ListRacksRequest
- func (*ListRacksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRacksRequest) GetDatacenters() []string
- func (x *ListRacksRequest) GetKvms() []string
- func (x *ListRacksRequest) GetNames() []string
- func (*ListRacksRequest) ProtoMessage()
- func (x *ListRacksRequest) ProtoReflect() protoreflect.Message
- func (x *ListRacksRequest) Reset()
- func (x *ListRacksRequest) String() string
- type ListRacksResponse
- type ListSwitchesRequest
- func (*ListSwitchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSwitchesRequest) GetDatacenters() []string
- func (x *ListSwitchesRequest) GetNames() []string
- func (x *ListSwitchesRequest) GetRacks() []string
- func (*ListSwitchesRequest) ProtoMessage()
- func (x *ListSwitchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSwitchesRequest) Reset()
- func (x *ListSwitchesRequest) String() string
- type ListSwitchesResponse
- func (*ListSwitchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSwitchesResponse) GetSwitches() []*Switch
- func (*ListSwitchesResponse) ProtoMessage()
- func (x *ListSwitchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSwitchesResponse) Reset()
- func (x *ListSwitchesResponse) String() string
- type ListVLANsRequest
- func (*ListVLANsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVLANsRequest) GetAliases() []string
- func (x *ListVLANsRequest) GetIds() []int64
- func (*ListVLANsRequest) ProtoMessage()
- func (x *ListVLANsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVLANsRequest) Reset()
- func (x *ListVLANsRequest) String() string
- type ListVLANsResponse
- type ListVMsRequest
- func (*ListVMsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVMsRequest) GetHostVlans() []int64
- func (x *ListVMsRequest) GetHosts() []string
- func (x *ListVMsRequest) GetIpv4S() []string
- func (x *ListVMsRequest) GetNames() []string
- func (x *ListVMsRequest) GetOses() []string
- func (x *ListVMsRequest) GetStates() []v1.State
- func (x *ListVMsRequest) GetVlans() []int64
- func (*ListVMsRequest) ProtoMessage()
- func (x *ListVMsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVMsRequest) Reset()
- func (x *ListVMsRequest) String() string
- type ListVMsResponse
- type Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetAssetTag() string
- func (x *Machine) GetDatacenter() string
- func (x *Machine) GetDeploymentTicket() string
- func (x *Machine) GetDescription() string
- func (x *Machine) GetDracPassword() string
- func (x *Machine) GetName() string
- func (x *Machine) GetPlatform() string
- func (x *Machine) GetRack() string
- func (x *Machine) GetServiceTag() string
- func (x *Machine) GetState() v1.State
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type NIC
- func (*NIC) Descriptor() ([]byte, []int)deprecated
- func (x *NIC) GetHostname() string
- func (x *NIC) GetIpv4() string
- func (x *NIC) GetMacAddress() string
- func (x *NIC) GetMachine() string
- func (x *NIC) GetName() string
- func (x *NIC) GetSwitch() string
- func (x *NIC) GetSwitchport() int32
- func (*NIC) ProtoMessage()
- func (x *NIC) ProtoReflect() protoreflect.Message
- func (x *NIC) Reset()
- func (x *NIC) String() string
- type OS
- type PhysicalHost
- func (*PhysicalHost) Descriptor() ([]byte, []int)deprecated
- func (x *PhysicalHost) GetDeploymentTicket() string
- func (x *PhysicalHost) GetDescription() string
- func (x *PhysicalHost) GetIpv4() string
- func (x *PhysicalHost) GetMacAddress() string
- func (x *PhysicalHost) GetMachine() string
- func (x *PhysicalHost) GetName() string
- func (x *PhysicalHost) GetNic() string
- func (x *PhysicalHost) GetOs() string
- func (x *PhysicalHost) GetState() v1.State
- func (x *PhysicalHost) GetVirtualDatacenter() string
- func (x *PhysicalHost) GetVlan() int64
- func (x *PhysicalHost) GetVmSlots() int32
- func (*PhysicalHost) ProtoMessage()
- func (x *PhysicalHost) ProtoReflect() protoreflect.Message
- func (x *PhysicalHost) Reset()
- func (x *PhysicalHost) String() string
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetDescription() string
- func (x *Platform) GetManufacturer() string
- func (x *Platform) GetName() string
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- type Rack
- func (*Rack) Descriptor() ([]byte, []int)deprecated
- func (x *Rack) GetDatacenter() string
- func (x *Rack) GetDescription() string
- func (x *Rack) GetKvm() string
- func (x *Rack) GetName() string
- func (x *Rack) GetState() v1.State
- func (*Rack) ProtoMessage()
- func (x *Rack) ProtoReflect() protoreflect.Message
- func (x *Rack) Reset()
- func (x *Rack) String() string
- type RenameMachineRequest
- func (*RenameMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameMachineRequest) GetName() string
- func (x *RenameMachineRequest) GetNewName() string
- func (*RenameMachineRequest) ProtoMessage()
- func (x *RenameMachineRequest) ProtoReflect() protoreflect.Message
- func (x *RenameMachineRequest) Reset()
- func (x *RenameMachineRequest) String() string
- type Switch
- func (*Switch) Descriptor() ([]byte, []int)deprecated
- func (x *Switch) GetDatacenter() string
- func (x *Switch) GetDescription() string
- func (x *Switch) GetName() string
- func (x *Switch) GetPorts() int32
- func (x *Switch) GetRack() string
- func (x *Switch) GetState() v1.State
- func (*Switch) ProtoMessage()
- func (x *Switch) ProtoReflect() protoreflect.Message
- func (x *Switch) Reset()
- func (x *Switch) String() string
- type UnimplementedCrimsonServer
- func (*UnimplementedCrimsonServer) CreateDRAC(context.Context, *CreateDRACRequest) (*DRAC, error)
- func (*UnimplementedCrimsonServer) CreateMachine(context.Context, *CreateMachineRequest) (*Machine, error)
- func (*UnimplementedCrimsonServer) CreateNIC(context.Context, *CreateNICRequest) (*NIC, error)
- func (*UnimplementedCrimsonServer) CreatePhysicalHost(context.Context, *CreatePhysicalHostRequest) (*PhysicalHost, error)
- func (*UnimplementedCrimsonServer) CreateVM(context.Context, *CreateVMRequest) (*VM, error)
- func (*UnimplementedCrimsonServer) DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
- func (*UnimplementedCrimsonServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*emptypb.Empty, error)
- func (*UnimplementedCrimsonServer) DeleteNIC(context.Context, *DeleteNICRequest) (*emptypb.Empty, error)
- func (*UnimplementedCrimsonServer) FindVMSlots(context.Context, *FindVMSlotsRequest) (*FindVMSlotsResponse, error)
- func (*UnimplementedCrimsonServer) ListDRACs(context.Context, *ListDRACsRequest) (*ListDRACsResponse, error)
- func (*UnimplementedCrimsonServer) ListDatacenters(context.Context, *ListDatacentersRequest) (*ListDatacentersResponse, error)
- func (*UnimplementedCrimsonServer) ListFreeIPs(context.Context, *ListFreeIPsRequest) (*ListIPsResponse, error)
- func (*UnimplementedCrimsonServer) ListKVMs(context.Context, *ListKVMsRequest) (*ListKVMsResponse, error)
- func (*UnimplementedCrimsonServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
- func (*UnimplementedCrimsonServer) ListNICs(context.Context, *ListNICsRequest) (*ListNICsResponse, error)
- func (*UnimplementedCrimsonServer) ListOSes(context.Context, *ListOSesRequest) (*ListOSesResponse, error)
- func (*UnimplementedCrimsonServer) ListPhysicalHosts(context.Context, *ListPhysicalHostsRequest) (*ListPhysicalHostsResponse, error)
- func (*UnimplementedCrimsonServer) ListPlatforms(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
- func (*UnimplementedCrimsonServer) ListRacks(context.Context, *ListRacksRequest) (*ListRacksResponse, error)
- func (*UnimplementedCrimsonServer) ListSwitches(context.Context, *ListSwitchesRequest) (*ListSwitchesResponse, error)
- func (*UnimplementedCrimsonServer) ListVLANs(context.Context, *ListVLANsRequest) (*ListVLANsResponse, error)
- func (*UnimplementedCrimsonServer) ListVMs(context.Context, *ListVMsRequest) (*ListVMsResponse, error)
- func (*UnimplementedCrimsonServer) RenameMachine(context.Context, *RenameMachineRequest) (*Machine, error)
- func (*UnimplementedCrimsonServer) UpdateDRAC(context.Context, *UpdateDRACRequest) (*DRAC, error)
- func (*UnimplementedCrimsonServer) UpdateMachine(context.Context, *UpdateMachineRequest) (*Machine, error)
- func (*UnimplementedCrimsonServer) UpdateNIC(context.Context, *UpdateNICRequest) (*NIC, error)
- func (*UnimplementedCrimsonServer) UpdatePhysicalHost(context.Context, *UpdatePhysicalHostRequest) (*PhysicalHost, error)
- func (*UnimplementedCrimsonServer) UpdateVM(context.Context, *UpdateVMRequest) (*VM, error)
- type UpdateDRACRequest
- func (*UpdateDRACRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDRACRequest) GetDrac() *DRAC
- func (x *UpdateDRACRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDRACRequest) ProtoMessage()
- func (x *UpdateDRACRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDRACRequest) Reset()
- func (x *UpdateDRACRequest) String() string
- type UpdateMachineRequest
- func (*UpdateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMachineRequest) GetMachine() *Machine
- func (x *UpdateMachineRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateMachineRequest) ProtoMessage()
- func (x *UpdateMachineRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMachineRequest) Reset()
- func (x *UpdateMachineRequest) String() string
- type UpdateNICRequest
- func (*UpdateNICRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNICRequest) GetNic() *NIC
- func (x *UpdateNICRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateNICRequest) ProtoMessage()
- func (x *UpdateNICRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNICRequest) Reset()
- func (x *UpdateNICRequest) String() string
- type UpdatePhysicalHostRequest
- func (*UpdatePhysicalHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePhysicalHostRequest) GetHost() *PhysicalHost
- func (x *UpdatePhysicalHostRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePhysicalHostRequest) ProtoMessage()
- func (x *UpdatePhysicalHostRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePhysicalHostRequest) Reset()
- func (x *UpdatePhysicalHostRequest) String() string
- type UpdateVMRequest
- func (*UpdateVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVMRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateVMRequest) GetVm() *VM
- func (*UpdateVMRequest) ProtoMessage()
- func (x *UpdateVMRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVMRequest) Reset()
- func (x *UpdateVMRequest) String() string
- type VLAN
- func (*VLAN) Descriptor() ([]byte, []int)deprecated
- func (x *VLAN) GetAlias() string
- func (x *VLAN) GetCidrBlock() string
- func (x *VLAN) GetDescription() string
- func (x *VLAN) GetId() int64
- func (x *VLAN) GetState() v1.State
- func (*VLAN) ProtoMessage()
- func (x *VLAN) ProtoReflect() protoreflect.Message
- func (x *VLAN) Reset()
- func (x *VLAN) String() string
- type VM
- func (*VM) Descriptor() ([]byte, []int)deprecated
- func (x *VM) GetDeploymentTicket() string
- func (x *VM) GetDescription() string
- func (x *VM) GetHost() string
- func (x *VM) GetHostVlan() int64
- func (x *VM) GetIpv4() string
- func (x *VM) GetName() string
- func (x *VM) GetOs() string
- func (x *VM) GetState() v1.State
- func (x *VM) GetVlan() int64
- func (*VM) ProtoMessage()
- func (x *VM) ProtoReflect() protoreflect.Message
- func (x *VM) Reset()
- func (x *VM) String() string
Constants ¶
This section is empty.
Variables ¶
var File_go_chromium_org_luci_machine_db_api_crimson_v1_crimson_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_datacenters_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_dracs_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_hosts_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_ips_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_kvms_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_machines_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_nics_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_oses_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_physical_hosts_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_platforms_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_racks_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_switches_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_vlans_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_vm_slots_proto protoreflect.FileDescriptor
var File_go_chromium_org_luci_machine_db_api_crimson_v1_vms_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.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 ¶
func RegisterCrimsonServer(s prpc.Registrar, srv CrimsonServer)
Types ¶
type CreateDRACRequest ¶
type CreateDRACRequest struct { // The DRAC to create in the database. Drac *DRAC `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"` // contains filtered or unexported fields }
A request to create a new DRAC in the database.
func (*CreateDRACRequest) Descriptor
deprecated
func (*CreateDRACRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDRACRequest.ProtoReflect.Descriptor instead.
func (*CreateDRACRequest) GetDrac ¶
func (x *CreateDRACRequest) GetDrac() *DRAC
func (*CreateDRACRequest) ProtoMessage ¶
func (*CreateDRACRequest) ProtoMessage()
func (*CreateDRACRequest) ProtoReflect ¶
func (x *CreateDRACRequest) ProtoReflect() protoreflect.Message
func (*CreateDRACRequest) Reset ¶
func (x *CreateDRACRequest) Reset()
func (*CreateDRACRequest) String ¶
func (x *CreateDRACRequest) String() string
type CreateMachineRequest ¶
type CreateMachineRequest struct { // The machine to create in the database. Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
A request to create a new machine in the database.
func (*CreateMachineRequest) Descriptor
deprecated
func (*CreateMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMachineRequest.ProtoReflect.Descriptor instead.
func (*CreateMachineRequest) GetMachine ¶
func (x *CreateMachineRequest) GetMachine() *Machine
func (*CreateMachineRequest) ProtoMessage ¶
func (*CreateMachineRequest) ProtoMessage()
func (*CreateMachineRequest) ProtoReflect ¶
func (x *CreateMachineRequest) ProtoReflect() protoreflect.Message
func (*CreateMachineRequest) Reset ¶
func (x *CreateMachineRequest) Reset()
func (*CreateMachineRequest) String ¶
func (x *CreateMachineRequest) String() string
type CreateNICRequest ¶
type CreateNICRequest struct { // The NIC to create in the database. Nic *NIC `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"` // contains filtered or unexported fields }
A request to create a new NIC in the database.
func (*CreateNICRequest) Descriptor
deprecated
func (*CreateNICRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNICRequest.ProtoReflect.Descriptor instead.
func (*CreateNICRequest) GetNic ¶
func (x *CreateNICRequest) GetNic() *NIC
func (*CreateNICRequest) ProtoMessage ¶
func (*CreateNICRequest) ProtoMessage()
func (*CreateNICRequest) ProtoReflect ¶
func (x *CreateNICRequest) ProtoReflect() protoreflect.Message
func (*CreateNICRequest) Reset ¶
func (x *CreateNICRequest) Reset()
func (*CreateNICRequest) String ¶
func (x *CreateNICRequest) String() string
type CreatePhysicalHostRequest ¶
type CreatePhysicalHostRequest struct { // The host to create in the database. Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
A request to create a new physical host in the database.
func (*CreatePhysicalHostRequest) Descriptor
deprecated
func (*CreatePhysicalHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePhysicalHostRequest.ProtoReflect.Descriptor instead.
func (*CreatePhysicalHostRequest) GetHost ¶
func (x *CreatePhysicalHostRequest) GetHost() *PhysicalHost
func (*CreatePhysicalHostRequest) ProtoMessage ¶
func (*CreatePhysicalHostRequest) ProtoMessage()
func (*CreatePhysicalHostRequest) ProtoReflect ¶
func (x *CreatePhysicalHostRequest) ProtoReflect() protoreflect.Message
func (*CreatePhysicalHostRequest) Reset ¶
func (x *CreatePhysicalHostRequest) Reset()
func (*CreatePhysicalHostRequest) String ¶
func (x *CreatePhysicalHostRequest) String() string
type CreateVMRequest ¶
type CreateVMRequest struct { // The VM to create in the database. Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"` // contains filtered or unexported fields }
A request to create a new VM in the database.
func (*CreateVMRequest) Descriptor
deprecated
func (*CreateVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVMRequest.ProtoReflect.Descriptor instead.
func (*CreateVMRequest) GetVm ¶
func (x *CreateVMRequest) GetVm() *VM
func (*CreateVMRequest) ProtoMessage ¶
func (*CreateVMRequest) ProtoMessage()
func (*CreateVMRequest) ProtoReflect ¶
func (x *CreateVMRequest) ProtoReflect() protoreflect.Message
func (*CreateVMRequest) Reset ¶
func (x *CreateVMRequest) Reset()
func (*CreateVMRequest) String ¶
func (x *CreateVMRequest) String() string
type CrimsonClient ¶
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) (*emptypb.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) (*emptypb.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) (*emptypb.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 ¶
func NewCrimsonClient(cc grpc.ClientConnInterface) CrimsonClient
func NewCrimsonPRPCClient ¶
func NewCrimsonPRPCClient(client *prpc.Client) CrimsonClient
type CrimsonServer ¶
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) (*emptypb.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) (*emptypb.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) (*emptypb.Empty, error) }
CrimsonServer is the server API for Crimson service.
type DRAC ¶
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"` // contains filtered or unexported fields }
A DRAC in the database.
func (*DRAC) Descriptor
deprecated
func (*DRAC) GetMacAddress ¶
func (*DRAC) GetMachine ¶
func (*DRAC) GetSwitchport ¶
func (*DRAC) ProtoMessage ¶
func (*DRAC) ProtoMessage()
func (*DRAC) ProtoReflect ¶
func (x *DRAC) ProtoReflect() protoreflect.Message
type Datacenter ¶
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"` // contains filtered or unexported fields }
A datacenter 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) GetName ¶
func (x *Datacenter) GetName() string
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 DecoratedCrimson ¶
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(ctx 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(ctx context.Context, methodName string, rsp proto.Message, err error) error }
func (*DecoratedCrimson) CreateDRAC ¶
func (s *DecoratedCrimson) CreateDRAC(ctx context.Context, req *CreateDRACRequest) (rsp *DRAC, err error)
func (*DecoratedCrimson) CreateMachine ¶
func (s *DecoratedCrimson) CreateMachine(ctx context.Context, req *CreateMachineRequest) (rsp *Machine, err error)
func (*DecoratedCrimson) CreateNIC ¶
func (s *DecoratedCrimson) CreateNIC(ctx context.Context, req *CreateNICRequest) (rsp *NIC, err error)
func (*DecoratedCrimson) CreatePhysicalHost ¶
func (s *DecoratedCrimson) CreatePhysicalHost(ctx context.Context, req *CreatePhysicalHostRequest) (rsp *PhysicalHost, err error)
func (*DecoratedCrimson) CreateVM ¶
func (s *DecoratedCrimson) CreateVM(ctx context.Context, req *CreateVMRequest) (rsp *VM, err error)
func (*DecoratedCrimson) DeleteHost ¶
func (s *DecoratedCrimson) DeleteHost(ctx context.Context, req *DeleteHostRequest) (rsp *emptypb.Empty, err error)
func (*DecoratedCrimson) DeleteMachine ¶
func (s *DecoratedCrimson) DeleteMachine(ctx context.Context, req *DeleteMachineRequest) (rsp *emptypb.Empty, err error)
func (*DecoratedCrimson) DeleteNIC ¶
func (s *DecoratedCrimson) DeleteNIC(ctx context.Context, req *DeleteNICRequest) (rsp *emptypb.Empty, err error)
func (*DecoratedCrimson) FindVMSlots ¶
func (s *DecoratedCrimson) FindVMSlots(ctx context.Context, req *FindVMSlotsRequest) (rsp *FindVMSlotsResponse, err error)
func (*DecoratedCrimson) ListDRACs ¶
func (s *DecoratedCrimson) ListDRACs(ctx context.Context, req *ListDRACsRequest) (rsp *ListDRACsResponse, err error)
func (*DecoratedCrimson) ListDatacenters ¶
func (s *DecoratedCrimson) ListDatacenters(ctx context.Context, req *ListDatacentersRequest) (rsp *ListDatacentersResponse, err error)
func (*DecoratedCrimson) ListFreeIPs ¶
func (s *DecoratedCrimson) ListFreeIPs(ctx context.Context, req *ListFreeIPsRequest) (rsp *ListIPsResponse, err error)
func (*DecoratedCrimson) ListKVMs ¶
func (s *DecoratedCrimson) ListKVMs(ctx context.Context, req *ListKVMsRequest) (rsp *ListKVMsResponse, err error)
func (*DecoratedCrimson) ListMachines ¶
func (s *DecoratedCrimson) ListMachines(ctx context.Context, req *ListMachinesRequest) (rsp *ListMachinesResponse, err error)
func (*DecoratedCrimson) ListNICs ¶
func (s *DecoratedCrimson) ListNICs(ctx context.Context, req *ListNICsRequest) (rsp *ListNICsResponse, err error)
func (*DecoratedCrimson) ListOSes ¶
func (s *DecoratedCrimson) ListOSes(ctx context.Context, req *ListOSesRequest) (rsp *ListOSesResponse, err error)
func (*DecoratedCrimson) ListPhysicalHosts ¶
func (s *DecoratedCrimson) ListPhysicalHosts(ctx context.Context, req *ListPhysicalHostsRequest) (rsp *ListPhysicalHostsResponse, err error)
func (*DecoratedCrimson) ListPlatforms ¶
func (s *DecoratedCrimson) ListPlatforms(ctx context.Context, req *ListPlatformsRequest) (rsp *ListPlatformsResponse, err error)
func (*DecoratedCrimson) ListRacks ¶
func (s *DecoratedCrimson) ListRacks(ctx context.Context, req *ListRacksRequest) (rsp *ListRacksResponse, err error)
func (*DecoratedCrimson) ListSwitches ¶
func (s *DecoratedCrimson) ListSwitches(ctx context.Context, req *ListSwitchesRequest) (rsp *ListSwitchesResponse, err error)
func (*DecoratedCrimson) ListVLANs ¶
func (s *DecoratedCrimson) ListVLANs(ctx context.Context, req *ListVLANsRequest) (rsp *ListVLANsResponse, err error)
func (*DecoratedCrimson) ListVMs ¶
func (s *DecoratedCrimson) ListVMs(ctx context.Context, req *ListVMsRequest) (rsp *ListVMsResponse, err error)
func (*DecoratedCrimson) RenameMachine ¶
func (s *DecoratedCrimson) RenameMachine(ctx context.Context, req *RenameMachineRequest) (rsp *Machine, err error)
func (*DecoratedCrimson) UpdateDRAC ¶
func (s *DecoratedCrimson) UpdateDRAC(ctx context.Context, req *UpdateDRACRequest) (rsp *DRAC, err error)
func (*DecoratedCrimson) UpdateMachine ¶
func (s *DecoratedCrimson) UpdateMachine(ctx context.Context, req *UpdateMachineRequest) (rsp *Machine, err error)
func (*DecoratedCrimson) UpdateNIC ¶
func (s *DecoratedCrimson) UpdateNIC(ctx context.Context, req *UpdateNICRequest) (rsp *NIC, err error)
func (*DecoratedCrimson) UpdatePhysicalHost ¶
func (s *DecoratedCrimson) UpdatePhysicalHost(ctx context.Context, req *UpdatePhysicalHostRequest) (rsp *PhysicalHost, err error)
func (*DecoratedCrimson) UpdateVM ¶
func (s *DecoratedCrimson) UpdateVM(ctx context.Context, req *UpdateVMRequest) (rsp *VM, err error)
type DeleteHostRequest ¶
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"` // contains filtered or unexported fields }
A request to delete a physical or virtual host from the database.
func (*DeleteHostRequest) Descriptor
deprecated
func (*DeleteHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHostRequest.ProtoReflect.Descriptor instead.
func (*DeleteHostRequest) GetName ¶
func (x *DeleteHostRequest) GetName() string
func (*DeleteHostRequest) GetVlan ¶
func (x *DeleteHostRequest) GetVlan() int64
func (*DeleteHostRequest) ProtoMessage ¶
func (*DeleteHostRequest) ProtoMessage()
func (*DeleteHostRequest) ProtoReflect ¶
func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message
func (*DeleteHostRequest) Reset ¶
func (x *DeleteHostRequest) Reset()
func (*DeleteHostRequest) String ¶
func (x *DeleteHostRequest) String() string
type DeleteMachineRequest ¶
type DeleteMachineRequest struct { // The name of the machine to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A request to delete a machine from the database.
func (*DeleteMachineRequest) Descriptor
deprecated
func (*DeleteMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineRequest.ProtoReflect.Descriptor instead.
func (*DeleteMachineRequest) GetName ¶
func (x *DeleteMachineRequest) GetName() string
func (*DeleteMachineRequest) ProtoMessage ¶
func (*DeleteMachineRequest) ProtoMessage()
func (*DeleteMachineRequest) ProtoReflect ¶
func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
func (*DeleteMachineRequest) Reset ¶
func (x *DeleteMachineRequest) Reset()
func (*DeleteMachineRequest) String ¶
func (x *DeleteMachineRequest) String() string
type DeleteNICRequest ¶
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"` // contains filtered or unexported fields }
A request to delete a NIC from the database.
func (*DeleteNICRequest) Descriptor
deprecated
func (*DeleteNICRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNICRequest.ProtoReflect.Descriptor instead.
func (*DeleteNICRequest) GetMachine ¶
func (x *DeleteNICRequest) GetMachine() string
func (*DeleteNICRequest) GetName ¶
func (x *DeleteNICRequest) GetName() string
func (*DeleteNICRequest) ProtoMessage ¶
func (*DeleteNICRequest) ProtoMessage()
func (*DeleteNICRequest) ProtoReflect ¶
func (x *DeleteNICRequest) ProtoReflect() protoreflect.Message
func (*DeleteNICRequest) Reset ¶
func (x *DeleteNICRequest) Reset()
func (*DeleteNICRequest) String ¶
func (x *DeleteNICRequest) String() string
type FindVMSlotsRequest ¶
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"` // contains filtered or unexported fields }
A request to find available VM slots in the database.
func (*FindVMSlotsRequest) Descriptor
deprecated
func (*FindVMSlotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindVMSlotsRequest.ProtoReflect.Descriptor instead.
func (*FindVMSlotsRequest) GetManufacturers ¶
func (x *FindVMSlotsRequest) GetManufacturers() []string
func (*FindVMSlotsRequest) GetSlots ¶
func (x *FindVMSlotsRequest) GetSlots() int32
func (*FindVMSlotsRequest) GetStates ¶
func (x *FindVMSlotsRequest) GetStates() []v1.State
func (*FindVMSlotsRequest) GetVirtualDatacenters ¶
func (x *FindVMSlotsRequest) GetVirtualDatacenters() []string
func (*FindVMSlotsRequest) ProtoMessage ¶
func (*FindVMSlotsRequest) ProtoMessage()
func (*FindVMSlotsRequest) ProtoReflect ¶
func (x *FindVMSlotsRequest) ProtoReflect() protoreflect.Message
func (*FindVMSlotsRequest) Reset ¶
func (x *FindVMSlotsRequest) Reset()
func (*FindVMSlotsRequest) String ¶
func (x *FindVMSlotsRequest) String() string
type FindVMSlotsResponse ¶
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"` // contains filtered or unexported fields }
A response containing a list of available VM slots in the database.
func (*FindVMSlotsResponse) Descriptor
deprecated
func (*FindVMSlotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindVMSlotsResponse.ProtoReflect.Descriptor instead.
func (*FindVMSlotsResponse) GetHosts ¶
func (x *FindVMSlotsResponse) GetHosts() []*PhysicalHost
func (*FindVMSlotsResponse) ProtoMessage ¶
func (*FindVMSlotsResponse) ProtoMessage()
func (*FindVMSlotsResponse) ProtoReflect ¶
func (x *FindVMSlotsResponse) ProtoReflect() protoreflect.Message
func (*FindVMSlotsResponse) Reset ¶
func (x *FindVMSlotsResponse) Reset()
func (*FindVMSlotsResponse) String ¶
func (x *FindVMSlotsResponse) String() string
type IP ¶
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"` // contains filtered or unexported fields }
An IP address in the database.
func (*IP) Descriptor
deprecated
func (*IP) GetHostname ¶
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) ProtoReflect ¶
func (x *IP) ProtoReflect() protoreflect.Message
type KVM ¶
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"` // contains filtered or unexported fields }
A KVM in the database.
func (*KVM) Descriptor
deprecated
func (*KVM) GetDatacenter ¶
func (*KVM) GetDescription ¶
func (*KVM) GetMacAddress ¶
func (*KVM) GetPlatform ¶
func (*KVM) ProtoMessage ¶
func (*KVM) ProtoMessage()
func (*KVM) ProtoReflect ¶
func (x *KVM) ProtoReflect() protoreflect.Message
type ListDRACsRequest ¶
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"` // contains filtered or unexported fields }
A request to list DRACs in the database.
func (*ListDRACsRequest) Descriptor
deprecated
func (*ListDRACsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDRACsRequest.ProtoReflect.Descriptor instead.
func (*ListDRACsRequest) GetIpv4S ¶
func (x *ListDRACsRequest) GetIpv4S() []string
func (*ListDRACsRequest) GetMacAddresses ¶
func (x *ListDRACsRequest) GetMacAddresses() []string
func (*ListDRACsRequest) GetMachines ¶
func (x *ListDRACsRequest) GetMachines() []string
func (*ListDRACsRequest) GetNames ¶
func (x *ListDRACsRequest) GetNames() []string
func (*ListDRACsRequest) GetSwitches ¶
func (x *ListDRACsRequest) GetSwitches() []string
func (*ListDRACsRequest) GetVlans ¶
func (x *ListDRACsRequest) GetVlans() []int64
func (*ListDRACsRequest) ProtoMessage ¶
func (*ListDRACsRequest) ProtoMessage()
func (*ListDRACsRequest) ProtoReflect ¶
func (x *ListDRACsRequest) ProtoReflect() protoreflect.Message
func (*ListDRACsRequest) Reset ¶
func (x *ListDRACsRequest) Reset()
func (*ListDRACsRequest) String ¶
func (x *ListDRACsRequest) String() string
type ListDRACsResponse ¶
type ListDRACsResponse struct { // The DRACs matching this request. Dracs []*DRAC `protobuf:"bytes,1,rep,name=dracs,proto3" json:"dracs,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of DRACs in the database.
func (*ListDRACsResponse) Descriptor
deprecated
func (*ListDRACsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDRACsResponse.ProtoReflect.Descriptor instead.
func (*ListDRACsResponse) GetDracs ¶
func (x *ListDRACsResponse) GetDracs() []*DRAC
func (*ListDRACsResponse) ProtoMessage ¶
func (*ListDRACsResponse) ProtoMessage()
func (*ListDRACsResponse) ProtoReflect ¶
func (x *ListDRACsResponse) ProtoReflect() protoreflect.Message
func (*ListDRACsResponse) Reset ¶
func (x *ListDRACsResponse) Reset()
func (*ListDRACsResponse) String ¶
func (x *ListDRACsResponse) String() string
type ListDatacentersRequest ¶
type ListDatacentersRequest struct { // The names of datacenters to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
A request to list datacenters in the database.
func (*ListDatacentersRequest) Descriptor
deprecated
func (*ListDatacentersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatacentersRequest.ProtoReflect.Descriptor instead.
func (*ListDatacentersRequest) GetNames ¶
func (x *ListDatacentersRequest) GetNames() []string
func (*ListDatacentersRequest) ProtoMessage ¶
func (*ListDatacentersRequest) ProtoMessage()
func (*ListDatacentersRequest) ProtoReflect ¶
func (x *ListDatacentersRequest) ProtoReflect() protoreflect.Message
func (*ListDatacentersRequest) Reset ¶
func (x *ListDatacentersRequest) Reset()
func (*ListDatacentersRequest) String ¶
func (x *ListDatacentersRequest) String() string
type ListDatacentersResponse ¶
type ListDatacentersResponse struct { // The datacenters matching the request. Datacenters []*Datacenter `protobuf:"bytes,1,rep,name=datacenters,proto3" json:"datacenters,omitempty"` // contains filtered or unexported fields }
A response containing a list of datacenters in the database.
func (*ListDatacentersResponse) Descriptor
deprecated
func (*ListDatacentersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatacentersResponse.ProtoReflect.Descriptor instead.
func (*ListDatacentersResponse) GetDatacenters ¶
func (x *ListDatacentersResponse) GetDatacenters() []*Datacenter
func (*ListDatacentersResponse) ProtoMessage ¶
func (*ListDatacentersResponse) ProtoMessage()
func (*ListDatacentersResponse) ProtoReflect ¶
func (x *ListDatacentersResponse) ProtoReflect() protoreflect.Message
func (*ListDatacentersResponse) Reset ¶
func (x *ListDatacentersResponse) Reset()
func (*ListDatacentersResponse) String ¶
func (x *ListDatacentersResponse) String() string
type ListFreeIPsRequest ¶
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"` // contains filtered or unexported fields }
A request to list free IP addresses in the database.
func (*ListFreeIPsRequest) Descriptor
deprecated
func (*ListFreeIPsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFreeIPsRequest.ProtoReflect.Descriptor instead.
func (*ListFreeIPsRequest) GetPageSize ¶
func (x *ListFreeIPsRequest) GetPageSize() int32
func (*ListFreeIPsRequest) GetVlan ¶
func (x *ListFreeIPsRequest) GetVlan() int64
func (*ListFreeIPsRequest) ProtoMessage ¶
func (*ListFreeIPsRequest) ProtoMessage()
func (*ListFreeIPsRequest) ProtoReflect ¶
func (x *ListFreeIPsRequest) ProtoReflect() protoreflect.Message
func (*ListFreeIPsRequest) Reset ¶
func (x *ListFreeIPsRequest) Reset()
func (*ListFreeIPsRequest) String ¶
func (x *ListFreeIPsRequest) String() string
type ListIPsResponse ¶
type ListIPsResponse struct { // The IP addresses matching this request. Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of IP addresses in the database.
func (*ListIPsResponse) Descriptor
deprecated
func (*ListIPsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIPsResponse.ProtoReflect.Descriptor instead.
func (*ListIPsResponse) GetIps ¶
func (x *ListIPsResponse) GetIps() []*IP
func (*ListIPsResponse) ProtoMessage ¶
func (*ListIPsResponse) ProtoMessage()
func (*ListIPsResponse) ProtoReflect ¶
func (x *ListIPsResponse) ProtoReflect() protoreflect.Message
func (*ListIPsResponse) Reset ¶
func (x *ListIPsResponse) Reset()
func (*ListIPsResponse) String ¶
func (x *ListIPsResponse) String() string
type ListKVMsRequest ¶
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"` // contains filtered or unexported fields }
A request to list KVMs in the database.
func (*ListKVMsRequest) Descriptor
deprecated
func (*ListKVMsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKVMsRequest.ProtoReflect.Descriptor instead.
func (*ListKVMsRequest) GetDatacenters ¶
func (x *ListKVMsRequest) GetDatacenters() []string
func (*ListKVMsRequest) GetIpv4S ¶
func (x *ListKVMsRequest) GetIpv4S() []string
func (*ListKVMsRequest) GetMacAddresses ¶
func (x *ListKVMsRequest) GetMacAddresses() []string
func (*ListKVMsRequest) GetNames ¶
func (x *ListKVMsRequest) GetNames() []string
func (*ListKVMsRequest) GetPlatforms ¶
func (x *ListKVMsRequest) GetPlatforms() []string
func (*ListKVMsRequest) GetRacks ¶
func (x *ListKVMsRequest) GetRacks() []string
func (*ListKVMsRequest) GetStates ¶
func (x *ListKVMsRequest) GetStates() []v1.State
func (*ListKVMsRequest) GetVlans ¶
func (x *ListKVMsRequest) GetVlans() []int64
func (*ListKVMsRequest) ProtoMessage ¶
func (*ListKVMsRequest) ProtoMessage()
func (*ListKVMsRequest) ProtoReflect ¶
func (x *ListKVMsRequest) ProtoReflect() protoreflect.Message
func (*ListKVMsRequest) Reset ¶
func (x *ListKVMsRequest) Reset()
func (*ListKVMsRequest) String ¶
func (x *ListKVMsRequest) String() string
type ListKVMsResponse ¶
type ListKVMsResponse struct { // The KVMs matching the request. Kvms []*KVM `protobuf:"bytes,1,rep,name=kvms,proto3" json:"kvms,omitempty"` // contains filtered or unexported fields }
A response containing a list of KVMs in the database.
func (*ListKVMsResponse) Descriptor
deprecated
func (*ListKVMsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKVMsResponse.ProtoReflect.Descriptor instead.
func (*ListKVMsResponse) GetKvms ¶
func (x *ListKVMsResponse) GetKvms() []*KVM
func (*ListKVMsResponse) ProtoMessage ¶
func (*ListKVMsResponse) ProtoMessage()
func (*ListKVMsResponse) ProtoReflect ¶
func (x *ListKVMsResponse) ProtoReflect() protoreflect.Message
func (*ListKVMsResponse) Reset ¶
func (x *ListKVMsResponse) Reset()
func (*ListKVMsResponse) String ¶
func (x *ListKVMsResponse) String() string
type ListMachinesRequest ¶
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"` // contains filtered or unexported fields }
A request to list machines in the database.
func (*ListMachinesRequest) Descriptor
deprecated
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) GetDatacenters ¶
func (x *ListMachinesRequest) GetDatacenters() []string
func (*ListMachinesRequest) GetNames ¶
func (x *ListMachinesRequest) GetNames() []string
func (*ListMachinesRequest) GetPlatforms ¶
func (x *ListMachinesRequest) GetPlatforms() []string
func (*ListMachinesRequest) GetRacks ¶
func (x *ListMachinesRequest) GetRacks() []string
func (*ListMachinesRequest) GetStates ¶
func (x *ListMachinesRequest) GetStates() []v1.State
func (*ListMachinesRequest) ProtoMessage ¶
func (*ListMachinesRequest) ProtoMessage()
func (*ListMachinesRequest) ProtoReflect ¶
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
func (*ListMachinesRequest) Reset ¶
func (x *ListMachinesRequest) Reset()
func (*ListMachinesRequest) String ¶
func (x *ListMachinesRequest) String() string
type ListMachinesResponse ¶
type ListMachinesResponse struct { // The machines matching this request. Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of machines in the database.
func (*ListMachinesResponse) Descriptor
deprecated
func (*ListMachinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.
func (*ListMachinesResponse) GetMachines ¶
func (x *ListMachinesResponse) GetMachines() []*Machine
func (*ListMachinesResponse) ProtoMessage ¶
func (*ListMachinesResponse) ProtoMessage()
func (*ListMachinesResponse) ProtoReflect ¶
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
func (*ListMachinesResponse) Reset ¶
func (x *ListMachinesResponse) Reset()
func (*ListMachinesResponse) String ¶
func (x *ListMachinesResponse) String() string
type ListNICsRequest ¶
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"` // contains filtered or unexported fields }
A request to list NICs in the database.
func (*ListNICsRequest) Descriptor
deprecated
func (*ListNICsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNICsRequest.ProtoReflect.Descriptor instead.
func (*ListNICsRequest) GetHostnames ¶
func (x *ListNICsRequest) GetHostnames() []string
func (*ListNICsRequest) GetIpv4S ¶
func (x *ListNICsRequest) GetIpv4S() []string
func (*ListNICsRequest) GetMacAddresses ¶
func (x *ListNICsRequest) GetMacAddresses() []string
func (*ListNICsRequest) GetMachines ¶
func (x *ListNICsRequest) GetMachines() []string
func (*ListNICsRequest) GetNames ¶
func (x *ListNICsRequest) GetNames() []string
func (*ListNICsRequest) GetSwitches ¶
func (x *ListNICsRequest) GetSwitches() []string
func (*ListNICsRequest) ProtoMessage ¶
func (*ListNICsRequest) ProtoMessage()
func (*ListNICsRequest) ProtoReflect ¶
func (x *ListNICsRequest) ProtoReflect() protoreflect.Message
func (*ListNICsRequest) Reset ¶
func (x *ListNICsRequest) Reset()
func (*ListNICsRequest) String ¶
func (x *ListNICsRequest) String() string
type ListNICsResponse ¶
type ListNICsResponse struct { // The NICs matching this request. Nics []*NIC `protobuf:"bytes,1,rep,name=nics,proto3" json:"nics,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of NICs in the database.
func (*ListNICsResponse) Descriptor
deprecated
func (*ListNICsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNICsResponse.ProtoReflect.Descriptor instead.
func (*ListNICsResponse) GetNics ¶
func (x *ListNICsResponse) GetNics() []*NIC
func (*ListNICsResponse) ProtoMessage ¶
func (*ListNICsResponse) ProtoMessage()
func (*ListNICsResponse) ProtoReflect ¶
func (x *ListNICsResponse) ProtoReflect() protoreflect.Message
func (*ListNICsResponse) Reset ¶
func (x *ListNICsResponse) Reset()
func (*ListNICsResponse) String ¶
func (x *ListNICsResponse) String() string
type ListOSesRequest ¶
type ListOSesRequest struct { // The names of operating systems to retrieve. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
A request to list operating systems in the database.
func (*ListOSesRequest) Descriptor
deprecated
func (*ListOSesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOSesRequest.ProtoReflect.Descriptor instead.
func (*ListOSesRequest) GetNames ¶
func (x *ListOSesRequest) GetNames() []string
func (*ListOSesRequest) ProtoMessage ¶
func (*ListOSesRequest) ProtoMessage()
func (*ListOSesRequest) ProtoReflect ¶
func (x *ListOSesRequest) ProtoReflect() protoreflect.Message
func (*ListOSesRequest) Reset ¶
func (x *ListOSesRequest) Reset()
func (*ListOSesRequest) String ¶
func (x *ListOSesRequest) String() string
type ListOSesResponse ¶
type ListOSesResponse struct { // The operating systems matching the request. Oses []*OS `protobuf:"bytes,1,rep,name=oses,proto3" json:"oses,omitempty"` // contains filtered or unexported fields }
A response containing a list of operating systems in the database.
func (*ListOSesResponse) Descriptor
deprecated
func (*ListOSesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOSesResponse.ProtoReflect.Descriptor instead.
func (*ListOSesResponse) GetOses ¶
func (x *ListOSesResponse) GetOses() []*OS
func (*ListOSesResponse) ProtoMessage ¶
func (*ListOSesResponse) ProtoMessage()
func (*ListOSesResponse) ProtoReflect ¶
func (x *ListOSesResponse) ProtoReflect() protoreflect.Message
func (*ListOSesResponse) Reset ¶
func (x *ListOSesResponse) Reset()
func (*ListOSesResponse) String ¶
func (x *ListOSesResponse) String() string
type ListPhysicalHostsRequest ¶
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"` // contains filtered or unexported fields }
A request to list physical hosts in the database.
func (*ListPhysicalHostsRequest) Descriptor
deprecated
func (*ListPhysicalHostsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPhysicalHostsRequest.ProtoReflect.Descriptor instead.
func (*ListPhysicalHostsRequest) GetDatacenters ¶
func (x *ListPhysicalHostsRequest) GetDatacenters() []string
func (*ListPhysicalHostsRequest) GetIpv4S ¶
func (x *ListPhysicalHostsRequest) GetIpv4S() []string
func (*ListPhysicalHostsRequest) GetMacAddresses ¶
func (x *ListPhysicalHostsRequest) GetMacAddresses() []string
func (*ListPhysicalHostsRequest) GetMachines ¶
func (x *ListPhysicalHostsRequest) GetMachines() []string
func (*ListPhysicalHostsRequest) GetNames ¶
func (x *ListPhysicalHostsRequest) GetNames() []string
func (*ListPhysicalHostsRequest) GetNics ¶
func (x *ListPhysicalHostsRequest) GetNics() []string
func (*ListPhysicalHostsRequest) GetOses ¶
func (x *ListPhysicalHostsRequest) GetOses() []string
func (*ListPhysicalHostsRequest) GetPlatforms ¶
func (x *ListPhysicalHostsRequest) GetPlatforms() []string
func (*ListPhysicalHostsRequest) GetRacks ¶
func (x *ListPhysicalHostsRequest) GetRacks() []string
func (*ListPhysicalHostsRequest) GetStates ¶
func (x *ListPhysicalHostsRequest) GetStates() []v1.State
func (*ListPhysicalHostsRequest) GetVirtualDatacenters ¶
func (x *ListPhysicalHostsRequest) GetVirtualDatacenters() []string
func (*ListPhysicalHostsRequest) GetVlans ¶
func (x *ListPhysicalHostsRequest) GetVlans() []int64
func (*ListPhysicalHostsRequest) ProtoMessage ¶
func (*ListPhysicalHostsRequest) ProtoMessage()
func (*ListPhysicalHostsRequest) ProtoReflect ¶
func (x *ListPhysicalHostsRequest) ProtoReflect() protoreflect.Message
func (*ListPhysicalHostsRequest) Reset ¶
func (x *ListPhysicalHostsRequest) Reset()
func (*ListPhysicalHostsRequest) String ¶
func (x *ListPhysicalHostsRequest) String() string
type ListPhysicalHostsResponse ¶
type ListPhysicalHostsResponse struct { // The hosts matching this request. Hosts []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of physical hosts in the database.
func (*ListPhysicalHostsResponse) Descriptor
deprecated
func (*ListPhysicalHostsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPhysicalHostsResponse.ProtoReflect.Descriptor instead.
func (*ListPhysicalHostsResponse) GetHosts ¶
func (x *ListPhysicalHostsResponse) GetHosts() []*PhysicalHost
func (*ListPhysicalHostsResponse) ProtoMessage ¶
func (*ListPhysicalHostsResponse) ProtoMessage()
func (*ListPhysicalHostsResponse) ProtoReflect ¶
func (x *ListPhysicalHostsResponse) ProtoReflect() protoreflect.Message
func (*ListPhysicalHostsResponse) Reset ¶
func (x *ListPhysicalHostsResponse) Reset()
func (*ListPhysicalHostsResponse) String ¶
func (x *ListPhysicalHostsResponse) String() string
type ListPlatformsRequest ¶
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"` // contains filtered or unexported fields }
A request to list platforms in the database.
func (*ListPlatformsRequest) Descriptor
deprecated
func (*ListPlatformsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsRequest.ProtoReflect.Descriptor instead.
func (*ListPlatformsRequest) GetManufacturers ¶
func (x *ListPlatformsRequest) GetManufacturers() []string
func (*ListPlatformsRequest) GetNames ¶
func (x *ListPlatformsRequest) GetNames() []string
func (*ListPlatformsRequest) ProtoMessage ¶
func (*ListPlatformsRequest) ProtoMessage()
func (*ListPlatformsRequest) ProtoReflect ¶
func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
func (*ListPlatformsRequest) Reset ¶
func (x *ListPlatformsRequest) Reset()
func (*ListPlatformsRequest) String ¶
func (x *ListPlatformsRequest) String() string
type ListPlatformsResponse ¶
type ListPlatformsResponse struct { // The platforms matching the request. Platforms []*Platform `protobuf:"bytes,1,rep,name=platforms,proto3" json:"platforms,omitempty"` // contains filtered or unexported fields }
A response containing a list of platforms in the database.
func (*ListPlatformsResponse) Descriptor
deprecated
func (*ListPlatformsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformsResponse) GetPlatforms ¶
func (x *ListPlatformsResponse) GetPlatforms() []*Platform
func (*ListPlatformsResponse) ProtoMessage ¶
func (*ListPlatformsResponse) ProtoMessage()
func (*ListPlatformsResponse) ProtoReflect ¶
func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
func (*ListPlatformsResponse) Reset ¶
func (x *ListPlatformsResponse) Reset()
func (*ListPlatformsResponse) String ¶
func (x *ListPlatformsResponse) String() string
type ListRacksRequest ¶
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"` // contains filtered or unexported fields }
A request to list racks in the database.
func (*ListRacksRequest) Descriptor
deprecated
func (*ListRacksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRacksRequest.ProtoReflect.Descriptor instead.
func (*ListRacksRequest) GetDatacenters ¶
func (x *ListRacksRequest) GetDatacenters() []string
func (*ListRacksRequest) GetKvms ¶
func (x *ListRacksRequest) GetKvms() []string
func (*ListRacksRequest) GetNames ¶
func (x *ListRacksRequest) GetNames() []string
func (*ListRacksRequest) ProtoMessage ¶
func (*ListRacksRequest) ProtoMessage()
func (*ListRacksRequest) ProtoReflect ¶
func (x *ListRacksRequest) ProtoReflect() protoreflect.Message
func (*ListRacksRequest) Reset ¶
func (x *ListRacksRequest) Reset()
func (*ListRacksRequest) String ¶
func (x *ListRacksRequest) String() string
type ListRacksResponse ¶
type ListRacksResponse struct { // The racks matching the request. Racks []*Rack `protobuf:"bytes,1,rep,name=racks,proto3" json:"racks,omitempty"` // contains filtered or unexported fields }
A response containing a list of racks in the database.
func (*ListRacksResponse) Descriptor
deprecated
func (*ListRacksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRacksResponse.ProtoReflect.Descriptor instead.
func (*ListRacksResponse) GetRacks ¶
func (x *ListRacksResponse) GetRacks() []*Rack
func (*ListRacksResponse) ProtoMessage ¶
func (*ListRacksResponse) ProtoMessage()
func (*ListRacksResponse) ProtoReflect ¶
func (x *ListRacksResponse) ProtoReflect() protoreflect.Message
func (*ListRacksResponse) Reset ¶
func (x *ListRacksResponse) Reset()
func (*ListRacksResponse) String ¶
func (x *ListRacksResponse) String() string
type ListSwitchesRequest ¶
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"` // contains filtered or unexported fields }
A request to list switches in the database.
func (*ListSwitchesRequest) Descriptor
deprecated
func (*ListSwitchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSwitchesRequest.ProtoReflect.Descriptor instead.
func (*ListSwitchesRequest) GetDatacenters ¶
func (x *ListSwitchesRequest) GetDatacenters() []string
func (*ListSwitchesRequest) GetNames ¶
func (x *ListSwitchesRequest) GetNames() []string
func (*ListSwitchesRequest) GetRacks ¶
func (x *ListSwitchesRequest) GetRacks() []string
func (*ListSwitchesRequest) ProtoMessage ¶
func (*ListSwitchesRequest) ProtoMessage()
func (*ListSwitchesRequest) ProtoReflect ¶
func (x *ListSwitchesRequest) ProtoReflect() protoreflect.Message
func (*ListSwitchesRequest) Reset ¶
func (x *ListSwitchesRequest) Reset()
func (*ListSwitchesRequest) String ¶
func (x *ListSwitchesRequest) String() string
type ListSwitchesResponse ¶
type ListSwitchesResponse struct { // The switches matching the request. Switches []*Switch `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"` // contains filtered or unexported fields }
A response containing a list of switches in the database.
func (*ListSwitchesResponse) Descriptor
deprecated
func (*ListSwitchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSwitchesResponse.ProtoReflect.Descriptor instead.
func (*ListSwitchesResponse) GetSwitches ¶
func (x *ListSwitchesResponse) GetSwitches() []*Switch
func (*ListSwitchesResponse) ProtoMessage ¶
func (*ListSwitchesResponse) ProtoMessage()
func (*ListSwitchesResponse) ProtoReflect ¶
func (x *ListSwitchesResponse) ProtoReflect() protoreflect.Message
func (*ListSwitchesResponse) Reset ¶
func (x *ListSwitchesResponse) Reset()
func (*ListSwitchesResponse) String ¶
func (x *ListSwitchesResponse) String() string
type ListVLANsRequest ¶
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"` // contains filtered or unexported fields }
A request to list VLANs in the database.
func (*ListVLANsRequest) Descriptor
deprecated
func (*ListVLANsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVLANsRequest.ProtoReflect.Descriptor instead.
func (*ListVLANsRequest) GetAliases ¶
func (x *ListVLANsRequest) GetAliases() []string
func (*ListVLANsRequest) GetIds ¶
func (x *ListVLANsRequest) GetIds() []int64
func (*ListVLANsRequest) ProtoMessage ¶
func (*ListVLANsRequest) ProtoMessage()
func (*ListVLANsRequest) ProtoReflect ¶
func (x *ListVLANsRequest) ProtoReflect() protoreflect.Message
func (*ListVLANsRequest) Reset ¶
func (x *ListVLANsRequest) Reset()
func (*ListVLANsRequest) String ¶
func (x *ListVLANsRequest) String() string
type ListVLANsResponse ¶
type ListVLANsResponse struct { // The VLANs matching the request. Vlans []*VLAN `protobuf:"bytes,1,rep,name=vlans,proto3" json:"vlans,omitempty"` // contains filtered or unexported fields }
A response containing a list of VLANs in the database.
func (*ListVLANsResponse) Descriptor
deprecated
func (*ListVLANsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVLANsResponse.ProtoReflect.Descriptor instead.
func (*ListVLANsResponse) GetVlans ¶
func (x *ListVLANsResponse) GetVlans() []*VLAN
func (*ListVLANsResponse) ProtoMessage ¶
func (*ListVLANsResponse) ProtoMessage()
func (*ListVLANsResponse) ProtoReflect ¶
func (x *ListVLANsResponse) ProtoReflect() protoreflect.Message
func (*ListVLANsResponse) Reset ¶
func (x *ListVLANsResponse) Reset()
func (*ListVLANsResponse) String ¶
func (x *ListVLANsResponse) String() string
type ListVMsRequest ¶
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"` // contains filtered or unexported fields }
A request to list VMs in the database.
func (*ListVMsRequest) Descriptor
deprecated
func (*ListVMsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVMsRequest.ProtoReflect.Descriptor instead.
func (*ListVMsRequest) GetHostVlans ¶
func (x *ListVMsRequest) GetHostVlans() []int64
func (*ListVMsRequest) GetHosts ¶
func (x *ListVMsRequest) GetHosts() []string
func (*ListVMsRequest) GetIpv4S ¶
func (x *ListVMsRequest) GetIpv4S() []string
func (*ListVMsRequest) GetNames ¶
func (x *ListVMsRequest) GetNames() []string
func (*ListVMsRequest) GetOses ¶
func (x *ListVMsRequest) GetOses() []string
func (*ListVMsRequest) GetStates ¶
func (x *ListVMsRequest) GetStates() []v1.State
func (*ListVMsRequest) GetVlans ¶
func (x *ListVMsRequest) GetVlans() []int64
func (*ListVMsRequest) ProtoMessage ¶
func (*ListVMsRequest) ProtoMessage()
func (*ListVMsRequest) ProtoReflect ¶
func (x *ListVMsRequest) ProtoReflect() protoreflect.Message
func (*ListVMsRequest) Reset ¶
func (x *ListVMsRequest) Reset()
func (*ListVMsRequest) String ¶
func (x *ListVMsRequest) String() string
type ListVMsResponse ¶
type ListVMsResponse struct { // The VMs matching this request. Vms []*VM `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"` // TODO(smut): Support page tokens. // contains filtered or unexported fields }
A response containing a list of VMs in the database.
func (*ListVMsResponse) Descriptor
deprecated
func (*ListVMsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVMsResponse.ProtoReflect.Descriptor instead.
func (*ListVMsResponse) GetVms ¶
func (x *ListVMsResponse) GetVms() []*VM
func (*ListVMsResponse) ProtoMessage ¶
func (*ListVMsResponse) ProtoMessage()
func (*ListVMsResponse) ProtoReflect ¶
func (x *ListVMsResponse) ProtoReflect() protoreflect.Message
func (*ListVMsResponse) Reset ¶
func (x *ListVMsResponse) Reset()
func (*ListVMsResponse) String ¶
func (x *ListVMsResponse) String() string
type Machine ¶
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"` // contains filtered or unexported fields }
A machine in the database.
func (*Machine) Descriptor
deprecated
func (*Machine) GetAssetTag ¶
func (*Machine) GetDatacenter ¶
func (*Machine) GetDeploymentTicket ¶
func (*Machine) GetDescription ¶
func (*Machine) GetDracPassword ¶
func (*Machine) GetPlatform ¶
func (*Machine) GetServiceTag ¶
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type NIC ¶
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"` // contains filtered or unexported fields }
A network interface in the database.
func (*NIC) Descriptor
deprecated
func (*NIC) GetHostname ¶
func (*NIC) GetMacAddress ¶
func (*NIC) GetMachine ¶
func (*NIC) GetSwitchport ¶
func (*NIC) ProtoMessage ¶
func (*NIC) ProtoMessage()
func (*NIC) ProtoReflect ¶
func (x *NIC) ProtoReflect() protoreflect.Message
type OS ¶
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"` // contains filtered or unexported fields }
An operating system in the database.
func (*OS) Descriptor
deprecated
func (*OS) GetDescription ¶
func (*OS) ProtoMessage ¶
func (*OS) ProtoMessage()
func (*OS) ProtoReflect ¶
func (x *OS) ProtoReflect() protoreflect.Message
type PhysicalHost ¶
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"` // contains filtered or unexported fields }
A physical host in the database.
func (*PhysicalHost) Descriptor
deprecated
func (*PhysicalHost) Descriptor() ([]byte, []int)
Deprecated: Use PhysicalHost.ProtoReflect.Descriptor instead.
func (*PhysicalHost) GetDeploymentTicket ¶
func (x *PhysicalHost) GetDeploymentTicket() string
func (*PhysicalHost) GetDescription ¶
func (x *PhysicalHost) GetDescription() string
func (*PhysicalHost) GetIpv4 ¶
func (x *PhysicalHost) GetIpv4() string
func (*PhysicalHost) GetMacAddress ¶
func (x *PhysicalHost) GetMacAddress() string
func (*PhysicalHost) GetMachine ¶
func (x *PhysicalHost) GetMachine() string
func (*PhysicalHost) GetName ¶
func (x *PhysicalHost) GetName() string
func (*PhysicalHost) GetNic ¶
func (x *PhysicalHost) GetNic() string
func (*PhysicalHost) GetOs ¶
func (x *PhysicalHost) GetOs() string
func (*PhysicalHost) GetState ¶
func (x *PhysicalHost) GetState() v1.State
func (*PhysicalHost) GetVirtualDatacenter ¶
func (x *PhysicalHost) GetVirtualDatacenter() string
func (*PhysicalHost) GetVlan ¶
func (x *PhysicalHost) GetVlan() int64
func (*PhysicalHost) GetVmSlots ¶
func (x *PhysicalHost) GetVmSlots() int32
func (*PhysicalHost) ProtoMessage ¶
func (*PhysicalHost) ProtoMessage()
func (*PhysicalHost) ProtoReflect ¶
func (x *PhysicalHost) ProtoReflect() protoreflect.Message
func (*PhysicalHost) Reset ¶
func (x *PhysicalHost) Reset()
func (*PhysicalHost) String ¶
func (x *PhysicalHost) String() string
type Platform ¶
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"` // contains filtered or unexported fields }
A platform in the database.
func (*Platform) Descriptor
deprecated
func (*Platform) GetDescription ¶
func (*Platform) GetManufacturer ¶
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
type Rack ¶
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"` // contains filtered or unexported fields }
A rack in the database.
func (*Rack) Descriptor
deprecated
func (*Rack) GetDatacenter ¶
func (*Rack) GetDescription ¶
func (*Rack) ProtoMessage ¶
func (*Rack) ProtoMessage()
func (*Rack) ProtoReflect ¶
func (x *Rack) ProtoReflect() protoreflect.Message
type RenameMachineRequest ¶
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"` // contains filtered or unexported fields }
A request to rename a machine in the database.
func (*RenameMachineRequest) Descriptor
deprecated
func (*RenameMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameMachineRequest.ProtoReflect.Descriptor instead.
func (*RenameMachineRequest) GetName ¶
func (x *RenameMachineRequest) GetName() string
func (*RenameMachineRequest) GetNewName ¶
func (x *RenameMachineRequest) GetNewName() string
func (*RenameMachineRequest) ProtoMessage ¶
func (*RenameMachineRequest) ProtoMessage()
func (*RenameMachineRequest) ProtoReflect ¶
func (x *RenameMachineRequest) ProtoReflect() protoreflect.Message
func (*RenameMachineRequest) Reset ¶
func (x *RenameMachineRequest) Reset()
func (*RenameMachineRequest) String ¶
func (x *RenameMachineRequest) String() string
type Switch ¶
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"` // contains filtered or unexported fields }
A switch in the database.
func (*Switch) Descriptor
deprecated
func (*Switch) GetDatacenter ¶
func (*Switch) GetDescription ¶
func (*Switch) ProtoMessage ¶
func (*Switch) ProtoMessage()
func (*Switch) ProtoReflect ¶
func (x *Switch) ProtoReflect() protoreflect.Message
type UnimplementedCrimsonServer ¶
type UnimplementedCrimsonServer struct { }
UnimplementedCrimsonServer can be embedded to have forward compatible implementations.
func (*UnimplementedCrimsonServer) CreateDRAC ¶
func (*UnimplementedCrimsonServer) CreateDRAC(context.Context, *CreateDRACRequest) (*DRAC, error)
func (*UnimplementedCrimsonServer) CreateMachine ¶
func (*UnimplementedCrimsonServer) CreateMachine(context.Context, *CreateMachineRequest) (*Machine, error)
func (*UnimplementedCrimsonServer) CreateNIC ¶
func (*UnimplementedCrimsonServer) CreateNIC(context.Context, *CreateNICRequest) (*NIC, error)
func (*UnimplementedCrimsonServer) CreatePhysicalHost ¶
func (*UnimplementedCrimsonServer) CreatePhysicalHost(context.Context, *CreatePhysicalHostRequest) (*PhysicalHost, error)
func (*UnimplementedCrimsonServer) CreateVM ¶
func (*UnimplementedCrimsonServer) CreateVM(context.Context, *CreateVMRequest) (*VM, error)
func (*UnimplementedCrimsonServer) DeleteHost ¶
func (*UnimplementedCrimsonServer) DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
func (*UnimplementedCrimsonServer) DeleteMachine ¶
func (*UnimplementedCrimsonServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*emptypb.Empty, error)
func (*UnimplementedCrimsonServer) DeleteNIC ¶
func (*UnimplementedCrimsonServer) DeleteNIC(context.Context, *DeleteNICRequest) (*emptypb.Empty, error)
func (*UnimplementedCrimsonServer) FindVMSlots ¶
func (*UnimplementedCrimsonServer) FindVMSlots(context.Context, *FindVMSlotsRequest) (*FindVMSlotsResponse, error)
func (*UnimplementedCrimsonServer) ListDRACs ¶
func (*UnimplementedCrimsonServer) ListDRACs(context.Context, *ListDRACsRequest) (*ListDRACsResponse, error)
func (*UnimplementedCrimsonServer) ListDatacenters ¶
func (*UnimplementedCrimsonServer) ListDatacenters(context.Context, *ListDatacentersRequest) (*ListDatacentersResponse, error)
func (*UnimplementedCrimsonServer) ListFreeIPs ¶
func (*UnimplementedCrimsonServer) ListFreeIPs(context.Context, *ListFreeIPsRequest) (*ListIPsResponse, error)
func (*UnimplementedCrimsonServer) ListKVMs ¶
func (*UnimplementedCrimsonServer) ListKVMs(context.Context, *ListKVMsRequest) (*ListKVMsResponse, error)
func (*UnimplementedCrimsonServer) ListMachines ¶
func (*UnimplementedCrimsonServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
func (*UnimplementedCrimsonServer) ListNICs ¶
func (*UnimplementedCrimsonServer) ListNICs(context.Context, *ListNICsRequest) (*ListNICsResponse, error)
func (*UnimplementedCrimsonServer) ListOSes ¶
func (*UnimplementedCrimsonServer) ListOSes(context.Context, *ListOSesRequest) (*ListOSesResponse, error)
func (*UnimplementedCrimsonServer) ListPhysicalHosts ¶
func (*UnimplementedCrimsonServer) ListPhysicalHosts(context.Context, *ListPhysicalHostsRequest) (*ListPhysicalHostsResponse, error)
func (*UnimplementedCrimsonServer) ListPlatforms ¶
func (*UnimplementedCrimsonServer) ListPlatforms(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
func (*UnimplementedCrimsonServer) ListRacks ¶
func (*UnimplementedCrimsonServer) ListRacks(context.Context, *ListRacksRequest) (*ListRacksResponse, error)
func (*UnimplementedCrimsonServer) ListSwitches ¶
func (*UnimplementedCrimsonServer) ListSwitches(context.Context, *ListSwitchesRequest) (*ListSwitchesResponse, error)
func (*UnimplementedCrimsonServer) ListVLANs ¶
func (*UnimplementedCrimsonServer) ListVLANs(context.Context, *ListVLANsRequest) (*ListVLANsResponse, error)
func (*UnimplementedCrimsonServer) ListVMs ¶
func (*UnimplementedCrimsonServer) ListVMs(context.Context, *ListVMsRequest) (*ListVMsResponse, error)
func (*UnimplementedCrimsonServer) RenameMachine ¶
func (*UnimplementedCrimsonServer) RenameMachine(context.Context, *RenameMachineRequest) (*Machine, error)
func (*UnimplementedCrimsonServer) UpdateDRAC ¶
func (*UnimplementedCrimsonServer) UpdateDRAC(context.Context, *UpdateDRACRequest) (*DRAC, error)
func (*UnimplementedCrimsonServer) UpdateMachine ¶
func (*UnimplementedCrimsonServer) UpdateMachine(context.Context, *UpdateMachineRequest) (*Machine, error)
func (*UnimplementedCrimsonServer) UpdateNIC ¶
func (*UnimplementedCrimsonServer) UpdateNIC(context.Context, *UpdateNICRequest) (*NIC, error)
func (*UnimplementedCrimsonServer) UpdatePhysicalHost ¶
func (*UnimplementedCrimsonServer) UpdatePhysicalHost(context.Context, *UpdatePhysicalHostRequest) (*PhysicalHost, error)
func (*UnimplementedCrimsonServer) UpdateVM ¶
func (*UnimplementedCrimsonServer) UpdateVM(context.Context, *UpdateVMRequest) (*VM, error)
type UpdateDRACRequest ¶
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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update a DRAC in the database.
func (*UpdateDRACRequest) Descriptor
deprecated
func (*UpdateDRACRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDRACRequest.ProtoReflect.Descriptor instead.
func (*UpdateDRACRequest) GetDrac ¶
func (x *UpdateDRACRequest) GetDrac() *DRAC
func (*UpdateDRACRequest) GetUpdateMask ¶
func (x *UpdateDRACRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDRACRequest) ProtoMessage ¶
func (*UpdateDRACRequest) ProtoMessage()
func (*UpdateDRACRequest) ProtoReflect ¶
func (x *UpdateDRACRequest) ProtoReflect() protoreflect.Message
func (*UpdateDRACRequest) Reset ¶
func (x *UpdateDRACRequest) Reset()
func (*UpdateDRACRequest) String ¶
func (x *UpdateDRACRequest) String() string
type UpdateMachineRequest ¶
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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update a machine in the database.
func (*UpdateMachineRequest) Descriptor
deprecated
func (*UpdateMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMachineRequest.ProtoReflect.Descriptor instead.
func (*UpdateMachineRequest) GetMachine ¶
func (x *UpdateMachineRequest) GetMachine() *Machine
func (*UpdateMachineRequest) GetUpdateMask ¶
func (x *UpdateMachineRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMachineRequest) ProtoMessage ¶
func (*UpdateMachineRequest) ProtoMessage()
func (*UpdateMachineRequest) ProtoReflect ¶
func (x *UpdateMachineRequest) ProtoReflect() protoreflect.Message
func (*UpdateMachineRequest) Reset ¶
func (x *UpdateMachineRequest) Reset()
func (*UpdateMachineRequest) String ¶
func (x *UpdateMachineRequest) String() string
type UpdateNICRequest ¶
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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update a NIC in the database.
func (*UpdateNICRequest) Descriptor
deprecated
func (*UpdateNICRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNICRequest.ProtoReflect.Descriptor instead.
func (*UpdateNICRequest) GetNic ¶
func (x *UpdateNICRequest) GetNic() *NIC
func (*UpdateNICRequest) GetUpdateMask ¶
func (x *UpdateNICRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateNICRequest) ProtoMessage ¶
func (*UpdateNICRequest) ProtoMessage()
func (*UpdateNICRequest) ProtoReflect ¶
func (x *UpdateNICRequest) ProtoReflect() protoreflect.Message
func (*UpdateNICRequest) Reset ¶
func (x *UpdateNICRequest) Reset()
func (*UpdateNICRequest) String ¶
func (x *UpdateNICRequest) String() string
type UpdatePhysicalHostRequest ¶
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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update a physical host in the database.
func (*UpdatePhysicalHostRequest) Descriptor
deprecated
func (*UpdatePhysicalHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePhysicalHostRequest.ProtoReflect.Descriptor instead.
func (*UpdatePhysicalHostRequest) GetHost ¶
func (x *UpdatePhysicalHostRequest) GetHost() *PhysicalHost
func (*UpdatePhysicalHostRequest) GetUpdateMask ¶
func (x *UpdatePhysicalHostRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePhysicalHostRequest) ProtoMessage ¶
func (*UpdatePhysicalHostRequest) ProtoMessage()
func (*UpdatePhysicalHostRequest) ProtoReflect ¶
func (x *UpdatePhysicalHostRequest) ProtoReflect() protoreflect.Message
func (*UpdatePhysicalHostRequest) Reset ¶
func (x *UpdatePhysicalHostRequest) Reset()
func (*UpdatePhysicalHostRequest) String ¶
func (x *UpdatePhysicalHostRequest) String() string
type UpdateVMRequest ¶
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 *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
A request to update a VM in the database.
func (*UpdateVMRequest) Descriptor
deprecated
func (*UpdateVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVMRequest.ProtoReflect.Descriptor instead.
func (*UpdateVMRequest) GetUpdateMask ¶
func (x *UpdateVMRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVMRequest) GetVm ¶
func (x *UpdateVMRequest) GetVm() *VM
func (*UpdateVMRequest) ProtoMessage ¶
func (*UpdateVMRequest) ProtoMessage()
func (*UpdateVMRequest) ProtoReflect ¶
func (x *UpdateVMRequest) ProtoReflect() protoreflect.Message
func (*UpdateVMRequest) Reset ¶
func (x *UpdateVMRequest) Reset()
func (*UpdateVMRequest) String ¶
func (x *UpdateVMRequest) String() string
type VLAN ¶
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"` // contains filtered or unexported fields }
A VLAN in the database.
func (*VLAN) Descriptor
deprecated
func (*VLAN) GetCidrBlock ¶
func (*VLAN) GetDescription ¶
func (*VLAN) ProtoMessage ¶
func (*VLAN) ProtoMessage()
func (*VLAN) ProtoReflect ¶
func (x *VLAN) ProtoReflect() protoreflect.Message
type VM ¶
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"` // contains filtered or unexported fields }
A VM in the database.
func (*VM) Descriptor
deprecated
func (*VM) GetDeploymentTicket ¶
func (*VM) GetDescription ¶
func (*VM) GetHostVlan ¶
func (*VM) ProtoMessage ¶
func (*VM) ProtoMessage()
func (*VM) ProtoReflect ¶
func (x *VM) ProtoReflect() protoreflect.Message