rhyzome_protos

package
v0.0.0-...-8101143 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: AGPL-3.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LibvirtEventUpdate_Type_name = map[int32]string{
		0: "ASYNC",
		1: "STARTED",
		2: "UPDATE",
		3: "SUCCESS",
		4: "FAILED",
	}
	LibvirtEventUpdate_Type_value = map[string]int32{
		"ASYNC":   0,
		"STARTED": 1,
		"UPDATE":  2,
		"SUCCESS": 3,
		"FAILED":  4,
	}
)

Enum value maps for LibvirtEventUpdate_Type.

View Source
var (
	OpenwrtEventUpdate_Type_name = map[int32]string{
		0: "ASYNC",
		1: "STARTED",
		2: "UPDATE",
		3: "SUCCESS",
		4: "FAILED",
	}
	OpenwrtEventUpdate_Type_value = map[string]int32{
		"ASYNC":   0,
		"STARTED": 1,
		"UPDATE":  2,
		"SUCCESS": 3,
		"FAILED":  4,
	}
)

Enum value maps for OpenwrtEventUpdate_Type.

View Source
var File_rhyzome_protos_libvirt_proto protoreflect.FileDescriptor
View Source
var File_rhyzome_protos_openwrt_proto protoreflect.FileDescriptor
View Source
var RhyzomeLibvirt_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.RhyzomeLibvirt",
	HandlerType: (*RhyzomeLibvirtServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "InstanceStarted",
			Handler:    _RhyzomeLibvirt_InstanceStarted_Handler,
		},
		{
			MethodName: "InstanceStopped",
			Handler:    _RhyzomeLibvirt_InstanceStopped_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "EventStream",
			Handler:       _RhyzomeLibvirt_EventStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "rhyzome_protos/libvirt.proto",
}

RhyzomeLibvirt_ServiceDesc is the grpc.ServiceDesc for RhyzomeLibvirt service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RhyzomeOpenwrt_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protos.RhyzomeOpenwrt",
	HandlerType: (*RhyzomeOpenwrtServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "EventStream",
			Handler:       _RhyzomeOpenwrt_EventStream_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "rhyzome_protos/openwrt.proto",
}

RhyzomeOpenwrt_ServiceDesc is the grpc.ServiceDesc for RhyzomeOpenwrt service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRhyzomeLibvirtServer

func RegisterRhyzomeLibvirtServer(s grpc.ServiceRegistrar, srv RhyzomeLibvirtServer)

func RegisterRhyzomeOpenwrtServer

func RegisterRhyzomeOpenwrtServer(s grpc.ServiceRegistrar, srv RhyzomeOpenwrtServer)

Types

type CreateInstance

