ghostcloudv1

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName  = "/liftedinit.ghostcloud.v1.Query/Params"
	Query_Metas_FullMethodName   = "/liftedinit.ghostcloud.v1.Query/Metas"
	Query_Content_FullMethodName = "/liftedinit.ghostcloud.v1.Query/Content"
)
View Source
const (
	Msg_CreateDeployment_FullMethodName = "/liftedinit.ghostcloud.v1.Msg/CreateDeployment"
	Msg_UpdateDeployment_FullMethodName = "/liftedinit.ghostcloud.v1.Msg/UpdateDeployment"
	Msg_RemoveDeployment_FullMethodName = "/liftedinit.ghostcloud.v1.Msg/RemoveDeployment"
)

Variables

View Source
var (
	ArchiveType_name = map[int32]string{
		0: "Zip",
	}
	ArchiveType_value = map[string]int32{
		"Zip": 0,
	}
)

Enum value maps for ArchiveType.

View Source
var (
	Filter_Operator_name = map[int32]string{
		0: "EQUAL",
		1: "NOT_EQUAL",
		2: "GREATER_THAN",
		3: "LESS_THAN",
		4: "GREATER_THAN_OR_EQUAL",
		5: "LESS_THAN_OR_EQUAL",
		6: "CONTAINS",
		7: "NOT_CONTAINS",
	}
	Filter_Operator_value = map[string]int32{
		"EQUAL":                 0,
		"NOT_EQUAL":             1,
		"GREATER_THAN":          2,
		"LESS_THAN":             3,
		"GREATER_THAN_OR_EQUAL": 4,
		"LESS_THAN_OR_EQUAL":    5,
		"CONTAINS":              6,
		"NOT_CONTAINS":          7,
	}
)

Enum value maps for Filter_Operator.

View Source
var (
	Filter_Field_name = map[int32]string{
		0: "CREATOR",
	}
	Filter_Field_value = map[string]int32{
		"CREATOR": 0,
	}
)

Enum value maps for Filter_Field.

