luci: go.chromium.org/luci/machine-db/api/crimson/v1 Index | Files

package crimson

import "go.chromium.org/luci/machine-db/api/crimson/v1"

Index

Package Files

crimson.pb.go crimsonserver_dec.go datacenters.pb.go dracs.pb.go generate.go hosts.pb.go ips.pb.go kvms.pb.go machines.pb.go nics.pb.go oses.pb.go pb.discovery.go physical_hosts.pb.go platforms.pb.go racks.pb.go switches.pb.go vlans.pb.go vm_slots.pb.go vms.pb.go

func FileDescriptorSet Uses

func FileDescriptorSet() *descriptor.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterCrimsonServer Uses

func RegisterCrimsonServer(s prpc.Registrar, srv CrimsonServer)

type CreateDRACRequest Uses

type CreateDRACRequest struct {
    // The DRAC to create in the database.
    Drac                 *DRAC    `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to create a new DRAC in the database.

func (*CreateDRACRequest) Descriptor Uses

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

func (*CreateDRACRequest) GetDrac Uses

func (m *CreateDRACRequest) GetDrac() *DRAC

func (*CreateDRACRequest) ProtoMessage Uses

func (*CreateDRACRequest) ProtoMessage()

func (*CreateDRACRequest) Reset Uses

func (m *CreateDRACRequest) Reset()

func (*CreateDRACRequest) String Uses

func (m *CreateDRACRequest) String() string

func (*CreateDRACRequest) XXX_DiscardUnknown Uses

func (m *CreateDRACRequest) XXX_DiscardUnknown()

func (*CreateDRACRequest) XXX_Marshal Uses

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

func (*CreateDRACRequest) XXX_Merge Uses

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

func (*CreateDRACRequest) XXX_Size Uses

func (m *CreateDRACRequest) XXX_Size() int

func (*CreateDRACRequest) XXX_Unmarshal Uses

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

type CreateMachineRequest Uses

type CreateMachineRequest struct {
    // The machine to create in the database.
    Machine              *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to create a new machine in the database.

func (*CreateMachineRequest) Descriptor Uses

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

func (*CreateMachineRequest) GetMachine Uses

func (m *CreateMachineRequest) GetMachine() *Machine

func (*CreateMachineRequest) ProtoMessage Uses

func (*CreateMachineRequest) ProtoMessage()

func (*CreateMachineRequest) Reset Uses

func (m *CreateMachineRequest) Reset()

func (*CreateMachineRequest) String Uses

func (m *CreateMachineRequest) String() string

func (*CreateMachineRequest) XXX_DiscardUnknown Uses

func (m *CreateMachineRequest) XXX_DiscardUnknown()

func (*CreateMachineRequest) XXX_Marshal Uses

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

func (*CreateMachineRequest) XXX_Merge Uses

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

func (*CreateMachineRequest) XXX_Size Uses

func (m *CreateMachineRequest) XXX_Size() int

func (*CreateMachineRequest) XXX_Unmarshal Uses

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

type CreateNICRequest Uses

type CreateNICRequest struct {
    // The NIC to create in the database.
    Nic                  *NIC     `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to create a new NIC in the database.

func (*CreateNICRequest) Descriptor Uses

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

func (*CreateNICRequest) GetNic Uses

func (m *CreateNICRequest) GetNic() *NIC

func (*CreateNICRequest) ProtoMessage Uses

func (*CreateNICRequest) ProtoMessage()

func (*CreateNICRequest) Reset Uses

func (m *CreateNICRequest) Reset()

func (*CreateNICRequest) String Uses

func (m *CreateNICRequest) String() string

func (*CreateNICRequest) XXX_DiscardUnknown Uses

func (m *CreateNICRequest) XXX_DiscardUnknown()

func (*CreateNICRequest) XXX_Marshal Uses

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

func (*CreateNICRequest) XXX_Merge Uses

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

func (*CreateNICRequest) XXX_Size Uses

func (m *CreateNICRequest) XXX_Size() int

func (*CreateNICRequest) XXX_Unmarshal Uses

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

type CreatePhysicalHostRequest Uses

type CreatePhysicalHostRequest struct {
    // The host to create in the database.
    Host                 *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

A request to create a new physical host in the database.

func (*CreatePhysicalHostRequest) Descriptor Uses

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

func (*CreatePhysicalHostRequest) GetHost Uses

func (m *CreatePhysicalHostRequest) GetHost() *PhysicalHost

func (*CreatePhysicalHostRequest) ProtoMessage Uses

func (*CreatePhysicalHostRequest) ProtoMessage()

func (*CreatePhysicalHostRequest) Reset Uses

func (m *CreatePhysicalHostRequest) Reset()

func (*CreatePhysicalHostRequest) String Uses

func (m *CreatePhysicalHostRequest) String() string

func (*CreatePhysicalHostRequest) XXX_DiscardUnknown Uses

func (m *CreatePhysicalHostRequest) XXX_DiscardUnknown()

func (*CreatePhysicalHostRequest) XXX_Marshal Uses

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

func (*CreatePhysicalHostRequest) XXX_Merge Uses

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

func (*CreatePhysicalHostRequest) XXX_Size Uses

func (m *CreatePhysicalHostRequest) XXX_Size() int

func (*CreatePhysicalHostRequest) XXX_Unmarshal Uses

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

type CreateVMRequest Uses

type CreateVMRequest struct {
    // The VM to create in the database.
    Vm                   *VM      `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to create a new VM in the database.

func (*CreateVMRequest) Descriptor Uses

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

func (*CreateVMRequest) GetVm Uses

func (m *CreateVMRequest) GetVm() *VM

func (*CreateVMRequest) ProtoMessage Uses

func (*CreateVMRequest) ProtoMessage()

func (*CreateVMRequest) Reset Uses

func (m *CreateVMRequest) Reset()

func (*CreateVMRequest) String Uses

func (m *CreateVMRequest) String() string

func (*CreateVMRequest) XXX_DiscardUnknown Uses

func (m *CreateVMRequest) XXX_DiscardUnknown()

func (*CreateVMRequest) XXX_Marshal Uses

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

func (*CreateVMRequest) XXX_Merge Uses

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

func (*CreateVMRequest) XXX_Size Uses

func (m *CreateVMRequest) XXX_Size() int

func (*CreateVMRequest) XXX_Unmarshal Uses

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

type CrimsonClient Uses

type CrimsonClient interface {
    // Lists datacenters in the database.
    ListDatacenters(ctx context.Context, in *ListDatacentersRequest, opts ...grpc.CallOption) (*ListDatacentersResponse, error)
    // Lists free IP addresses in the database.
    ListFreeIPs(ctx context.Context, in *ListFreeIPsRequest, opts ...grpc.CallOption) (*ListIPsResponse, error)
    // Lists KVMs in the database.
    ListKVMs(ctx context.Context, in *ListKVMsRequest, opts ...grpc.CallOption) (*ListKVMsResponse, error)
    // Lists operating systems in the database.
    ListOSes(ctx context.Context, in *ListOSesRequest, opts ...grpc.CallOption) (*ListOSesResponse, error)
    // Lists platforms in the database.
    ListPlatforms(ctx context.Context, in *ListPlatformsRequest, opts ...grpc.CallOption) (*ListPlatformsResponse, error)
    // Lists racks in the database.
    ListRacks(ctx context.Context, in *ListRacksRequest, opts ...grpc.CallOption) (*ListRacksResponse, error)
    // Lists switches in the database.
    ListSwitches(ctx context.Context, in *ListSwitchesRequest, opts ...grpc.CallOption) (*ListSwitchesResponse, error)
    // Lists VLANs in the database.
    ListVLANs(ctx context.Context, in *ListVLANsRequest, opts ...grpc.CallOption) (*ListVLANsResponse, error)
    // Creates a new machine in the database.
    CreateMachine(ctx context.Context, in *CreateMachineRequest, opts ...grpc.CallOption) (*Machine, error)
    // Deletes a machine from the database.
    DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists machines in the database.
    ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error)
    // Renames a machine in the database.
    RenameMachine(ctx context.Context, in *RenameMachineRequest, opts ...grpc.CallOption) (*Machine, error)
    // Updates a machine in the database.
    UpdateMachine(ctx context.Context, in *UpdateMachineRequest, opts ...grpc.CallOption) (*Machine, error)
    // Creates a new NIC in the database.
    CreateNIC(ctx context.Context, in *CreateNICRequest, opts ...grpc.CallOption) (*NIC, error)
    // Deletes a NIC from the database.
    DeleteNIC(ctx context.Context, in *DeleteNICRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists NICs in the database.
    ListNICs(ctx context.Context, in *ListNICsRequest, opts ...grpc.CallOption) (*ListNICsResponse, error)
    // Updates a NIC in the database.
    UpdateNIC(ctx context.Context, in *UpdateNICRequest, opts ...grpc.CallOption) (*NIC, error)
    // Creates a new DRAC in the database.
    CreateDRAC(ctx context.Context, in *CreateDRACRequest, opts ...grpc.CallOption) (*DRAC, error)
    // Lists DRACs in the database.
    ListDRACs(ctx context.Context, in *ListDRACsRequest, opts ...grpc.CallOption) (*ListDRACsResponse, error)
    // Updates a DRAC in the database.
    UpdateDRAC(ctx context.Context, in *UpdateDRACRequest, opts ...grpc.CallOption) (*DRAC, error)
    // Creates a new physical host in the database.
    CreatePhysicalHost(ctx context.Context, in *CreatePhysicalHostRequest, opts ...grpc.CallOption) (*PhysicalHost, error)
    // Lists physical hosts in the database.
    ListPhysicalHosts(ctx context.Context, in *ListPhysicalHostsRequest, opts ...grpc.CallOption) (*ListPhysicalHostsResponse, error)
    // Updates a physical host in the database.
    UpdatePhysicalHost(ctx context.Context, in *UpdatePhysicalHostRequest, opts ...grpc.CallOption) (*PhysicalHost, error)
    // Finds available VM slots in the database.
    FindVMSlots(ctx context.Context, in *FindVMSlotsRequest, opts ...grpc.CallOption) (*FindVMSlotsResponse, error)
    // Creates a new VM in the database.
    CreateVM(ctx context.Context, in *CreateVMRequest, opts ...grpc.CallOption) (*VM, error)
    // Lists VMs in the database.
    ListVMs(ctx context.Context, in *ListVMsRequest, opts ...grpc.CallOption) (*ListVMsResponse, error)
    // Updates a VM in the database.
    UpdateVM(ctx context.Context, in *UpdateVMRequest, opts ...grpc.CallOption) (*VM, error)
    // Deletes a physical or virtual host from the database.
    DeleteHost(ctx context.Context, in *DeleteHostRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

CrimsonClient is the client API for Crimson service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCrimsonClient Uses

func NewCrimsonClient(cc *grpc.ClientConn) CrimsonClient

func NewCrimsonPRPCClient Uses

func NewCrimsonPRPCClient(client *prpc.Client) CrimsonClient

type CrimsonServer Uses

type CrimsonServer interface {
    // Lists datacenters in the database.
    ListDatacenters(context.Context, *ListDatacentersRequest) (*ListDatacentersResponse, error)
    // Lists free IP addresses in the database.
    ListFreeIPs(context.Context, *ListFreeIPsRequest) (*ListIPsResponse, error)
    // Lists KVMs in the database.
    ListKVMs(context.Context, *ListKVMsRequest) (*ListKVMsResponse, error)
    // Lists operating systems in the database.
    ListOSes(context.Context, *ListOSesRequest) (*ListOSesResponse, error)
    // Lists platforms in the database.
    ListPlatforms(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
    // Lists racks in the database.
    ListRacks(context.Context, *ListRacksRequest) (*ListRacksResponse, error)
    // Lists switches in the database.
    ListSwitches(context.Context, *ListSwitchesRequest) (*ListSwitchesResponse, error)
    // Lists VLANs in the database.
    ListVLANs(context.Context, *ListVLANsRequest) (*ListVLANsResponse, error)
    // Creates a new machine in the database.
    CreateMachine(context.Context, *CreateMachineRequest) (*Machine, error)
    // Deletes a machine from the database.
    DeleteMachine(context.Context, *DeleteMachineRequest) (*empty.Empty, error)
    // Lists machines in the database.
    ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
    // Renames a machine in the database.
    RenameMachine(context.Context, *RenameMachineRequest) (*Machine, error)
    // Updates a machine in the database.
    UpdateMachine(context.Context, *UpdateMachineRequest) (*Machine, error)
    // Creates a new NIC in the database.
    CreateNIC(context.Context, *CreateNICRequest) (*NIC, error)
    // Deletes a NIC from the database.
    DeleteNIC(context.Context, *DeleteNICRequest) (*empty.Empty, error)
    // Lists NICs in the database.
    ListNICs(context.Context, *ListNICsRequest) (*ListNICsResponse, error)
    // Updates a NIC in the database.
    UpdateNIC(context.Context, *UpdateNICRequest) (*NIC, error)
    // Creates a new DRAC in the database.
    CreateDRAC(context.Context, *CreateDRACRequest) (*DRAC, error)
    // Lists DRACs in the database.
    ListDRACs(context.Context, *ListDRACsRequest) (*ListDRACsResponse, error)
    // Updates a DRAC in the database.
    UpdateDRAC(context.Context, *UpdateDRACRequest) (*DRAC, error)
    // Creates a new physical host in the database.
    CreatePhysicalHost(context.Context, *CreatePhysicalHostRequest) (*PhysicalHost, error)
    // Lists physical hosts in the database.
    ListPhysicalHosts(context.Context, *ListPhysicalHostsRequest) (*ListPhysicalHostsResponse, error)
    // Updates a physical host in the database.
    UpdatePhysicalHost(context.Context, *UpdatePhysicalHostRequest) (*PhysicalHost, error)
    // Finds available VM slots in the database.
    FindVMSlots(context.Context, *FindVMSlotsRequest) (*FindVMSlotsResponse, error)
    // Creates a new VM in the database.
    CreateVM(context.Context, *CreateVMRequest) (*VM, error)
    // Lists VMs in the database.
    ListVMs(context.Context, *ListVMsRequest) (*ListVMsResponse, error)
    // Updates a VM in the database.
    UpdateVM(context.Context, *UpdateVMRequest) (*VM, error)
    // Deletes a physical or virtual host from the database.
    DeleteHost(context.Context, *DeleteHostRequest) (*empty.Empty, error)
}

CrimsonServer is the server API for Crimson service.

type DRAC Uses

type DRAC struct {
    // The name of this DRAC on the network. Uniquely identifies this DRAC.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The machine this DRAC belongs to. Uniquely identifies this DRAC.
    Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
    // The IPv4 address associated with this DRAC.
    Ipv4 string `protobuf:"bytes,3,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    // The VLAN this DRAC belongs to.
    // When creating a DRAC, omit this field. It will be inferred from the IPv4 address.
    Vlan int64 `protobuf:"varint,4,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The MAC address associated with this DRAC.
    MacAddress string `protobuf:"bytes,5,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
    // The switch this DRAC is connected to.
    Switch string `protobuf:"bytes,6,opt,name=switch,proto3" json:"switch,omitempty"`
    // The switchport this DRAC is connected to.
    Switchport           int32    `protobuf:"varint,7,opt,name=switchport,proto3" json:"switchport,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A DRAC in the database.

func (*DRAC) Descriptor Uses

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

func (*DRAC) GetIpv4 Uses

func (m *DRAC) GetIpv4() string

func (*DRAC) GetMacAddress Uses

func (m *DRAC) GetMacAddress() string

func (*DRAC) GetMachine Uses

func (m *DRAC) GetMachine() string

func (*DRAC) GetName Uses

func (m *DRAC) GetName() string

func (*DRAC) GetSwitch Uses

func (m *DRAC) GetSwitch() string

func (*DRAC) GetSwitchport Uses

func (m *DRAC) GetSwitchport() int32

func (*DRAC) GetVlan Uses

func (m *DRAC) GetVlan() int64

func (*DRAC) ProtoMessage Uses

func (*DRAC) ProtoMessage()

func (*DRAC) Reset Uses

func (m *DRAC) Reset()

func (*DRAC) String Uses

func (m *DRAC) String() string

func (*DRAC) XXX_DiscardUnknown Uses

func (m *DRAC) XXX_DiscardUnknown()

func (*DRAC) XXX_Marshal Uses

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

func (*DRAC) XXX_Merge Uses

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

func (*DRAC) XXX_Size Uses

func (m *DRAC) XXX_Size() int

func (*DRAC) XXX_Unmarshal Uses

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

type Datacenter Uses

type Datacenter struct {
    // The name of this datacenter. Uniquely identifies this datacenter.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A description of this datacenter.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The state of this datacenter.
    State                v1.State `protobuf:"varint,3,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A datacenter in the database.

func (*Datacenter) Descriptor Uses

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

func (*Datacenter) GetDescription Uses

func (m *Datacenter) GetDescription() string

func (*Datacenter) GetName Uses

func (m *Datacenter) GetName() string

func (*Datacenter) GetState Uses

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

func (*Datacenter) ProtoMessage Uses

func (*Datacenter) ProtoMessage()

func (*Datacenter) Reset Uses

func (m *Datacenter) Reset()

func (*Datacenter) String Uses

func (m *Datacenter) String() string

func (*Datacenter) XXX_DiscardUnknown Uses

func (m *Datacenter) XXX_DiscardUnknown()

func (*Datacenter) XXX_Marshal Uses

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

func (*Datacenter) XXX_Merge Uses

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

func (*Datacenter) XXX_Size Uses

func (m *Datacenter) XXX_Size() int

func (*Datacenter) XXX_Unmarshal Uses

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

type DecoratedCrimson Uses

type DecoratedCrimson struct {
    // Service is the service to decorate.
    Service CrimsonServer
    // Prelude is called for each method before forwarding the call to Service.
    // If Prelude returns an error, then the call is skipped and the error is
    // processed via the Postlude (if one is defined), or it is returned directly.
    Prelude func(c context.Context, methodName string, req proto.Message) (context.Context, error)
    // Postlude is called for each method after Service has processed the call, or
    // after the Prelude has returned an error. This takes the the Service's
    // response proto (which may be nil) and/or any error. The decorated
    // service will return the response (possibly mutated) and error that Postlude
    // returns.
    Postlude func(c context.Context, methodName string, rsp proto.Message, err error) error
}

func (*DecoratedCrimson) CreateDRAC Uses

func (s *DecoratedCrimson) CreateDRAC(c context.Context, req *CreateDRACRequest) (rsp *DRAC, err error)

func (*DecoratedCrimson) CreateMachine Uses

func (s *DecoratedCrimson) CreateMachine(c context.Context, req *CreateMachineRequest) (rsp *Machine, err error)

func (*DecoratedCrimson) CreateNIC Uses

func (s *DecoratedCrimson) CreateNIC(c context.Context, req *CreateNICRequest) (rsp *NIC, err error)

func (*DecoratedCrimson) CreatePhysicalHost Uses

func (s *DecoratedCrimson) CreatePhysicalHost(c context.Context, req *CreatePhysicalHostRequest) (rsp *PhysicalHost, err error)

func (*DecoratedCrimson) CreateVM Uses

func (s *DecoratedCrimson) CreateVM(c context.Context, req *CreateVMRequest) (rsp *VM, err error)

func (*DecoratedCrimson) DeleteHost Uses

func (s *DecoratedCrimson) DeleteHost(c context.Context, req *DeleteHostRequest) (rsp *empty.Empty, err error)

func (*DecoratedCrimson) DeleteMachine Uses

func (s *DecoratedCrimson) DeleteMachine(c context.Context, req *DeleteMachineRequest) (rsp *empty.Empty, err error)

func (*DecoratedCrimson) DeleteNIC Uses

func (s *DecoratedCrimson) DeleteNIC(c context.Context, req *DeleteNICRequest) (rsp *empty.Empty, err error)

func (*DecoratedCrimson) FindVMSlots Uses

func (s *DecoratedCrimson) FindVMSlots(c context.Context, req *FindVMSlotsRequest) (rsp *FindVMSlotsResponse, err error)

func (*DecoratedCrimson) ListDRACs Uses

func (s *DecoratedCrimson) ListDRACs(c context.Context, req *ListDRACsRequest) (rsp *ListDRACsResponse, err error)

func (*DecoratedCrimson) ListDatacenters Uses

func (s *DecoratedCrimson) ListDatacenters(c context.Context, req *ListDatacentersRequest) (rsp *ListDatacentersResponse, err error)

func (*DecoratedCrimson) ListFreeIPs Uses

func (s *DecoratedCrimson) ListFreeIPs(c context.Context, req *ListFreeIPsRequest) (rsp *ListIPsResponse, err error)

func (*DecoratedCrimson) ListKVMs Uses

func (s *DecoratedCrimson) ListKVMs(c context.Context, req *ListKVMsRequest) (rsp *ListKVMsResponse, err error)

func (*DecoratedCrimson) ListMachines Uses

func (s *DecoratedCrimson) ListMachines(c context.Context, req *ListMachinesRequest) (rsp *ListMachinesResponse, err error)

func (*DecoratedCrimson) ListNICs Uses

func (s *DecoratedCrimson) ListNICs(c context.Context, req *ListNICsRequest) (rsp *ListNICsResponse, err error)

func (*DecoratedCrimson) ListOSes Uses

func (s *DecoratedCrimson) ListOSes(c context.Context, req *ListOSesRequest) (rsp *ListOSesResponse, err error)

func (*DecoratedCrimson) ListPhysicalHosts Uses

func (s *DecoratedCrimson) ListPhysicalHosts(c context.Context, req *ListPhysicalHostsRequest) (rsp *ListPhysicalHostsResponse, err error)

func (*DecoratedCrimson) ListPlatforms Uses

func (s *DecoratedCrimson) ListPlatforms(c context.Context, req *ListPlatformsRequest) (rsp *ListPlatformsResponse, err error)

func (*DecoratedCrimson) ListRacks Uses

func (s *DecoratedCrimson) ListRacks(c context.Context, req *ListRacksRequest) (rsp *ListRacksResponse, err error)

func (*DecoratedCrimson) ListSwitches Uses

func (s *DecoratedCrimson) ListSwitches(c context.Context, req *ListSwitchesRequest) (rsp *ListSwitchesResponse, err error)

func (*DecoratedCrimson) ListVLANs Uses

func (s *DecoratedCrimson) ListVLANs(c context.Context, req *ListVLANsRequest) (rsp *ListVLANsResponse, err error)

func (*DecoratedCrimson) ListVMs Uses

func (s *DecoratedCrimson) ListVMs(c context.Context, req *ListVMsRequest) (rsp *ListVMsResponse, err error)

func (*DecoratedCrimson) RenameMachine Uses

func (s *DecoratedCrimson) RenameMachine(c context.Context, req *RenameMachineRequest) (rsp *Machine, err error)

func (*DecoratedCrimson) UpdateDRAC Uses

func (s *DecoratedCrimson) UpdateDRAC(c context.Context, req *UpdateDRACRequest) (rsp *DRAC, err error)

func (*DecoratedCrimson) UpdateMachine Uses

func (s *DecoratedCrimson) UpdateMachine(c context.Context, req *UpdateMachineRequest) (rsp *Machine, err error)

func (*DecoratedCrimson) UpdateNIC Uses

func (s *DecoratedCrimson) UpdateNIC(c context.Context, req *UpdateNICRequest) (rsp *NIC, err error)

func (*DecoratedCrimson) UpdatePhysicalHost Uses

func (s *DecoratedCrimson) UpdatePhysicalHost(c context.Context, req *UpdatePhysicalHostRequest) (rsp *PhysicalHost, err error)

func (*DecoratedCrimson) UpdateVM Uses

func (s *DecoratedCrimson) UpdateVM(c context.Context, req *UpdateVMRequest) (rsp *VM, err error)

type DeleteHostRequest Uses

type DeleteHostRequest struct {
    // The name of the host to delete.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The VLAN the host belongs to.
    Vlan                 int64    `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to delete a physical or virtual host from the database.

func (*DeleteHostRequest) Descriptor Uses

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

func (*DeleteHostRequest) GetName Uses

func (m *DeleteHostRequest) GetName() string

func (*DeleteHostRequest) GetVlan Uses

func (m *DeleteHostRequest) GetVlan() int64

func (*DeleteHostRequest) ProtoMessage Uses

func (*DeleteHostRequest) ProtoMessage()

func (*DeleteHostRequest) Reset Uses

func (m *DeleteHostRequest) Reset()

func (*DeleteHostRequest) String Uses

func (m *DeleteHostRequest) String() string

func (*DeleteHostRequest) XXX_DiscardUnknown Uses

func (m *DeleteHostRequest) XXX_DiscardUnknown()

func (*DeleteHostRequest) XXX_Marshal Uses

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

func (*DeleteHostRequest) XXX_Merge Uses

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

func (*DeleteHostRequest) XXX_Size Uses

func (m *DeleteHostRequest) XXX_Size() int

func (*DeleteHostRequest) XXX_Unmarshal Uses

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

type DeleteMachineRequest Uses

type DeleteMachineRequest struct {
    // The name of the machine to delete.
    Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to delete a machine from the database.

func (*DeleteMachineRequest) Descriptor Uses

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

func (*DeleteMachineRequest) GetName Uses

func (m *DeleteMachineRequest) GetName() string

func (*DeleteMachineRequest) ProtoMessage Uses

func (*DeleteMachineRequest) ProtoMessage()

func (*DeleteMachineRequest) Reset Uses

func (m *DeleteMachineRequest) Reset()

func (*DeleteMachineRequest) String Uses

func (m *DeleteMachineRequest) String() string

func (*DeleteMachineRequest) XXX_DiscardUnknown Uses

func (m *DeleteMachineRequest) XXX_DiscardUnknown()

func (*DeleteMachineRequest) XXX_Marshal Uses

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

func (*DeleteMachineRequest) XXX_Merge Uses

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

func (*DeleteMachineRequest) XXX_Size Uses

func (m *DeleteMachineRequest) XXX_Size() int

func (*DeleteMachineRequest) XXX_Unmarshal Uses

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

type DeleteNICRequest Uses

type DeleteNICRequest struct {
    // The name of the NIC to delete.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The machine the NIC belongs to.
    Machine              string   `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to delete a NIC from the database.

func (*DeleteNICRequest) Descriptor Uses

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

func (*DeleteNICRequest) GetMachine Uses

func (m *DeleteNICRequest) GetMachine() string

func (*DeleteNICRequest) GetName Uses

func (m *DeleteNICRequest) GetName() string

func (*DeleteNICRequest) ProtoMessage Uses

func (*DeleteNICRequest) ProtoMessage()

func (*DeleteNICRequest) Reset Uses

func (m *DeleteNICRequest) Reset()

func (*DeleteNICRequest) String Uses

func (m *DeleteNICRequest) String() string

func (*DeleteNICRequest) XXX_DiscardUnknown Uses

func (m *DeleteNICRequest) XXX_DiscardUnknown()

func (*DeleteNICRequest) XXX_Marshal Uses

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

func (*DeleteNICRequest) XXX_Merge Uses

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

func (*DeleteNICRequest) XXX_Size Uses

func (m *DeleteNICRequest) XXX_Size() int

func (*DeleteNICRequest) XXX_Unmarshal Uses

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

type FindVMSlotsRequest Uses

type FindVMSlotsRequest struct {
    // The number of available VM slots to find.
    // Values < 1 return all available VM slots.
    Slots int32 `protobuf:"varint,1,opt,name=slots,proto3" json:"slots,omitempty"`
    // The platform manufacturers to filter found VM slots on.
    Manufacturers []string `protobuf:"bytes,2,rep,name=manufacturers,proto3" json:"manufacturers,omitempty"`
    // The virtual datacenter to filter found VM slots on.
    VirtualDatacenters []string `protobuf:"bytes,3,rep,name=virtual_datacenters,json=virtualDatacenters,proto3" json:"virtual_datacenters,omitempty"`
    // The states to filter found VM slots on.
    States               []v1.State `protobuf:"varint,6,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

A request to find available VM slots in the database.

func (*FindVMSlotsRequest) Descriptor Uses

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

func (*FindVMSlotsRequest) GetManufacturers Uses

func (m *FindVMSlotsRequest) GetManufacturers() []string

func (*FindVMSlotsRequest) GetSlots Uses

func (m *FindVMSlotsRequest) GetSlots() int32

func (*FindVMSlotsRequest) GetStates Uses

func (m *FindVMSlotsRequest) GetStates() []v1.State

func (*FindVMSlotsRequest) GetVirtualDatacenters Uses

func (m *FindVMSlotsRequest) GetVirtualDatacenters() []string

func (*FindVMSlotsRequest) ProtoMessage Uses

func (*FindVMSlotsRequest) ProtoMessage()

func (*FindVMSlotsRequest) Reset Uses

func (m *FindVMSlotsRequest) Reset()

func (*FindVMSlotsRequest) String Uses

func (m *FindVMSlotsRequest) String() string

func (*FindVMSlotsRequest) XXX_DiscardUnknown Uses

func (m *FindVMSlotsRequest) XXX_DiscardUnknown()

func (*FindVMSlotsRequest) XXX_Marshal Uses

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

func (*FindVMSlotsRequest) XXX_Merge Uses

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

func (*FindVMSlotsRequest) XXX_Size Uses

func (m *FindVMSlotsRequest) XXX_Size() int

func (*FindVMSlotsRequest) XXX_Unmarshal Uses

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

type FindVMSlotsResponse Uses

type FindVMSlotsResponse struct {
    // The hosts with available VM slots.
    // Only includes name, vlan_id, and vm_slots.
    // vm_slots in this context means the number of available VM slots.
    Hosts                []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

A response containing a list of available VM slots in the database.

func (*FindVMSlotsResponse) Descriptor Uses

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

func (*FindVMSlotsResponse) GetHosts Uses

func (m *FindVMSlotsResponse) GetHosts() []*PhysicalHost

func (*FindVMSlotsResponse) ProtoMessage Uses

func (*FindVMSlotsResponse) ProtoMessage()

func (*FindVMSlotsResponse) Reset Uses

func (m *FindVMSlotsResponse) Reset()

func (*FindVMSlotsResponse) String Uses

func (m *FindVMSlotsResponse) String() string

func (*FindVMSlotsResponse) XXX_DiscardUnknown Uses

func (m *FindVMSlotsResponse) XXX_DiscardUnknown()

func (*FindVMSlotsResponse) XXX_Marshal Uses

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

func (*FindVMSlotsResponse) XXX_Merge Uses

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

func (*FindVMSlotsResponse) XXX_Size Uses

func (m *FindVMSlotsResponse) XXX_Size() int

func (*FindVMSlotsResponse) XXX_Unmarshal Uses

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

type IP Uses

type IP struct {
    // The IPv4 address. Uniquely identifies this IP address.
    Ipv4 string `protobuf:"bytes,1,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    // The VLAN this IP address belongs to.
    Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The hostname this IP address is assigned to.
    Hostname             string   `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An IP address in the database.

func (*IP) Descriptor Uses

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

func (*IP) GetHostname Uses

func (m *IP) GetHostname() string

func (*IP) GetIpv4 Uses

func (m *IP) GetIpv4() string

func (*IP) GetVlan Uses

func (m *IP) GetVlan() int64

func (*IP) ProtoMessage Uses

func (*IP) ProtoMessage()

func (*IP) Reset Uses

func (m *IP) Reset()

func (*IP) String Uses

func (m *IP) String() string

func (*IP) XXX_DiscardUnknown Uses

func (m *IP) XXX_DiscardUnknown()

func (*IP) XXX_Marshal Uses

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

func (*IP) XXX_Merge Uses

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

func (*IP) XXX_Size Uses

func (m *IP) XXX_Size() int

func (*IP) XXX_Unmarshal Uses

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

type KVM Uses

type KVM struct {
    // The name of this KVM on the network. Uniquely identifies this KVM.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The VLAN this KVM belongs to.
    Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The type of platform this KVM is.
    Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
    // The datacenter this KVM belongs to.
    Datacenter string `protobuf:"bytes,4,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
    // The rack this KVM belongs to.
    Rack string `protobuf:"bytes,5,opt,name=rack,proto3" json:"rack,omitempty"`
    // A description of this KVM.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // The MAC address associated with this KVM.
    MacAddress string `protobuf:"bytes,7,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
    // The IPv4 address associated with this KVM.
    Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    // The state of this KVM.
    State                v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A KVM in the database.

func (*KVM) Descriptor Uses

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

func (*KVM) GetDatacenter Uses

func (m *KVM) GetDatacenter() string

func (*KVM) GetDescription Uses

func (m *KVM) GetDescription() string

func (*KVM) GetIpv4 Uses

func (m *KVM) GetIpv4() string

func (*KVM) GetMacAddress Uses

func (m *KVM) GetMacAddress() string

func (*KVM) GetName Uses

func (m *KVM) GetName() string

func (*KVM) GetPlatform Uses

func (m *KVM) GetPlatform() string

func (*KVM) GetRack Uses

func (m *KVM) GetRack() string

func (*KVM) GetState Uses

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

func (*KVM) GetVlan Uses

func (m *KVM) GetVlan() int64

func (*KVM) ProtoMessage Uses

func (*KVM) ProtoMessage()

func (*KVM) Reset Uses

func (m *KVM) Reset()

func (*KVM) String Uses

func (m *KVM) String() string

func (*KVM) XXX_DiscardUnknown Uses

func (m *KVM) XXX_DiscardUnknown()

func (*KVM) XXX_Marshal Uses

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

func (*KVM) XXX_Merge Uses

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

func (*KVM) XXX_Size Uses

func (m *KVM) XXX_Size() int

func (*KVM) XXX_Unmarshal Uses

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

type ListDRACsRequest Uses

type ListDRACsRequest struct {
    // The names of DRACs to get.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The machines to filter retrieved DRACs on.
    Machines []string `protobuf:"bytes,2,rep,name=machines,proto3" json:"machines,omitempty"`
    // The IPv4 addresses to filter retrieved DRACs on.
    Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
    // The VLANs to filter retrieved DRACs on.
    Vlans []int64 `protobuf:"varint,4,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
    // The MAC addresses to filter retrieved DRACs on.
    MacAddresses []string `protobuf:"bytes,5,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"`
    // The switches to filter retrieved DRACs on.
    Switches             []string `protobuf:"bytes,6,rep,name=switches,proto3" json:"switches,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list DRACs in the database.

func (*ListDRACsRequest) Descriptor Uses

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

func (*ListDRACsRequest) GetIpv4S Uses

func (m *ListDRACsRequest) GetIpv4S() []string

func (*ListDRACsRequest) GetMacAddresses Uses

func (m *ListDRACsRequest) GetMacAddresses() []string

func (*ListDRACsRequest) GetMachines Uses

func (m *ListDRACsRequest) GetMachines() []string

func (*ListDRACsRequest) GetNames Uses

func (m *ListDRACsRequest) GetNames() []string

func (*ListDRACsRequest) GetSwitches Uses

func (m *ListDRACsRequest) GetSwitches() []string

func (*ListDRACsRequest) GetVlans Uses

func (m *ListDRACsRequest) GetVlans() []int64

func (*ListDRACsRequest) ProtoMessage Uses

func (*ListDRACsRequest) ProtoMessage()

func (*ListDRACsRequest) Reset Uses

func (m *ListDRACsRequest) Reset()

func (*ListDRACsRequest) String Uses

func (m *ListDRACsRequest) String() string

func (*ListDRACsRequest) XXX_DiscardUnknown Uses

func (m *ListDRACsRequest) XXX_DiscardUnknown()

func (*ListDRACsRequest) XXX_Marshal Uses

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

func (*ListDRACsRequest) XXX_Merge Uses

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

func (*ListDRACsRequest) XXX_Size Uses

func (m *ListDRACsRequest) XXX_Size() int

func (*ListDRACsRequest) XXX_Unmarshal Uses

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

type ListDRACsResponse Uses

type ListDRACsResponse struct {
    // The DRACs matching this request.
    Dracs                []*DRAC  `protobuf:"bytes,1,rep,name=dracs,proto3" json:"dracs,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of DRACs in the database.

func (*ListDRACsResponse) Descriptor Uses

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

func (*ListDRACsResponse) GetDracs Uses

func (m *ListDRACsResponse) GetDracs() []*DRAC

func (*ListDRACsResponse) ProtoMessage Uses

func (*ListDRACsResponse) ProtoMessage()

func (*ListDRACsResponse) Reset Uses

func (m *ListDRACsResponse) Reset()

func (*ListDRACsResponse) String Uses

func (m *ListDRACsResponse) String() string

func (*ListDRACsResponse) XXX_DiscardUnknown Uses

func (m *ListDRACsResponse) XXX_DiscardUnknown()

func (*ListDRACsResponse) XXX_Marshal Uses

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

func (*ListDRACsResponse) XXX_Merge Uses

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

func (*ListDRACsResponse) XXX_Size Uses

func (m *ListDRACsResponse) XXX_Size() int

func (*ListDRACsResponse) XXX_Unmarshal Uses

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

type ListDatacentersRequest Uses

type ListDatacentersRequest struct {
    // The names of datacenters to retrieve.
    Names                []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list datacenters in the database.

func (*ListDatacentersRequest) Descriptor Uses

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

func (*ListDatacentersRequest) GetNames Uses

func (m *ListDatacentersRequest) GetNames() []string

func (*ListDatacentersRequest) ProtoMessage Uses

func (*ListDatacentersRequest) ProtoMessage()

func (*ListDatacentersRequest) Reset Uses

func (m *ListDatacentersRequest) Reset()

func (*ListDatacentersRequest) String Uses

func (m *ListDatacentersRequest) String() string

func (*ListDatacentersRequest) XXX_DiscardUnknown Uses

func (m *ListDatacentersRequest) XXX_DiscardUnknown()

func (*ListDatacentersRequest) XXX_Marshal Uses

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

func (*ListDatacentersRequest) XXX_Merge Uses

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

func (*ListDatacentersRequest) XXX_Size Uses

func (m *ListDatacentersRequest) XXX_Size() int

func (*ListDatacentersRequest) XXX_Unmarshal Uses

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

type ListDatacentersResponse Uses

type ListDatacentersResponse struct {
    // The datacenters matching the request.
    Datacenters          []*Datacenter `protobuf:"bytes,1,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    XXX_NoUnkeyedLiteral struct{}      `json:"-"`
    XXX_unrecognized     []byte        `json:"-"`
    XXX_sizecache        int32         `json:"-"`
}

A response containing a list of datacenters in the database.

func (*ListDatacentersResponse) Descriptor Uses

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

func (*ListDatacentersResponse) GetDatacenters Uses

func (m *ListDatacentersResponse) GetDatacenters() []*Datacenter

func (*ListDatacentersResponse) ProtoMessage Uses

func (*ListDatacentersResponse) ProtoMessage()

func (*ListDatacentersResponse) Reset Uses

func (m *ListDatacentersResponse) Reset()

func (*ListDatacentersResponse) String Uses

func (m *ListDatacentersResponse) String() string

func (*ListDatacentersResponse) XXX_DiscardUnknown Uses

func (m *ListDatacentersResponse) XXX_DiscardUnknown()

func (*ListDatacentersResponse) XXX_Marshal Uses

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

func (*ListDatacentersResponse) XXX_Merge Uses

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

func (*ListDatacentersResponse) XXX_Size Uses

func (m *ListDatacentersResponse) XXX_Size() int

func (*ListDatacentersResponse) XXX_Unmarshal Uses

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

type ListFreeIPsRequest Uses

type ListFreeIPsRequest struct {
    // The VLAN to list free IP addresses on.
    Vlan int64 `protobuf:"varint,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The maximum number of free IP addresses to return, or 0 to let the server decide.
    PageSize             int32    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list free IP addresses in the database.

func (*ListFreeIPsRequest) Descriptor Uses

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

func (*ListFreeIPsRequest) GetPageSize Uses

func (m *ListFreeIPsRequest) GetPageSize() int32

func (*ListFreeIPsRequest) GetVlan Uses

func (m *ListFreeIPsRequest) GetVlan() int64

func (*ListFreeIPsRequest) ProtoMessage Uses

func (*ListFreeIPsRequest) ProtoMessage()

func (*ListFreeIPsRequest) Reset Uses

func (m *ListFreeIPsRequest) Reset()

func (*ListFreeIPsRequest) String Uses

func (m *ListFreeIPsRequest) String() string

func (*ListFreeIPsRequest) XXX_DiscardUnknown Uses

func (m *ListFreeIPsRequest) XXX_DiscardUnknown()

func (*ListFreeIPsRequest) XXX_Marshal Uses

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

func (*ListFreeIPsRequest) XXX_Merge Uses

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

func (*ListFreeIPsRequest) XXX_Size Uses

func (m *ListFreeIPsRequest) XXX_Size() int

func (*ListFreeIPsRequest) XXX_Unmarshal Uses

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

type ListIPsResponse Uses

type ListIPsResponse struct {
    // The IP addresses matching this request.
    Ips                  []*IP    `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of IP addresses in the database.

func (*ListIPsResponse) Descriptor Uses

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

func (*ListIPsResponse) GetIps Uses

func (m *ListIPsResponse) GetIps() []*IP

func (*ListIPsResponse) ProtoMessage Uses

func (*ListIPsResponse) ProtoMessage()

func (*ListIPsResponse) Reset Uses

func (m *ListIPsResponse) Reset()

func (*ListIPsResponse) String Uses

func (m *ListIPsResponse) String() string

func (*ListIPsResponse) XXX_DiscardUnknown Uses

func (m *ListIPsResponse) XXX_DiscardUnknown()

func (*ListIPsResponse) XXX_Marshal Uses

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

func (*ListIPsResponse) XXX_Merge Uses

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

func (*ListIPsResponse) XXX_Size Uses

func (m *ListIPsResponse) XXX_Size() int

func (*ListIPsResponse) XXX_Unmarshal Uses

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

type ListKVMsRequest Uses

type ListKVMsRequest struct {
    // The names of KVMs to retrieve.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The VLANs to filter retrieved KVMs on.
    Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
    // The platforms to filter retrieved KVMs on.
    Platforms []string `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"`
    // The datacenters to filter retrieved KVMs on.
    Datacenters []string `protobuf:"bytes,4,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    // The racks to filter retrieved KVMs on.
    Racks []string `protobuf:"bytes,5,rep,name=racks,proto3" json:"racks,omitempty"`
    // The MAC addresses to filter retrieved KVMs on.
    MacAddresses []string `protobuf:"bytes,6,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"`
    // The IPv4 addresses to filter retrieved KVMs on.
    Ipv4S []string `protobuf:"bytes,7,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
    // The states to filter retrieved KVMs on.
    States               []v1.State `protobuf:"varint,8,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

A request to list KVMs in the database.

func (*ListKVMsRequest) Descriptor Uses

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

func (*ListKVMsRequest) GetDatacenters Uses

func (m *ListKVMsRequest) GetDatacenters() []string

func (*ListKVMsRequest) GetIpv4S Uses

func (m *ListKVMsRequest) GetIpv4S() []string

func (*ListKVMsRequest) GetMacAddresses Uses

func (m *ListKVMsRequest) GetMacAddresses() []string

func (*ListKVMsRequest) GetNames Uses

func (m *ListKVMsRequest) GetNames() []string

func (*ListKVMsRequest) GetPlatforms Uses

func (m *ListKVMsRequest) GetPlatforms() []string

func (*ListKVMsRequest) GetRacks Uses

func (m *ListKVMsRequest) GetRacks() []string

func (*ListKVMsRequest) GetStates Uses

func (m *ListKVMsRequest) GetStates() []v1.State

func (*ListKVMsRequest) GetVlans Uses

func (m *ListKVMsRequest) GetVlans() []int64

func (*ListKVMsRequest) ProtoMessage Uses

func (*ListKVMsRequest) ProtoMessage()

func (*ListKVMsRequest) Reset Uses

func (m *ListKVMsRequest) Reset()

func (*ListKVMsRequest) String Uses

func (m *ListKVMsRequest) String() string

func (*ListKVMsRequest) XXX_DiscardUnknown Uses

func (m *ListKVMsRequest) XXX_DiscardUnknown()

func (*ListKVMsRequest) XXX_Marshal Uses

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

func (*ListKVMsRequest) XXX_Merge Uses

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

func (*ListKVMsRequest) XXX_Size Uses

func (m *ListKVMsRequest) XXX_Size() int

func (*ListKVMsRequest) XXX_Unmarshal Uses

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

type ListKVMsResponse Uses

type ListKVMsResponse struct {
    // The KVMs matching the request.
    Kvms                 []*KVM   `protobuf:"bytes,1,rep,name=kvms,proto3" json:"kvms,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of KVMs in the database.

func (*ListKVMsResponse) Descriptor Uses

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

func (*ListKVMsResponse) GetKvms Uses

func (m *ListKVMsResponse) GetKvms() []*KVM

func (*ListKVMsResponse) ProtoMessage Uses

func (*ListKVMsResponse) ProtoMessage()

func (*ListKVMsResponse) Reset Uses

func (m *ListKVMsResponse) Reset()

func (*ListKVMsResponse) String Uses

func (m *ListKVMsResponse) String() string

func (*ListKVMsResponse) XXX_DiscardUnknown Uses

func (m *ListKVMsResponse) XXX_DiscardUnknown()

func (*ListKVMsResponse) XXX_Marshal Uses

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

func (*ListKVMsResponse) XXX_Merge Uses

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

func (*ListKVMsResponse) XXX_Size Uses

func (m *ListKVMsResponse) XXX_Size() int

func (*ListKVMsResponse) XXX_Unmarshal Uses

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

type ListMachinesRequest Uses

type ListMachinesRequest struct {
    // The names of machines to get.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The platforms to filter retrieved machines on.
    Platforms []string `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms,omitempty"`
    // The racks to filter retrieved machines on.
    Racks []string `protobuf:"bytes,3,rep,name=racks,proto3" json:"racks,omitempty"`
    // The states to filter retrieved machines on.
    States []v1.State `protobuf:"varint,4,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
    // The datacenters to filter retrieved machines on.
    Datacenters          []string `protobuf:"bytes,5,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list machines in the database.

func (*ListMachinesRequest) Descriptor Uses

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

func (*ListMachinesRequest) GetDatacenters Uses

func (m *ListMachinesRequest) GetDatacenters() []string

func (*ListMachinesRequest) GetNames Uses

func (m *ListMachinesRequest) GetNames() []string

func (*ListMachinesRequest) GetPlatforms Uses

func (m *ListMachinesRequest) GetPlatforms() []string

func (*ListMachinesRequest) GetRacks Uses

func (m *ListMachinesRequest) GetRacks() []string

func (*ListMachinesRequest) GetStates Uses

func (m *ListMachinesRequest) GetStates() []v1.State

func (*ListMachinesRequest) ProtoMessage Uses

func (*ListMachinesRequest) ProtoMessage()

func (*ListMachinesRequest) Reset Uses

func (m *ListMachinesRequest) Reset()

func (*ListMachinesRequest) String Uses

func (m *ListMachinesRequest) String() string

func (*ListMachinesRequest) XXX_DiscardUnknown Uses

func (m *ListMachinesRequest) XXX_DiscardUnknown()

func (*ListMachinesRequest) XXX_Marshal Uses

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

func (*ListMachinesRequest) XXX_Merge Uses

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

func (*ListMachinesRequest) XXX_Size Uses

func (m *ListMachinesRequest) XXX_Size() int

func (*ListMachinesRequest) XXX_Unmarshal Uses

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

type ListMachinesResponse Uses

type ListMachinesResponse struct {
    // The machines matching this request.
    Machines             []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

A response containing a list of machines in the database.

func (*ListMachinesResponse) Descriptor Uses

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

func (*ListMachinesResponse) GetMachines Uses

func (m *ListMachinesResponse) GetMachines() []*Machine

func (*ListMachinesResponse) ProtoMessage Uses

func (*ListMachinesResponse) ProtoMessage()

func (*ListMachinesResponse) Reset Uses

func (m *ListMachinesResponse) Reset()

func (*ListMachinesResponse) String Uses

func (m *ListMachinesResponse) String() string

func (*ListMachinesResponse) XXX_DiscardUnknown Uses

func (m *ListMachinesResponse) XXX_DiscardUnknown()

func (*ListMachinesResponse) XXX_Marshal Uses

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

func (*ListMachinesResponse) XXX_Merge Uses

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

func (*ListMachinesResponse) XXX_Size Uses

func (m *ListMachinesResponse) XXX_Size() int

func (*ListMachinesResponse) XXX_Unmarshal Uses

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

type ListNICsRequest Uses

type ListNICsRequest struct {
    // The names of NICs to filter retrieved NICs on.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The machines to filter retrieved NICs on.
    Machines []string `protobuf:"bytes,2,rep,name=machines,proto3" json:"machines,omitempty"`
    // The MAC addresses to filter retrieved NICs on.
    MacAddresses []string `protobuf:"bytes,3,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"`
    // The switches to filter retrieved NICs on.
    Switches []string `protobuf:"bytes,4,rep,name=switches,proto3" json:"switches,omitempty"`
    // The hostnames of NICs to filter retrieved NICs on.
    Hostnames []string `protobuf:"bytes,5,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
    // The IPv4 addresses of NICs to filter retrieved NICs on.
    Ipv4S                []string `protobuf:"bytes,6,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list NICs in the database.

func (*ListNICsRequest) Descriptor Uses

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

func (*ListNICsRequest) GetHostnames Uses

func (m *ListNICsRequest) GetHostnames() []string

func (*ListNICsRequest) GetIpv4S Uses

func (m *ListNICsRequest) GetIpv4S() []string

func (*ListNICsRequest) GetMacAddresses Uses

func (m *ListNICsRequest) GetMacAddresses() []string

func (*ListNICsRequest) GetMachines Uses

func (m *ListNICsRequest) GetMachines() []string

func (*ListNICsRequest) GetNames Uses

func (m *ListNICsRequest) GetNames() []string

func (*ListNICsRequest) GetSwitches Uses

func (m *ListNICsRequest) GetSwitches() []string

func (*ListNICsRequest) ProtoMessage Uses

func (*ListNICsRequest) ProtoMessage()

func (*ListNICsRequest) Reset Uses

func (m *ListNICsRequest) Reset()

func (*ListNICsRequest) String Uses

func (m *ListNICsRequest) String() string

func (*ListNICsRequest) XXX_DiscardUnknown Uses

func (m *ListNICsRequest) XXX_DiscardUnknown()

func (*ListNICsRequest) XXX_Marshal Uses

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

func (*ListNICsRequest) XXX_Merge Uses

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

func (*ListNICsRequest) XXX_Size Uses

func (m *ListNICsRequest) XXX_Size() int

func (*ListNICsRequest) XXX_Unmarshal Uses

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

type ListNICsResponse Uses

type ListNICsResponse struct {
    // The NICs matching this request.
    Nics                 []*NIC   `protobuf:"bytes,1,rep,name=nics,proto3" json:"nics,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of NICs in the database.

func (*ListNICsResponse) Descriptor Uses

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

func (*ListNICsResponse) GetNics Uses

func (m *ListNICsResponse) GetNics() []*NIC

func (*ListNICsResponse) ProtoMessage Uses

func (*ListNICsResponse) ProtoMessage()

func (*ListNICsResponse) Reset Uses

func (m *ListNICsResponse) Reset()

func (*ListNICsResponse) String Uses

func (m *ListNICsResponse) String() string

func (*ListNICsResponse) XXX_DiscardUnknown Uses

func (m *ListNICsResponse) XXX_DiscardUnknown()

func (*ListNICsResponse) XXX_Marshal Uses

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

func (*ListNICsResponse) XXX_Merge Uses

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

func (*ListNICsResponse) XXX_Size Uses

func (m *ListNICsResponse) XXX_Size() int

func (*ListNICsResponse) XXX_Unmarshal Uses

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

type ListOSesRequest Uses

type ListOSesRequest struct {
    // The names of operating systems to retrieve.
    Names                []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list operating systems in the database.

func (*ListOSesRequest) Descriptor Uses

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

func (*ListOSesRequest) GetNames Uses

func (m *ListOSesRequest) GetNames() []string

func (*ListOSesRequest) ProtoMessage Uses

func (*ListOSesRequest) ProtoMessage()

func (*ListOSesRequest) Reset Uses

func (m *ListOSesRequest) Reset()

func (*ListOSesRequest) String Uses

func (m *ListOSesRequest) String() string

func (*ListOSesRequest) XXX_DiscardUnknown Uses

func (m *ListOSesRequest) XXX_DiscardUnknown()

func (*ListOSesRequest) XXX_Marshal Uses

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

func (*ListOSesRequest) XXX_Merge Uses

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

func (*ListOSesRequest) XXX_Size Uses

func (m *ListOSesRequest) XXX_Size() int

func (*ListOSesRequest) XXX_Unmarshal Uses

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

type ListOSesResponse Uses

type ListOSesResponse struct {
    // The operating systems matching the request.
    Oses                 []*OS    `protobuf:"bytes,1,rep,name=oses,proto3" json:"oses,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of operating systems in the database.

func (*ListOSesResponse) Descriptor Uses

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

func (*ListOSesResponse) GetOses Uses

func (m *ListOSesResponse) GetOses() []*OS

func (*ListOSesResponse) ProtoMessage Uses

func (*ListOSesResponse) ProtoMessage()

func (*ListOSesResponse) Reset Uses

func (m *ListOSesResponse) Reset()

func (*ListOSesResponse) String Uses

func (m *ListOSesResponse) String() string

func (*ListOSesResponse) XXX_DiscardUnknown Uses

func (m *ListOSesResponse) XXX_DiscardUnknown()

func (*ListOSesResponse) XXX_Marshal Uses

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

func (*ListOSesResponse) XXX_Merge Uses

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

func (*ListOSesResponse) XXX_Size Uses

func (m *ListOSesResponse) XXX_Size() int

func (*ListOSesResponse) XXX_Unmarshal Uses

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

type ListPhysicalHostsRequest Uses

type ListPhysicalHostsRequest struct {
    // The names of hosts to get.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The VLANs to filter retrieved hosts on.
    Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
    // The IPv4 addresses to filter retrieved hosts on.
    Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
    // The machines to filter retrieved hosts on.
    Machines []string `protobuf:"bytes,4,rep,name=machines,proto3" json:"machines,omitempty"`
    // The operating systems to filter retrieved hosts on.
    Oses []string `protobuf:"bytes,5,rep,name=oses,proto3" json:"oses,omitempty"`
    // The states to filter retrieved hosts on.
    States []v1.State `protobuf:"varint,6,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
    // The platforms to filter retrieved hosts on.
    Platforms []string `protobuf:"bytes,7,rep,name=platforms,proto3" json:"platforms,omitempty"`
    // The racks to filter retrieved hosts on.
    Racks []string `protobuf:"bytes,8,rep,name=racks,proto3" json:"racks,omitempty"`
    // The datacenters to filter retrieved hosts on.
    Datacenters []string `protobuf:"bytes,9,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    // The virtual datacenters to filter retrieved hosts on.
    VirtualDatacenters []string `protobuf:"bytes,10,rep,name=virtual_datacenters,json=virtualDatacenters,proto3" json:"virtual_datacenters,omitempty"`
    // The NICs to filter retrieved hosts on.
    Nics []string `protobuf:"bytes,11,rep,name=nics,proto3" json:"nics,omitempty"`
    // The MAC addresses to filter retrieved hosts on.
    MacAddresses         []string `protobuf:"bytes,12,rep,name=mac_addresses,json=macAddresses,proto3" json:"mac_addresses,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list physical hosts in the database.

func (*ListPhysicalHostsRequest) Descriptor Uses

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

func (*ListPhysicalHostsRequest) GetDatacenters Uses

func (m *ListPhysicalHostsRequest) GetDatacenters() []string

func (*ListPhysicalHostsRequest) GetIpv4S Uses

func (m *ListPhysicalHostsRequest) GetIpv4S() []string

func (*ListPhysicalHostsRequest) GetMacAddresses Uses

func (m *ListPhysicalHostsRequest) GetMacAddresses() []string

func (*ListPhysicalHostsRequest) GetMachines Uses

func (m *ListPhysicalHostsRequest) GetMachines() []string

func (*ListPhysicalHostsRequest) GetNames Uses

func (m *ListPhysicalHostsRequest) GetNames() []string

func (*ListPhysicalHostsRequest) GetNics Uses

func (m *ListPhysicalHostsRequest) GetNics() []string

func (*ListPhysicalHostsRequest) GetOses Uses

func (m *ListPhysicalHostsRequest) GetOses() []string

func (*ListPhysicalHostsRequest) GetPlatforms Uses

func (m *ListPhysicalHostsRequest) GetPlatforms() []string

func (*ListPhysicalHostsRequest) GetRacks Uses

func (m *ListPhysicalHostsRequest) GetRacks() []string

func (*ListPhysicalHostsRequest) GetStates Uses

func (m *ListPhysicalHostsRequest) GetStates() []v1.State

func (*ListPhysicalHostsRequest) GetVirtualDatacenters Uses

func (m *ListPhysicalHostsRequest) GetVirtualDatacenters() []string

func (*ListPhysicalHostsRequest) GetVlans Uses

func (m *ListPhysicalHostsRequest) GetVlans() []int64

func (*ListPhysicalHostsRequest) ProtoMessage Uses

func (*ListPhysicalHostsRequest) ProtoMessage()

func (*ListPhysicalHostsRequest) Reset Uses

func (m *ListPhysicalHostsRequest) Reset()

func (*ListPhysicalHostsRequest) String Uses

func (m *ListPhysicalHostsRequest) String() string

func (*ListPhysicalHostsRequest) XXX_DiscardUnknown Uses

func (m *ListPhysicalHostsRequest) XXX_DiscardUnknown()

func (*ListPhysicalHostsRequest) XXX_Marshal Uses

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

func (*ListPhysicalHostsRequest) XXX_Merge Uses

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

func (*ListPhysicalHostsRequest) XXX_Size Uses

func (m *ListPhysicalHostsRequest) XXX_Size() int

func (*ListPhysicalHostsRequest) XXX_Unmarshal Uses

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

type ListPhysicalHostsResponse Uses

type ListPhysicalHostsResponse struct {
    // The hosts matching this request.
    Hosts                []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

A response containing a list of physical hosts in the database.

func (*ListPhysicalHostsResponse) Descriptor Uses

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

func (*ListPhysicalHostsResponse) GetHosts Uses

func (m *ListPhysicalHostsResponse) GetHosts() []*PhysicalHost

func (*ListPhysicalHostsResponse) ProtoMessage Uses

func (*ListPhysicalHostsResponse) ProtoMessage()

func (*ListPhysicalHostsResponse) Reset Uses

func (m *ListPhysicalHostsResponse) Reset()

func (*ListPhysicalHostsResponse) String Uses

func (m *ListPhysicalHostsResponse) String() string

func (*ListPhysicalHostsResponse) XXX_DiscardUnknown Uses

func (m *ListPhysicalHostsResponse) XXX_DiscardUnknown()

func (*ListPhysicalHostsResponse) XXX_Marshal Uses

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

func (*ListPhysicalHostsResponse) XXX_Merge Uses

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

func (*ListPhysicalHostsResponse) XXX_Size Uses

func (m *ListPhysicalHostsResponse) XXX_Size() int

func (*ListPhysicalHostsResponse) XXX_Unmarshal Uses

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

type ListPlatformsRequest Uses

type ListPlatformsRequest struct {
    // The names of platforms to retrieve.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The manufacturers to filter retrieved platforms on.
    Manufacturers        []string `protobuf:"bytes,2,rep,name=manufacturers,proto3" json:"manufacturers,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list platforms in the database.

func (*ListPlatformsRequest) Descriptor Uses

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

func (*ListPlatformsRequest) GetManufacturers Uses

func (m *ListPlatformsRequest) GetManufacturers() []string

func (*ListPlatformsRequest) GetNames Uses

func (m *ListPlatformsRequest) GetNames() []string

func (*ListPlatformsRequest) ProtoMessage Uses

func (*ListPlatformsRequest) ProtoMessage()

func (*ListPlatformsRequest) Reset Uses

func (m *ListPlatformsRequest) Reset()

func (*ListPlatformsRequest) String Uses

func (m *ListPlatformsRequest) String() string

func (*ListPlatformsRequest) XXX_DiscardUnknown Uses

func (m *ListPlatformsRequest) XXX_DiscardUnknown()

func (*ListPlatformsRequest) XXX_Marshal Uses

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

func (*ListPlatformsRequest) XXX_Merge Uses

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

func (*ListPlatformsRequest) XXX_Size Uses

func (m *ListPlatformsRequest) XXX_Size() int

func (*ListPlatformsRequest) XXX_Unmarshal Uses

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

type ListPlatformsResponse Uses

type ListPlatformsResponse struct {
    // The platforms matching the request.
    Platforms            []*Platform `protobuf:"bytes,1,rep,name=platforms,proto3" json:"platforms,omitempty"`
    XXX_NoUnkeyedLiteral struct{}    `json:"-"`
    XXX_unrecognized     []byte      `json:"-"`
    XXX_sizecache        int32       `json:"-"`
}

A response containing a list of platforms in the database.

func (*ListPlatformsResponse) Descriptor Uses

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

func (*ListPlatformsResponse) GetPlatforms Uses

func (m *ListPlatformsResponse) GetPlatforms() []*Platform

func (*ListPlatformsResponse) ProtoMessage Uses

func (*ListPlatformsResponse) ProtoMessage()

func (*ListPlatformsResponse) Reset Uses

func (m *ListPlatformsResponse) Reset()

func (*ListPlatformsResponse) String Uses

func (m *ListPlatformsResponse) String() string

func (*ListPlatformsResponse) XXX_DiscardUnknown Uses

func (m *ListPlatformsResponse) XXX_DiscardUnknown()

func (*ListPlatformsResponse) XXX_Marshal Uses

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

func (*ListPlatformsResponse) XXX_Merge Uses

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

func (*ListPlatformsResponse) XXX_Size Uses

func (m *ListPlatformsResponse) XXX_Size() int

func (*ListPlatformsResponse) XXX_Unmarshal Uses

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

type ListRacksRequest Uses

type ListRacksRequest struct {
    // The names of racks to retrieve.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The datacenters to filter retrieved racks on.
    Datacenters []string `protobuf:"bytes,2,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    // The KVMs to filter retrieved racks on.
    Kvms                 []string `protobuf:"bytes,3,rep,name=kvms,proto3" json:"kvms,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list racks in the database.

func (*ListRacksRequest) Descriptor Uses

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

func (*ListRacksRequest) GetDatacenters Uses

func (m *ListRacksRequest) GetDatacenters() []string

func (*ListRacksRequest) GetKvms Uses

func (m *ListRacksRequest) GetKvms() []string

func (*ListRacksRequest) GetNames Uses

func (m *ListRacksRequest) GetNames() []string

func (*ListRacksRequest) ProtoMessage Uses

func (*ListRacksRequest) ProtoMessage()

func (*ListRacksRequest) Reset Uses

func (m *ListRacksRequest) Reset()

func (*ListRacksRequest) String Uses

func (m *ListRacksRequest) String() string

func (*ListRacksRequest) XXX_DiscardUnknown Uses

func (m *ListRacksRequest) XXX_DiscardUnknown()

func (*ListRacksRequest) XXX_Marshal Uses

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

func (*ListRacksRequest) XXX_Merge Uses

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

func (*ListRacksRequest) XXX_Size Uses

func (m *ListRacksRequest) XXX_Size() int

func (*ListRacksRequest) XXX_Unmarshal Uses

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

type ListRacksResponse Uses

type ListRacksResponse struct {
    // The racks matching the request.
    Racks                []*Rack  `protobuf:"bytes,1,rep,name=racks,proto3" json:"racks,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of racks in the database.

func (*ListRacksResponse) Descriptor Uses

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

func (*ListRacksResponse) GetRacks Uses

func (m *ListRacksResponse) GetRacks() []*Rack

func (*ListRacksResponse) ProtoMessage Uses

func (*ListRacksResponse) ProtoMessage()

func (*ListRacksResponse) Reset Uses

func (m *ListRacksResponse) Reset()

func (*ListRacksResponse) String Uses

func (m *ListRacksResponse) String() string

func (*ListRacksResponse) XXX_DiscardUnknown Uses

func (m *ListRacksResponse) XXX_DiscardUnknown()

func (*ListRacksResponse) XXX_Marshal Uses

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

func (*ListRacksResponse) XXX_Merge Uses

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

func (*ListRacksResponse) XXX_Size Uses

func (m *ListRacksResponse) XXX_Size() int

func (*ListRacksResponse) XXX_Unmarshal Uses

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

type ListSwitchesRequest Uses

type ListSwitchesRequest struct {
    // The names of switches to retrieve.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The datacenters to filter retrieved switches on.
    Datacenters []string `protobuf:"bytes,2,rep,name=datacenters,proto3" json:"datacenters,omitempty"`
    // The racks to filter retrieved switches on.
    Racks                []string `protobuf:"bytes,3,rep,name=racks,proto3" json:"racks,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list switches in the database.

func (*ListSwitchesRequest) Descriptor Uses

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

func (*ListSwitchesRequest) GetDatacenters Uses

func (m *ListSwitchesRequest) GetDatacenters() []string

func (*ListSwitchesRequest) GetNames Uses

func (m *ListSwitchesRequest) GetNames() []string

func (*ListSwitchesRequest) GetRacks Uses

func (m *ListSwitchesRequest) GetRacks() []string

func (*ListSwitchesRequest) ProtoMessage Uses

func (*ListSwitchesRequest) ProtoMessage()

func (*ListSwitchesRequest) Reset Uses

func (m *ListSwitchesRequest) Reset()

func (*ListSwitchesRequest) String Uses

func (m *ListSwitchesRequest) String() string

func (*ListSwitchesRequest) XXX_DiscardUnknown Uses

func (m *ListSwitchesRequest) XXX_DiscardUnknown()

func (*ListSwitchesRequest) XXX_Marshal Uses

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

func (*ListSwitchesRequest) XXX_Merge Uses

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

func (*ListSwitchesRequest) XXX_Size Uses

func (m *ListSwitchesRequest) XXX_Size() int

func (*ListSwitchesRequest) XXX_Unmarshal Uses

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

type ListSwitchesResponse Uses

type ListSwitchesResponse struct {
    // The switches matching the request.
    Switches             []*Switch `protobuf:"bytes,1,rep,name=switches,proto3" json:"switches,omitempty"`
    XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    XXX_unrecognized     []byte    `json:"-"`
    XXX_sizecache        int32     `json:"-"`
}

A response containing a list of switches in the database.

func (*ListSwitchesResponse) Descriptor Uses

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

func (*ListSwitchesResponse) GetSwitches Uses

func (m *ListSwitchesResponse) GetSwitches() []*Switch

func (*ListSwitchesResponse) ProtoMessage Uses

func (*ListSwitchesResponse) ProtoMessage()

func (*ListSwitchesResponse) Reset Uses

func (m *ListSwitchesResponse) Reset()

func (*ListSwitchesResponse) String Uses

func (m *ListSwitchesResponse) String() string

func (*ListSwitchesResponse) XXX_DiscardUnknown Uses

func (m *ListSwitchesResponse) XXX_DiscardUnknown()

func (*ListSwitchesResponse) XXX_Marshal Uses

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

func (*ListSwitchesResponse) XXX_Merge Uses

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

func (*ListSwitchesResponse) XXX_Size Uses

func (m *ListSwitchesResponse) XXX_Size() int

func (*ListSwitchesResponse) XXX_Unmarshal Uses

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

type ListVLANsRequest Uses

type ListVLANsRequest struct {
    // The IDs of VLANs to retrieve.
    Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
    // The aliases of VLANs to retrieve.
    Aliases              []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to list VLANs in the database.

func (*ListVLANsRequest) Descriptor Uses

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

func (*ListVLANsRequest) GetAliases Uses

func (m *ListVLANsRequest) GetAliases() []string

func (*ListVLANsRequest) GetIds Uses

func (m *ListVLANsRequest) GetIds() []int64

func (*ListVLANsRequest) ProtoMessage Uses

func (*ListVLANsRequest) ProtoMessage()

func (*ListVLANsRequest) Reset Uses

func (m *ListVLANsRequest) Reset()

func (*ListVLANsRequest) String Uses

func (m *ListVLANsRequest) String() string

func (*ListVLANsRequest) XXX_DiscardUnknown Uses

func (m *ListVLANsRequest) XXX_DiscardUnknown()

func (*ListVLANsRequest) XXX_Marshal Uses

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

func (*ListVLANsRequest) XXX_Merge Uses

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

func (*ListVLANsRequest) XXX_Size Uses

func (m *ListVLANsRequest) XXX_Size() int

func (*ListVLANsRequest) XXX_Unmarshal Uses

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

type ListVLANsResponse Uses

type ListVLANsResponse struct {
    // The VLANs matching the request.
    Vlans                []*VLAN  `protobuf:"bytes,1,rep,name=vlans,proto3" json:"vlans,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of VLANs in the database.

func (*ListVLANsResponse) Descriptor Uses

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

func (*ListVLANsResponse) GetVlans Uses

func (m *ListVLANsResponse) GetVlans() []*VLAN

func (*ListVLANsResponse) ProtoMessage Uses

func (*ListVLANsResponse) ProtoMessage()

func (*ListVLANsResponse) Reset Uses

func (m *ListVLANsResponse) Reset()

func (*ListVLANsResponse) String Uses

func (m *ListVLANsResponse) String() string

func (*ListVLANsResponse) XXX_DiscardUnknown Uses

func (m *ListVLANsResponse) XXX_DiscardUnknown()

func (*ListVLANsResponse) XXX_Marshal Uses

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

func (*ListVLANsResponse) XXX_Merge Uses

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

func (*ListVLANsResponse) XXX_Size Uses

func (m *ListVLANsResponse) XXX_Size() int

func (*ListVLANsResponse) XXX_Unmarshal Uses

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

type ListVMsRequest Uses

type ListVMsRequest struct {
    // The names of VMs to get.
    Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
    // The VLANs to filter retrieved VMs on.
    Vlans []int64 `protobuf:"varint,2,rep,packed,name=vlans,proto3" json:"vlans,omitempty"`
    // The IPv4 addresses to filter retrieved VMs on.
    Ipv4S []string `protobuf:"bytes,3,rep,name=ipv4s,proto3" json:"ipv4s,omitempty"`
    // The physical hosts to filter retrieved VMs on.
    Hosts []string `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
    // The physical host VLANs to filter retrieved VMs on.
    HostVlans []int64 `protobuf:"varint,5,rep,packed,name=host_vlans,json=hostVlans,proto3" json:"host_vlans,omitempty"`
    // The operating system to filter retrieved VMs on.
    Oses []string `protobuf:"bytes,6,rep,name=oses,proto3" json:"oses,omitempty"`
    // The states to filter retrieved VMs on.
    States               []v1.State `protobuf:"varint,10,rep,packed,name=states,proto3,enum=common.State" json:"states,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

A request to list VMs in the database.

func (*ListVMsRequest) Descriptor Uses

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

func (*ListVMsRequest) GetHostVlans Uses

func (m *ListVMsRequest) GetHostVlans() []int64

func (*ListVMsRequest) GetHosts Uses

func (m *ListVMsRequest) GetHosts() []string

func (*ListVMsRequest) GetIpv4S Uses

func (m *ListVMsRequest) GetIpv4S() []string

func (*ListVMsRequest) GetNames Uses

func (m *ListVMsRequest) GetNames() []string

func (*ListVMsRequest) GetOses Uses

func (m *ListVMsRequest) GetOses() []string

func (*ListVMsRequest) GetStates Uses

func (m *ListVMsRequest) GetStates() []v1.State

func (*ListVMsRequest) GetVlans Uses

func (m *ListVMsRequest) GetVlans() []int64

func (*ListVMsRequest) ProtoMessage Uses

func (*ListVMsRequest) ProtoMessage()

func (*ListVMsRequest) Reset Uses

func (m *ListVMsRequest) Reset()

func (*ListVMsRequest) String Uses

func (m *ListVMsRequest) String() string

func (*ListVMsRequest) XXX_DiscardUnknown Uses

func (m *ListVMsRequest) XXX_DiscardUnknown()

func (*ListVMsRequest) XXX_Marshal Uses

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

func (*ListVMsRequest) XXX_Merge Uses

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

func (*ListVMsRequest) XXX_Size Uses

func (m *ListVMsRequest) XXX_Size() int

func (*ListVMsRequest) XXX_Unmarshal Uses

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

type ListVMsResponse Uses

type ListVMsResponse struct {
    // The VMs matching this request.
    Vms                  []*VM    `protobuf:"bytes,1,rep,name=vms,proto3" json:"vms,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A response containing a list of VMs in the database.

func (*ListVMsResponse) Descriptor Uses

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

func (*ListVMsResponse) GetVms Uses

func (m *ListVMsResponse) GetVms() []*VM

func (*ListVMsResponse) ProtoMessage Uses

func (*ListVMsResponse) ProtoMessage()

func (*ListVMsResponse) Reset Uses

func (m *ListVMsResponse) Reset()

func (*ListVMsResponse) String Uses

func (m *ListVMsResponse) String() string

func (*ListVMsResponse) XXX_DiscardUnknown Uses

func (m *ListVMsResponse) XXX_DiscardUnknown()

func (*ListVMsResponse) XXX_Marshal Uses

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

func (*ListVMsResponse) XXX_Merge Uses

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

func (*ListVMsResponse) XXX_Size Uses

func (m *ListVMsResponse) XXX_Size() int

func (*ListVMsResponse) XXX_Unmarshal Uses

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

type Machine Uses

type Machine struct {
    // The name of this machine. Uniquely identifies this machine.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The type of platform this machine is.
    Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
    // The rack this machine belongs to.
    Rack string `protobuf:"bytes,3,opt,name=rack,proto3" json:"rack,omitempty"`
    // A description of this machine.
    Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
    // The asset tag associated with this machine.
    AssetTag string `protobuf:"bytes,5,opt,name=asset_tag,json=assetTag,proto3" json:"asset_tag,omitempty"`
    // The service tag associated with this machine.
    ServiceTag string `protobuf:"bytes,6,opt,name=service_tag,json=serviceTag,proto3" json:"service_tag,omitempty"`
    // The deployment ticket associated with this machine.
    DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
    // The state of this machine.
    State v1.State `protobuf:"varint,8,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    // The datacenter this machine belongs to.
    // When creating a machine, omit this field. It will be inferred from the rack.
    Datacenter string `protobuf:"bytes,9,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
    // The DRAC password associated with this machine.
    DracPassword         string   `protobuf:"bytes,10,opt,name=drac_password,json=dracPassword,proto3" json:"drac_password,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A machine in the database.

func (*Machine) Descriptor Uses

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

func (*Machine) GetAssetTag Uses

func (m *Machine) GetAssetTag() string

func (*Machine) GetDatacenter Uses

func (m *Machine) GetDatacenter() string

func (*Machine) GetDeploymentTicket Uses

func (m *Machine) GetDeploymentTicket() string

func (*Machine) GetDescription Uses

func (m *Machine) GetDescription() string

func (*Machine) GetDracPassword Uses

func (m *Machine) GetDracPassword() string

func (*Machine) GetName Uses

func (m *Machine) GetName() string

func (*Machine) GetPlatform Uses

func (m *Machine) GetPlatform() string

func (*Machine) GetRack Uses

func (m *Machine) GetRack() string

func (*Machine) GetServiceTag Uses

func (m *Machine) GetServiceTag() string

func (*Machine) GetState Uses

func (m *Machine) GetState() v1.State

func (*Machine) ProtoMessage Uses

func (*Machine) ProtoMessage()

func (*Machine) Reset Uses

func (m *Machine) Reset()

func (*Machine) String Uses

func (m *Machine) String() string

func (*Machine) XXX_DiscardUnknown Uses

func (m *Machine) XXX_DiscardUnknown()

func (*Machine) XXX_Marshal Uses

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

func (*Machine) XXX_Merge Uses

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

func (*Machine) XXX_Size Uses

func (m *Machine) XXX_Size() int

func (*Machine) XXX_Unmarshal Uses

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

type NIC Uses

type NIC struct {
    // The name of this NIC. With machine, uniquely identifies this NIC.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The machine this NIC belongs to. With name, uniquely identifies this NIC.
    Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
    // The MAC address associated with this NIC.
    MacAddress string `protobuf:"bytes,3,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
    // The switch this NIC is connected to.
    Switch string `protobuf:"bytes,4,opt,name=switch,proto3" json:"switch,omitempty"`
    // The switchport this NIC is connected to.
    Switchport int32 `protobuf:"varint,5,opt,name=switchport,proto3" json:"switchport,omitempty"`
    // The name of this NIC on the network.
    Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
    // The IPv4 address associated with this NIC.
    Ipv4                 string   `protobuf:"bytes,7,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A network interface in the database.

func (*NIC) Descriptor Uses

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

func (*NIC) GetHostname Uses

func (m *NIC) GetHostname() string

func (*NIC) GetIpv4 Uses

func (m *NIC) GetIpv4() string

func (*NIC) GetMacAddress Uses

func (m *NIC) GetMacAddress() string

func (*NIC) GetMachine Uses

func (m *NIC) GetMachine() string

func (*NIC) GetName Uses

func (m *NIC) GetName() string

func (*NIC) GetSwitch Uses

func (m *NIC) GetSwitch() string

func (*NIC) GetSwitchport Uses

func (m *NIC) GetSwitchport() int32

func (*NIC) ProtoMessage Uses

func (*NIC) ProtoMessage()

func (*NIC) Reset Uses

func (m *NIC) Reset()

func (*NIC) String Uses

func (m *NIC) String() string

func (*NIC) XXX_DiscardUnknown Uses

func (m *NIC) XXX_DiscardUnknown()

func (*NIC) XXX_Marshal Uses

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

func (*NIC) XXX_Merge Uses

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

func (*NIC) XXX_Size Uses

func (m *NIC) XXX_Size() int

func (*NIC) XXX_Unmarshal Uses

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

type OS Uses

type OS struct {
    // The name of this operating system. Uniquely identifies this operating system.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A description of this operating system.
    Description          string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

An operating system in the database.

func (*OS) Descriptor Uses

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

func (*OS) GetDescription Uses

func (m *OS) GetDescription() string

func (*OS) GetName Uses

func (m *OS) GetName() string

func (*OS) ProtoMessage Uses

func (*OS) ProtoMessage()

func (*OS) Reset Uses

func (m *OS) Reset()

func (*OS) String Uses

func (m *OS) String() string

func (*OS) XXX_DiscardUnknown Uses

func (m *OS) XXX_DiscardUnknown()

func (*OS) XXX_Marshal Uses

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

func (*OS) XXX_Merge Uses

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

func (*OS) XXX_Size Uses

func (m *OS) XXX_Size() int

func (*OS) XXX_Unmarshal Uses

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

type PhysicalHost Uses

type PhysicalHost struct {
    // The name of this host on the network. Uniquely identifies this host.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The VLAN this host belongs to.
    // When creating a host, omit this field. It will be inferred from the IPv4 address.
    Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The machine backing this host.
    Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"`
    // The operating system backing this host.
    Os  string `protobuf:"bytes,4,opt,name=os,proto3" json:"os,omitempty"`
    // The number of VMs which can be deployed on this host.
    VmSlots int32 `protobuf:"varint,5,opt,name=vm_slots,json=vmSlots,proto3" json:"vm_slots,omitempty"`
    // A description of this host.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // The deployment ticket associated with this host.
    DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
    // The IPv4 address associated with this host.
    Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    // The state of the machine backing this host.
    State v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    // The virtual datacenter VMs deployed on this host belong to.
    VirtualDatacenter string `protobuf:"bytes,10,opt,name=virtual_datacenter,json=virtualDatacenter,proto3" json:"virtual_datacenter,omitempty"`
    // The primary NIC for this host.
    Nic string `protobuf:"bytes,11,opt,name=nic,proto3" json:"nic,omitempty"`
    // The MAC address associated with the primary NIC.
    MacAddress           string   `protobuf:"bytes,12,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A physical host in the database.

func (*PhysicalHost) Descriptor Uses

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

func (*PhysicalHost) GetDeploymentTicket Uses

func (m *PhysicalHost) GetDeploymentTicket() string

func (*PhysicalHost) GetDescription Uses

func (m *PhysicalHost) GetDescription() string

func (*PhysicalHost) GetIpv4 Uses

func (m *PhysicalHost) GetIpv4() string

func (*PhysicalHost) GetMacAddress Uses

func (m *PhysicalHost) GetMacAddress() string

func (*PhysicalHost) GetMachine Uses

func (m *PhysicalHost) GetMachine() string

func (*PhysicalHost) GetName Uses

func (m *PhysicalHost) GetName() string

func (*PhysicalHost) GetNic Uses

func (m *PhysicalHost) GetNic() string

func (*PhysicalHost) GetOs Uses

func (m *PhysicalHost) GetOs() string

func (*PhysicalHost) GetState Uses

func (m *PhysicalHost) GetState() v1.State

func (*PhysicalHost) GetVirtualDatacenter Uses

func (m *PhysicalHost) GetVirtualDatacenter() string

func (*PhysicalHost) GetVlan Uses

func (m *PhysicalHost) GetVlan() int64

func (*PhysicalHost) GetVmSlots Uses

func (m *PhysicalHost) GetVmSlots() int32

func (*PhysicalHost) ProtoMessage Uses

func (*PhysicalHost) ProtoMessage()

func (*PhysicalHost) Reset Uses

func (m *PhysicalHost) Reset()

func (*PhysicalHost) String Uses

func (m *PhysicalHost) String() string

func (*PhysicalHost) XXX_DiscardUnknown Uses

func (m *PhysicalHost) XXX_DiscardUnknown()

func (*PhysicalHost) XXX_Marshal Uses

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

func (*PhysicalHost) XXX_Merge Uses

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

func (*PhysicalHost) XXX_Size Uses

func (m *PhysicalHost) XXX_Size() int

func (*PhysicalHost) XXX_Unmarshal Uses

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

type Platform Uses

type Platform struct {
    // The name of this platform. Uniquely identifies this platform.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A description of this platform.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The manufacturer of this platform.
    Manufacturer         string   `protobuf:"bytes,3,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A platform in the database.

func (*Platform) Descriptor Uses

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

func (*Platform) GetDescription Uses

func (m *Platform) GetDescription() string

func (*Platform) GetManufacturer Uses

func (m *Platform) GetManufacturer() string

func (*Platform) GetName Uses

func (m *Platform) GetName() string

func (*Platform) ProtoMessage Uses

func (*Platform) ProtoMessage()

func (*Platform) Reset Uses

func (m *Platform) Reset()

func (*Platform) String Uses

func (m *Platform) String() string

func (*Platform) XXX_DiscardUnknown Uses

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal Uses

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

func (*Platform) XXX_Merge Uses

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

func (*Platform) XXX_Size Uses

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal Uses

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

type Rack Uses

type Rack struct {
    // The name of this rack. Uniquely identifies this rack.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A description of this rack.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The datacenter this rack belongs to.
    Datacenter string `protobuf:"bytes,3,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
    // The state of this rack.
    State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    // The KVM serving this rack.
    Kvm                  string   `protobuf:"bytes,5,opt,name=kvm,proto3" json:"kvm,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A rack in the database.

func (*Rack) Descriptor Uses

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

func (*Rack) GetDatacenter Uses

func (m *Rack) GetDatacenter() string

func (*Rack) GetDescription Uses

func (m *Rack) GetDescription() string

func (*Rack) GetKvm Uses

func (m *Rack) GetKvm() string

func (*Rack) GetName Uses

func (m *Rack) GetName() string

func (*Rack) GetState Uses

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

func (*Rack) ProtoMessage Uses

func (*Rack) ProtoMessage()

func (*Rack) Reset Uses

func (m *Rack) Reset()

func (*Rack) String Uses

func (m *Rack) String() string

func (*Rack) XXX_DiscardUnknown Uses

func (m *Rack) XXX_DiscardUnknown()

func (*Rack) XXX_Marshal Uses

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

func (*Rack) XXX_Merge Uses

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

func (*Rack) XXX_Size Uses

func (m *Rack) XXX_Size() int

func (*Rack) XXX_Unmarshal Uses

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

type RenameMachineRequest Uses

type RenameMachineRequest struct {
    // The name of the machine to rename.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The new name to give this machine.
    NewName              string   `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A request to rename a machine in the database.

func (*RenameMachineRequest) Descriptor Uses

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

func (*RenameMachineRequest) GetName Uses

func (m *RenameMachineRequest) GetName() string

func (*RenameMachineRequest) GetNewName Uses

func (m *RenameMachineRequest) GetNewName() string

func (*RenameMachineRequest) ProtoMessage Uses

func (*RenameMachineRequest) ProtoMessage()

func (*RenameMachineRequest) Reset Uses

func (m *RenameMachineRequest) Reset()

func (*RenameMachineRequest) String Uses

func (m *RenameMachineRequest) String() string

func (*RenameMachineRequest) XXX_DiscardUnknown Uses

func (m *RenameMachineRequest) XXX_DiscardUnknown()

func (*RenameMachineRequest) XXX_Marshal Uses

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

func (*RenameMachineRequest) XXX_Merge Uses

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

func (*RenameMachineRequest) XXX_Size Uses

func (m *RenameMachineRequest) XXX_Size() int

func (*RenameMachineRequest) XXX_Unmarshal Uses

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

type Switch Uses

type Switch struct {
    // The name of this switch. Uniquely identifies this switch.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // A description of this switch.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // The number of ports this switch has.
    Ports int32 `protobuf:"varint,3,opt,name=ports,proto3" json:"ports,omitempty"`
    // The datacenter this switch belongs to.
    Datacenter string `protobuf:"bytes,4,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
    // The rack this switch belongs to.
    Rack string `protobuf:"bytes,5,opt,name=rack,proto3" json:"rack,omitempty"`
    // The state of this switch.
    State                v1.State `protobuf:"varint,6,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A switch in the database.

func (*Switch) Descriptor Uses

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

func (*Switch) GetDatacenter Uses

func (m *Switch) GetDatacenter() string

func (*Switch) GetDescription Uses

func (m *Switch) GetDescription() string

func (*Switch) GetName Uses

func (m *Switch) GetName() string

func (*Switch) GetPorts Uses

func (m *Switch) GetPorts() int32

func (*Switch) GetRack Uses

func (m *Switch) GetRack() string

func (*Switch) GetState Uses

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

func (*Switch) ProtoMessage Uses

func (*Switch) ProtoMessage()

func (*Switch) Reset Uses

func (m *Switch) Reset()

func (*Switch) String Uses

func (m *Switch) String() string

func (*Switch) XXX_DiscardUnknown Uses

func (m *Switch) XXX_DiscardUnknown()

func (*Switch) XXX_Marshal Uses

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

func (*Switch) XXX_Merge Uses

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

func (*Switch) XXX_Size Uses

func (m *Switch) XXX_Size() int

func (*Switch) XXX_Unmarshal Uses

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

type UpdateDRACRequest Uses

type UpdateDRACRequest struct {
    // The DRAC to update in the database.
    Drac *DRAC `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"`
    // The fields to update in the DRAC.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request to update a DRAC in the database.

func (*UpdateDRACRequest) Descriptor Uses

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

func (*UpdateDRACRequest) GetDrac Uses

func (m *UpdateDRACRequest) GetDrac() *DRAC

func (*UpdateDRACRequest) GetUpdateMask Uses

func (m *UpdateDRACRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateDRACRequest) ProtoMessage Uses

func (*UpdateDRACRequest) ProtoMessage()

func (*UpdateDRACRequest) Reset Uses

func (m *UpdateDRACRequest) Reset()

func (*UpdateDRACRequest) String Uses

func (m *UpdateDRACRequest) String() string

func (*UpdateDRACRequest) XXX_DiscardUnknown Uses

func (m *UpdateDRACRequest) XXX_DiscardUnknown()

func (*UpdateDRACRequest) XXX_Marshal Uses

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

func (*UpdateDRACRequest) XXX_Merge Uses

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

func (*UpdateDRACRequest) XXX_Size Uses

func (m *UpdateDRACRequest) XXX_Size() int

func (*UpdateDRACRequest) XXX_Unmarshal Uses

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

type UpdateMachineRequest Uses

type UpdateMachineRequest struct {
    // The machine to update in the database.
    Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
    // The fields to update in the machine.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request to update a machine in the database.

func (*UpdateMachineRequest) Descriptor Uses

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

func (*UpdateMachineRequest) GetMachine Uses

func (m *UpdateMachineRequest) GetMachine() *Machine

func (*UpdateMachineRequest) GetUpdateMask Uses

func (m *UpdateMachineRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateMachineRequest) ProtoMessage Uses

func (*UpdateMachineRequest) ProtoMessage()

func (*UpdateMachineRequest) Reset Uses

func (m *UpdateMachineRequest) Reset()

func (*UpdateMachineRequest) String Uses

func (m *UpdateMachineRequest) String() string

func (*UpdateMachineRequest) XXX_DiscardUnknown Uses

func (m *UpdateMachineRequest) XXX_DiscardUnknown()

func (*UpdateMachineRequest) XXX_Marshal Uses

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

func (*UpdateMachineRequest) XXX_Merge Uses

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

func (*UpdateMachineRequest) XXX_Size Uses

func (m *UpdateMachineRequest) XXX_Size() int

func (*UpdateMachineRequest) XXX_Unmarshal Uses

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

type UpdateNICRequest Uses

type UpdateNICRequest struct {
    // The NIC to update in the database.
    Nic *NIC `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"`
    // The fields to update in the NIC.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request to update a NIC in the database.

func (*UpdateNICRequest) Descriptor Uses

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

func (*UpdateNICRequest) GetNic Uses

func (m *UpdateNICRequest) GetNic() *NIC

func (*UpdateNICRequest) GetUpdateMask Uses

func (m *UpdateNICRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateNICRequest) ProtoMessage Uses

func (*UpdateNICRequest) ProtoMessage()

func (*UpdateNICRequest) Reset Uses

func (m *UpdateNICRequest) Reset()

func (*UpdateNICRequest) String Uses

func (m *UpdateNICRequest) String() string

func (*UpdateNICRequest) XXX_DiscardUnknown Uses

func (m *UpdateNICRequest) XXX_DiscardUnknown()

func (*UpdateNICRequest) XXX_Marshal Uses

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

func (*UpdateNICRequest) XXX_Merge Uses

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

func (*UpdateNICRequest) XXX_Size Uses

func (m *UpdateNICRequest) XXX_Size() int

func (*UpdateNICRequest) XXX_Unmarshal Uses

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

type UpdatePhysicalHostRequest Uses

type UpdatePhysicalHostRequest struct {
    // The host to update in the database.
    Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    // The fields to update in the host.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request to update a physical host in the database.

func (*UpdatePhysicalHostRequest) Descriptor Uses

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

func (*UpdatePhysicalHostRequest) GetHost Uses

func (m *UpdatePhysicalHostRequest) GetHost() *PhysicalHost

func (*UpdatePhysicalHostRequest) GetUpdateMask Uses

func (m *UpdatePhysicalHostRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdatePhysicalHostRequest) ProtoMessage Uses

func (*UpdatePhysicalHostRequest) ProtoMessage()

func (*UpdatePhysicalHostRequest) Reset Uses

func (m *UpdatePhysicalHostRequest) Reset()

func (*UpdatePhysicalHostRequest) String Uses

func (m *UpdatePhysicalHostRequest) String() string

func (*UpdatePhysicalHostRequest) XXX_DiscardUnknown Uses

func (m *UpdatePhysicalHostRequest) XXX_DiscardUnknown()

func (*UpdatePhysicalHostRequest) XXX_Marshal Uses

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

func (*UpdatePhysicalHostRequest) XXX_Merge Uses

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

func (*UpdatePhysicalHostRequest) XXX_Size Uses

func (m *UpdatePhysicalHostRequest) XXX_Size() int

func (*UpdatePhysicalHostRequest) XXX_Unmarshal Uses

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

type UpdateVMRequest Uses

type UpdateVMRequest struct {
    // The VM to update in the database.
    Vm  *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
    // The fields to update in the VM.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

A request to update a VM in the database.

func (*UpdateVMRequest) Descriptor Uses

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

func (*UpdateVMRequest) GetUpdateMask Uses

func (m *UpdateVMRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateVMRequest) GetVm Uses

func (m *UpdateVMRequest) GetVm() *VM

func (*UpdateVMRequest) ProtoMessage Uses

func (*UpdateVMRequest) ProtoMessage()

func (*UpdateVMRequest) Reset Uses

func (m *UpdateVMRequest) Reset()

func (*UpdateVMRequest) String Uses

func (m *UpdateVMRequest) String() string

func (*UpdateVMRequest) XXX_DiscardUnknown Uses

func (m *UpdateVMRequest) XXX_DiscardUnknown()

func (*UpdateVMRequest) XXX_Marshal Uses

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

func (*UpdateVMRequest) XXX_Merge Uses

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

func (*UpdateVMRequest) XXX_Size Uses

func (m *UpdateVMRequest) XXX_Size() int

func (*UpdateVMRequest) XXX_Unmarshal Uses

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

type VLAN Uses

type VLAN struct {
    // The ID of this VLAN. Uniquely identifies this VLAN.
    Id  int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
    // An alias for this VLAN.
    Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
    // A description of this VLAN.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // The state of this VLAN.
    State v1.State `protobuf:"varint,4,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    // The block of IPv4 addresses belonging to this VLAN.
    CidrBlock            string   `protobuf:"bytes,5,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A VLAN in the database.

func (*VLAN) Descriptor Uses

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

func (*VLAN) GetAlias Uses

func (m *VLAN) GetAlias() string

func (*VLAN) GetCidrBlock Uses

func (m *VLAN) GetCidrBlock() string

func (*VLAN) GetDescription Uses

func (m *VLAN) GetDescription() string

func (*VLAN) GetId Uses

func (m *VLAN) GetId() int64

func (*VLAN) GetState Uses

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

func (*VLAN) ProtoMessage Uses

func (*VLAN) ProtoMessage()

func (*VLAN) Reset Uses

func (m *VLAN) Reset()

func (*VLAN) String Uses

func (m *VLAN) String() string

func (*VLAN) XXX_DiscardUnknown Uses

func (m *VLAN) XXX_DiscardUnknown()

func (*VLAN) XXX_Marshal Uses

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

func (*VLAN) XXX_Merge Uses

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

func (*VLAN) XXX_Size Uses

func (m *VLAN) XXX_Size() int

func (*VLAN) XXX_Unmarshal Uses

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

type VM Uses

type VM struct {
    // The name of this VM on the network. Uniquely identifies this VM.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The VLAN this VM belongs to.
    // When creating a VM, omit this field. It will be inferred from the IPv4 address.
    Vlan int64 `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
    // The physical host this VM is running on.
    Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
    // The VLAN this VM's physical host belongs to.
    // When creating a VM, omit this field. It will be inferred from the host.
    HostVlan int64 `protobuf:"varint,4,opt,name=host_vlan,json=hostVlan,proto3" json:"host_vlan,omitempty"`
    // The operating system running on this VM.
    Os  string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`
    // A description of this VM.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // The deployment ticket associated with this VM.
    DeploymentTicket string `protobuf:"bytes,7,opt,name=deployment_ticket,json=deploymentTicket,proto3" json:"deployment_ticket,omitempty"`
    // The IPv4 address associated with this host.
    Ipv4 string `protobuf:"bytes,8,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
    // The state of this VM.
    State                v1.State `protobuf:"varint,9,opt,name=state,proto3,enum=common.State" json:"state,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

A VM in the database.

func (*VM) Descriptor Uses

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

func (*VM) GetDeploymentTicket Uses

func (m *VM) GetDeploymentTicket() string

func (*VM) GetDescription Uses

func (m *VM) GetDescription() string

func (*VM) GetHost Uses

func (m *VM) GetHost() string

func (*VM) GetHostVlan Uses

func (m *VM) GetHostVlan() int64

func (*VM) GetIpv4 Uses

func (m *VM) GetIpv4() string

func (*VM) GetName Uses

func (m *VM) GetName() string

func (*VM) GetOs Uses

func (m *VM) GetOs() string

func (*VM) GetState Uses

func (m *VM) GetState() v1.State

func (*VM) GetVlan Uses

func (m *VM) GetVlan() int64

func (*VM) ProtoMessage Uses

func (*VM) ProtoMessage()

func (*VM) Reset Uses

func (m *VM) Reset()

func (*VM) String Uses

func (m *VM) String() string

func (*VM) XXX_DiscardUnknown Uses

func (m *VM) XXX_DiscardUnknown()

func (*VM) XXX_Marshal Uses

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

func (*VM) XXX_Merge Uses

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

func (*VM) XXX_Size Uses

func (m *VM) XXX_Size() int

func (*VM) XXX_Unmarshal Uses

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

Package crimson imports 11 packages (graph) and is imported by 4 packages. Updated 2018-12-16. Refresh now. Tools for package owners.