type CreateInstance struct {
	ResourceId        string              `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	UserData          []byte              `protobuf:"bytes,2,opt,name=user_data,json=userData,proto3" json:"user_data,omitempty"`
	RootVolume        *CreateVolume       `protobuf:"bytes,3,opt,name=root_volume,json=rootVolume,proto3" json:"root_volume,omitempty"`
	Memory            int32               `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Cores             int32               `protobuf:"varint,5,opt,name=cores,proto3" json:"cores,omitempty"`
	AdditionalVolumes []string            `protobuf:"bytes,6,rep,name=additional_volumes,json=additionalVolumes,proto3" json:"additional_volumes,omitempty"`
	NetworkInterfaces []*NetworkInterface `protobuf:"bytes,7,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateInstance) Descriptor deprecated

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

Deprecated: Use CreateInstance.ProtoReflect.Descriptor instead.

func (*CreateInstance) GetAdditionalVolumes

func (x *CreateInstance) GetAdditionalVolumes() []string

func (*CreateInstance) GetCores

func (x *CreateInstance) GetCores() int32

func (*CreateInstance) GetMemory

func (x *CreateInstance) GetMemory() int32

func (*CreateInstance) GetNetworkInterfaces

func (x *CreateInstance) GetNetworkInterfaces() []*NetworkInterface

func (*CreateInstance) GetResourceId

func (x *CreateInstance) GetResourceId() string

func (*CreateInstance) GetRootVolume

func (x *CreateInstance) GetRootVolume() *CreateVolume

func (*CreateInstance) GetUserData

func (x *CreateInstance) GetUserData() []byte

func (*CreateInstance) ProtoMessage

func (*CreateInstance) ProtoMessage()

func (*CreateInstance) ProtoReflect

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

func (*CreateInstance) Reset

func (x *CreateInstance) Reset()

func (*CreateInstance) String

func (x *CreateInstance) String() string

type CreateVolume

type CreateVolume struct {
	ResourceId  string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Size        int32  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	SourceImage string `protobuf:"bytes,3,opt,name=source_image,json=sourceImage,proto3" json:"source_image,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVolume) Descriptor deprecated

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

Deprecated: Use CreateVolume.ProtoReflect.Descriptor instead.

func (*CreateVolume) GetResourceId

func (x *CreateVolume) GetResourceId() string

func (*CreateVolume) GetSize

func (x *CreateVolume) GetSize() int32

func (*CreateVolume) GetSourceImage

func (x *CreateVolume) GetSourceImage() string

func (*CreateVolume) ProtoMessage

func (*CreateVolume) ProtoMessage()

func (*CreateVolume) ProtoReflect

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

func (*CreateVolume) Reset

func (x *CreateVolume) Reset()

func (*CreateVolume) String

func (x *CreateVolume) String() string

type DeleteInstance

type DeleteInstance struct {
	ResourceId   string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	RootVolumeId string `protobuf:"bytes,2,opt,name=root_volume_id,json=rootVolumeId,proto3" json:"root_volume_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteInstance) Descriptor deprecated

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

Deprecated: Use DeleteInstance.ProtoReflect.Descriptor instead.

func (*DeleteInstance) GetResourceId

func (x *DeleteInstance) GetResourceId() string

func (*DeleteInstance) GetRootVolumeId

func (x *DeleteInstance) GetRootVolumeId() string

func (*DeleteInstance) ProtoMessage

func (*DeleteInstance) ProtoMessage()

func (*DeleteInstance) ProtoReflect

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

func (*DeleteInstance) Reset

func (x *DeleteInstance) Reset()

func (*DeleteInstance) String

func (x *DeleteInstance) String() string

type DeleteVolume

type DeleteVolume struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVolume) Descriptor deprecated

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

Deprecated: Use DeleteVolume.ProtoReflect.Descriptor instead.

func (*DeleteVolume) GetResourceId

func (x *DeleteVolume) GetResourceId() string

func (*DeleteVolume) ProtoMessage

func (*DeleteVolume) ProtoMessage()

func (*DeleteVolume) ProtoReflect

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

func (*DeleteVolume) Reset

func (x *DeleteVolume) Reset()

func (*DeleteVolume) String

func (x *DeleteVolume) String() string

type InstanceStartedRequest

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

func (*InstanceStartedRequest) Descriptor deprecated

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

Deprecated: Use InstanceStartedRequest.ProtoReflect.Descriptor instead.

func (*InstanceStartedRequest) GetId

func (x *InstanceStartedRequest) GetId() string

func (*InstanceStartedRequest) ProtoMessage

func (*InstanceStartedRequest) ProtoMessage()

func (*InstanceStartedRequest) ProtoReflect

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

func (*InstanceStartedRequest) Reset

func (x *InstanceStartedRequest) Reset()

func (*InstanceStartedRequest) String

func (x *InstanceStartedRequest) String() string

type InstanceStartedResponse

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

func (*InstanceStartedResponse) Descriptor deprecated

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

Deprecated: Use InstanceStartedResponse.ProtoReflect.Descriptor instead.

func (*InstanceStartedResponse) ProtoMessage

func (*InstanceStartedResponse) ProtoMessage()

func (*InstanceStartedResponse) ProtoReflect

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

func (*InstanceStartedResponse) Reset

func (x *InstanceStartedResponse) Reset()

func (*InstanceStartedResponse) String

func (x *InstanceStartedResponse) String() string

type InstanceStoppedRequest

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

func (*InstanceStoppedRequest) Descriptor deprecated

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

Deprecated: Use InstanceStoppedRequest.ProtoReflect.Descriptor instead.

func (*InstanceStoppedRequest) GetId

func (x *InstanceStoppedRequest) GetId() string

func (*InstanceStoppedRequest) ProtoMessage

func (*InstanceStoppedRequest) ProtoMessage()

func (*InstanceStoppedRequest) ProtoReflect

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

func (*InstanceStoppedRequest) Reset

func (x *InstanceStoppedRequest) Reset()

func (*InstanceStoppedRequest) String

func (x *InstanceStoppedRequest) String() string

type InstanceStoppedResponse

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

func (*InstanceStoppedResponse) Descriptor deprecated

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

Deprecated: Use InstanceStoppedResponse.ProtoReflect.Descriptor instead.

func (*InstanceStoppedResponse) ProtoMessage

func (*InstanceStoppedResponse) ProtoMessage()

func (*InstanceStoppedResponse) ProtoReflect

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

func (*InstanceStoppedResponse) Reset

func (x *InstanceStoppedResponse) Reset()

func (*InstanceStoppedResponse) String

func (x *InstanceStoppedResponse) String() string

type LibvirtEvent

type LibvirtEvent struct {
	EventId                string            `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	CreateInstance         *CreateInstance   `protobuf:"bytes,2,opt,name=create_instance,json=createInstance,proto3" json:"create_instance,omitempty"`
	DeleteInstance         *DeleteInstance   `protobuf:"bytes,3,opt,name=delete_instance,json=deleteInstance,proto3" json:"delete_instance,omitempty"`
	StartInstance          *StartInstance    `protobuf:"bytes,4,opt,name=start_instance,json=startInstance,proto3" json:"start_instance,omitempty"`
	StopInstance           *StopInstance     `protobuf:"bytes,5,opt,name=stop_instance,json=stopInstance,proto3" json:"stop_instance,omitempty"`
	CreateVolume           *CreateVolume     `protobuf:"bytes,6,opt,name=create_volume,json=createVolume,proto3" json:"create_volume,omitempty"`
	DeleteVolume           *DeleteVolume     `protobuf:"bytes,7,opt,name=delete_volume,json=deleteVolume,proto3" json:"delete_volume,omitempty"`
	AttachVolume           *VolumeAttachment `protobuf:"bytes,8,opt,name=attach_volume,json=attachVolume,proto3" json:"attach_volume,omitempty"`
	DetachVolume           *VolumeAttachment `protobuf:"bytes,9,opt,name=detach_volume,json=detachVolume,proto3" json:"detach_volume,omitempty"`
	AttachNetworkInterface *NetworkInterface `` /* 130-byte string literal not displayed */
	DetachNetworkInterface *NetworkInterface `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LibvirtEvent) Descriptor deprecated

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

Deprecated: Use LibvirtEvent.ProtoReflect.Descriptor instead.

func (*LibvirtEvent) GetAttachNetworkInterface

func (x *LibvirtEvent) GetAttachNetworkInterface() *NetworkInterface

func (*LibvirtEvent) GetAttachVolume

func (x *LibvirtEvent) GetAttachVolume() *VolumeAttachment

func (*LibvirtEvent) GetCreateInstance

func (x *LibvirtEvent) GetCreateInstance() *CreateInstance

func (*LibvirtEvent) GetCreateVolume

func (x *LibvirtEvent) GetCreateVolume() *CreateVolume

func (*LibvirtEvent) GetDeleteInstance

func (x *LibvirtEvent) GetDeleteInstance() *DeleteInstance

func (*LibvirtEvent) GetDeleteVolume

func (x *LibvirtEvent) GetDeleteVolume() *DeleteVolume

func (*LibvirtEvent) GetDetachNetworkInterface

func (x *LibvirtEvent) GetDetachNetworkInterface() *NetworkInterface

func (*LibvirtEvent) GetDetachVolume

func (x *LibvirtEvent) GetDetachVolume() *VolumeAttachment

func (*LibvirtEvent) GetEventId

func (x *LibvirtEvent) GetEventId() string

func (*LibvirtEvent) GetStartInstance

func (x *LibvirtEvent) GetStartInstance() *StartInstance

func (*LibvirtEvent) GetStopInstance

func (x *LibvirtEvent) GetStopInstance() *StopInstance

func (*LibvirtEvent) ProtoMessage

func (*LibvirtEvent) ProtoMessage()

func (*LibvirtEvent) ProtoReflect

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

func (*LibvirtEvent) Reset

func (x *LibvirtEvent) Reset()

func (*LibvirtEvent) String

func (x *LibvirtEvent) String() string

type LibvirtEventUpdate

type LibvirtEventUpdate struct {
	EventId string                  `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	Type    LibvirtEventUpdate_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protos.LibvirtEventUpdate_Type" json:"type,omitempty"`
	Message string                  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*LibvirtEventUpdate) Descriptor deprecated

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

Deprecated: Use LibvirtEventUpdate.ProtoReflect.Descriptor instead.

func (*LibvirtEventUpdate) GetEventId

func (x *LibvirtEventUpdate) GetEventId() string

func (*LibvirtEventUpdate) GetMessage

func (x *LibvirtEventUpdate) GetMessage() string

func (*LibvirtEventUpdate) GetType

func (*LibvirtEventUpdate) ProtoMessage

func (*LibvirtEventUpdate) ProtoMessage()

func (*LibvirtEventUpdate) ProtoReflect

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

func (*LibvirtEventUpdate) Reset

func (x *LibvirtEventUpdate) Reset()

func (*LibvirtEventUpdate) String

func (x *LibvirtEventUpdate) String() string

type LibvirtEventUpdate_Type

type LibvirtEventUpdate_Type int32
const (
	LibvirtEventUpdate_ASYNC   LibvirtEventUpdate_Type = 0 // ASYNC type for async updates not triggered by a server-side event. Please help me think of a better name. Also currently unused
	LibvirtEventUpdate_STARTED LibvirtEventUpdate_Type = 1
	LibvirtEventUpdate_UPDATE  LibvirtEventUpdate_Type = 2
	LibvirtEventUpdate_SUCCESS LibvirtEventUpdate_Type = 3
	LibvirtEventUpdate_FAILED  LibvirtEventUpdate_Type = 4
)

func (LibvirtEventUpdate_Type) Descriptor

func (LibvirtEventUpdate_Type) Enum

func (LibvirtEventUpdate_Type) EnumDescriptor deprecated

func (LibvirtEventUpdate_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use LibvirtEventUpdate_Type.Descriptor instead.

func (LibvirtEventUpdate_Type) Number

func (LibvirtEventUpdate_Type) String

func (x LibvirtEventUpdate_Type) String() string

func (LibvirtEventUpdate_Type) Type

type Network

type Network struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	VlanId     int32  `protobuf:"varint,2,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
	Mac        string `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"`
	// contains filtered or unexported fields
}

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetMac

func (x *Network) GetMac() string

func (*Network) GetResourceId

func (x *Network) GetResourceId() string

func (*Network) GetVlanId

func (x *Network) GetVlanId() int32

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type NetworkDevice

type NetworkDevice struct {
	NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	Mac       string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	Ip        string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkDevice) Descriptor deprecated

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

Deprecated: Use NetworkDevice.ProtoReflect.Descriptor instead.

func (*NetworkDevice) GetIp

func (x *NetworkDevice) GetIp() string

func (*NetworkDevice) GetMac

func (x *NetworkDevice) GetMac() string

func (*NetworkDevice) GetNetworkId

func (x *NetworkDevice) GetNetworkId() string

func (*NetworkDevice) ProtoMessage

func (*NetworkDevice) ProtoMessage()

func (*NetworkDevice) ProtoReflect

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

func (*NetworkDevice) Reset

func (x *NetworkDevice) Reset()

func (*NetworkDevice) String

func (x *NetworkDevice) String() string

type NetworkInterface

type NetworkInterface struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Mac        string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	Vlan       int32  `protobuf:"varint,3,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Tagged     bool   `protobuf:"varint,4,opt,name=tagged,proto3" json:"tagged,omitempty"`
	Instance   string `protobuf:"bytes,5,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInterface) Descriptor deprecated

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

Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.

func (*NetworkInterface) GetInstance

func (x *NetworkInterface) GetInstance() string

func (*NetworkInterface) GetMac

func (x *NetworkInterface) GetMac() string

func (*NetworkInterface) GetResourceId

func (x *NetworkInterface) GetResourceId() string

func (*NetworkInterface) GetTagged

func (x *NetworkInterface) GetTagged() bool

func (*NetworkInterface) GetVlan

func (x *NetworkInterface) GetVlan() int32

func (*NetworkInterface) ProtoMessage

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) ProtoReflect

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

