Documentation ¶
Index ¶
- Variables
- func NewJupyterNotebookSupportEndpoints() []*api.Endpoint
- func RegisterJupyterNotebookSupportHandler(s server.Server, hdlr JupyterNotebookSupportHandler, ...) error
- func RegisterJupyterNotebookSupportWeb(r chi.Router, i JupyterNotebookSupportHandler, ...)
- type JupyterNotebookHTML
- func (*JupyterNotebookHTML) Descriptor() ([]byte, []int)deprecated
- func (x *JupyterNotebookHTML) GetErr() string
- func (x *JupyterNotebookHTML) GetHTMLString() string
- func (m *JupyterNotebookHTML) MarshalJSON() ([]byte, error)
- func (*JupyterNotebookHTML) ProtoMessage()
- func (x *JupyterNotebookHTML) ProtoReflect() protoreflect.Message
- func (x *JupyterNotebookHTML) Reset()
- func (x *JupyterNotebookHTML) String() string
- func (m *JupyterNotebookHTML) UnmarshalJSON(b []byte) error
- type JupyterNotebookJSON
- func (*JupyterNotebookJSON) Descriptor() ([]byte, []int)deprecated
- func (x *JupyterNotebookJSON) GetJSONString() string
- func (m *JupyterNotebookJSON) MarshalJSON() ([]byte, error)
- func (*JupyterNotebookJSON) ProtoMessage()
- func (x *JupyterNotebookJSON) ProtoReflect() protoreflect.Message
- func (x *JupyterNotebookJSON) Reset()
- func (x *JupyterNotebookJSON) String() string
- func (m *JupyterNotebookJSON) UnmarshalJSON(b []byte) error
- type JupyterNotebookSupportHandler
- type JupyterNotebookSupportService
Constants ¶
This section is empty.
Variables ¶
var File_ocis_jupyter_proto protoreflect.FileDescriptor
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.
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.
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.
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 RegisterJupyterNotebookSupportHandler ¶
func RegisterJupyterNotebookSupportHandler(s server.Server, hdlr JupyterNotebookSupportHandler, opts ...server.HandlerOption) error
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