proto

package
v0.0.0-...-34ac4f8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ocis_jupyter_proto protoreflect.FileDescriptor
View Source
var JupyterNotebookHTMLJSONMarshaler = new(jsonpb.Marshaler)

JupyterNotebookHTMLJSONMarshaler describes the default jsonpb.Marshaler used by all instances of JupyterNotebookHTML. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var JupyterNotebookHTMLJSONUnmarshaler = new(jsonpb.Unmarshaler)

JupyterNotebookHTMLJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of JupyterNotebookHTML. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var JupyterNotebookJSONJSONMarshaler = new(jsonpb.Marshaler)

JupyterNotebookJSONJSONMarshaler describes the default jsonpb.Marshaler used by all instances of JupyterNotebookJSON. This struct is safe to replace or modify but should not be done so concurrently.

View Source
var JupyterNotebookJSONJSONUnmarshaler = new(jsonpb.Unmarshaler)

JupyterNotebookJSONJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of JupyterNotebookJSON. This struct is safe to replace or modify but should not be done so concurrently.

Functions

func NewJupyterNotebookSupportEndpoints

func NewJupyterNotebookSupportEndpoints() []*api.Endpoint

func RegisterJupyterNotebookSupportHandler

func RegisterJupyterNotebookSupportHandler(s server.Server, hdlr JupyterNotebookSupportHandler, opts ...server.HandlerOption) error

func RegisterJupyterNotebookSupportWeb

func RegisterJupyterNotebookSupportWeb(r chi.Router, i JupyterNotebookSupportHandler, middlewares ...func(http.Handler) http.Handler)

Types

type JupyterNotebookHTML

type JupyterNotebookHTML struct {
	HTMLString string `protobuf:"bytes,1,opt,name=HTMLString,proto3" json:"HTMLString,omitempty"`
	Err        string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*JupyterNotebookHTML) Descriptor deprecated

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

Deprecated: Use JupyterNotebookHTML.ProtoReflect.Descriptor instead.

func (*JupyterNotebookHTML) GetErr

func (x *JupyterNotebookHTML) GetErr() string

func (*JupyterNotebookHTML) GetHTMLString

func (x *JupyterNotebookHTML) GetHTMLString() string

func (*JupyterNotebookHTML) MarshalJSON

func (m *JupyterNotebookHTML) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*JupyterNotebookHTML) ProtoMessage

func (*JupyterNotebookHTML) ProtoMessage()

func (*JupyterNotebookHTML) ProtoReflect

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

func (*JupyterNotebookHTML) Reset

func (x *JupyterNotebookHTML) Reset()

func (*JupyterNotebookHTML) String

func (x *JupyterNotebookHTML) String() string

func (*JupyterNotebookHTML) UnmarshalJSON

func (m *JupyterNotebookHTML) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type JupyterNotebookJSON

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

func (*JupyterNotebookJSON) Descriptor deprecated

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

Deprecated: Use JupyterNotebookJSON.ProtoReflect.Descriptor instead.

func (*JupyterNotebookJSON) GetJSONString

func (x *JupyterNotebookJSON) GetJSONString() string

func (*JupyterNotebookJSON) MarshalJSON

func (m *JupyterNotebookJSON) MarshalJSON() ([]byte, error)

MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.

func (*JupyterNotebookJSON) ProtoMessage

func (*JupyterNotebookJSON) ProtoMessage()

func (*JupyterNotebookJSON) ProtoReflect

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

func (*JupyterNotebookJSON) Reset

func (x *JupyterNotebookJSON) Reset()

func (*JupyterNotebookJSON) String

func (x *JupyterNotebookJSON) String() string

func (*JupyterNotebookJSON) UnmarshalJSON

func (m *JupyterNotebookJSON) UnmarshalJSON(b []byte) error

UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.

type JupyterNotebookSupportHandler

type JupyterNotebookSupportHandler interface {
	GenerateHTML(context.Context, *JupyterNotebookJSON, *JupyterNotebookHTML) error
}

type JupyterNotebookSupportService

type JupyterNotebookSupportService interface {
	GenerateHTML(ctx context.Context, in *JupyterNotebookJSON, opts ...client.CallOption) (*JupyterNotebookHTML, error)
}

func NewJupyterNotebookSupportService

func NewJupyterNotebookSupportService(name string, c client.Client) JupyterNotebookSupportService

Jump to

Keyboard shortcuts

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