func (*NetworkInterface) Reset

func (x *NetworkInterface) Reset()

func (*NetworkInterface) String

func (x *NetworkInterface) String() string

type OpenwrtEvent

type OpenwrtEvent struct {
	EventId       string         `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	AllNetworks   []*Network     `protobuf:"bytes,2,rep,name=all_networks,json=allNetworks,proto3" json:"all_networks,omitempty"`
	CreateNetwork *Network       `protobuf:"bytes,3,opt,name=create_network,json=createNetwork,proto3" json:"create_network,omitempty"`
	DeleteNetwork *Network       `protobuf:"bytes,4,opt,name=delete_network,json=deleteNetwork,proto3" json:"delete_network,omitempty"`
	CreateDevice  *NetworkDevice `protobuf:"bytes,5,opt,name=create_device,json=createDevice,proto3" json:"create_device,omitempty"`
	DeleteDevice  *NetworkDevice `protobuf:"bytes,6,opt,name=delete_device,json=deleteDevice,proto3" json:"delete_device,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenwrtEvent) Descriptor deprecated

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

Deprecated: Use OpenwrtEvent.ProtoReflect.Descriptor instead.

func (*OpenwrtEvent) GetAllNetworks

func (x *OpenwrtEvent) GetAllNetworks() []*Network

func (*OpenwrtEvent) GetCreateDevice

func (x *OpenwrtEvent) GetCreateDevice() *NetworkDevice

func (*OpenwrtEvent) GetCreateNetwork

func (x *OpenwrtEvent) GetCreateNetwork() *Network

func (*OpenwrtEvent) GetDeleteDevice

func (x *OpenwrtEvent) GetDeleteDevice() *NetworkDevice

func (*OpenwrtEvent) GetDeleteNetwork

func (x *OpenwrtEvent) GetDeleteNetwork() *Network

func (*OpenwrtEvent) GetEventId

func (x *OpenwrtEvent) GetEventId() string

func (*OpenwrtEvent) ProtoMessage

func (*OpenwrtEvent) ProtoMessage()

func (*OpenwrtEvent) ProtoReflect

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

func (*OpenwrtEvent) Reset

func (x *OpenwrtEvent) Reset()

func (*OpenwrtEvent) String

func (x *OpenwrtEvent) String() string

type OpenwrtEventUpdate

type OpenwrtEventUpdate struct {
	EventId string                  `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	Type    OpenwrtEventUpdate_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protos.OpenwrtEventUpdate_Type" json:"type,omitempty"`
	Message string                  `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*OpenwrtEventUpdate) Descriptor deprecated

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

Deprecated: Use OpenwrtEventUpdate.ProtoReflect.Descriptor instead.

func (*OpenwrtEventUpdate) GetEventId

func (x *OpenwrtEventUpdate) GetEventId() string

func (*OpenwrtEventUpdate) GetMessage

func (x *OpenwrtEventUpdate) GetMessage() string

func (*OpenwrtEventUpdate) GetType

func (*OpenwrtEventUpdate) ProtoMessage

func (*OpenwrtEventUpdate) ProtoMessage()

func (*OpenwrtEventUpdate) ProtoReflect

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

func (*OpenwrtEventUpdate) Reset

func (x *OpenwrtEventUpdate) Reset()

func (*OpenwrtEventUpdate) String

func (x *OpenwrtEventUpdate) String() string

type OpenwrtEventUpdate_Type

type OpenwrtEventUpdate_Type int32
const (
	OpenwrtEventUpdate_ASYNC   OpenwrtEventUpdate_Type = 0 // ASYNC type for async updates not triggered by a server-side event. Please help me think of a better name. Also currently unused
	OpenwrtEventUpdate_STARTED OpenwrtEventUpdate_Type = 1
	OpenwrtEventUpdate_UPDATE  OpenwrtEventUpdate_Type = 2
	OpenwrtEventUpdate_SUCCESS OpenwrtEventUpdate_Type = 3
	OpenwrtEventUpdate_FAILED  OpenwrtEventUpdate_Type = 4
)

func (OpenwrtEventUpdate_Type) Descriptor

func (OpenwrtEventUpdate_Type) Enum

func (OpenwrtEventUpdate_Type) EnumDescriptor deprecated

func (OpenwrtEventUpdate_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpenwrtEventUpdate_Type.Descriptor instead.

func (OpenwrtEventUpdate_Type) Number

func (OpenwrtEventUpdate_Type) String

func (x OpenwrtEventUpdate_Type) String() string

func (OpenwrtEventUpdate_Type) Type

type RhyzomeLibvirtClient

type RhyzomeLibvirtClient interface {
	EventStream(ctx context.Context, opts ...grpc.CallOption) (RhyzomeLibvirt_EventStreamClient, error)
	InstanceStarted(ctx context.Context, in *InstanceStartedRequest, opts ...grpc.CallOption) (*InstanceStartedResponse, error)
	InstanceStopped(ctx context.Context, in *InstanceStoppedRequest, opts ...grpc.CallOption) (*InstanceStoppedResponse, error)
}

RhyzomeLibvirtClient is the client API for RhyzomeLibvirt service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RhyzomeLibvirtServer

type RhyzomeLibvirtServer interface {
	EventStream(RhyzomeLibvirt_EventStreamServer) error
	InstanceStarted(context.Context, *InstanceStartedRequest) (*InstanceStartedResponse, error)
	InstanceStopped(context.Context, *InstanceStoppedRequest) (*InstanceStoppedResponse, error)
	// contains filtered or unexported methods
}

RhyzomeLibvirtServer is the server API for RhyzomeLibvirt service. All implementations must embed UnimplementedRhyzomeLibvirtServer for forward compatibility

type RhyzomeLibvirt_EventStreamClient

type RhyzomeLibvirt_EventStreamClient interface {
	Send(*LibvirtEventUpdate) error
	Recv() (*LibvirtEvent, error)
	grpc.ClientStream
}

type RhyzomeLibvirt_EventStreamServer

type RhyzomeLibvirt_EventStreamServer interface {
	Send(*LibvirtEvent) error
	Recv() (*LibvirtEventUpdate, error)
	grpc.ServerStream
}

type RhyzomeOpenwrtClient

type RhyzomeOpenwrtClient interface {
	EventStream(ctx context.Context, opts ...grpc.CallOption) (RhyzomeOpenwrt_EventStreamClient, error)
}

RhyzomeOpenwrtClient is the client API for RhyzomeOpenwrt service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RhyzomeOpenwrtServer

type RhyzomeOpenwrtServer interface {
	EventStream(RhyzomeOpenwrt_EventStreamServer) error
	// contains filtered or unexported methods
}

RhyzomeOpenwrtServer is the server API for RhyzomeOpenwrt service. All implementations must embed UnimplementedRhyzomeOpenwrtServer for forward compatibility

type RhyzomeOpenwrt_EventStreamClient

type RhyzomeOpenwrt_EventStreamClient interface {
	Send(*OpenwrtEventUpdate) error
	Recv() (*OpenwrtEvent, error)
	grpc.ClientStream
}

type RhyzomeOpenwrt_EventStreamServer

type RhyzomeOpenwrt_EventStreamServer interface {
	Send(*OpenwrtEvent) error
	Recv() (*OpenwrtEventUpdate, error)
	grpc.ServerStream
}

type StartInstance

type StartInstance struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartInstance) Descriptor deprecated

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

Deprecated: Use StartInstance.ProtoReflect.Descriptor instead.

func (*StartInstance) GetResourceId

func (x *StartInstance) GetResourceId() string

func (*StartInstance) ProtoMessage

func (*StartInstance) ProtoMessage()

func (*StartInstance) ProtoReflect

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

func (*StartInstance) Reset

func (x *StartInstance) Reset()

func (*StartInstance) String

func (x *StartInstance) String() string

type StopInstance

type StopInstance struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopInstance) Descriptor deprecated

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

Deprecated: Use StopInstance.ProtoReflect.Descriptor instead.

func (*StopInstance) GetResourceId

func (x *StopInstance) GetResourceId() string

func (*StopInstance) ProtoMessage

func (*StopInstance) ProtoMessage()

func (*StopInstance) ProtoReflect

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

func (*StopInstance) Reset

func (x *StopInstance) Reset()

func (*StopInstance) String

func (x *StopInstance) String() string

type UnimplementedRhyzomeLibvirtServer

type UnimplementedRhyzomeLibvirtServer struct {
}

UnimplementedRhyzomeLibvirtServer must be embedded to have forward compatible implementations.

func (UnimplementedRhyzomeLibvirtServer) EventStream

func (UnimplementedRhyzomeLibvirtServer) InstanceStarted

func (UnimplementedRhyzomeLibvirtServer) InstanceStopped

type UnimplementedRhyzomeOpenwrtServer

type UnimplementedRhyzomeOpenwrtServer struct {
}

UnimplementedRhyzomeOpenwrtServer must be embedded to have forward compatible implementations.

func (UnimplementedRhyzomeOpenwrtServer) EventStream

type UnsafeRhyzomeLibvirtServer

type UnsafeRhyzomeLibvirtServer interface {
	// contains filtered or unexported methods
}

UnsafeRhyzomeLibvirtServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RhyzomeLibvirtServer will result in compilation errors.

type UnsafeRhyzomeOpenwrtServer

type UnsafeRhyzomeOpenwrtServer interface {
	// contains filtered or unexported methods
}

UnsafeRhyzomeOpenwrtServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RhyzomeOpenwrtServer will result in compilation errors.

type VolumeAttachment

type VolumeAttachment struct {
	VolumeId   string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeAttachment) Descriptor deprecated

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

Deprecated: Use VolumeAttachment.ProtoReflect.Descriptor instead.

func (*VolumeAttachment) GetInstanceId

func (x *VolumeAttachment) GetInstanceId() string

func (*VolumeAttachment) GetVolumeId

func (x *VolumeAttachment) GetVolumeId() string

func (*VolumeAttachment) ProtoMessage

func (*VolumeAttachment) ProtoMessage()

func (*VolumeAttachment) ProtoReflect

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

func (*VolumeAttachment) Reset

func (x *VolumeAttachment) Reset()

func (*VolumeAttachment) String

func (x *VolumeAttachment) String() string

Jump to

Keyboard shortcuts

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