Documentation

Overview

    Package ufspb contains the fleet service API.

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var (
    	NilEntity                     string = "Invalid input - No Entity to add/update."
    	EmptyID                       string = "Invalid input - Entity ID is empty."
    	EmptyName                     string = "Invalid input - Entity Name is empty."
    	InvalidMac                    string = "invalid mac address"
    	ValidName                     string = "Name must match the regular expression `^[a-zA-Z0-9-)(_:.]{3,63}$`"
    	HostnamePattern               string = "Name must match the regular expression `^[a-zA-Z0-9-.]{1,63}$`"
    	InvalidCharacters             string = fmt.Sprintf("%s%s", "Invalid input - ", ValidName)
    	InvalidHostname               string = fmt.Sprintf("%s%s", "Invalid input - ", HostnamePattern)
    	InvalidTags                   string = "Invalid input - Tags must not include '='."
    	InvalidPageSize               string = "Invalid input - PageSize should be non-negative."
    	AssetNameFormat               string = "Invalid input - Entity Name pattern should be assets/{asset}."
    	MachineNameFormat             string = "Invalid input - Entity Name pattern should be machines/{machine}."
    	RackNameFormat                string = "Invalid input - Entity Name pattern should be racks/{rack}."
    	ChromePlatformNameFormat      string = "Invalid input - Entity Name pattern should be chromeplatforms/{chromeplatform}."
    	CachingServiceNameFormat      string = "Invalid input - Entity Name pattern should be cachingservices/{ipv4}."
    	MachineLSENameFormat          string = "Invalid input - Entity Name pattern should be machineLSEs/{machineLSE}."
    	VMNameFormat                  string = "Invalid input - Entity Name pattern should be vms/{vm}."
    	RackLSENameFormat             string = "Invalid input - Entity Name pattern should be rackLSEs/{rackLSE}."
    	NicNameFormat                 string = "Invalid input - Entity Name pattern should be nics/{nic}."
    	KVMNameFormat                 string = "Invalid input - Entity Name pattern should be kvms/{kvm}."
    	RPMNameFormat                 string = "Invalid input - Entity Name pattern should be rpms/{rpm}."
    	DracNameFormat                string = "Invalid input - Entity Name pattern should be dracs/{drac}."
    	SwitchNameFormat              string = "Invalid input - Entity Name pattern should be switches/{switch}."
    	VlanNameFormat                string = "Invalid input - Entity Name pattern should be vlans/{vlan}."
    	MachineLSEPrototypeNameFormat string = "Invalid input - Entity Name pattern should be machineLSEPrototypes/{machineLSEPrototype}."
    	RackLSEPrototypeNameFormat    string = "Invalid input - Entity Name pattern should be rackLSEPrototypes/{rackLSEPrototype}."
    	ResourceFormat                string = "" /* 136-byte string literal not displayed */
    	EmptyMachineName              string = "Invalid input - Machine name cannot be empty."
    	EmptyHostName                 string = "Invalid input - Host name cannot be empty."
    	EmptyRackName                 string = "Invalid input - Rack name cannot be empty."
    	FilterFormat                  string = "Filter format Egs:\n" + "'machine=mac-1'\n" + "'machine=mac-1,mac-2'\n" + "'machine=mac-1 & nic=nic-1'\n" + "'machine=mac-1 & nic=nic-1 & kvm=kvm-1,kvm-2'"
    	InvalidFilterFormat           string = fmt.Sprintf("%s%s", "Invalid input - ", FilterFormat)
    	IPV4Format                    string = "Invalid input - %s pattern should be an ipv4 address"
    )

      Error messages for input validation

      View Source
      var File_infra_unifiedfleet_api_v1_rpc_fleet_proto protoreflect.FileDescriptor
      View Source
      var FilterRegex = regexp.MustCompile(`^([a-z]*\=[a-zA-Z0-9-)(_:.\/]*)(\,[a-zA-Z0-9-)(_:.\/]*)*(\&([a-z]*\=[a-zA-Z0-9-)(_:.\/]*)(\,[a-zA-Z0-9-)(_:.\/]*)*)*$`)

        FilterRegex is the regex for filter string for all List requests

        resource1=resourcename1 resource1=resourcename1,resourcename2 resource1=resourcename1 & resource2=resourcename21 resource1=resourcename1,resourcename2 & resource2=resourcename21,resourcename22 resource1=resourcename1 & resource2=resourcename21 & resource3=resourcename31 machine=mac-1 machine=mac-1,mac-2 machine=mac-1 & nic=nic-1 machine=mac-1 & nic=nic-1 & kvm=kvm-1,kvm-2

        View Source
        var HostnameRegex = regexp.MustCompile(`^[a-zA-Z0-9-.]{1,63}$`)

          HostnameRegex regular expression for checking hostname for host/vm

          View Source
          var IDRegex = regexp.MustCompile(`^[a-zA-Z0-9-)(_:.]{3,63}$`)

            IDRegex regular expression for checking resource Name/ID

            View Source
            var Ipv4Regex = regexp.MustCompile(`^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$`)

              Ipv4Regex matches an ipv4 address

              Functions

              func FileDescriptorSet

              func FileDescriptorSet() *descriptorpb.FileDescriptorSet

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

                Will not return nil.

                Do NOT modify the returned descriptor.

                func ParseResources

                func ParseResources(args interface{}, k string) []string

                  ParseResources parse a list of resources and returns a string slice by key

                  func RegisterFleetServer

                  func RegisterFleetServer(s prpc.Registrar, srv FleetServer)

                  func ValidateFilter

                  func ValidateFilter(filter string) error

                    ValidateFilter validates if the filter fomrat is correct

                    func ValidateMachineDBSource

                    func ValidateMachineDBSource(machinedb *MachineDBSource) error

                      ValidateMachineDBSource validates the MachineDBSource

                      func ValidateResourceKey

                      func ValidateResourceKey(resources interface{}, k string) error

                        ValidateResourceKey validates a key of a resource

                        TODO(xixuan): add validation for all imported data

                        Types

                        type BatchGetChromePlatformsRequest

                        type BatchGetChromePlatformsRequest struct {
                        
                        	// The parent resource shared by all chrome platforms being retrieved.
                        	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                        	// The names of the chrome platforms to retrieve.
                        	// Format: chromeplatforms/{name}
                        	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                        	// contains filtered or unexported fields
                        }

                        func (*BatchGetChromePlatformsRequest) Descriptor

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

                          Deprecated: Use BatchGetChromePlatformsRequest.ProtoReflect.Descriptor instead.

                          func (*BatchGetChromePlatformsRequest) GetNames

                          func (x *BatchGetChromePlatformsRequest) GetNames() []string

                          func (*BatchGetChromePlatformsRequest) GetParent

                          func (x *BatchGetChromePlatformsRequest) GetParent() string

                          func (*BatchGetChromePlatformsRequest) ProtoMessage

                          func (*BatchGetChromePlatformsRequest) ProtoMessage()

                          func (*BatchGetChromePlatformsRequest) ProtoReflect

                          func (*BatchGetChromePlatformsRequest) Reset

                          func (x *BatchGetChromePlatformsRequest) Reset()

                          func (*BatchGetChromePlatformsRequest) String

                          type BatchGetChromePlatformsResponse

                          type BatchGetChromePlatformsResponse struct {
                          
                          	// The chrome platforms from datastore.
                          	ChromePlatforms []*models.ChromePlatform `protobuf:"bytes,1,rep,name=chrome_platforms,json=chromePlatforms,proto3" json:"chrome_platforms,omitempty"`
                          	// contains filtered or unexported fields
                          }

                          func (*BatchGetChromePlatformsResponse) Descriptor

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

                            Deprecated: Use BatchGetChromePlatformsResponse.ProtoReflect.Descriptor instead.

                            func (*BatchGetChromePlatformsResponse) GetChromePlatforms

                            func (x *BatchGetChromePlatformsResponse) GetChromePlatforms() []*models.ChromePlatform

                            func (*BatchGetChromePlatformsResponse) ProtoMessage

                            func (*BatchGetChromePlatformsResponse) ProtoMessage()

                            func (*BatchGetChromePlatformsResponse) ProtoReflect

                            func (*BatchGetChromePlatformsResponse) Reset

                            func (*BatchGetChromePlatformsResponse) String

                            type BatchGetDHCPConfigsRequest

                            type BatchGetDHCPConfigsRequest struct {
                            
                            	// The parent resource shared by all dhcp configs being retrieved.
                            	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                            	// The hostnames of the dhcp configs to retrieve.
                            	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                            	// contains filtered or unexported fields
                            }

                            func (*BatchGetDHCPConfigsRequest) Descriptor

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

                              Deprecated: Use BatchGetDHCPConfigsRequest.ProtoReflect.Descriptor instead.

                              func (*BatchGetDHCPConfigsRequest) GetNames

                              func (x *BatchGetDHCPConfigsRequest) GetNames() []string

                              func (*BatchGetDHCPConfigsRequest) GetParent

                              func (x *BatchGetDHCPConfigsRequest) GetParent() string

                              func (*BatchGetDHCPConfigsRequest) ProtoMessage

                              func (*BatchGetDHCPConfigsRequest) ProtoMessage()

                              func (*BatchGetDHCPConfigsRequest) ProtoReflect

                              func (*BatchGetDHCPConfigsRequest) Reset

                              func (x *BatchGetDHCPConfigsRequest) Reset()

                              func (*BatchGetDHCPConfigsRequest) String

                              func (x *BatchGetDHCPConfigsRequest) String() string

                              type BatchGetDHCPConfigsResponse

                              type BatchGetDHCPConfigsResponse struct {
                              
                              	// The KVMs from datastore.
                              	DhcpConfigs []*models.DHCPConfig `protobuf:"bytes,1,rep,name=dhcp_configs,json=dhcpConfigs,proto3" json:"dhcp_configs,omitempty"`
                              	// contains filtered or unexported fields
                              }

                              func (*BatchGetDHCPConfigsResponse) Descriptor

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

                                Deprecated: Use BatchGetDHCPConfigsResponse.ProtoReflect.Descriptor instead.

                                func (*BatchGetDHCPConfigsResponse) GetDhcpConfigs

                                func (x *BatchGetDHCPConfigsResponse) GetDhcpConfigs() []*models.DHCPConfig

                                func (*BatchGetDHCPConfigsResponse) ProtoMessage

                                func (*BatchGetDHCPConfigsResponse) ProtoMessage()

                                func (*BatchGetDHCPConfigsResponse) ProtoReflect

                                func (*BatchGetDHCPConfigsResponse) Reset

                                func (x *BatchGetDHCPConfigsResponse) Reset()

                                func (*BatchGetDHCPConfigsResponse) String

                                func (x *BatchGetDHCPConfigsResponse) String() string

                                type BatchGetDracsRequest

                                type BatchGetDracsRequest struct {
                                
                                	// The parent resource shared by all dracs being retrieved.
                                	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                	// The names of the dracs to retrieve.
                                	// Format: dracs/{name}
                                	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                	// contains filtered or unexported fields
                                }

                                func (*BatchGetDracsRequest) Descriptor

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

                                  Deprecated: Use BatchGetDracsRequest.ProtoReflect.Descriptor instead.

                                  func (*BatchGetDracsRequest) GetNames

                                  func (x *BatchGetDracsRequest) GetNames() []string

                                  func (*BatchGetDracsRequest) GetParent

                                  func (x *BatchGetDracsRequest) GetParent() string

                                  func (*BatchGetDracsRequest) ProtoMessage

                                  func (*BatchGetDracsRequest) ProtoMessage()

                                  func (*BatchGetDracsRequest) ProtoReflect

                                  func (x *BatchGetDracsRequest) ProtoReflect() protoreflect.Message

                                  func (*BatchGetDracsRequest) Reset

                                  func (x *BatchGetDracsRequest) Reset()

                                  func (*BatchGetDracsRequest) String

                                  func (x *BatchGetDracsRequest) String() string

                                  type BatchGetDracsResponse

                                  type BatchGetDracsResponse struct {
                                  
                                  	// The dracs from datastore.
                                  	Dracs []*models.Drac `protobuf:"bytes,1,rep,name=dracs,proto3" json:"dracs,omitempty"`
                                  	// contains filtered or unexported fields
                                  }

                                  func (*BatchGetDracsResponse) Descriptor

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

                                    Deprecated: Use BatchGetDracsResponse.ProtoReflect.Descriptor instead.

                                    func (*BatchGetDracsResponse) GetDracs

                                    func (x *BatchGetDracsResponse) GetDracs() []*models.Drac

                                    func (*BatchGetDracsResponse) ProtoMessage

                                    func (*BatchGetDracsResponse) ProtoMessage()

                                    func (*BatchGetDracsResponse) ProtoReflect

                                    func (x *BatchGetDracsResponse) ProtoReflect() protoreflect.Message

                                    func (*BatchGetDracsResponse) Reset

                                    func (x *BatchGetDracsResponse) Reset()

                                    func (*BatchGetDracsResponse) String

                                    func (x *BatchGetDracsResponse) String() string

                                    type BatchGetKVMsRequest

                                    type BatchGetKVMsRequest struct {
                                    
                                    	// The parent resource shared by all kvms being retrieved.
                                    	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                    	// The names of the kvms to retrieve.
                                    	// Format: kvms/{kvm}
                                    	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                    	// contains filtered or unexported fields
                                    }

                                    func (*BatchGetKVMsRequest) Descriptor

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

                                      Deprecated: Use BatchGetKVMsRequest.ProtoReflect.Descriptor instead.

                                      func (*BatchGetKVMsRequest) GetNames

                                      func (x *BatchGetKVMsRequest) GetNames() []string

                                      func (*BatchGetKVMsRequest) GetParent

                                      func (x *BatchGetKVMsRequest) GetParent() string

                                      func (*BatchGetKVMsRequest) ProtoMessage

                                      func (*BatchGetKVMsRequest) ProtoMessage()

                                      func (*BatchGetKVMsRequest) ProtoReflect

                                      func (x *BatchGetKVMsRequest) ProtoReflect() protoreflect.Message

                                      func (*BatchGetKVMsRequest) Reset

                                      func (x *BatchGetKVMsRequest) Reset()

                                      func (*BatchGetKVMsRequest) String

                                      func (x *BatchGetKVMsRequest) String() string

                                      type BatchGetKVMsResponse

                                      type BatchGetKVMsResponse struct {
                                      
                                      	// The KVMs from datastore.
                                      	KVMs []*models.KVM `protobuf:"bytes,1,rep,name=KVMs,proto3" json:"KVMs,omitempty"`
                                      	// contains filtered or unexported fields
                                      }

                                      func (*BatchGetKVMsResponse) Descriptor

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

                                        Deprecated: Use BatchGetKVMsResponse.ProtoReflect.Descriptor instead.

                                        func (*BatchGetKVMsResponse) GetKVMs

                                        func (x *BatchGetKVMsResponse) GetKVMs() []*models.KVM

                                        func (*BatchGetKVMsResponse) ProtoMessage

                                        func (*BatchGetKVMsResponse) ProtoMessage()

                                        func (*BatchGetKVMsResponse) ProtoReflect

                                        func (x *BatchGetKVMsResponse) ProtoReflect() protoreflect.Message

                                        func (*BatchGetKVMsResponse) Reset

                                        func (x *BatchGetKVMsResponse) Reset()

                                        func (*BatchGetKVMsResponse) String

                                        func (x *BatchGetKVMsResponse) String() string

                                        type BatchGetMachineLSEPrototypesRequest

                                        type BatchGetMachineLSEPrototypesRequest struct {
                                        
                                        	// The parent resource shared by all machine lse prototypes being retrieved.
                                        	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                        	// The names of the machine lse prototypes to retrieve.
                                        	// Format: machineLSEPrototypes/{name}
                                        	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                        	// contains filtered or unexported fields
                                        }

                                        func (*BatchGetMachineLSEPrototypesRequest) Descriptor

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

                                          Deprecated: Use BatchGetMachineLSEPrototypesRequest.ProtoReflect.Descriptor instead.

                                          func (*BatchGetMachineLSEPrototypesRequest) GetNames

                                          func (*BatchGetMachineLSEPrototypesRequest) GetParent

                                          func (*BatchGetMachineLSEPrototypesRequest) ProtoMessage

                                          func (*BatchGetMachineLSEPrototypesRequest) ProtoMessage()

                                          func (*BatchGetMachineLSEPrototypesRequest) ProtoReflect

                                          func (*BatchGetMachineLSEPrototypesRequest) Reset

                                          func (*BatchGetMachineLSEPrototypesRequest) String

                                          type BatchGetMachineLSEPrototypesResponse

                                          type BatchGetMachineLSEPrototypesResponse struct {
                                          
                                          	// The machine lse prototypes from datastore.
                                          	MachineLsePrototypes []*models.MachineLSEPrototype `protobuf:"bytes,1,rep,name=machine_lse_prototypes,json=machineLsePrototypes,proto3" json:"machine_lse_prototypes,omitempty"`
                                          	// contains filtered or unexported fields
                                          }

                                          func (*BatchGetMachineLSEPrototypesResponse) Descriptor

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

                                            Deprecated: Use BatchGetMachineLSEPrototypesResponse.ProtoReflect.Descriptor instead.

                                            func (*BatchGetMachineLSEPrototypesResponse) GetMachineLsePrototypes

                                            func (x *BatchGetMachineLSEPrototypesResponse) GetMachineLsePrototypes() []*models.MachineLSEPrototype

                                            func (*BatchGetMachineLSEPrototypesResponse) ProtoMessage

                                            func (*BatchGetMachineLSEPrototypesResponse) ProtoMessage()

                                            func (*BatchGetMachineLSEPrototypesResponse) ProtoReflect

                                            func (*BatchGetMachineLSEPrototypesResponse) Reset

                                            func (*BatchGetMachineLSEPrototypesResponse) String

                                            type BatchGetMachineLSEsRequest

                                            type BatchGetMachineLSEsRequest struct {
                                            
                                            	// The parent resource shared by all machine lses being retrieved.
                                            	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                            	// The names of the machine lses to retrieve.
                                            	// Format: machinelses/{name}
                                            	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                            	// contains filtered or unexported fields
                                            }

                                            func (*BatchGetMachineLSEsRequest) Descriptor

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

                                              Deprecated: Use BatchGetMachineLSEsRequest.ProtoReflect.Descriptor instead.

                                              func (*BatchGetMachineLSEsRequest) GetNames

                                              func (x *BatchGetMachineLSEsRequest) GetNames() []string

                                              func (*BatchGetMachineLSEsRequest) GetParent

                                              func (x *BatchGetMachineLSEsRequest) GetParent() string

                                              func (*BatchGetMachineLSEsRequest) ProtoMessage

                                              func (*BatchGetMachineLSEsRequest) ProtoMessage()

                                              func (*BatchGetMachineLSEsRequest) ProtoReflect

                                              func (*BatchGetMachineLSEsRequest) Reset

                                              func (x *BatchGetMachineLSEsRequest) Reset()

                                              func (*BatchGetMachineLSEsRequest) String

                                              func (x *BatchGetMachineLSEsRequest) String() string

                                              type BatchGetMachineLSEsResponse

                                              type BatchGetMachineLSEsResponse struct {
                                              
                                              	// The Machine lses from datastore.
                                              	MachineLses []*models.MachineLSE `protobuf:"bytes,1,rep,name=machine_lses,json=machineLses,proto3" json:"machine_lses,omitempty"`
                                              	// contains filtered or unexported fields
                                              }

                                              func (*BatchGetMachineLSEsResponse) Descriptor

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

                                                Deprecated: Use BatchGetMachineLSEsResponse.ProtoReflect.Descriptor instead.

                                                func (*BatchGetMachineLSEsResponse) GetMachineLses

                                                func (x *BatchGetMachineLSEsResponse) GetMachineLses() []*models.MachineLSE

                                                func (*BatchGetMachineLSEsResponse) ProtoMessage

                                                func (*BatchGetMachineLSEsResponse) ProtoMessage()

                                                func (*BatchGetMachineLSEsResponse) ProtoReflect

                                                func (*BatchGetMachineLSEsResponse) Reset

                                                func (x *BatchGetMachineLSEsResponse) Reset()

                                                func (*BatchGetMachineLSEsResponse) String

                                                func (x *BatchGetMachineLSEsResponse) String() string

                                                type BatchGetMachinesRequest

                                                type BatchGetMachinesRequest struct {
                                                
                                                	// The parent resource shared by all machines being retrieved.
                                                	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                                	// The names of the machines to retrieve.
                                                	// Format: machines/{name}
                                                	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                                	// contains filtered or unexported fields
                                                }

                                                func (*BatchGetMachinesRequest) Descriptor

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

                                                  Deprecated: Use BatchGetMachinesRequest.ProtoReflect.Descriptor instead.

                                                  func (*BatchGetMachinesRequest) GetNames

                                                  func (x *BatchGetMachinesRequest) GetNames() []string

                                                  func (*BatchGetMachinesRequest) GetParent

                                                  func (x *BatchGetMachinesRequest) GetParent() string

                                                  func (*BatchGetMachinesRequest) ProtoMessage

                                                  func (*BatchGetMachinesRequest) ProtoMessage()

                                                  func (*BatchGetMachinesRequest) ProtoReflect

                                                  func (x *BatchGetMachinesRequest) ProtoReflect() protoreflect.Message

                                                  func (*BatchGetMachinesRequest) Reset

                                                  func (x *BatchGetMachinesRequest) Reset()

                                                  func (*BatchGetMachinesRequest) String

                                                  func (x *BatchGetMachinesRequest) String() string

                                                  type BatchGetMachinesResponse

                                                  type BatchGetMachinesResponse struct {
                                                  
                                                  	// The machines from datastore.
                                                  	Machines []*models.Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
                                                  	// contains filtered or unexported fields
                                                  }

                                                  func (*BatchGetMachinesResponse) Descriptor

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

                                                    Deprecated: Use BatchGetMachinesResponse.ProtoReflect.Descriptor instead.

                                                    func (*BatchGetMachinesResponse) GetMachines

                                                    func (x *BatchGetMachinesResponse) GetMachines() []*models.Machine

                                                    func (*BatchGetMachinesResponse) ProtoMessage

                                                    func (*BatchGetMachinesResponse) ProtoMessage()

                                                    func (*BatchGetMachinesResponse) ProtoReflect

                                                    func (x *BatchGetMachinesResponse) ProtoReflect() protoreflect.Message

                                                    func (*BatchGetMachinesResponse) Reset

                                                    func (x *BatchGetMachinesResponse) Reset()

                                                    func (*BatchGetMachinesResponse) String

                                                    func (x *BatchGetMachinesResponse) String() string

                                                    type BatchGetNicsRequest

                                                    type BatchGetNicsRequest struct {
                                                    
                                                    	// The parent resource shared by all nics being retrieved.
                                                    	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                                    	// The names of the nics to retrieve.
                                                    	// Format: nics/{name}
                                                    	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                                    	// contains filtered or unexported fields
                                                    }

                                                    func (*BatchGetNicsRequest) Descriptor

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

                                                      Deprecated: Use BatchGetNicsRequest.ProtoReflect.Descriptor instead.

                                                      func (*BatchGetNicsRequest) GetNames

                                                      func (x *BatchGetNicsRequest) GetNames() []string

                                                      func (*BatchGetNicsRequest) GetParent

                                                      func (x *BatchGetNicsRequest) GetParent() string

                                                      func (*BatchGetNicsRequest) ProtoMessage

                                                      func (*BatchGetNicsRequest) ProtoMessage()

                                                      func (*BatchGetNicsRequest) ProtoReflect

                                                      func (x *BatchGetNicsRequest) ProtoReflect() protoreflect.Message

                                                      func (*BatchGetNicsRequest) Reset

                                                      func (x *BatchGetNicsRequest) Reset()

                                                      func (*BatchGetNicsRequest) String

                                                      func (x *BatchGetNicsRequest) String() string

                                                      type BatchGetNicsResponse

                                                      type BatchGetNicsResponse struct {
                                                      
                                                      	// The nics from datastore.
                                                      	Nics []*models.Nic `protobuf:"bytes,1,rep,name=nics,proto3" json:"nics,omitempty"`
                                                      	// contains filtered or unexported fields
                                                      }

                                                      func (*BatchGetNicsResponse) Descriptor

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

                                                        Deprecated: Use BatchGetNicsResponse.ProtoReflect.Descriptor instead.

                                                        func (*BatchGetNicsResponse) GetNics

                                                        func (x *BatchGetNicsResponse) GetNics() []*models.Nic

                                                        func (*BatchGetNicsResponse) ProtoMessage

                                                        func (*BatchGetNicsResponse) ProtoMessage()

                                                        func (*BatchGetNicsResponse) ProtoReflect

                                                        func (x *BatchGetNicsResponse) ProtoReflect() protoreflect.Message

                                                        func (*BatchGetNicsResponse) Reset

                                                        func (x *BatchGetNicsResponse) Reset()

                                                        func (*BatchGetNicsResponse) String

                                                        func (x *BatchGetNicsResponse) String() string

                                                        type BatchGetRPMsRequest

                                                        type BatchGetRPMsRequest struct {
                                                        
                                                        	// The parent resource shared by all rpms being retrieved.
                                                        	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                                        	// The names of the rpms to retrieve.
                                                        	// Format: rpms/{name}
                                                        	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                                        	// contains filtered or unexported fields
                                                        }

                                                        func (*BatchGetRPMsRequest) Descriptor

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

                                                          Deprecated: Use BatchGetRPMsRequest.ProtoReflect.Descriptor instead.

                                                          func (*BatchGetRPMsRequest) GetNames

                                                          func (x *BatchGetRPMsRequest) GetNames() []string

                                                          func (*BatchGetRPMsRequest) GetParent

                                                          func (x *BatchGetRPMsRequest) GetParent() string

                                                          func (*BatchGetRPMsRequest) ProtoMessage

                                                          func (*BatchGetRPMsRequest) ProtoMessage()

                                                          func (*BatchGetRPMsRequest) ProtoReflect

                                                          func (x *BatchGetRPMsRequest) ProtoReflect() protoreflect.Message

                                                          func (*BatchGetRPMsRequest) Reset

                                                          func (x *BatchGetRPMsRequest) Reset()

                                                          func (*BatchGetRPMsRequest) String

                                                          func (x *BatchGetRPMsRequest) String() string

                                                          type BatchGetRPMsResponse

                                                          type BatchGetRPMsResponse struct {
                                                          
                                                          	// The rpms from datastore.
                                                          	Rpms []*models.RPM `protobuf:"bytes,1,rep,name=rpms,proto3" json:"rpms,omitempty"`
                                                          	// contains filtered or unexported fields
                                                          }

                                                          func (*BatchGetRPMsResponse) Descriptor

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

                                                            Deprecated: Use BatchGetRPMsResponse.ProtoReflect.Descriptor instead.

                                                            func (*BatchGetRPMsResponse) GetRpms

                                                            func (x *BatchGetRPMsResponse) GetRpms() []*models.RPM

                                                            func (*BatchGetRPMsResponse) ProtoMessage

                                                            func (*BatchGetRPMsResponse) ProtoMessage()

                                                            func (*BatchGetRPMsResponse) ProtoReflect

                                                            func (x *BatchGetRPMsResponse) ProtoReflect() protoreflect.Message

                                                            func (*BatchGetRPMsResponse) Reset

                                                            func (x *BatchGetRPMsResponse) Reset()

                                                            func (*BatchGetRPMsResponse) String

                                                            func (x *BatchGetRPMsResponse) String() string

                                                            type BatchGetRackLSEPrototypesRequest

                                                            type BatchGetRackLSEPrototypesRequest struct {
                                                            
                                                            	// The parent resource shared by all rack lse prototypes being retrieved.
                                                            	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                                            	// The names of the rack lse prototypes to retrieve.
                                                            	// Format: rackLSEPrototypes/{name}
                                                            	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                                            	// contains filtered or unexported fields
                                                            }

                                                            func (*BatchGetRackLSEPrototypesRequest) Descriptor

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

                                                              Deprecated: Use BatchGetRackLSEPrototypesRequest.ProtoReflect.Descriptor instead.

                                                              func (*BatchGetRackLSEPrototypesRequest) GetNames

                                                              func (x *BatchGetRackLSEPrototypesRequest) GetNames() []string

                                                              func (*BatchGetRackLSEPrototypesRequest) GetParent

                                                              func (*BatchGetRackLSEPrototypesRequest) ProtoMessage

                                                              func (*BatchGetRackLSEPrototypesRequest) ProtoMessage()

                                                              func (*BatchGetRackLSEPrototypesRequest) ProtoReflect

                                                              func (*BatchGetRackLSEPrototypesRequest) Reset

                                                              func (*BatchGetRackLSEPrototypesRequest) String

                                                              type BatchGetRackLSEPrototypesResponse

                                                              type BatchGetRackLSEPrototypesResponse struct {
                                                              
                                                              	// The rack lse prototypes from datastore.
                                                              	RackLsePrototypes []*models.RackLSEPrototype `protobuf:"bytes,1,rep,name=rack_lse_prototypes,json=rackLsePrototypes,proto3" json:"rack_lse_prototypes,omitempty"`
                                                              	// contains filtered or unexported fields
                                                              }

                                                              func (*BatchGetRackLSEPrototypesResponse) Descriptor

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

                                                                Deprecated: Use BatchGetRackLSEPrototypesResponse.ProtoReflect.Descriptor instead.

                                                                func (*BatchGetRackLSEPrototypesResponse) GetRackLsePrototypes

                                                                func (x *BatchGetRackLSEPrototypesResponse) GetRackLsePrototypes() []*models.RackLSEPrototype

                                                                func (*BatchGetRackLSEPrototypesResponse) ProtoMessage

                                                                func (*BatchGetRackLSEPrototypesResponse) ProtoMessage()

                                                                func (*BatchGetRackLSEPrototypesResponse) ProtoReflect

                                                                func (*BatchGetRackLSEPrototypesResponse) Reset

                                                                func (*BatchGetRackLSEPrototypesResponse) String

                                                                type BatchGetRacksRequest

                                                                type BatchGetRacksRequest struct {
                                                                
                                                                	// The parent resource shared by all racks being retrieved.
                                                                	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
                                                                	// The names of the racks to retrieve.
                                                                	// Format: racks/{name}
                                                                	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
                                                                	// contains filtered or unexported fields
                                                                }

                                                                func (*BatchGetRacksRequest) Descriptor

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

                                                                  Deprecated: Use BatchGetRacksRequest.ProtoReflect.Descriptor instead.

                                                                  func (*BatchGetRacksRequest) GetNames

                                                                  func (x *BatchGetRacksRequest) GetNames() []string

                                                                  func (*BatchGetRacksRequest) GetParent

                                                                  func (x *BatchGetRacksRequest) GetParent() string

                                                                  func (*BatchGetRacksRequest) ProtoMessage

                                                                  func (*BatchGetRacksRequest) ProtoMessage()

                                                                  func (*BatchGetRacksRequest) ProtoReflect