content

package
v0.0.0-...-5dfe74e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentService_DescribeFragment_FullMethodName = "/eolymp.content.ContentService/DescribeFragment"
	ContentService_ListFragments_FullMethodName    = "/eolymp.content.ContentService/ListFragments"
	ContentService_CreateFragment_FullMethodName   = "/eolymp.content.ContentService/CreateFragment"
	ContentService_UpdateFragment_FullMethodName   = "/eolymp.content.ContentService/UpdateFragment"
	ContentService_DeleteFragment_FullMethodName   = "/eolymp.content.ContentService/DeleteFragment"
	ContentService_DescribeVariant_FullMethodName  = "/eolymp.content.ContentService/DescribeVariant"
	ContentService_ListVariants_FullMethodName     = "/eolymp.content.ContentService/ListVariants"
	ContentService_CreateVariant_FullMethodName    = "/eolymp.content.ContentService/CreateVariant"
	ContentService_UpdateVariant_FullMethodName    = "/eolymp.content.ContentService/UpdateVariant"
	ContentService_DeleteVariant_FullMethodName    = "/eolymp.content.ContentService/DeleteVariant"
	ContentService_DescribePath_FullMethodName     = "/eolymp.content.ContentService/DescribePath"
	ContentService_ListParents_FullMethodName      = "/eolymp.content.ContentService/ListParents"
)
View Source
const (
	RenderService_RenderContent_FullMethodName = "/eolymp.content.RenderService/RenderContent"
)

Variables

View Source
var (
	Fragment_Extra_name = map[int32]string{
		0: "NO_EXTRA",
		1: "CONTENT_RENDER",
		2: "CONTENT_VALUE",
	}
	Fragment_Extra_value = map[string]int32{
		"NO_EXTRA":       0,
		"CONTENT_RENDER": 1,
		"CONTENT_VALUE":  2,
	}
)

Enum value maps for Fragment_Extra.

View Source
var (
	Variant_Extra_name = map[int32]string{
		0: "NO_EXTRA",
		1: "CONTENT_RENDER",
		2: "CONTENT_VALUE",
	}
	Variant_Extra_value = map[string]int32{
		"NO_EXTRA":       0,
		"CONTENT_RENDER": 1,
		"CONTENT_VALUE":  2,
	}
)

Enum value maps for Variant_Extra.

View Source
var ContentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.content.ContentService",
	HandlerType: (*ContentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DescribeFragment",
			Handler:    _ContentService_DescribeFragment_Handler,
		},
		{
			MethodName: "ListFragments",
			Handler:    _ContentService_ListFragments_Handler,
		},
		{
			MethodName: "CreateFragment",
			Handler:    _ContentService_CreateFragment_Handler,
		},
		{
			MethodName: "UpdateFragment",
			Handler:    _ContentService_UpdateFragment_Handler,
		},
		{
			MethodName: "DeleteFragment",
			Handler:    _ContentService_DeleteFragment_Handler,
		},
		{
			MethodName: "DescribeVariant",
			Handler:    _ContentService_DescribeVariant_Handler,
		},
		{
			MethodName: "ListVariants",
			Handler:    _ContentService_ListVariants_Handler,
		},
		{
			MethodName: "CreateVariant",
			Handler:    _ContentService_CreateVariant_Handler,
		},
		{
			MethodName: "UpdateVariant",
			Handler:    _ContentService_UpdateVariant_Handler,
		},
		{
			MethodName: "DeleteVariant",
			Handler:    _ContentService_DeleteVariant_Handler,
		},
		{
			MethodName: "DescribePath",
			Handler:    _ContentService_DescribePath_Handler,
		},
		{
			MethodName: "ListParents",
			Handler:    _ContentService_ListParents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/content/content_service.proto",
}

ContentService_ServiceDesc is the grpc.ServiceDesc for ContentService 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 File_eolymp_content_content_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_content_events_proto protoreflect.FileDescriptor
View Source
var File_eolymp_content_fragment_proto protoreflect.FileDescriptor
View Source
var File_eolymp_content_render_service_proto protoreflect.FileDescriptor
View Source
var File_eolymp_content_variant_proto protoreflect.FileDescriptor
View Source
var RenderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eolymp.content.RenderService",
	HandlerType: (*RenderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RenderContent",
			Handler:    _RenderService_RenderContent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eolymp/content/render_service.proto",
}

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

Functions

func RegisterContentServiceHttpHandlers

func RegisterContentServiceHttpHandlers(router *mux.Router, prefix string, cli ContentServiceClient)

RegisterContentServiceHttpHandlers adds handlers for for ContentServiceClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterContentServiceServer

func RegisterContentServiceServer(s grpc.ServiceRegistrar, srv ContentServiceServer)

func RegisterRenderServiceHttpHandlers

func RegisterRenderServiceHttpHandlers(router *mux.Router, prefix string, cli RenderServiceClient)

RegisterRenderServiceHttpHandlers adds handlers for for RenderServiceClient This constructor creates http.Handler, the actual implementation might change at any moment