View Source
var File_liftedinit_ghostcloud_v1_archive_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_dataset_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_filter_by_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_meta_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_params_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_payload_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_query_proto protoreflect.FileDescriptor
View Source
var File_liftedinit_ghostcloud_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "liftedinit.ghostcloud.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateDeployment",
			Handler:    _Msg_CreateDeployment_Handler,
		},
		{
			MethodName: "UpdateDeployment",
			Handler:    _Msg_UpdateDeployment_Handler,
		},
		{
			MethodName: "RemoveDeployment",
			Handler:    _Msg_RemoveDeployment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "liftedinit/ghostcloud/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg 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 Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "liftedinit.ghostcloud.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "Metas",
			Handler:    _Query_Metas_Handler,
		},
		{
			MethodName: "Content",
			Handler:    _Query_Content_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "liftedinit/ghostcloud/v1/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Archive

type Archive struct {
	ArchiveType ArchiveType ``                                                                    /* 137-byte string literal not displayed */
	Content     []byte      `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // This can be large
	// contains filtered or unexported fields
}

func (*Archive) Descriptor deprecated

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

Deprecated: Use Archive.ProtoReflect.Descriptor instead.

func (*Archive) GetArchiveType

func (x *Archive) GetArchiveType() ArchiveType

func (*Archive) GetContent

func (x *Archive) GetContent() []byte

func (*Archive) ProtoMessage

func (*Archive) ProtoMessage()

func (*Archive) ProtoReflect

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

func (*Archive) Reset

func (x *Archive) Reset()

func (*Archive) String

func (x *Archive) String() string

type ArchiveType

type ArchiveType int32
const (
	ArchiveType_Zip ArchiveType = 0
)

func (ArchiveType) Descriptor

func (ArchiveType) Enum

func (x ArchiveType) Enum() *ArchiveType

func (ArchiveType) EnumDescriptor deprecated

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

Deprecated: Use ArchiveType.Descriptor instead.

func (ArchiveType) Number

func (x ArchiveType) Number() protoreflect.EnumNumber

func (ArchiveType) String

func (x ArchiveType) String() string

func (ArchiveType) Type

type Dataset

type Dataset struct {
	Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Dataset) Descriptor deprecated

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

Deprecated: Use Dataset.ProtoReflect.Descriptor instead.

func (*Dataset) GetItems

func (x *Dataset) GetItems() []*Item

func (*Dataset) ProtoMessage

func (*Dataset) ProtoMessage()

func (*Dataset) ProtoReflect

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

func (*Dataset) Reset

func (x *Dataset) Reset()

func (*Dataset) String

func (x *Dataset) String() string

type Deployment

type Deployment struct {
	Meta    *Meta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Dataset *Dataset `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// contains filtered or unexported fields
}

func (*Deployment) Descriptor deprecated

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

Deprecated: Use Deployment.ProtoReflect.Descriptor instead.

func (*Deployment) GetDataset

func (x *Deployment) GetDataset() *Dataset

func (*Deployment) GetMeta

func (x *Deployment) GetMeta() *Meta

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

type Filter

type Filter struct {
	Field    Filter_Field    `protobuf:"varint,1,opt,name=field,proto3,enum=liftedinit.ghostcloud.v1.Filter_Field" json:"field,omitempty"`
	Operator Filter_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=liftedinit.ghostcloud.v1.Filter_Operator" json:"operator,omitempty"`
	Value    string          `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetField

func (x *Filter) GetField() Filter_Field

func (*Filter) GetOperator

func (x *Filter) GetOperator() Filter_Operator

func (*Filter) GetValue

func (x *Filter) GetValue() string

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type Filter_Field

type Filter_Field int32
const (
	Filter_CREATOR Filter_Field = 0
)

func (Filter_Field) Descriptor

func (Filter_Field) Enum

func (x Filter_Field) Enum() *Filter_Field

func (Filter_Field) EnumDescriptor deprecated

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

Deprecated: Use Filter_Field.Descriptor instead.

func (Filter_Field) Number

func (Filter_Field) String

func (x Filter_Field) String() string

func (Filter_Field) Type

type Filter_Operator

type Filter_Operator int32
const (
	Filter_EQUAL                 Filter_Operator = 0
	Filter_NOT_EQUAL             Filter_Operator = 1
	Filter_GREATER_THAN          Filter_Operator = 2
	Filter_LESS_THAN             Filter_Operator = 3
	Filter_GREATER_THAN_OR_EQUAL Filter_Operator = 4
	Filter_LESS_THAN_OR_EQUAL    Filter_Operator = 5
	Filter_CONTAINS              Filter_Operator = 6
	Filter_NOT_CONTAINS          Filter_Operator = 7
)

func (Filter_Operator) Descriptor

func (Filter_Operator) Enum

func (x Filter_Operator) Enum() *Filter_Operator

func (Filter_Operator) EnumDescriptor deprecated

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

Deprecated: Use Filter_Operator.Descriptor instead.

func (Filter_Operator) Number

func (Filter_Operator) String

func (x Filter_Operator) String() string

func (Filter_Operator) Type

type GenesisState

type GenesisState struct {
	Params      *Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	Deployments []*Deployment `protobuf:"bytes,2,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the ghostcloud module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetDeployments

func (x *GenesisState) GetDeployments() []*Deployment

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type Item

type Item struct {
	Meta    *ItemMeta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Content *ItemContent `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetContent

func (x *Item) GetContent() *ItemContent

func (*Item) GetMeta

func (x *Item) GetMeta() *ItemMeta

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type ItemContent

type ItemContent struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // This can be large
	// contains filtered or unexported fields
}

func (*ItemContent) Descriptor deprecated

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

Deprecated: Use ItemContent.ProtoReflect.Descriptor instead.

func (*ItemContent) GetContent

func (x *ItemContent) GetContent() []byte

func (*ItemContent) ProtoMessage

func (*ItemContent) ProtoMessage()

func (*ItemContent) ProtoReflect

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

func (*ItemContent) Reset

func (x *ItemContent) Reset()

func (*ItemContent) String

func (x *ItemContent) String() string

type ItemMeta

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

func (*ItemMeta) Descriptor deprecated

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

Deprecated: Use ItemMeta.ProtoReflect.Descriptor instead.

func (*ItemMeta) GetPath

func (x *ItemMeta) GetPath() string

func (*ItemMeta) ProtoMessage

func (*ItemMeta) ProtoMessage()

func (*ItemMeta) ProtoReflect

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

func (*ItemMeta) Reset

func (x *ItemMeta) Reset()

func (*ItemMeta) String

func (x *ItemMeta) String() string

type Meta

type Meta struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Domain      string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetCreator

func (x *Meta) GetCreator() string

func (*Meta) GetDescription

func (x *Meta) GetDescription() string

func (*Meta) GetDomain

func (x *Meta) GetDomain() string

func (*Meta) GetName

func (x *Meta) GetName() string

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type MsgClient

MsgClient is the client API for Msg 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.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCreateDeploymentRequest

type MsgCreateDeploymentRequest struct {
	Meta    *Meta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Payload *Payload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCreateDeploymentRequest) Descriptor deprecated

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

Deprecated: Use MsgCreateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*MsgCreateDeploymentRequest) GetMeta

func (x *MsgCreateDeploymentRequest) GetMeta() *Meta

func (*MsgCreateDeploymentRequest) GetPayload

func (x *MsgCreateDeploymentRequest) GetPayload() *Payload

func (*MsgCreateDeploymentRequest) ProtoMessage

func (*MsgCreateDeploymentRequest) ProtoMessage()

func (*MsgCreateDeploymentRequest) ProtoReflect

func (*MsgCreateDeploymentRequest) Reset

func (x *MsgCreateDeploymentRequest) Reset()

func (*MsgCreateDeploymentRequest) String

func (x *MsgCreateDeploymentRequest) String() string

type MsgCreateDeploymentResponse

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

func (*MsgCreateDeploymentResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateDeploymentResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateDeploymentResponse) ProtoMessage

func (*MsgCreateDeploymentResponse) ProtoMessage()

func (*MsgCreateDeploymentResponse) ProtoReflect

func (*MsgCreateDeploymentResponse) Reset

func (x *MsgCreateDeploymentResponse) Reset()

func (*MsgCreateDeploymentResponse) String

func (x *MsgCreateDeploymentResponse) String() string

type MsgRemoveDeploymentRequest

type MsgRemoveDeploymentRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgRemoveDeploymentRequest) Descriptor deprecated

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

Deprecated: Use MsgRemoveDeploymentRequest.ProtoReflect.Descriptor instead.

func (*MsgRemoveDeploymentRequest) GetCreator

func (x *MsgRemoveDeploymentRequest) GetCreator() string

func (*MsgRemoveDeploymentRequest) GetName

func (x *MsgRemoveDeploymentRequest) GetName() string

func (*MsgRemoveDeploymentRequest) ProtoMessage

func (*MsgRemoveDeploymentRequest) ProtoMessage()

func (*MsgRemoveDeploymentRequest) ProtoReflect

func (*MsgRemoveDeploymentRequest) Reset

func (x *MsgRemoveDeploymentRequest) Reset()

func (*MsgRemoveDeploymentRequest) String

func (x *MsgRemoveDeploymentRequest) String() string

type MsgRemoveDeploymentResponse

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

func (*MsgRemoveDeploymentResponse) Descriptor deprecated

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

Deprecated: Use MsgRemoveDeploymentResponse.ProtoReflect.Descriptor instead.

func (*MsgRemoveDeploymentResponse) ProtoMessage

func (*MsgRemoveDeploymentResponse) ProtoMessage()

func (*MsgRemoveDeploymentResponse) ProtoReflect

func (*MsgRemoveDeploymentResponse) Reset

func (x *MsgRemoveDeploymentResponse) Reset()

func (*MsgRemoveDeploymentResponse) String

func (x *MsgRemoveDeploymentResponse) String() string

type MsgServer

type MsgServer interface {
	CreateDeployment(context.Context, *MsgCreateDeploymentRequest) (*MsgCreateDeploymentResponse, error)
	UpdateDeployment(context.Context, *MsgUpdateDeploymentRequest) (*MsgUpdateDeploymentResponse, error)
	RemoveDeployment(context.Context, *MsgRemoveDeploymentRequest) (*MsgRemoveDeploymentResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateDeploymentRequest

type MsgUpdateDeploymentRequest struct {
	Meta    *Meta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Payload *Payload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateDeploymentRequest) Descriptor deprecated

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

Deprecated: Use MsgUpdateDeploymentRequest.ProtoReflect.Descriptor instead.

func (*MsgUpdateDeploymentRequest) GetMeta

func (x *MsgUpdateDeploymentRequest) GetMeta() *Meta

func (*MsgUpdateDeploymentRequest) GetPayload

func (x *MsgUpdateDeploymentRequest) GetPayload() *Payload

func (*MsgUpdateDeploymentRequest) ProtoMessage

func (*MsgUpdateDeploymentRequest) ProtoMessage()

func (*MsgUpdateDeploymentRequest) ProtoReflect

func (*MsgUpdateDeploymentRequest) Reset

func (x *MsgUpdateDeploymentRequest) Reset()

func (*MsgUpdateDeploymentRequest) String

func (x *MsgUpdateDeploymentRequest) String() string

type MsgUpdateDeploymentResponse

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

func (*MsgUpdateDeploymentResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateDeploymentResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateDeploymentResponse) ProtoMessage

func (*MsgUpdateDeploymentResponse) ProtoMessage()

func (*MsgUpdateDeploymentResponse) ProtoReflect

func (*MsgUpdateDeploymentResponse) Reset

func (x *MsgUpdateDeploymentResponse) Reset()

func (*MsgUpdateDeploymentResponse) String

func (x *MsgUpdateDeploymentResponse) String() string

type Params

type Params struct {
	MaxPayloadSize      int64  `protobuf:"varint,1,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"`
	MaxNameSize         int64  `protobuf:"varint,2,opt,name=max_name_size,json=maxNameSize,proto3" json:"max_name_size,omitempty"`
	MaxDescriptionSize  int64  `protobuf:"varint,3,opt,name=max_description_size,json=maxDescriptionSize,proto3" json:"max_description_size,omitempty"`
	MaxUncompressedSize uint64 `protobuf:"varint,4,opt,name=max_uncompressed_size,json=maxUncompressedSize,proto3" json:"max_uncompressed_size,omitempty"`
	// contains filtered or unexported fields
}

Params defines the parameters for the module.

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetMaxDescriptionSize

func (x *Params) GetMaxDescriptionSize() int64

func (*Params) GetMaxNameSize

func (x *Params) GetMaxNameSize() int64

func (*Params) GetMaxPayloadSize

func (x *Params) GetMaxPayloadSize() int64

func (*Params) GetMaxUncompressedSize

func (x *Params) GetMaxUncompressedSize() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type Payload

type Payload struct {

	// Types that are assignable to PayloadOption:
	//
	//	*Payload_Dataset
	//	*Payload_Archive
	PayloadOption isPayload_PayloadOption `protobuf_oneof:"payload_option"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetArchive

func (x *Payload) GetArchive() *Archive

func (*Payload) GetDataset

func (x *Payload) GetDataset() *Dataset

func (*Payload) GetPayloadOption

func (x *Payload) GetPayloadOption() isPayload_PayloadOption

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

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

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type Payload_Archive

type Payload_Archive struct {
	Archive *Archive `protobuf:"bytes,2,opt,name=archive,proto3,oneof"`
}

type Payload_Dataset

type Payload_Dataset struct {
	Dataset *Dataset `protobuf:"bytes,1,opt,name=dataset,proto3,oneof"`
}

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	Metas(ctx context.Context, in *QueryMetasRequest, opts ...grpc.CallOption) (*QueryMetasResponse, error)
	Content(ctx context.Context, in *QueryContentRequest, opts ...grpc.CallOption) (*QueryContentResponse, error)
}

QueryClient is the client API for Query 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.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryContentRequest

type QueryContentRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Path    string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryContentRequest) Descriptor deprecated

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

Deprecated: Use QueryContentRequest.ProtoReflect.Descriptor instead.

func (*QueryContentRequest) GetCreator

func (x *QueryContentRequest) GetCreator() string

func (*QueryContentRequest) GetName

func (x *QueryContentRequest) GetName() string

func (*QueryContentRequest) GetPath

func (x *QueryContentRequest) GetPath() string

func (*QueryContentRequest) ProtoMessage

func (*QueryContentRequest) ProtoMessage()

func (*QueryContentRequest) ProtoReflect

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

func (*QueryContentRequest) Reset

func (x *QueryContentRequest) Reset()

func (*QueryContentRequest) String

func (x *QueryContentRequest) String() string

type QueryContentResponse

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

func (*QueryContentResponse) Descriptor deprecated

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

Deprecated: Use QueryContentResponse.ProtoReflect.Descriptor instead.

func (*QueryContentResponse) GetContent

func (x *QueryContentResponse) GetContent() []byte

func (*QueryContentResponse) ProtoMessage

func (*QueryContentResponse) ProtoMessage()

func (*QueryContentResponse) ProtoReflect

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

func (*QueryContentResponse) Reset

func (x *QueryContentResponse) Reset()

func (*QueryContentResponse) String

func (x *QueryContentResponse) String() string

type QueryMetasRequest

type QueryMetasRequest struct {
	Filters    []*Filter          `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMetasRequest) Descriptor deprecated

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

Deprecated: Use QueryMetasRequest.ProtoReflect.Descriptor instead.

func (*QueryMetasRequest) GetFilters

func (x *QueryMetasRequest) GetFilters() []*Filter

func (*QueryMetasRequest) GetPagination

func (x *QueryMetasRequest) GetPagination() *query.PageRequest

func (*QueryMetasRequest) ProtoMessage

func (*QueryMetasRequest) ProtoMessage()

func (*QueryMetasRequest) ProtoReflect

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

func (*QueryMetasRequest) Reset

func (x *QueryMetasRequest) Reset()

func (*QueryMetasRequest) String

func (x *QueryMetasRequest) String() string

type QueryMetasResponse

type QueryMetasResponse struct {
	Meta       []*Meta             `protobuf:"bytes,1,rep,name=meta,proto3" json:"meta,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryMetasResponse) Descriptor deprecated

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

Deprecated: Use QueryMetasResponse.ProtoReflect.Descriptor instead.

func (*QueryMetasResponse) GetMeta

func (x *QueryMetasResponse) GetMeta() []*Meta

func (*QueryMetasResponse) GetPagination

func (x *QueryMetasResponse) GetPagination() *query.PageResponse

func (*QueryMetasResponse) ProtoMessage

func (*QueryMetasResponse) ProtoMessage()

func (*QueryMetasResponse) ProtoReflect

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

func (*QueryMetasResponse) Reset

func (x *QueryMetasResponse) Reset()

func (*QueryMetasResponse) String

func (x *QueryMetasResponse) String() string

type QueryParamsRequest

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

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params holds all the parameters of this module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	Metas(context.Context, *QueryMetasRequest) (*QueryMetasResponse, error)
	Content(context.Context, *QueryContentRequest) (*QueryContentResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Content

func (UnimplementedQueryServer) Metas

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

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

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

type UnsafeQueryServer

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

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

Jump to

Keyboard shortcuts

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