crimson

package
v0.0.0-...-1643519 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileDescriptorSet

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

func RegisterCrimsonServer(s prpc.Registrar, srv CrimsonServer)

Types

type CreateDRACRequest

type CreateDRACRequest struct {
	// The DRAC to create in the database.
	Drac                 *DRAC    `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"`
	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

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

func (*CreateDRACRequest) GetDrac

func (m *CreateDRACRequest) GetDrac() *DRAC

func (*CreateDRACRequest) ProtoMessage

func (*CreateDRACRequest) ProtoMessage()

func (*CreateDRACRequest) Reset

func (m *CreateDRACRequest) Reset()

func (*CreateDRACRequest) String

func (m *CreateDRACRequest) String() string

func (*CreateDRACRequest) XXX_DiscardUnknown

func (m *CreateDRACRequest) XXX_DiscardUnknown()

func (*CreateDRACRequest) XXX_Marshal

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

func (*CreateDRACRequest) XXX_Merge

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

func (*CreateDRACRequest) XXX_Size

func (m *CreateDRACRequest) XXX_Size() int

func (*CreateDRACRequest) XXX_Unmarshal

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

type CreateMachineRequest

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

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

func (*CreateMachineRequest) GetMachine

func (m *CreateMachineRequest) GetMachine() *Machine

func (*CreateMachineRequest) ProtoMessage

func (*CreateMachineRequest) ProtoMessage()

func (*CreateMachineRequest) Reset

func (m *CreateMachineRequest) Reset()

func (*CreateMachineRequest) String

func (m *CreateMachineRequest) String() string

func (*CreateMachineRequest) XXX_DiscardUnknown

func (m *CreateMachineRequest) XXX_DiscardUnknown()

func (*CreateMachineRequest) XXX_Marshal

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

func (*CreateMachineRequest) XXX_Merge

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

func (*CreateMachineRequest) XXX_Size

func (m *CreateMachineRequest) XXX_Size() int

func (*CreateMachineRequest) XXX_Unmarshal

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

type CreateNICRequest

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

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

func (*CreateNICRequest) GetNic

func (m *CreateNICRequest) GetNic() *NIC

func (*CreateNICRequest) ProtoMessage

func (*CreateNICRequest) ProtoMessage()

func (*CreateNICRequest) Reset

func (m *CreateNICRequest) Reset()

func (*CreateNICRequest) String

func (m *CreateNICRequest) String() string

func (*CreateNICRequest) XXX_DiscardUnknown

func (m *CreateNICRequest) XXX_DiscardUnknown()

func (*CreateNICRequest) XXX_Marshal

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

func (*CreateNICRequest) XXX_Merge

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

func (*CreateNICRequest) XXX_Size

func (m *CreateNICRequest) XXX_Size() int

func (*CreateNICRequest) XXX_Unmarshal

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

type CreatePhysicalHostRequest

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

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

func (*CreatePhysicalHostRequest) GetHost

func (*CreatePhysicalHostRequest) ProtoMessage

func (*CreatePhysicalHostRequest) ProtoMessage()

func (*CreatePhysicalHostRequest) Reset

func (m *CreatePhysicalHostRequest) Reset()

func (*CreatePhysicalHostRequest) String

func (m *CreatePhysicalHostRequest) String() string

func (*CreatePhysicalHostRequest) XXX_DiscardUnknown

func (m *CreatePhysicalHostRequest) XXX_DiscardUnknown()

func (*CreatePhysicalHostRequest) XXX_Marshal

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

func (*CreatePhysicalHostRequest) XXX_Merge

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

func (*CreatePhysicalHostRequest) XXX_Size

func (m *CreatePhysicalHostRequest) XXX_Size() int

func (*CreatePhysicalHostRequest) XXX_Unmarshal

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

type CreateVMRequest

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

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

func (*CreateVMRequest) GetVm

func (m *CreateVMRequest) GetVm() *VM

func (*CreateVMRequest) ProtoMessage

func (*CreateVMRequest) ProtoMessage()

func (*CreateVMRequest) Reset

func (m *CreateVMRequest) Reset()

func (*CreateVMRequest) String

func (m *CreateVMRequest) String() string

func (*CreateVMRequest) XXX_DiscardUnknown

func (m *CreateVMRequest) XXX_DiscardUnknown()

func (*CreateVMRequest) XXX_Marshal

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

func (*CreateVMRequest) XXX_Merge

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

func (*CreateVMRequest) XXX_Size

func (m *CreateVMRequest) XXX_Size() int

func (*CreateVMRequest) XXX_Unmarshal

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

type CrimsonClient

type CrimsonClient interface {
	// Lists datacenters in the database.
	ListDatacenters(ctx context.Context, in *ListDatacentersRequest, opts ...grpc.CallOption) (*ListDatacentersResponse, error)
	// Lists free IP addresses in the database.
	ListFreeIPs(ctx context.Context, in *ListFreeIPsRequest, opts ...grpc.CallOption) (*ListIPsResponse, error)
	// Lists KVMs in the database.
	ListKVMs(ctx context.Context, in *ListKVMsRequest, opts ...grpc.CallOption) (*ListKVMsResponse, error)
	// Lists operating systems in the database.
	ListOSes(ctx context.Context, in *ListOSesRequest, opts ...grpc.CallOption) (*ListOSesResponse, error)
	// Lists platforms in the database.
	ListPlatforms(ctx context.Context, in *ListPlatformsRequest, opts ...grpc.CallOption) (*ListPlatformsResponse, error)
	// Lists racks in the database.
	ListRacks(ctx context.Context, in *ListRacksRequest, opts ...grpc.CallOption) (*ListRacksResponse, error)
	// Lists switches in the database.
	ListSwitches(ctx context.Context, in *ListSwitchesRequest, opts ...grpc.CallOption) (*ListSwitchesResponse, error)
	// Lists VLANs in the database.
	ListVLANs(ctx context.Context, in *ListVLANsRequest, opts ...grpc.CallOption) (*ListVLANsResponse, error)
	// Creates a new machine in the database.
	CreateMachine(ctx context.Context, in *CreateMachineRequest, opts ...grpc.CallOption) (*Machine, error)
	// Deletes a machine from the database.
	DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*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

func NewCrimsonClient(cc *grpc.ClientConn) CrimsonClient

func NewCrimsonPRPCClient

func NewCrimsonPRPCClient(client *prpc.Client) CrimsonClient

type CrimsonServer

type CrimsonServer interface {
	// Lists datacenters in the database.
	ListDatacenters(context.Context, *ListDatacentersRequest) (*ListDatacentersResponse, error)
	// Lists free IP addresses in the database.
	ListFreeIPs(context.Context, *ListFreeIPsRequest) (*ListIPsResponse, error)
	// Lists KVMs in the database.
	ListKVMs(context.Context, *ListKVMsRequest) (*ListKVMsResponse, error)
	// Lists operating systems in the database.
	ListOSes(context.Context, *ListOSesRequest) (*ListOSesResponse, error)
	// Lists platforms in the database.
	ListPlatforms(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
	// Lists racks in the database.
	ListRacks(context.Context, *ListRacksRequest) (*ListRacksResponse, error)
	// Lists switches in the database.
	ListSwitches(context.Context, *ListSwitchesRequest) (*ListSwitchesResponse, error)
	// Lists VLANs in the database.
	ListVLANs(context.Context, *ListVLANsRequest) (*ListVLANsResponse, error)
	// Creates a new machine in the database.
	CreateMachine(context.Context, *CreateMachineRequest) (*Machine, error)
	// Deletes a machine from the database.
	DeleteMachine(context.Context, *DeleteMachineRequest) (*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

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

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

func (*DRAC) GetIpv4

func (m *DRAC) GetIpv4() string

func (*DRAC) GetMacAddress

func (m *DRAC) GetMacAddress() string

func (*DRAC) GetMachine

func (m *DRAC) GetMachine() string

func (*DRAC) GetName

func (m *DRAC) GetName() string

func (*DRAC) GetSwitch

func (m *DRAC) GetSwitch() string

func (*DRAC) GetSwitchport

func (m *DRAC) GetSwitchport() int32

func (*DRAC) GetVlan

func (m *DRAC) GetVlan() int64

func (*DRAC) ProtoMessage

func (*DRAC) ProtoMessage()

func (*DRAC) Reset

func (m *DRAC) Reset()

func (*DRAC) String

func (m *DRAC) String() string

func (*DRAC) XXX_DiscardUnknown

func (m *DRAC) XXX_DiscardUnknown()

func (*DRAC) XXX_Marshal

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

func (*DRAC) XXX_Merge

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

func (*DRAC) XXX_Size

func (m *DRAC) XXX_Size() int

func (*DRAC) XXX_Unmarshal

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

type Datacenter

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

A datacenter in the database.

func (*Datacenter) Descriptor

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

func (*Datacenter) GetDescription

func (m *Datacenter) GetDescription() string

func (*Datacenter) GetName

func (m *Datacenter) GetName() string

func (*Datacenter) GetState

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

func (*Datacenter) ProtoMessage

func (*Datacenter) ProtoMessage()

func (*Datacenter) Reset

func (m *Datacenter) Reset()

func (*Datacenter) String

func (m *Datacenter) String() string

func (*Datacenter) XXX_DiscardUnknown

func (m *Datacenter) XXX_DiscardUnknown()

func (*Datacenter) XXX_Marshal

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

func (*Datacenter) XXX_Merge

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

func (*Datacenter) XXX_Size

func (m *Datacenter) XXX_Size() int

func (*Datacenter) XXX_Unmarshal

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

type DecoratedCrimson

type DecoratedCrimson struct {
	// Service is the service to decorate.
	Service CrimsonServer
	// Prelude is called for each method before forwarding the call to Service.
	// If Prelude returns an error, then the call is skipped and the error is
	// processed via the Postlude (if one is defined), or it is returned directly.
	Prelude func(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

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

func (*DecoratedCrimson) CreateMachine

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

func (*DecoratedCrimson) CreateNIC

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

func (*DecoratedCrimson) CreatePhysicalHost

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

func (*DecoratedCrimson) CreateVM

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

func (*DecoratedCrimson) DeleteHost

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

func (*DecoratedCrimson) DeleteMachine

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

func (*DecoratedCrimson) DeleteNIC

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

func (*DecoratedCrimson) FindVMSlots

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

func (*DecoratedCrimson) ListDRACs

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

func (*DecoratedCrimson) ListDatacenters

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

func (*DecoratedCrimson) ListFreeIPs

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

func (*DecoratedCrimson) ListKVMs

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

func (*DecoratedCrimson) ListMachines

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

func (*DecoratedCrimson) ListNICs

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

func (*DecoratedCrimson) ListOSes

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

func (*DecoratedCrimson) ListPhysicalHosts

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

func (*DecoratedCrimson) ListPlatforms

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

func (*DecoratedCrimson) ListRacks

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

func (*DecoratedCrimson) ListSwitches

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

func (*DecoratedCrimson) ListVLANs

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

func (*DecoratedCrimson) ListVMs

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

func (*DecoratedCrimson) RenameMachine

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

func (*DecoratedCrimson) UpdateDRAC

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

func (*DecoratedCrimson) UpdateMachine

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

func (*DecoratedCrimson) UpdateNIC

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

func (*DecoratedCrimson) UpdatePhysicalHost

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

func (*DecoratedCrimson) UpdateVM

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

type DeleteHostRequest

type DeleteHostRequest struct {
	// The name of the host to delete.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The VLAN the host belongs to.
	Vlan                 int64    `protobuf:"varint,2,opt,name=vlan,proto3" json:"vlan,omitempty"`
	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

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

func (*DeleteHostRequest) GetName

func (m *DeleteHostRequest) GetName() string

func (*DeleteHostRequest) GetVlan

func (m *DeleteHostRequest) GetVlan() int64

func (*DeleteHostRequest) ProtoMessage

func (*DeleteHostRequest) ProtoMessage()

func (*DeleteHostRequest) Reset

func (m *DeleteHostRequest) Reset()

func (*DeleteHostRequest) String

func (m *DeleteHostRequest) String() string

func (*DeleteHostRequest) XXX_DiscardUnknown

func (m *DeleteHostRequest) XXX_DiscardUnknown()

func (*DeleteHostRequest) XXX_Marshal

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

func (*DeleteHostRequest) XXX_Merge

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

func (*DeleteHostRequest) XXX_Size

func (m *DeleteHostRequest) XXX_Size() int

func (*DeleteHostRequest) XXX_Unmarshal

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

type DeleteMachineRequest

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

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

func (*DeleteMachineRequest) GetName

func (m *DeleteMachineRequest) GetName() string

func (*DeleteMachineRequest) ProtoMessage

func (*DeleteMachineRequest) ProtoMessage()

func (*DeleteMachineRequest) Reset

func (m *DeleteMachineRequest) Reset()

func (*DeleteMachineRequest) String

func (m *DeleteMachineRequest) String() string

func (*DeleteMachineRequest) XXX_DiscardUnknown

func (m *DeleteMachineRequest) XXX_DiscardUnknown()

func (*DeleteMachineRequest) XXX_Marshal

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

func (*DeleteMachineRequest) XXX_Merge

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

func (*DeleteMachineRequest) XXX_Size

func (m *DeleteMachineRequest) XXX_Size() int

func (*DeleteMachineRequest) XXX_Unmarshal

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

type DeleteNICRequest

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

A request to delete a NIC from the database.

func (*DeleteNICRequest) Descriptor

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

func (*DeleteNICRequest) GetMachine

func (m *DeleteNICRequest) GetMachine() string

func (*DeleteNICRequest) GetName

func (m *DeleteNICRequest) GetName() string

func (*DeleteNICRequest) ProtoMessage

func (*DeleteNICRequest) ProtoMessage()

func (*DeleteNICRequest) Reset

func (m *DeleteNICRequest) Reset()

func (*DeleteNICRequest) String

func (m *DeleteNICRequest) String() string

func (*DeleteNICRequest) XXX_DiscardUnknown

func (m *DeleteNICRequest) XXX_DiscardUnknown()

func (*DeleteNICRequest) XXX_Marshal

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

func (*DeleteNICRequest) XXX_Merge

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

func (*DeleteNICRequest) XXX_Size

func (m *DeleteNICRequest) XXX_Size() int

func (*DeleteNICRequest) XXX_Unmarshal

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

type FindVMSlotsRequest

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

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

func (*FindVMSlotsRequest) GetManufacturers

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

func (*FindVMSlotsRequest) GetSlots

func (m *FindVMSlotsRequest) GetSlots() int32

func (*FindVMSlotsRequest) GetStates

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

func (*FindVMSlotsRequest) GetVirtualDatacenters

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

func (*FindVMSlotsRequest) ProtoMessage

func (*FindVMSlotsRequest) ProtoMessage()

func (*FindVMSlotsRequest) Reset

func (m *FindVMSlotsRequest) Reset()

func (*FindVMSlotsRequest) String

func (m *FindVMSlotsRequest) String() string

func (*FindVMSlotsRequest) XXX_DiscardUnknown

func (m *FindVMSlotsRequest) XXX_DiscardUnknown()

func (*FindVMSlotsRequest) XXX_Marshal

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

func (*FindVMSlotsRequest) XXX_Merge

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

func (*FindVMSlotsRequest) XXX_Size

func (m *FindVMSlotsRequest) XXX_Size() int

func (*FindVMSlotsRequest) XXX_Unmarshal

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

type FindVMSlotsResponse

type FindVMSlotsResponse struct {
	// The hosts with available VM slots.
	// Only includes name, vlan_id, and vm_slots.
	// vm_slots in this context means the number of available VM slots.
	Hosts                []*PhysicalHost `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	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

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

func (*FindVMSlotsResponse) GetHosts

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

func (*FindVMSlotsResponse) ProtoMessage

func (*FindVMSlotsResponse) ProtoMessage()

func (*FindVMSlotsResponse) Reset

func (m *FindVMSlotsResponse) Reset()

func (*FindVMSlotsResponse) String

func (m *FindVMSlotsResponse) String() string

func (*FindVMSlotsResponse) XXX_DiscardUnknown

func (m *FindVMSlotsResponse) XXX_DiscardUnknown()

func (*FindVMSlotsResponse) XXX_Marshal

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

func (*FindVMSlotsResponse) XXX_Merge

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

func (*FindVMSlotsResponse) XXX_Size

func (m *FindVMSlotsResponse) XXX_Size() int

func (*FindVMSlotsResponse) XXX_Unmarshal

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

type IP

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

An IP address in the database.

func (*IP) Descriptor

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

func (*IP) GetHostname

func (m *IP) GetHostname() string

func (*IP) GetIpv4

func (m *IP) GetIpv4() string

func (*IP) GetVlan

func (m *IP) GetVlan() int64

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) Reset

func (m *IP) Reset()

func (*IP) String

func (m *IP) String() string

func (*IP) XXX_DiscardUnknown

func (m *IP) XXX_DiscardUnknown()

func (*IP) XXX_Marshal

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

func (*IP) XXX_Merge

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

func (*IP) XXX_Size

func (m *IP) XXX_Size() int

func (*IP) XXX_Unmarshal

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

type KVM

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

A KVM in the database.

func (*KVM) Descriptor

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

func (*KVM) GetDatacenter

func (m *KVM) GetDatacenter() string

func (*KVM) GetDescription

func (m *KVM) GetDescription() string

func (*KVM) GetIpv4

func (m *KVM) GetIpv4() string

func (*KVM) GetMacAddress

func (m *KVM) GetMacAddress() string

func (*KVM) GetName

func (m *KVM) GetName() string

func (*KVM) GetPlatform

func (m *KVM) GetPlatform() string

func (*KVM) GetRack

func (m *KVM) GetRack() string

func (*KVM) GetState

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

func (*KVM) GetVlan

func (m *KVM) GetVlan() int64

func (*KVM) ProtoMessage

func (*KVM) ProtoMessage()

func (*KVM) Reset

func (m *KVM) Reset()

func (*KVM) String

func (m *KVM) String() string

func (*KVM) XXX_DiscardUnknown

func (m *KVM) XXX_DiscardUnknown()

func (*KVM) XXX_Marshal

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

func (*KVM) XXX_Merge

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

func (*KVM) XXX_Size

func (m *KVM) XXX_Size() int

func (*KVM) XXX_Unmarshal

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

type ListDRACsRequest

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

A request to list DRACs in the database.

func (*ListDRACsRequest) Descriptor

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

func (*ListDRACsRequest) GetIpv4S

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

func (*ListDRACsRequest) GetMacAddresses

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

func (*ListDRACsRequest) GetMachines

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

func (*ListDRACsRequest) GetNames

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

func (*ListDRACsRequest) GetSwitches

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

func (*ListDRACsRequest) GetVlans

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

func (*ListDRACsRequest) ProtoMessage

func (*ListDRACsRequest) ProtoMessage()

func (*ListDRACsRequest) Reset

func (m *ListDRACsRequest) Reset()

func (*ListDRACsRequest) String

func (m *ListDRACsRequest) String() string

func (*ListDRACsRequest) XXX_DiscardUnknown

func (m *ListDRACsRequest) XXX_DiscardUnknown()

func (*ListDRACsRequest) XXX_Marshal

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

func (*ListDRACsRequest) XXX_Merge

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

func (*ListDRACsRequest) XXX_Size

func (m *ListDRACsRequest) XXX_Size() int

func (*ListDRACsRequest) XXX_Unmarshal

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

type ListDRACsResponse

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

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

func (*ListDRACsResponse) GetDracs

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

func (*ListDRACsResponse) ProtoMessage

func (*ListDRACsResponse) ProtoMessage()

func (*ListDRACsResponse) Reset

func (m *ListDRACsResponse) Reset()

func (*ListDRACsResponse) String

func (m *ListDRACsResponse) String() string

func (*ListDRACsResponse) XXX_DiscardUnknown

func (m *ListDRACsResponse) XXX_DiscardUnknown()

func (*ListDRACsResponse) XXX_Marshal

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

func (*ListDRACsResponse) XXX_Merge

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

func (*ListDRACsResponse) XXX_Size

func (m *ListDRACsResponse) XXX_Size() int

func (*ListDRACsResponse) XXX_Unmarshal

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

type ListDatacentersRequest

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

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

func (*ListDatacentersRequest) GetNames

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

func (*ListDatacentersRequest) ProtoMessage

func (*ListDatacentersRequest) ProtoMessage()

func (*ListDatacentersRequest) Reset

func (m *ListDatacentersRequest) Reset()

func (*ListDatacentersRequest) String

func (m *ListDatacentersRequest) String() string

func (*ListDatacentersRequest) XXX_DiscardUnknown

func (m *ListDatacentersRequest) XXX_DiscardUnknown()

func (*ListDatacentersRequest) XXX_Marshal

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

func (*ListDatacentersRequest) XXX_Merge

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

func (*ListDatacentersRequest) XXX_Size

func (m *ListDatacentersRequest) XXX_Size() int

func (*ListDatacentersRequest) XXX_Unmarshal

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

type ListDatacentersResponse

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

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

func (*ListDatacentersResponse) GetDatacenters

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

func (*ListDatacentersResponse) ProtoMessage

func (*ListDatacentersResponse) ProtoMessage()

func (*ListDatacentersResponse) Reset

func (m *ListDatacentersResponse) Reset()

func (*ListDatacentersResponse) String

func (m *ListDatacentersResponse) String() string

func (*ListDatacentersResponse) XXX_DiscardUnknown

func (m *ListDatacentersResponse) XXX_DiscardUnknown()

func (*ListDatacentersResponse) XXX_Marshal

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

func (*ListDatacentersResponse) XXX_Merge

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

func (*ListDatacentersResponse) XXX_Size

func (m *ListDatacentersResponse) XXX_Size() int

func (*ListDatacentersResponse) XXX_Unmarshal

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

type ListFreeIPsRequest

type ListFreeIPsRequest struct {
	// The VLAN to list free IP addresses on.
	Vlan int64 `protobuf:"varint,1,opt,name=vlan,proto3" json:"vlan,omitempty"`
	// The maximum number of free IP addresses to return, or 0 to let the server decide.
	PageSize             int32    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	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

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

func (*ListFreeIPsRequest) GetPageSize

func (m *ListFreeIPsRequest) GetPageSize() int32

func (*ListFreeIPsRequest) GetVlan

func (m *ListFreeIPsRequest) GetVlan() int64

func (*ListFreeIPsRequest) ProtoMessage

func (*ListFreeIPsRequest) ProtoMessage()

func (*ListFreeIPsRequest) Reset

func (m *ListFreeIPsRequest) Reset()

func (*ListFreeIPsRequest) String

func (m *ListFreeIPsRequest) String() string

func (*ListFreeIPsRequest) XXX_DiscardUnknown

func (m *ListFreeIPsRequest) XXX_DiscardUnknown()

func (*ListFreeIPsRequest) XXX_Marshal

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

func (*ListFreeIPsRequest) XXX_Merge

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

func (*ListFreeIPsRequest) XXX_Size

func (m *ListFreeIPsRequest) XXX_Size() int

func (*ListFreeIPsRequest) XXX_Unmarshal

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

type ListIPsResponse

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

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

func (*ListIPsResponse) GetIps

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

func (*ListIPsResponse) ProtoMessage

func (*ListIPsResponse) ProtoMessage()

func (*ListIPsResponse) Reset

func (m *ListIPsResponse) Reset()

func (*ListIPsResponse) String

func (m *ListIPsResponse) String() string

func (*ListIPsResponse) XXX_DiscardUnknown

func (m *ListIPsResponse) XXX_DiscardUnknown()

func (*ListIPsResponse) XXX_Marshal

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

func (*ListIPsResponse) XXX_Merge

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

func (*ListIPsResponse) XXX_Size

func (m *ListIPsResponse) XXX_Size() int

func (*ListIPsResponse) XXX_Unmarshal

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

type ListKVMsRequest

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

A request to list KVMs in the database.

func (*ListKVMsRequest) Descriptor

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

func (*ListKVMsRequest) GetDatacenters

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

func (*ListKVMsRequest) GetIpv4S

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

func (*ListKVMsRequest) GetMacAddresses

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

func (*ListKVMsRequest) GetNames

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

func (*ListKVMsRequest) GetPlatforms

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

func (*ListKVMsRequest) GetRacks

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

func (*ListKVMsRequest) GetStates

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

func (*ListKVMsRequest) GetVlans

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

func (*ListKVMsRequest) ProtoMessage

func (*ListKVMsRequest) ProtoMessage()

func (*ListKVMsRequest) Reset

func (m *ListKVMsRequest) Reset()

func (*ListKVMsRequest) String

func (m *ListKVMsRequest) String() string

func (*ListKVMsRequest) XXX_DiscardUnknown

func (m *ListKVMsRequest) XXX_DiscardUnknown()

func (*ListKVMsRequest) XXX_Marshal

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

func (*ListKVMsRequest) XXX_Merge

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

func (*ListKVMsRequest) XXX_Size

func (m *ListKVMsRequest) XXX_Size() int

func (*ListKVMsRequest) XXX_Unmarshal

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

type ListKVMsResponse

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

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

func (*ListKVMsResponse) GetKvms

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

func (*ListKVMsResponse) ProtoMessage

func (*ListKVMsResponse) ProtoMessage()

func (*ListKVMsResponse) Reset

func (m *ListKVMsResponse) Reset()

func (*ListKVMsResponse) String

func (m *ListKVMsResponse) String() string

func (*ListKVMsResponse) XXX_DiscardUnknown

func (m *ListKVMsResponse) XXX_DiscardUnknown()

func (*ListKVMsResponse) XXX_Marshal

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

func (*ListKVMsResponse) XXX_Merge

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

func (*ListKVMsResponse) XXX_Size

func (m *ListKVMsResponse) XXX_Size() int

func (*ListKVMsResponse) XXX_Unmarshal

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

type ListMachinesRequest

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

A request to list machines in the database.

func (*ListMachinesRequest) Descriptor

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

func (*ListMachinesRequest) GetDatacenters

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

func (*ListMachinesRequest) GetNames

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

func (*ListMachinesRequest) GetPlatforms

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

func (*ListMachinesRequest) GetRacks

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

func (*ListMachinesRequest) GetStates

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

func (*ListMachinesRequest) ProtoMessage

func (*ListMachinesRequest) ProtoMessage()

func (*ListMachinesRequest) Reset

func (m *ListMachinesRequest) Reset()

func (*ListMachinesRequest) String

func (m *ListMachinesRequest) String() string

func (*ListMachinesRequest) XXX_DiscardUnknown

func (m *ListMachinesRequest) XXX_DiscardUnknown()

func (*ListMachinesRequest) XXX_Marshal

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

func (*ListMachinesRequest) XXX_Merge

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

func (*ListMachinesRequest) XXX_Size

func (m *ListMachinesRequest) XXX_Size() int

func (*ListMachinesRequest) XXX_Unmarshal

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

type ListMachinesResponse

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

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

func (*ListMachinesResponse) GetMachines

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

func (*ListMachinesResponse) ProtoMessage

func (*ListMachinesResponse) ProtoMessage()

func (*ListMachinesResponse) Reset

func (m *ListMachinesResponse) Reset()

func (*ListMachinesResponse) String

func (m *ListMachinesResponse) String() string

func (*ListMachinesResponse) XXX_DiscardUnknown

func (m *ListMachinesResponse) XXX_DiscardUnknown()

func (*ListMachinesResponse) XXX_Marshal

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

func (*ListMachinesResponse) XXX_Merge

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

func (*ListMachinesResponse) XXX_Size

func (m *ListMachinesResponse) XXX_Size() int

func (*ListMachinesResponse) XXX_Unmarshal

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

type ListNICsRequest

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

A request to list NICs in the database.

func (*ListNICsRequest) Descriptor

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

func (*ListNICsRequest) GetHostnames

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

func (*ListNICsRequest) GetIpv4S

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

func (*ListNICsRequest) GetMacAddresses

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

func (*ListNICsRequest) GetMachines

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

func (*ListNICsRequest) GetNames

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

func (*ListNICsRequest) GetSwitches

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

func (*ListNICsRequest) ProtoMessage

func (*ListNICsRequest) ProtoMessage()

func (*ListNICsRequest) Reset

func (m *ListNICsRequest) Reset()

func (*ListNICsRequest) String

func (m *ListNICsRequest) String() string

func (*ListNICsRequest) XXX_DiscardUnknown

func (m *ListNICsRequest) XXX_DiscardUnknown()

func (*ListNICsRequest) XXX_Marshal

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

func (*ListNICsRequest) XXX_Merge

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

func (*ListNICsRequest) XXX_Size

func (m *ListNICsRequest) XXX_Size() int

func (*ListNICsRequest) XXX_Unmarshal

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

type ListNICsResponse

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

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

func (*ListNICsResponse) GetNics

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

func (*ListNICsResponse) ProtoMessage

func (*ListNICsResponse) ProtoMessage()

func (*ListNICsResponse) Reset

func (m *ListNICsResponse) Reset()

func (*ListNICsResponse) String

func (m *ListNICsResponse) String() string

func (*ListNICsResponse) XXX_DiscardUnknown

func (m *ListNICsResponse) XXX_DiscardUnknown()

func (*ListNICsResponse) XXX_Marshal

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

func (*ListNICsResponse) XXX_Merge

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

func (*ListNICsResponse) XXX_Size

func (m *ListNICsResponse) XXX_Size() int

func (*ListNICsResponse) XXX_Unmarshal

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

type ListOSesRequest

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

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

func (*ListOSesRequest) GetNames

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

func (*ListOSesRequest) ProtoMessage

func (*ListOSesRequest) ProtoMessage()

func (*ListOSesRequest) Reset

func (m *ListOSesRequest) Reset()

func (*ListOSesRequest) String

func (m *ListOSesRequest) String() string

func (*ListOSesRequest) XXX_DiscardUnknown

func (m *ListOSesRequest) XXX_DiscardUnknown()

func (*ListOSesRequest) XXX_Marshal

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

func (*ListOSesRequest) XXX_Merge

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

func (*ListOSesRequest) XXX_Size

func (m *ListOSesRequest) XXX_Size() int

func (*ListOSesRequest) XXX_Unmarshal

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

type ListOSesResponse

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

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

func (*ListOSesResponse) GetOses

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

func (*ListOSesResponse) ProtoMessage

func (*ListOSesResponse) ProtoMessage()

func (*ListOSesResponse) Reset

func (m *ListOSesResponse) Reset()

func (*ListOSesResponse) String

func (m *ListOSesResponse) String() string

func (*ListOSesResponse) XXX_DiscardUnknown

func (m *ListOSesResponse) XXX_DiscardUnknown()

func (*ListOSesResponse) XXX_Marshal

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

func (*ListOSesResponse) XXX_Merge

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

func (*ListOSesResponse) XXX_Size

func (m *ListOSesResponse) XXX_Size() int

func (*ListOSesResponse) XXX_Unmarshal

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

type ListPhysicalHostsRequest

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

A request to list physical hosts in the database.

func (*ListPhysicalHostsRequest) Descriptor

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

func (*ListPhysicalHostsRequest) GetDatacenters

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

func (*ListPhysicalHostsRequest) GetIpv4S

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

func (*ListPhysicalHostsRequest) GetMacAddresses

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

func (*ListPhysicalHostsRequest) GetMachines

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

func (*ListPhysicalHostsRequest) GetNames

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

func (*ListPhysicalHostsRequest) GetNics

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

func (*ListPhysicalHostsRequest) GetOses

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

func (*ListPhysicalHostsRequest) GetPlatforms

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

func (*ListPhysicalHostsRequest) GetRacks

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

func (*ListPhysicalHostsRequest) GetStates

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

func (*ListPhysicalHostsRequest) GetVirtualDatacenters

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

func (*ListPhysicalHostsRequest) GetVlans

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

func (*ListPhysicalHostsRequest) ProtoMessage

func (*ListPhysicalHostsRequest) ProtoMessage()

func (*ListPhysicalHostsRequest) Reset

func (m *ListPhysicalHostsRequest) Reset()

func (*ListPhysicalHostsRequest) String

func (m *ListPhysicalHostsRequest) String() string

func (*ListPhysicalHostsRequest) XXX_DiscardUnknown

func (m *ListPhysicalHostsRequest) XXX_DiscardUnknown()

func (*ListPhysicalHostsRequest) XXX_Marshal

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

func (*ListPhysicalHostsRequest) XXX_Merge

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

func (*ListPhysicalHostsRequest) XXX_Size

func (m *ListPhysicalHostsRequest) XXX_Size() int

func (*ListPhysicalHostsRequest) XXX_Unmarshal

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

type ListPhysicalHostsResponse

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

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

func (*ListPhysicalHostsResponse) GetHosts

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

func (*ListPhysicalHostsResponse) ProtoMessage

func (*ListPhysicalHostsResponse) ProtoMessage()

func (*ListPhysicalHostsResponse) Reset

func (m *ListPhysicalHostsResponse) Reset()

func (*ListPhysicalHostsResponse) String

func (m *ListPhysicalHostsResponse) String() string

func (*ListPhysicalHostsResponse) XXX_DiscardUnknown

func (m *ListPhysicalHostsResponse) XXX_DiscardUnknown()

func (*ListPhysicalHostsResponse) XXX_Marshal

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

func (*ListPhysicalHostsResponse) XXX_Merge

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

func (*ListPhysicalHostsResponse) XXX_Size

func (m *ListPhysicalHostsResponse) XXX_Size() int

func (*ListPhysicalHostsResponse) XXX_Unmarshal

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

type ListPlatformsRequest

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

A request to list platforms in the database.

func (*ListPlatformsRequest) Descriptor

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

func (*ListPlatformsRequest) GetManufacturers

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

func (*ListPlatformsRequest) GetNames

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

func (*ListPlatformsRequest) ProtoMessage

func (*ListPlatformsRequest) ProtoMessage()

func (*ListPlatformsRequest) Reset

func (m *ListPlatformsRequest) Reset()

func (*ListPlatformsRequest) String

func (m *ListPlatformsRequest) String() string

func (*ListPlatformsRequest) XXX_DiscardUnknown

func (m *ListPlatformsRequest) XXX_DiscardUnknown()

func (*ListPlatformsRequest) XXX_Marshal

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

func (*ListPlatformsRequest) XXX_Merge

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

func (*ListPlatformsRequest) XXX_Size

func (m *ListPlatformsRequest) XXX_Size() int

func (*ListPlatformsRequest) XXX_Unmarshal

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

type ListPlatformsResponse

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

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

func (*ListPlatformsResponse) GetPlatforms

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

func (*ListPlatformsResponse) ProtoMessage

func (*ListPlatformsResponse) ProtoMessage()

func (*ListPlatformsResponse) Reset

func (m *ListPlatformsResponse) Reset()

func (*ListPlatformsResponse) String

func (m *ListPlatformsResponse) String() string

func (*ListPlatformsResponse) XXX_DiscardUnknown

func (m *ListPlatformsResponse) XXX_DiscardUnknown()

func (*ListPlatformsResponse) XXX_Marshal

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

func (*ListPlatformsResponse) XXX_Merge

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

func (*ListPlatformsResponse) XXX_Size

func (m *ListPlatformsResponse) XXX_Size() int

func (*ListPlatformsResponse) XXX_Unmarshal

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

type ListRacksRequest

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

A request to list racks in the database.

func (*ListRacksRequest) Descriptor

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

func (*ListRacksRequest) GetDatacenters

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

func (*ListRacksRequest) GetKvms

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

func (*ListRacksRequest) GetNames

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

func (*ListRacksRequest) ProtoMessage

func (*ListRacksRequest) ProtoMessage()

func (*ListRacksRequest) Reset

func (m *ListRacksRequest) Reset()

func (*ListRacksRequest) String

func (m *ListRacksRequest) String() string

func (*ListRacksRequest) XXX_DiscardUnknown

func (m *ListRacksRequest) XXX_DiscardUnknown()

func (*ListRacksRequest) XXX_Marshal

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

func (*ListRacksRequest) XXX_Merge

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

func (*ListRacksRequest) XXX_Size

func (m *ListRacksRequest) XXX_Size() int

func (*ListRacksRequest) XXX_Unmarshal

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

type ListRacksResponse

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

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

func (*ListRacksResponse) GetRacks

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

func (*ListRacksResponse) ProtoMessage

func (*ListRacksResponse) ProtoMessage()

func (*ListRacksResponse) Reset

func (m *ListRacksResponse) Reset()

func (*ListRacksResponse) String

func (m *ListRacksResponse) String() string

func (*ListRacksResponse) XXX_DiscardUnknown

func (m *ListRacksResponse) XXX_DiscardUnknown()

func (*ListRacksResponse) XXX_Marshal

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

func (*ListRacksResponse) XXX_Merge

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

func (*ListRacksResponse) XXX_Size

func (m *ListRacksResponse) XXX_Size() int

func (*ListRacksResponse) XXX_Unmarshal

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

type ListSwitchesRequest

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

A request to list switches in the database.

func (*ListSwitchesRequest) Descriptor

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

func (*ListSwitchesRequest) GetDatacenters

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

func (*ListSwitchesRequest) GetNames

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

func (*ListSwitchesRequest) GetRacks

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

func (*ListSwitchesRequest) ProtoMessage

func (*ListSwitchesRequest) ProtoMessage()

func (*ListSwitchesRequest) Reset

func (m *ListSwitchesRequest) Reset()

func (*ListSwitchesRequest) String

func (m *ListSwitchesRequest) String() string

func (*ListSwitchesRequest) XXX_DiscardUnknown

func (m *ListSwitchesRequest) XXX_DiscardUnknown()

func (*ListSwitchesRequest) XXX_Marshal

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

func (*ListSwitchesRequest) XXX_Merge

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

func (*ListSwitchesRequest) XXX_Size

func (m *ListSwitchesRequest) XXX_Size() int

func (*ListSwitchesRequest) XXX_Unmarshal

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

type ListSwitchesResponse

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

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

func (*ListSwitchesResponse) GetSwitches

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

func (*ListSwitchesResponse) ProtoMessage

func (*ListSwitchesResponse) ProtoMessage()

func (*ListSwitchesResponse) Reset

func (m *ListSwitchesResponse) Reset()

func (*ListSwitchesResponse) String

func (m *ListSwitchesResponse) String() string

func (*ListSwitchesResponse) XXX_DiscardUnknown

func (m *ListSwitchesResponse) XXX_DiscardUnknown()

func (*ListSwitchesResponse) XXX_Marshal

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

func (*ListSwitchesResponse) XXX_Merge

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

func (*ListSwitchesResponse) XXX_Size

func (m *ListSwitchesResponse) XXX_Size() int

func (*ListSwitchesResponse) XXX_Unmarshal

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

type ListVLANsRequest

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

A request to list VLANs in the database.

func (*ListVLANsRequest) Descriptor

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

func (*ListVLANsRequest) GetAliases

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

func (*ListVLANsRequest) GetIds

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

func (*ListVLANsRequest) ProtoMessage

func (*ListVLANsRequest) ProtoMessage()

func (*ListVLANsRequest) Reset

func (m *ListVLANsRequest) Reset()

func (*ListVLANsRequest) String

func (m *ListVLANsRequest) String() string

func (*ListVLANsRequest) XXX_DiscardUnknown

func (m *ListVLANsRequest) XXX_DiscardUnknown()

func (*ListVLANsRequest) XXX_Marshal

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

func (*ListVLANsRequest) XXX_Merge

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

func (*ListVLANsRequest) XXX_Size

func (m *ListVLANsRequest) XXX_Size() int

func (*ListVLANsRequest) XXX_Unmarshal

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

type ListVLANsResponse

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

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

func (*ListVLANsResponse) GetVlans

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

func (*ListVLANsResponse) ProtoMessage

func (*ListVLANsResponse) ProtoMessage()

func (*ListVLANsResponse) Reset

func (m *ListVLANsResponse) Reset()

func (*ListVLANsResponse) String

func (m *ListVLANsResponse) String() string

func (*ListVLANsResponse) XXX_DiscardUnknown

func (m *ListVLANsResponse) XXX_DiscardUnknown()

func (*ListVLANsResponse) XXX_Marshal

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

func (*ListVLANsResponse) XXX_Merge

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

func (*ListVLANsResponse) XXX_Size

func (m *ListVLANsResponse) XXX_Size() int

func (*ListVLANsResponse) XXX_Unmarshal

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

type ListVMsRequest

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

A request to list VMs in the database.

func (*ListVMsRequest) Descriptor

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

func (*ListVMsRequest) GetHostVlans

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

func (*ListVMsRequest) GetHosts

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

func (*ListVMsRequest) GetIpv4S

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

func (*ListVMsRequest) GetNames

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

func (*ListVMsRequest) GetOses

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

func (*ListVMsRequest) GetStates

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

func (*ListVMsRequest) GetVlans

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

func (*ListVMsRequest) ProtoMessage

func (*ListVMsRequest) ProtoMessage()

func (*ListVMsRequest) Reset

func (m *ListVMsRequest) Reset()

func (*ListVMsRequest) String

func (m *ListVMsRequest) String() string

func (*ListVMsRequest) XXX_DiscardUnknown

func (m *ListVMsRequest) XXX_DiscardUnknown()

func (*ListVMsRequest) XXX_Marshal

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

func (*ListVMsRequest) XXX_Merge

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

func (*ListVMsRequest) XXX_Size

func (m *ListVMsRequest) XXX_Size() int

func (*ListVMsRequest) XXX_Unmarshal

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

type ListVMsResponse

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

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

func (*ListVMsResponse) GetVms

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

func (*ListVMsResponse) ProtoMessage

func (*ListVMsResponse) ProtoMessage()

func (*ListVMsResponse) Reset

func (m *ListVMsResponse) Reset()

func (*ListVMsResponse) String

func (m *ListVMsResponse) String() string

func (*ListVMsResponse) XXX_DiscardUnknown

func (m *ListVMsResponse) XXX_DiscardUnknown()

func (*ListVMsResponse) XXX_Marshal

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

func (*ListVMsResponse) XXX_Merge

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

func (*ListVMsResponse) XXX_Size

func (m *ListVMsResponse) XXX_Size() int

func (*ListVMsResponse) XXX_Unmarshal

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

type Machine

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

A machine in the database.

func (*Machine) Descriptor

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

func (*Machine) GetAssetTag

func (m *Machine) GetAssetTag() string

func (*Machine) GetDatacenter

func (m *Machine) GetDatacenter() string

func (*Machine) GetDeploymentTicket

func (m *Machine) GetDeploymentTicket() string

func (*Machine) GetDescription

func (m *Machine) GetDescription() string

func (*Machine) GetDracPassword

func (m *Machine) GetDracPassword() string

func (*Machine) GetName

func (m *Machine) GetName() string

func (*Machine) GetPlatform

func (m *Machine) GetPlatform() string

func (*Machine) GetRack

func (m *Machine) GetRack() string

func (*Machine) GetServiceTag

func (m *Machine) GetServiceTag() string

func (*Machine) GetState

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

func (*Machine) ProtoMessage

func (*Machine) ProtoMessage()

func (*Machine) Reset

func (m *Machine) Reset()

func (*Machine) String

func (m *Machine) String() string

func (*Machine) XXX_DiscardUnknown

func (m *Machine) XXX_DiscardUnknown()

func (*Machine) XXX_Marshal

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

func (*Machine) XXX_Merge

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

func (*Machine) XXX_Size

func (m *Machine) XXX_Size() int

func (*Machine) XXX_Unmarshal

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

type NIC

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

A network interface in the database.

func (*NIC) Descriptor

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

func (*NIC) GetHostname

func (m *NIC) GetHostname() string

func (*NIC) GetIpv4

func (m *NIC) GetIpv4() string

func (*NIC) GetMacAddress

func (m *NIC) GetMacAddress() string

func (*NIC) GetMachine

func (m *NIC) GetMachine() string

func (*NIC) GetName

func (m *NIC) GetName() string

func (*NIC) GetSwitch

func (m *NIC) GetSwitch() string

func (*NIC) GetSwitchport

func (m *NIC) GetSwitchport() int32

func (*NIC) ProtoMessage

func (*NIC) ProtoMessage()

func (*NIC) Reset

func (m *NIC) Reset()

func (*NIC) String

func (m *NIC) String() string

func (*NIC) XXX_DiscardUnknown

func (m *NIC) XXX_DiscardUnknown()

func (*NIC) XXX_Marshal

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

func (*NIC) XXX_Merge

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

func (*NIC) XXX_Size

func (m *NIC) XXX_Size() int

func (*NIC) XXX_Unmarshal

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

type OS

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

An operating system in the database.

func (*OS) Descriptor

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

func (*OS) GetDescription

func (m *OS) GetDescription() string

func (*OS) GetName

func (m *OS) GetName() string

func (*OS) ProtoMessage

func (*OS) ProtoMessage()

func (*OS) Reset

func (m *OS) Reset()

func (*OS) String

func (m *OS) String() string

func (*OS) XXX_DiscardUnknown

func (m *OS) XXX_DiscardUnknown()

func (*OS) XXX_Marshal

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

func (*OS) XXX_Merge

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

func (*OS) XXX_Size

func (m *OS) XXX_Size() int

func (*OS) XXX_Unmarshal

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

type PhysicalHost

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

A physical host in the database.

func (*PhysicalHost) Descriptor

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

func (*PhysicalHost) GetDeploymentTicket

func (m *PhysicalHost) GetDeploymentTicket() string

func (*PhysicalHost) GetDescription

func (m *PhysicalHost) GetDescription() string

func (*PhysicalHost) GetIpv4

func (m *PhysicalHost) GetIpv4() string

func (*PhysicalHost) GetMacAddress

func (m *PhysicalHost) GetMacAddress() string

func (*PhysicalHost) GetMachine

func (m *PhysicalHost) GetMachine() string

func (*PhysicalHost) GetName

func (m *PhysicalHost) GetName() string

func (*PhysicalHost) GetNic

func (m *PhysicalHost) GetNic() string

func (*PhysicalHost) GetOs

func (m *PhysicalHost) GetOs() string

func (*PhysicalHost) GetState

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

func (*PhysicalHost) GetVirtualDatacenter

func (m *PhysicalHost) GetVirtualDatacenter() string

func (*PhysicalHost) GetVlan

func (m *PhysicalHost) GetVlan() int64

func (*PhysicalHost) GetVmSlots

func (m *PhysicalHost) GetVmSlots() int32

func (*PhysicalHost) ProtoMessage

func (*PhysicalHost) ProtoMessage()

func (*PhysicalHost) Reset

func (m *PhysicalHost) Reset()

func (*PhysicalHost) String

func (m *PhysicalHost) String() string

func (*PhysicalHost) XXX_DiscardUnknown

func (m *PhysicalHost) XXX_DiscardUnknown()

func (*PhysicalHost) XXX_Marshal

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

func (*PhysicalHost) XXX_Merge

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

func (*PhysicalHost) XXX_Size

func (m *PhysicalHost) XXX_Size() int

func (*PhysicalHost) XXX_Unmarshal

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

type Platform

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

A platform in the database.

func (*Platform) Descriptor

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

func (*Platform) GetDescription

func (m *Platform) GetDescription() string

func (*Platform) GetManufacturer

func (m *Platform) GetManufacturer() string

func (*Platform) GetName

func (m *Platform) GetName() string

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) Reset

func (m *Platform) Reset()

func (*Platform) String

func (m *Platform) String() string

func (*Platform) XXX_DiscardUnknown

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal

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

func (*Platform) XXX_Merge

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

func (*Platform) XXX_Size

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal

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

type Rack

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

A rack in the database.

func (*Rack) Descriptor

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

func (*Rack) GetDatacenter

func (m *Rack) GetDatacenter() string

func (*Rack) GetDescription

func (m *Rack) GetDescription() string

func (*Rack) GetKvm

func (m *Rack) GetKvm() string

func (*Rack) GetName

func (m *Rack) GetName() string

func (*Rack) GetState

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

func (*Rack) ProtoMessage

func (*Rack) ProtoMessage()

func (*Rack) Reset

func (m *Rack) Reset()

func (*Rack) String

func (m *Rack) String() string

func (*Rack) XXX_DiscardUnknown

func (m *Rack) XXX_DiscardUnknown()

func (*Rack) XXX_Marshal

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

func (*Rack) XXX_Merge

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

func (*Rack) XXX_Size

func (m *Rack) XXX_Size() int

func (*Rack) XXX_Unmarshal

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

type RenameMachineRequest

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

A request to rename a machine in the database.

func (*RenameMachineRequest) Descriptor

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

func (*RenameMachineRequest) GetName

func (m *RenameMachineRequest) GetName() string

func (*RenameMachineRequest) GetNewName

func (m *RenameMachineRequest) GetNewName() string

func (*RenameMachineRequest) ProtoMessage

func (*RenameMachineRequest) ProtoMessage()

func (*RenameMachineRequest) Reset

func (m *RenameMachineRequest) Reset()

func (*RenameMachineRequest) String

func (m *RenameMachineRequest) String() string

func (*RenameMachineRequest) XXX_DiscardUnknown

func (m *RenameMachineRequest) XXX_DiscardUnknown()

func (*RenameMachineRequest) XXX_Marshal

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

func (*RenameMachineRequest) XXX_Merge

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

func (*RenameMachineRequest) XXX_Size

func (m *RenameMachineRequest) XXX_Size() int

func (*RenameMachineRequest) XXX_Unmarshal

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

type Switch

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

A switch in the database.

func (*Switch) Descriptor

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

func (*Switch) GetDatacenter

func (m *Switch) GetDatacenter() string

func (*Switch) GetDescription

func (m *Switch) GetDescription() string

func (*Switch) GetName

func (m *Switch) GetName() string

func (*Switch) GetPorts

func (m *Switch) GetPorts() int32

func (*Switch) GetRack

func (m *Switch) GetRack() string

func (*Switch) GetState

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

func (*Switch) ProtoMessage

func (*Switch) ProtoMessage()

func (*Switch) Reset

func (m *Switch) Reset()

func (*Switch) String

func (m *Switch) String() string

func (*Switch) XXX_DiscardUnknown

func (m *Switch) XXX_DiscardUnknown()

func (*Switch) XXX_Marshal

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

func (*Switch) XXX_Merge

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

func (*Switch) XXX_Size

func (m *Switch) XXX_Size() int

func (*Switch) XXX_Unmarshal

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

type UpdateDRACRequest

type UpdateDRACRequest struct {
	// The DRAC to update in the database.
	Drac *DRAC `protobuf:"bytes,1,opt,name=drac,proto3" json:"drac,omitempty"`
	// The fields to update in the DRAC.
	UpdateMask           *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

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

func (*UpdateDRACRequest) GetDrac

func (m *UpdateDRACRequest) GetDrac() *DRAC

func (*UpdateDRACRequest) GetUpdateMask

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

func (*UpdateDRACRequest) ProtoMessage

func (*UpdateDRACRequest) ProtoMessage()

func (*UpdateDRACRequest) Reset

func (m *UpdateDRACRequest) Reset()

func (*UpdateDRACRequest) String

func (m *UpdateDRACRequest) String() string

func (*UpdateDRACRequest) XXX_DiscardUnknown

func (m *UpdateDRACRequest) XXX_DiscardUnknown()

func (*UpdateDRACRequest) XXX_Marshal

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

func (*UpdateDRACRequest) XXX_Merge

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

func (*UpdateDRACRequest) XXX_Size

func (m *UpdateDRACRequest) XXX_Size() int

func (*UpdateDRACRequest) XXX_Unmarshal

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

type UpdateMachineRequest

type UpdateMachineRequest struct {
	// The machine to update in the database.
	Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// The fields to update in the machine.
	UpdateMask           *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

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

func (*UpdateMachineRequest) GetMachine

func (m *UpdateMachineRequest) GetMachine() *Machine

func (*UpdateMachineRequest) GetUpdateMask

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

func (*UpdateMachineRequest) ProtoMessage

func (*UpdateMachineRequest) ProtoMessage()

func (*UpdateMachineRequest) Reset

func (m *UpdateMachineRequest) Reset()

func (*UpdateMachineRequest) String

func (m *UpdateMachineRequest) String() string

func (*UpdateMachineRequest) XXX_DiscardUnknown

func (m *UpdateMachineRequest) XXX_DiscardUnknown()

func (*UpdateMachineRequest) XXX_Marshal

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

func (*UpdateMachineRequest) XXX_Merge

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

func (*UpdateMachineRequest) XXX_Size

func (m *UpdateMachineRequest) XXX_Size() int

func (*UpdateMachineRequest) XXX_Unmarshal

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

type UpdateNICRequest

type UpdateNICRequest struct {
	// The NIC to update in the database.
	Nic *NIC `protobuf:"bytes,1,opt,name=nic,proto3" json:"nic,omitempty"`
	// The fields to update in the NIC.
	UpdateMask           *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

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

func (*UpdateNICRequest) GetNic

func (m *UpdateNICRequest) GetNic() *NIC

func (*UpdateNICRequest) GetUpdateMask

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

func (*UpdateNICRequest) ProtoMessage

func (*UpdateNICRequest) ProtoMessage()

func (*UpdateNICRequest) Reset

func (m *UpdateNICRequest) Reset()

func (*UpdateNICRequest) String

func (m *UpdateNICRequest) String() string

func (*UpdateNICRequest) XXX_DiscardUnknown

func (m *UpdateNICRequest) XXX_DiscardUnknown()

func (*UpdateNICRequest) XXX_Marshal

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

func (*UpdateNICRequest) XXX_Merge

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

func (*UpdateNICRequest) XXX_Size

func (m *UpdateNICRequest) XXX_Size() int

func (*UpdateNICRequest) XXX_Unmarshal

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

type UpdatePhysicalHostRequest

type UpdatePhysicalHostRequest struct {
	// The host to update in the database.
	Host *PhysicalHost `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The fields to update in the host.
	UpdateMask           *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

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

func (*UpdatePhysicalHostRequest) GetHost

func (*UpdatePhysicalHostRequest) GetUpdateMask

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

func (*UpdatePhysicalHostRequest) ProtoMessage

func (*UpdatePhysicalHostRequest) ProtoMessage()

func (*UpdatePhysicalHostRequest) Reset

func (m *UpdatePhysicalHostRequest) Reset()

func (*UpdatePhysicalHostRequest) String

func (m *UpdatePhysicalHostRequest) String() string

func (*UpdatePhysicalHostRequest) XXX_DiscardUnknown

func (m *UpdatePhysicalHostRequest) XXX_DiscardUnknown()

func (*UpdatePhysicalHostRequest) XXX_Marshal

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

func (*UpdatePhysicalHostRequest) XXX_Merge

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

func (*UpdatePhysicalHostRequest) XXX_Size

func (m *UpdatePhysicalHostRequest) XXX_Size() int

func (*UpdatePhysicalHostRequest) XXX_Unmarshal

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

type UpdateVMRequest

type UpdateVMRequest struct {
	// The VM to update in the database.
	Vm *VM `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
	// The fields to update in the VM.
	UpdateMask           *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

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

func (*UpdateVMRequest) GetUpdateMask

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

func (*UpdateVMRequest) GetVm

func (m *UpdateVMRequest) GetVm() *VM

func (*UpdateVMRequest) ProtoMessage

func (*UpdateVMRequest) ProtoMessage()

func (*UpdateVMRequest) Reset

func (m *UpdateVMRequest) Reset()

func (*UpdateVMRequest) String

func (m *UpdateVMRequest) String() string

func (*UpdateVMRequest) XXX_DiscardUnknown

func (m *UpdateVMRequest) XXX_DiscardUnknown()

func (*UpdateVMRequest) XXX_Marshal

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

func (*UpdateVMRequest) XXX_Merge

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

func (*UpdateVMRequest) XXX_Size

func (m *UpdateVMRequest) XXX_Size() int

func (*UpdateVMRequest) XXX_Unmarshal

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

type VLAN

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

A VLAN in the database.

func (*VLAN) Descriptor

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

func (*VLAN) GetAlias

func (m *VLAN) GetAlias() string

func (*VLAN) GetCidrBlock

func (m *VLAN) GetCidrBlock() string

func (*VLAN) GetDescription

func (m *VLAN) GetDescription() string

func (*VLAN) GetId

func (m *VLAN) GetId() int64

func (*VLAN) GetState

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

func (*VLAN) ProtoMessage

func (*VLAN) ProtoMessage()

func (*VLAN) Reset

func (m *VLAN) Reset()

func (*VLAN) String

func (m *VLAN) String() string

func (*VLAN) XXX_DiscardUnknown

func (m *VLAN) XXX_DiscardUnknown()

func (*VLAN) XXX_Marshal

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

func (*VLAN) XXX_Merge

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

func (*VLAN) XXX_Size

func (m *VLAN) XXX_Size() int

func (*VLAN) XXX_Unmarshal

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

type VM

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

A VM in the database.

func (*VM) Descriptor

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

func (*VM) GetDeploymentTicket

func (m *VM) GetDeploymentTicket() string

func (*VM) GetDescription

func (m *VM) GetDescription() string

func (*VM) GetHost

func (m *VM) GetHost() string

func (*VM) GetHostVlan

func (m *VM) GetHostVlan() int64

func (*VM) GetIpv4

func (m *VM) GetIpv4() string

func (*VM) GetName

func (m *VM) GetName() string

func (*VM) GetOs

func (m *VM) GetOs() string

func (*VM) GetState

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

func (*VM) GetVlan

func (m *VM) GetVlan() int64

func (*VM) ProtoMessage

func (*VM) ProtoMessage()

func (*VM) Reset

func (m *VM) Reset()

func (*VM) String

func (m *VM) String() string

func (*VM) XXX_DiscardUnknown

func (m *VM) XXX_DiscardUnknown()

func (*VM) XXX_Marshal

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

func (*VM) XXX_Merge

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

func (*VM) XXX_Size

func (m *VM) XXX_Size() int

func (*VM) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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