func RegisterRenderServiceServer

func RegisterRenderServiceServer(s grpc.ServiceRegistrar, srv RenderServiceServer)

Types

type ContentServiceClient

type ContentServiceClient interface {
	DescribeFragment(ctx context.Context, in *DescribeFragmentInput, opts ...grpc.CallOption) (*DescribeFragmentOutput, error)
	ListFragments(ctx context.Context, in *ListFragmentsInput, opts ...grpc.CallOption) (*ListFragmentsOutput, error)
	CreateFragment(ctx context.Context, in *CreateFragmentInput, opts ...grpc.CallOption) (*CreateFragmentOutput, error)
	UpdateFragment(ctx context.Context, in *UpdateFragmentInput, opts ...grpc.CallOption) (*UpdateFragmentOutput, error)
	DeleteFragment(ctx context.Context, in *DeleteFragmentInput, opts ...grpc.CallOption) (*DeleteFragmentOutput, error)
	DescribeVariant(ctx context.Context, in *DescribeVariantInput, opts ...grpc.CallOption) (*DescribeVariantOutput, error)
	ListVariants(ctx context.Context, in *ListVariantsInput, opts ...grpc.CallOption) (*ListVariantsOutput, error)
	CreateVariant(ctx context.Context, in *CreateVariantInput, opts ...grpc.CallOption) (*CreateVariantOutput, error)
	UpdateVariant(ctx context.Context, in *UpdateVariantInput, opts ...grpc.CallOption) (*UpdateVariantOutput, error)
	DeleteVariant(ctx context.Context, in *DeleteVariantInput, opts ...grpc.CallOption) (*DeleteVariantOutput, error)
	DescribePath(ctx context.Context, in *DescribePathInput, opts ...grpc.CallOption) (*DescribePathOutput, error)
	ListParents(ctx context.Context, in *ListParentsInput, opts ...grpc.CallOption) (*ListParentsOutput, error)
}

ContentServiceClient is the client API for ContentService 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 ContentServiceInterceptor

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

func NewContentServiceInterceptor

func NewContentServiceInterceptor(cli ContentServiceClient, middleware ..._ContentServiceMiddleware) *ContentServiceInterceptor

NewContentServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*ContentServiceInterceptor) CreateFragment

func (*ContentServiceInterceptor) CreateVariant

func (*ContentServiceInterceptor) DeleteFragment

func (*ContentServiceInterceptor) DeleteVariant

func (*ContentServiceInterceptor) DescribeFragment

func (*ContentServiceInterceptor) DescribePath

func (*ContentServiceInterceptor) DescribeVariant

func (*ContentServiceInterceptor) ListFragments

func (*ContentServiceInterceptor) ListParents

func (*ContentServiceInterceptor) ListVariants

func (*ContentServiceInterceptor) UpdateFragment

func (*ContentServiceInterceptor) UpdateVariant

type ContentServiceServer

ContentServiceServer is the server API for ContentService service. All implementations should embed UnimplementedContentServiceServer for forward compatibility

type ContentServiceService

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

func NewContentServiceHttpClient

func NewContentServiceHttpClient(url string, cli _ContentServiceHttpClient) *ContentServiceService

NewContentServiceHttpClient constructs client for ContentService

func (*ContentServiceService) CreateFragment

func (*ContentServiceService) CreateVariant

func (*ContentServiceService) DeleteFragment

func (*ContentServiceService) DeleteVariant

func (*ContentServiceService) DescribeFragment

func (*ContentServiceService) DescribePath

func (*ContentServiceService) DescribeVariant

func (*ContentServiceService) ListFragments

func (*ContentServiceService) ListParents

func (*ContentServiceService) ListVariants

func (*ContentServiceService) UpdateFragment

func (*ContentServiceService) UpdateVariant

type CreateFragmentInput

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

func (*CreateFragmentInput) Descriptor deprecated

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

Deprecated: Use CreateFragmentInput.ProtoReflect.Descriptor instead.

func (*CreateFragmentInput) GetFragment

func (x *CreateFragmentInput) GetFragment() *Fragment

func (*CreateFragmentInput) ProtoMessage

func (*CreateFragmentInput) ProtoMessage()

func (*CreateFragmentInput) ProtoReflect

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

func (*CreateFragmentInput) Reset

func (x *CreateFragmentInput) Reset()

func (*CreateFragmentInput) String

func (x *CreateFragmentInput) String() string

type CreateFragmentOutput

