registrypb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_registry_registrypb_device_registry_proto protoreflect.FileDescriptor

Functions

func RegisterDevicesServer

func RegisterDevicesServer(s *grpc.Server, srv DevicesServer)

Types

type Certificate

type Certificate struct {
	PemData              string `protobuf:"bytes,1,opt,name=pem_data,json=pemData,proto3" json:"pem_data,omitempty"`
	Algorithm            string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
	Fingerprint          []byte `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	FingerprintAlgorithm string `protobuf:"bytes,4,opt,name=fingerprintAlgorithm,proto3" json:"fingerprintAlgorithm,omitempty"`
	// contains filtered or unexported fields
}

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetAlgorithm

func (x *Certificate) GetAlgorithm() string

func (*Certificate) GetFingerprint

func (x *Certificate) GetFingerprint() []byte

func (*Certificate) GetFingerprintAlgorithm

func (x *Certificate) GetFingerprintAlgorithm() string

func (*Certificate) GetPemData

func (x *Certificate) GetPemData() string

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect added in v0.1.5

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type CreateRequest

type CreateRequest struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

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

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetDevice

func (x *CreateRequest) GetDevice() *Device

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect added in v0.1.5

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

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

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

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetDevice

func (x *CreateResponse) GetDevice() *Device

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect added in v0.1.5

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

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DeleteRequest

type DeleteRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetId

func (x *DeleteRequest) GetId() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect added in v0.1.5

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect added in v0.1.5

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type Device

type Device struct {
	Id          string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enabled     *wrappers.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Certificate *Certificate        `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"`
	Tags        []string            `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	Namespace   string              `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Device) Descriptor deprecated

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

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetCertificate

func (x *Device) GetCertificate() *Certificate

func (*Device) GetEnabled

func (x *Device) GetEnabled() *wrappers.BoolValue

func (*Device) GetId

func (x *Device) GetId() string

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetNamespace

func (x *Device) GetNamespace() string

func (*Device) GetTags

func (x *Device) GetTags() []string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect added in v0.1.5

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DevicesClient

DevicesClient is the client API for Devices service.

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

func NewDevicesClient

func NewDevicesClient(cc grpc.ClientConnInterface) DevicesClient

type GetByFingerprintRequest

type GetByFingerprintRequest struct {
	Fingerprint []byte `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByFingerprintRequest) Descriptor deprecated

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

Deprecated: Use GetByFingerprintRequest.ProtoReflect.Descriptor instead.

func (*GetByFingerprintRequest) GetFingerprint

func (x *GetByFingerprintRequest) GetFingerprint() []byte

func (*GetByFingerprintRequest) ProtoMessage

func (*GetByFingerprintRequest) ProtoMessage()

func (*GetByFingerprintRequest) ProtoReflect added in v0.1.5

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

func (*GetByFingerprintRequest) Reset

func (x *GetByFingerprintRequest) Reset()

func (*GetByFingerprintRequest) String

func (x *GetByFingerprintRequest) String() string

type GetByFingerprintResponse

type GetByFingerprintResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*GetByFingerprintResponse) Descriptor deprecated

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

Deprecated: Use GetByFingerprintResponse.ProtoReflect.Descriptor instead.

func (*GetByFingerprintResponse) GetDevices

func (x *GetByFingerprintResponse) GetDevices() []*Device

func (*GetByFingerprintResponse) ProtoMessage

func (*GetByFingerprintResponse) ProtoMessage()

func (*GetByFingerprintResponse) ProtoReflect added in v0.1.5

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

func (*GetByFingerprintResponse) Reset

func (x *GetByFingerprintResponse) Reset()

func (*GetByFingerprintResponse) String

func (x *GetByFingerprintResponse) String() string

type GetDeviceStatusRequest added in v1.0.0

type GetDeviceStatusRequest struct {
	Deviceid string `protobuf:"bytes,1,opt,name=deviceid,proto3" json:"deviceid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceStatusRequest) Descriptor deprecated added in v1.0.0

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

Deprecated: Use GetDeviceStatusRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceStatusRequest) GetDeviceid added in v1.0.0

func (x *GetDeviceStatusRequest) GetDeviceid() string

func (*GetDeviceStatusRequest) ProtoMessage added in v1.0.0

func (*GetDeviceStatusRequest) ProtoMessage()

func (*GetDeviceStatusRequest) ProtoReflect added in v1.0.0

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

func (*GetDeviceStatusRequest) Reset added in v1.0.0

func (x *GetDeviceStatusRequest) Reset()

func (*GetDeviceStatusRequest) String added in v1.0.0

func (x *GetDeviceStatusRequest) String() string

type GetDeviceStatusResponse added in v1.0.0

type GetDeviceStatusResponse struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDeviceStatusResponse) Descriptor deprecated added in v1.0.0

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

Deprecated: Use GetDeviceStatusResponse.ProtoReflect.Descriptor instead.

func (*GetDeviceStatusResponse) GetStatus added in v1.0.0

func (x *GetDeviceStatusResponse) GetStatus() bool