type CreateFragmentOutput struct {
	FragmentId string `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFragmentOutput) Descriptor deprecated

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

Deprecated: Use CreateFragmentOutput.ProtoReflect.Descriptor instead.

func (*CreateFragmentOutput) GetFragmentId

func (x *CreateFragmentOutput) GetFragmentId() string

func (*CreateFragmentOutput) ProtoMessage

func (*CreateFragmentOutput) ProtoMessage()

func (*CreateFragmentOutput) ProtoReflect

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

func (*CreateFragmentOutput) Reset

func (x *CreateFragmentOutput) Reset()

func (*CreateFragmentOutput) String

func (x *CreateFragmentOutput) String() string

type CreateVariantInput

type CreateVariantInput struct {
	FragmentId string   `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	Variant    *Variant `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVariantInput) Descriptor deprecated

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

Deprecated: Use CreateVariantInput.ProtoReflect.Descriptor instead.

func (*CreateVariantInput) GetFragmentId

func (x *CreateVariantInput) GetFragmentId() string

func (*CreateVariantInput) GetVariant

func (x *CreateVariantInput) GetVariant() *Variant

func (*CreateVariantInput) ProtoMessage

func (*CreateVariantInput) ProtoMessage()

func (*CreateVariantInput) ProtoReflect

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

func (*CreateVariantInput) Reset

func (x *CreateVariantInput) Reset()

func (*CreateVariantInput) String

func (x *CreateVariantInput) String() string

type CreateVariantOutput

type CreateVariantOutput struct {
	VariantId string `protobuf:"bytes,1,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateVariantOutput) Descriptor deprecated

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

Deprecated: Use CreateVariantOutput.ProtoReflect.Descriptor instead.

func (*CreateVariantOutput) GetVariantId

func (x *CreateVariantOutput) GetVariantId() string

func (*CreateVariantOutput) ProtoMessage

func (*CreateVariantOutput) ProtoMessage()

func (*CreateVariantOutput) ProtoReflect

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

func (*CreateVariantOutput) Reset

func (x *CreateVariantOutput) Reset()

func (*CreateVariantOutput) String

func (x *CreateVariantOutput) String() string

type DeleteFragmentInput

type DeleteFragmentInput struct {
	FragmentId string `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFragmentInput) Descriptor deprecated

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

Deprecated: Use DeleteFragmentInput.ProtoReflect.Descriptor instead.

func (*DeleteFragmentInput) GetFragmentId

func (x *DeleteFragmentInput) GetFragmentId() string

func (*DeleteFragmentInput) ProtoMessage

func (*DeleteFragmentInput) ProtoMessage()

func (*DeleteFragmentInput) ProtoReflect

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

func (*DeleteFragmentInput) Reset

func (x *DeleteFragmentInput) Reset()

func (*DeleteFragmentInput) String

func (x *DeleteFragmentInput) String() string

type DeleteFragmentOutput

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

func (*DeleteFragmentOutput) Descriptor deprecated

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

Deprecated: Use DeleteFragmentOutput.ProtoReflect.Descriptor instead.

func (*DeleteFragmentOutput) ProtoMessage

func (*DeleteFragmentOutput) ProtoMessage()

func (*DeleteFragmentOutput) ProtoReflect

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

func (*DeleteFragmentOutput) Reset

func (x *DeleteFragmentOutput) Reset()

func (*DeleteFragmentOutput) String

func (x *DeleteFragmentOutput) String() string

type DeleteVariantInput

type DeleteVariantInput struct {
	FragmentId string `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	VariantId  string `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteVariantInput) Descriptor deprecated

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

Deprecated: Use DeleteVariantInput.ProtoReflect.Descriptor instead.

func (*DeleteVariantInput) GetFragmentId

func (x *DeleteVariantInput) GetFragmentId() string

func (*DeleteVariantInput) GetVariantId

func (x *DeleteVariantInput) GetVariantId() string

func (*DeleteVariantInput) ProtoMessage

func (*DeleteVariantInput) ProtoMessage()

func (*DeleteVariantInput) ProtoReflect

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

func (*DeleteVariantInput) Reset

func (x *DeleteVariantInput) Reset()

func (*DeleteVariantInput) String

func (x *DeleteVariantInput) String() string

type DeleteVariantOutput

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

func (*DeleteVariantOutput) Descriptor deprecated

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

Deprecated: Use DeleteVariantOutput.ProtoReflect.Descriptor instead.

func (*DeleteVariantOutput) ProtoMessage

func (*DeleteVariantOutput) ProtoMessage()

func (*DeleteVariantOutput) ProtoReflect

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

func (*DeleteVariantOutput) Reset

func (x *DeleteVariantOutput) Reset()

func (*DeleteVariantOutput) String

func (x *DeleteVariantOutput) String() string

type DescribeFragmentInput

type DescribeFragmentInput struct {
	FragmentId string           `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	Extra      []Fragment_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Fragment_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeFragmentInput) Descriptor deprecated

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

Deprecated: Use DescribeFragmentInput.ProtoReflect.Descriptor instead.

func (*DescribeFragmentInput) GetExtra

func (x *DescribeFragmentInput) GetExtra() []Fragment_Extra

func (*DescribeFragmentInput) GetFragmentId

func (x *DescribeFragmentInput) GetFragmentId() string

func (*DescribeFragmentInput) ProtoMessage

func (*DescribeFragmentInput) ProtoMessage()

func (*DescribeFragmentInput) ProtoReflect

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

func (*DescribeFragmentInput) Reset

func (x *DescribeFragmentInput) Reset()

func (*DescribeFragmentInput) String

func (x *DescribeFragmentInput) String() string

type DescribeFragmentOutput

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

func (*DescribeFragmentOutput) Descriptor deprecated

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

Deprecated: Use DescribeFragmentOutput.ProtoReflect.Descriptor instead.

func (*DescribeFragmentOutput) GetFragment

func (x *DescribeFragmentOutput) GetFragment() *Fragment

func (*DescribeFragmentOutput) ProtoMessage

func (*DescribeFragmentOutput) ProtoMessage()

func (*DescribeFragmentOutput) ProtoReflect

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

func (*DescribeFragmentOutput) Reset

func (x *DescribeFragmentOutput) Reset()

func (*DescribeFragmentOutput) String

func (x *DescribeFragmentOutput) String() string

type DescribePathInput

type DescribePathInput struct {
	Path   string           `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Locale string           `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
	Extra  []Fragment_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Fragment_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribePathInput) Descriptor deprecated

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

Deprecated: Use DescribePathInput.ProtoReflect.Descriptor instead.

func (*DescribePathInput) GetExtra

func (x *DescribePathInput) GetExtra() []Fragment_Extra

func (*DescribePathInput) GetLocale

func (x *DescribePathInput) GetLocale() string

func (*DescribePathInput) GetPath

func (x *DescribePathInput) GetPath() string

func (*DescribePathInput) ProtoMessage

func (*DescribePathInput) ProtoMessage()

func (*DescribePathInput) ProtoReflect

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

func (*DescribePathInput) Reset

func (x *DescribePathInput) Reset()

func (*DescribePathInput) String

func (x *DescribePathInput) String() string

type DescribePathOutput

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

func (*DescribePathOutput) Descriptor deprecated

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

Deprecated: Use DescribePathOutput.ProtoReflect.Descriptor instead.

func (*DescribePathOutput) GetFragment

func (x *DescribePathOutput) GetFragment() *Fragment

func (*DescribePathOutput) ProtoMessage

func (*DescribePathOutput) ProtoMessage()

func (*DescribePathOutput) ProtoReflect

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

func (*DescribePathOutput) Reset

func (x *DescribePathOutput) Reset()

func (*DescribePathOutput) String

func (x *DescribePathOutput) String() string

type DescribeVariantInput

type DescribeVariantInput struct {
	FragmentId string          `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	VariantId  string          `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	Extra      []Variant_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Variant_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeVariantInput) Descriptor deprecated

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

Deprecated: Use DescribeVariantInput.ProtoReflect.Descriptor instead.

func (*DescribeVariantInput) GetExtra

func (x *DescribeVariantInput) GetExtra() []Variant_Extra

func (*DescribeVariantInput) GetFragmentId

func (x *DescribeVariantInput) GetFragmentId() string

func (*DescribeVariantInput) GetVariantId

func (x *DescribeVariantInput) GetVariantId() string

func (*DescribeVariantInput) ProtoMessage

func (*DescribeVariantInput) ProtoMessage()

func (*DescribeVariantInput) ProtoReflect

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

func (*DescribeVariantInput) Reset

func (x *DescribeVariantInput) Reset()

func (*DescribeVariantInput) String

func (x *DescribeVariantInput) String() string

type DescribeVariantOutput

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

func (*DescribeVariantOutput) Descriptor deprecated

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

Deprecated: Use DescribeVariantOutput.ProtoReflect.Descriptor instead.

func (*DescribeVariantOutput) GetVariant

func (x *DescribeVariantOutput) GetVariant() *Variant

func (*DescribeVariantOutput) ProtoMessage

func (*DescribeVariantOutput) ProtoMessage()

func (*DescribeVariantOutput) ProtoReflect

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

func (*DescribeVariantOutput) Reset

func (x *DescribeVariantOutput) Reset()

func (*DescribeVariantOutput) String

func (x *DescribeVariantOutput) String() string

type Fragment

type Fragment struct {
	Id      string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Path    string       `protobuf:"bytes,10,opt,name=path,proto3" json:"path,omitempty"`
	Locale  string       `protobuf:"bytes,11,opt,name=locale,proto3" json:"locale,omitempty"`
	Title   string       `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"`
	Content *ecm.Content `protobuf:"bytes,51,opt,name=content,proto3" json:"content,omitempty"`
	Labels  []string     `protobuf:"bytes,100,rep,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (*Fragment) Descriptor deprecated

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

Deprecated: Use Fragment.ProtoReflect.Descriptor instead.

func (*Fragment) GetContent

func (x *Fragment) GetContent() *ecm.Content

func (*Fragment) GetId

func (x *Fragment) GetId() string

func (*Fragment) GetLabels

func (x *Fragment) GetLabels() []string

func (*Fragment) GetLocale

func (x *Fragment) GetLocale() string

func (*Fragment) GetPath

func (x *Fragment) GetPath() string

func (*Fragment) GetTitle

func (x *Fragment) GetTitle() string

func (*Fragment) ProtoMessage

func (*Fragment) ProtoMessage()

func (*Fragment) ProtoReflect

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

func (*Fragment) Reset

func (x *Fragment) Reset()

func (*Fragment) String

func (x *Fragment) String() string

type FragmentChangedEvent

type FragmentChangedEvent struct {
	Before *Fragment `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"`
	After  *Fragment `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	// contains filtered or unexported fields
}

func (*FragmentChangedEvent) Descriptor deprecated

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

Deprecated: Use FragmentChangedEvent.ProtoReflect.Descriptor instead.

func (*FragmentChangedEvent) GetAfter

func (x *FragmentChangedEvent) GetAfter() *Fragment

func (*FragmentChangedEvent) GetBefore

func (x *FragmentChangedEvent) GetBefore() *Fragment

func (*FragmentChangedEvent) ProtoMessage

func (*FragmentChangedEvent) ProtoMessage()

func (*FragmentChangedEvent) ProtoReflect

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

func (*FragmentChangedEvent) Reset

func (x *FragmentChangedEvent) Reset()

func (*FragmentChangedEvent) String

func (x *FragmentChangedEvent) String() string

type Fragment_Extra

type Fragment_Extra int32
const (
	Fragment_NO_EXTRA       Fragment_Extra = 0
	Fragment_CONTENT_RENDER Fragment_Extra = 1
	Fragment_CONTENT_VALUE  Fragment_Extra = 2
)

func (Fragment_Extra) Descriptor

func (Fragment_Extra) Enum

func (x Fragment_Extra) Enum() *Fragment_Extra

func (Fragment_Extra) EnumDescriptor deprecated

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

Deprecated: Use Fragment_Extra.Descriptor instead.

func (Fragment_Extra) Number

func (Fragment_Extra) String

func (x Fragment_Extra) String() string

func (Fragment_Extra) Type

type ListFragmentsInput

type ListFragmentsInput struct {

	// pagination
	Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Size   int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	// data filters
	Filters *ListFragmentsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"`
	Locale  string                     `protobuf:"bytes,1122,opt,name=locale,proto3" json:"locale,omitempty"`
	Extra   []Fragment_Extra           `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Fragment_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFragmentsInput) Descriptor deprecated

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

Deprecated: Use ListFragmentsInput.ProtoReflect.Descriptor instead.

func (*ListFragmentsInput) GetExtra

func (x *ListFragmentsInput) GetExtra() []Fragment_Extra

func (*ListFragmentsInput) GetFilters

func (*ListFragmentsInput) GetLocale

func (x *ListFragmentsInput) GetLocale() string

func (*ListFragmentsInput) GetOffset

func (x *ListFragmentsInput) GetOffset() int32

func (*ListFragmentsInput) GetSize

func (x *ListFragmentsInput) GetSize() int32

func (*ListFragmentsInput) ProtoMessage

func (*ListFragmentsInput) ProtoMessage()

func (*ListFragmentsInput) ProtoReflect

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

func (*ListFragmentsInput) Reset

func (x *ListFragmentsInput) Reset()

func (*ListFragmentsInput) String

func (x *ListFragmentsInput) String() string

type ListFragmentsInput_Filter

type ListFragmentsInput_Filter struct {
	Query  string                        `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Id     []*wellknown.ExpressionID     `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"`
	Path   []*wellknown.ExpressionString `protobuf:"bytes,3,rep,name=path,proto3" json:"path,omitempty"`
	Locale []*wellknown.ExpressionEnum   `protobuf:"bytes,4,rep,name=locale,proto3" json:"locale,omitempty"`
	Label  []*wellknown.ExpressionEnum   `protobuf:"bytes,5,rep,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFragmentsInput_Filter) Descriptor deprecated

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

Deprecated: Use ListFragmentsInput_Filter.ProtoReflect.Descriptor instead.

func (*ListFragmentsInput_Filter) GetId

func (*ListFragmentsInput_Filter) GetLabel

func (*ListFragmentsInput_Filter) GetLocale

func (*ListFragmentsInput_Filter) GetPath

func (*ListFragmentsInput_Filter) GetQuery

func (x *ListFragmentsInput_Filter) GetQuery() string

func (*ListFragmentsInput_Filter) ProtoMessage

func (*ListFragmentsInput_Filter) ProtoMessage()

func (*ListFragmentsInput_Filter) ProtoReflect

func (*ListFragmentsInput_Filter) Reset

func (x *ListFragmentsInput_Filter) Reset()

func (*ListFragmentsInput_Filter) String

func (x *ListFragmentsInput_Filter) String() string

type ListFragmentsOutput

type ListFragmentsOutput struct {
	Total int32       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*Fragment `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFragmentsOutput) Descriptor deprecated

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

Deprecated: Use ListFragmentsOutput.ProtoReflect.Descriptor instead.

func (*ListFragmentsOutput) GetItems

func (x *ListFragmentsOutput) GetItems() []*Fragment

func (*ListFragmentsOutput) GetTotal

func (x *ListFragmentsOutput) GetTotal() int32

func (*ListFragmentsOutput) ProtoMessage

func (*ListFragmentsOutput) ProtoMessage()

func (*ListFragmentsOutput) ProtoReflect

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

func (*ListFragmentsOutput) Reset

func (x *ListFragmentsOutput) Reset()

func (*ListFragmentsOutput) String

func (x *ListFragmentsOutput) String() string

type ListParentsInput

type ListParentsInput struct {
	Path   string           `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Locale string           `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
	Extra  []Fragment_Extra `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Fragment_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParentsInput) Descriptor deprecated

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

Deprecated: Use ListParentsInput.ProtoReflect.Descriptor instead.

func (*ListParentsInput) GetExtra

func (x *ListParentsInput) GetExtra() []Fragment_Extra

func (*ListParentsInput) GetLocale

func (x *ListParentsInput) GetLocale() string

func (*ListParentsInput) GetPath

func (x *ListParentsInput) GetPath() string

func (*ListParentsInput) ProtoMessage

func (*ListParentsInput) ProtoMessage()

func (*ListParentsInput) ProtoReflect

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

func (*ListParentsInput) Reset

func (x *ListParentsInput) Reset()

func (*ListParentsInput) String

func (x *ListParentsInput) String() string

type ListParentsOutput

type ListParentsOutput struct {
	Total int32       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*Fragment `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListParentsOutput) Descriptor deprecated

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

Deprecated: Use ListParentsOutput.ProtoReflect.Descriptor instead.

func (*ListParentsOutput) GetItems

func (x *ListParentsOutput) GetItems() []*Fragment

func (*ListParentsOutput) GetTotal

func (x *ListParentsOutput) GetTotal() int32

func (*ListParentsOutput) ProtoMessage

func (*ListParentsOutput) ProtoMessage()

func (*ListParentsOutput) ProtoReflect

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

func (*ListParentsOutput) Reset

func (x *ListParentsOutput) Reset()

func (*ListParentsOutput) String

func (x *ListParentsOutput) String() string

type ListVariantsInput

type ListVariantsInput struct {
	FragmentId string `protobuf:"bytes,2,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	// pagination
	Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Size   int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"`
	// data filters
	Filters *ListVariantsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"`
	Extra   []Variant_Extra           `protobuf:"varint,1123,rep,packed,name=extra,proto3,enum=eolymp.content.Variant_Extra" json:"extra,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVariantsInput) Descriptor deprecated

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

Deprecated: Use ListVariantsInput.ProtoReflect.Descriptor instead.

func (*ListVariantsInput) GetExtra

func (x *ListVariantsInput) GetExtra() []Variant_Extra

func (*ListVariantsInput) GetFilters

func (*ListVariantsInput) GetFragmentId

func (x *ListVariantsInput) GetFragmentId() string

func (*ListVariantsInput) GetOffset

func (x *ListVariantsInput) GetOffset() int32

func (*ListVariantsInput) GetSize

func (x *ListVariantsInput) GetSize() int32

func (*ListVariantsInput) ProtoMessage

func (*ListVariantsInput) ProtoMessage()

func (*ListVariantsInput) ProtoReflect

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

func (*ListVariantsInput) Reset

func (x *ListVariantsInput) Reset()

func (*ListVariantsInput) String

func (x *ListVariantsInput) String() string

type ListVariantsInput_Filter

type ListVariantsInput_Filter struct {
	Query  string                      `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Id     []*wellknown.ExpressionID   `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"`
	Locale []*wellknown.ExpressionEnum `protobuf:"bytes,4,rep,name=locale,proto3" json:"locale,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVariantsInput_Filter) Descriptor deprecated

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

Deprecated: Use ListVariantsInput_Filter.ProtoReflect.Descriptor instead.

func (*ListVariantsInput_Filter) GetId

func (*ListVariantsInput_Filter) GetLocale

func (*ListVariantsInput_Filter) GetQuery

func (x *ListVariantsInput_Filter) GetQuery() string

func (*ListVariantsInput_Filter) ProtoMessage

func (*ListVariantsInput_Filter) ProtoMessage()

func (*ListVariantsInput_Filter) ProtoReflect

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

func (*ListVariantsInput_Filter) Reset

func (x *ListVariantsInput_Filter) Reset()

func (*ListVariantsInput_Filter) String

func (x *ListVariantsInput_Filter) String() string

type ListVariantsOutput

type ListVariantsOutput struct {
	Total int32      `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Items []*Variant `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVariantsOutput) Descriptor deprecated

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

Deprecated: Use ListVariantsOutput.ProtoReflect.Descriptor instead.

func (*ListVariantsOutput) GetItems

func (x *ListVariantsOutput) GetItems() []*Variant

func (*ListVariantsOutput) GetTotal

func (x *ListVariantsOutput) GetTotal() int32

func (*ListVariantsOutput) ProtoMessage

func (*ListVariantsOutput) ProtoMessage()

func (*ListVariantsOutput) ProtoReflect

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

func (*ListVariantsOutput) Reset

func (x *ListVariantsOutput) Reset()

func (*ListVariantsOutput) String

func (x *ListVariantsOutput) String() string

type RenderContentInput

type RenderContentInput struct {
	Content *ecm.Content `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderContentInput) Descriptor deprecated

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

Deprecated: Use RenderContentInput.ProtoReflect.Descriptor instead.

func (*RenderContentInput) GetContent

func (x *RenderContentInput) GetContent() *ecm.Content

func (*RenderContentInput) ProtoMessage

func (*RenderContentInput) ProtoMessage()

func (*RenderContentInput) ProtoReflect

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

func (*RenderContentInput) Reset

func (x *RenderContentInput) Reset()

func (*RenderContentInput) String

func (x *RenderContentInput) String() string

type RenderContentOutput

type RenderContentOutput struct {
	Render *ecm.Node `protobuf:"bytes,1,opt,name=render,proto3" json:"render,omitempty"`
	// contains filtered or unexported fields
}

func (*RenderContentOutput) Descriptor deprecated

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

Deprecated: Use RenderContentOutput.ProtoReflect.Descriptor instead.

func (*RenderContentOutput) GetRender

func (x *RenderContentOutput) GetRender() *ecm.Node

func (*RenderContentOutput) ProtoMessage

func (*RenderContentOutput) ProtoMessage()

func (*RenderContentOutput) ProtoReflect

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

func (*RenderContentOutput) Reset

func (x *RenderContentOutput) Reset()

func (*RenderContentOutput) String

func (x *RenderContentOutput) String() string

type RenderServiceClient

type RenderServiceClient interface {
	RenderContent(ctx context.Context, in *RenderContentInput, opts ...grpc.CallOption) (*RenderContentOutput, error)
}

RenderServiceClient is the client API for RenderService 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 RenderServiceInterceptor

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

func NewRenderServiceInterceptor

func NewRenderServiceInterceptor(cli RenderServiceClient, middleware ..._RenderServiceMiddleware) *RenderServiceInterceptor

NewRenderServiceInterceptor constructs additional middleware for a server based on annotations in proto files

func (*RenderServiceInterceptor) RenderContent

type RenderServiceServer

type RenderServiceServer interface {
	RenderContent(context.Context, *RenderContentInput) (*RenderContentOutput, error)
}

RenderServiceServer is the server API for RenderService service. All implementations should embed UnimplementedRenderServiceServer for forward compatibility

type RenderServiceService

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

func NewRenderServiceHttpClient

func NewRenderServiceHttpClient(url string, cli _RenderServiceHttpClient) *RenderServiceService

NewRenderServiceHttpClient constructs client for RenderService

func (*RenderServiceService) RenderContent

type UnimplementedContentServiceServer

type UnimplementedContentServiceServer struct {
}

UnimplementedContentServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedContentServiceServer) CreateFragment

func (UnimplementedContentServiceServer) CreateVariant

func (UnimplementedContentServiceServer) DeleteFragment

func (UnimplementedContentServiceServer) DeleteVariant

func (UnimplementedContentServiceServer) DescribeFragment

func (UnimplementedContentServiceServer) DescribePath

func (UnimplementedContentServiceServer) DescribeVariant

func (UnimplementedContentServiceServer) ListFragments

func (UnimplementedContentServiceServer) ListParents

func (UnimplementedContentServiceServer) ListVariants

func (UnimplementedContentServiceServer) UpdateFragment

func (UnimplementedContentServiceServer) UpdateVariant

type UnimplementedRenderServiceServer

type UnimplementedRenderServiceServer struct {
}

UnimplementedRenderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRenderServiceServer) RenderContent

type UnsafeContentServiceServer

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

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

type UnsafeRenderServiceServer

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

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

type UpdateFragmentInput

type UpdateFragmentInput struct {
	FragmentId string    `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	Fragment   *Fragment `protobuf:"bytes,2,opt,name=fragment,proto3" json:"fragment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFragmentInput) Descriptor deprecated

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

Deprecated: Use UpdateFragmentInput.ProtoReflect.Descriptor instead.

func (*UpdateFragmentInput) GetFragment

func (x *UpdateFragmentInput) GetFragment() *Fragment

func (*UpdateFragmentInput) GetFragmentId

func (x *UpdateFragmentInput) GetFragmentId() string

func (*UpdateFragmentInput) ProtoMessage

func (*UpdateFragmentInput) ProtoMessage()

func (*UpdateFragmentInput) ProtoReflect

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

func (*UpdateFragmentInput) Reset

func (x *UpdateFragmentInput) Reset()

func (*UpdateFragmentInput) String

func (x *UpdateFragmentInput) String() string

type UpdateFragmentOutput

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

func (*UpdateFragmentOutput) Descriptor deprecated

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

Deprecated: Use UpdateFragmentOutput.ProtoReflect.Descriptor instead.

func (*UpdateFragmentOutput) ProtoMessage

func (*UpdateFragmentOutput) ProtoMessage()

func (*UpdateFragmentOutput) ProtoReflect

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

func (*UpdateFragmentOutput) Reset

func (x *UpdateFragmentOutput) Reset()

func (*UpdateFragmentOutput) String

func (x *UpdateFragmentOutput) String() string

type UpdateVariantInput

type UpdateVariantInput struct {
	FragmentId string   `protobuf:"bytes,1,opt,name=fragment_id,json=fragmentId,proto3" json:"fragment_id,omitempty"`
	VariantId  string   `protobuf:"bytes,2,opt,name=variant_id,json=variantId,proto3" json:"variant_id,omitempty"`
	Variant    *Variant `protobuf:"bytes,3,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateVariantInput) Descriptor deprecated

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

Deprecated: Use UpdateVariantInput.ProtoReflect.Descriptor instead.

func (*UpdateVariantInput) GetFragmentId

func (x *UpdateVariantInput) GetFragmentId() string

func (*UpdateVariantInput) GetVariant

func (x *UpdateVariantInput) GetVariant() *Variant

func (*UpdateVariantInput) GetVariantId

func (x *UpdateVariantInput) GetVariantId() string

func (*UpdateVariantInput) ProtoMessage

func (*UpdateVariantInput) ProtoMessage()

func (*UpdateVariantInput) ProtoReflect

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

func (*UpdateVariantInput) Reset

func (x *UpdateVariantInput) Reset()

func (*UpdateVariantInput) String

func (x *UpdateVariantInput) String() string

type UpdateVariantOutput

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

func (*UpdateVariantOutput) Descriptor deprecated

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

Deprecated: Use UpdateVariantOutput.ProtoReflect.Descriptor instead.

func (*UpdateVariantOutput) ProtoMessage

func (*UpdateVariantOutput) ProtoMessage()

func (*UpdateVariantOutput) ProtoReflect

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

func (*UpdateVariantOutput) Reset

func (x *UpdateVariantOutput) Reset()

func (*UpdateVariantOutput) String

func (x *UpdateVariantOutput) String() string

type Variant

type Variant struct {
	Id      string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Locale  string       `protobuf:"bytes,11,opt,name=locale,proto3" json:"locale,omitempty"`
	Title   string       `protobuf:"bytes,12,opt,name=title,proto3" json:"title,omitempty"`
	Content *ecm.Content `protobuf:"bytes,51,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Variant) Descriptor deprecated

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

Deprecated: Use Variant.ProtoReflect.Descriptor instead.

func (*Variant) GetContent

func (x *Variant) GetContent() *ecm.Content

func (*Variant) GetId

func (x *Variant) GetId() string

func (*Variant) GetLocale

func (x *Variant) GetLocale() string

func (*Variant) GetTitle

func (x *Variant) GetTitle() string

func (*Variant) ProtoMessage

func (*Variant) ProtoMessage()

func (*Variant) ProtoReflect

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

func (*Variant) Reset

func (x *Variant) Reset()

func (*Variant) String

func (x *Variant) String() string

type VariantChangedEvent

type VariantChangedEvent struct {
	Fragment *Fragment `protobuf:"bytes,3,opt,name=fragment,proto3" json:"fragment,omitempty"`
	Before   *Variant  `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"`
	After    *Variant  `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"`
	// contains filtered or unexported fields
}

func (*VariantChangedEvent) Descriptor deprecated

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

Deprecated: Use VariantChangedEvent.ProtoReflect.Descriptor instead.

func (*VariantChangedEvent) GetAfter

func (x *VariantChangedEvent) GetAfter() *Variant

func (*VariantChangedEvent) GetBefore

func (x *VariantChangedEvent) GetBefore() *Variant

func (*VariantChangedEvent) GetFragment

func (x *VariantChangedEvent) GetFragment() *Fragment

func (*VariantChangedEvent) ProtoMessage

func (*VariantChangedEvent) ProtoMessage()

func (*VariantChangedEvent) ProtoReflect

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

func (*VariantChangedEvent) Reset

func (x *VariantChangedEvent) Reset()

func (*VariantChangedEvent) String

func (x *VariantChangedEvent) String() string

type Variant_Extra

type Variant_Extra int32
const (
	Variant_NO_EXTRA       Variant_Extra = 0
	Variant_CONTENT_RENDER Variant_Extra = 1
	Variant_CONTENT_VALUE  Variant_Extra = 2
)

func (Variant_Extra) Descriptor

func (Variant_Extra) Enum

func (x Variant_Extra) Enum() *Variant_Extra

func (Variant_Extra) EnumDescriptor deprecated

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

Deprecated: Use Variant_Extra.Descriptor instead.

func (Variant_Extra) Number

func (Variant_Extra) String

func (x Variant_Extra) String() string

func (Variant_Extra) Type

Jump to

Keyboard shortcuts

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