func (*GetDeviceStatusResponse) ProtoMessage added in v1.0.0

func (*GetDeviceStatusResponse) ProtoMessage()

func (*GetDeviceStatusResponse) ProtoReflect added in v1.0.0

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

func (*GetDeviceStatusResponse) Reset added in v1.0.0

func (x *GetDeviceStatusResponse) Reset()

func (*GetDeviceStatusResponse) String added in v1.0.0

func (x *GetDeviceStatusResponse) String() string

type GetRequest

type GetRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetId

func (x *GetRequest) GetId() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v0.1.5

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetDevice

func (x *GetResponse) GetDevice() *Device

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect added in v0.1.5

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type ListDevicesRequest

type ListDevicesRequest struct {
	Namespaceid string `protobuf:"bytes,1,opt,name=namespaceid,proto3" json:"namespaceid,omitempty"`
	Account     string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDevicesRequest) Descriptor deprecated

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

Deprecated: Use ListDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListDevicesRequest) GetAccount

func (x *ListDevicesRequest) GetAccount() string

func (*ListDevicesRequest) GetNamespaceid added in v1.0.0

func (x *ListDevicesRequest) GetNamespaceid() string

func (*ListDevicesRequest) ProtoMessage

func (*ListDevicesRequest) ProtoMessage()

func (*ListDevicesRequest) ProtoReflect added in v0.1.5

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

func (*ListDevicesRequest) Reset

func (x *ListDevicesRequest) Reset()

func (*ListDevicesRequest) String

func (x *ListDevicesRequest) String() string

type ListResponse

type ListResponse struct {
	Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

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

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetDevices

func (x *ListResponse) GetDevices() []*Device

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect added in v0.1.5

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

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type OwnershipRequestDevices added in v1.0.0

type OwnershipRequestDevices struct {
	Ownerid  string `protobuf:"bytes,1,opt,name=ownerid,proto3" json:"ownerid,omitempty"`
	Deviceid string `protobuf:"bytes,2,opt,name=deviceid,proto3" json:"deviceid,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnershipRequestDevices) Descriptor deprecated added in v1.0.0

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

Deprecated: Use OwnershipRequestDevices.ProtoReflect.Descriptor instead.

func (*OwnershipRequestDevices) GetDeviceid added in v1.0.0

func (x *OwnershipRequestDevices) GetDeviceid() string

func (*OwnershipRequestDevices) GetOwnerid added in v1.0.0

func (x *OwnershipRequestDevices) GetOwnerid() string

func (*OwnershipRequestDevices) ProtoMessage added in v1.0.0

func (*OwnershipRequestDevices) ProtoMessage()

func (*OwnershipRequestDevices) ProtoReflect added in v1.0.0

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

func (*OwnershipRequestDevices) Reset added in v1.0.0

func (x *OwnershipRequestDevices) Reset()

func (*OwnershipRequestDevices) String added in v1.0.0

func (x *OwnershipRequestDevices) String() string

type OwnershipResponseDevices added in v1.0.0

type OwnershipResponseDevices struct {
	// contains filtered or unexported fields
}

func (*OwnershipResponseDevices) Descriptor deprecated added in v1.0.0

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

Deprecated: Use OwnershipResponseDevices.ProtoReflect.Descriptor instead.

func (*OwnershipResponseDevices) ProtoMessage added in v1.0.0

func (*OwnershipResponseDevices) ProtoMessage()

func (*OwnershipResponseDevices) ProtoReflect added in v1.0.0

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

func (*OwnershipResponseDevices) Reset added in v1.0.0

func (x *OwnershipResponseDevices) Reset()

func (*OwnershipResponseDevices) String added in v1.0.0

func (x *OwnershipResponseDevices) String() string

type UnimplementedDevicesServer added in v0.1.5

type UnimplementedDevicesServer struct {
}

UnimplementedDevicesServer can be embedded to have forward compatible implementations.

func (*UnimplementedDevicesServer) AssignOwnerDevices added in v1.0.0

func (*UnimplementedDevicesServer) Create added in v0.1.5

func (*UnimplementedDevicesServer) Delete added in v0.1.5

func (*UnimplementedDevicesServer) Get added in v0.1.5

func (*UnimplementedDevicesServer) GetByFingerprint added in v0.1.5

func (*UnimplementedDevicesServer) GetDeviceStatus added in v1.0.0

func (*UnimplementedDevicesServer) List added in v0.1.5

func (*UnimplementedDevicesServer) RemoveOwnerDevices added in v1.0.0

func (*UnimplementedDevicesServer) Update added in v0.1.5

type UpdateRequest

type UpdateRequest struct {
	FieldMask *field_mask.FieldMask `protobuf:"bytes,1,opt,name=fieldMask,proto3" json:"fieldMask,omitempty"`
	Device    *Device               `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetDevice

func (x *UpdateRequest) GetDevice() *Device

func (*UpdateRequest) GetFieldMask

func (x *UpdateRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect added in v0.1.5

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect added in v0.1.5

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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