Documentation ¶
Index ¶
- Constants
- type DeleteNotebook
- type DeleteNotebookDefault
- func (o *DeleteNotebookDefault) SetPayload(payload *models.Error)
- func (o *DeleteNotebookDefault) SetStatusCode(code int)
- func (o *DeleteNotebookDefault) WithPayload(payload *models.Error) *DeleteNotebookDefault
- func (o *DeleteNotebookDefault) WithStatusCode(code int) *DeleteNotebookDefault
- func (o *DeleteNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteNotebookHandler
- type DeleteNotebookHandlerFunc
- type DeleteNotebookNoContent
- type DeleteNotebookParams
- type DeleteNotebookURL
- func (o *DeleteNotebookURL) Build() (*url.URL, error)
- func (o *DeleteNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteNotebookURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteNotebookURL) SetBasePath(bp string)
- func (o *DeleteNotebookURL) String() string
- func (o *DeleteNotebookURL) StringFull(scheme, host string) string
- func (o *DeleteNotebookURL) WithBasePath(bp string) *DeleteNotebookURL
- type GetIpythonNotebooks
- type GetIpythonNotebooksDefault
- func (o *GetIpythonNotebooksDefault) SetPayload(payload *models.Error)
- func (o *GetIpythonNotebooksDefault) SetStatusCode(code int)
- func (o *GetIpythonNotebooksDefault) WithPayload(payload *models.Error) *GetIpythonNotebooksDefault
- func (o *GetIpythonNotebooksDefault) WithStatusCode(code int) *GetIpythonNotebooksDefault
- func (o *GetIpythonNotebooksDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetIpythonNotebooksHandler
- type GetIpythonNotebooksHandlerFunc
- type GetIpythonNotebooksOK
- type GetIpythonNotebooksParams
- type GetIpythonNotebooksURL
- func (o *GetIpythonNotebooksURL) Build() (*url.URL, error)
- func (o *GetIpythonNotebooksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetIpythonNotebooksURL) Must(u *url.URL, err error) *url.URL
- func (o *GetIpythonNotebooksURL) SetBasePath(bp string)
- func (o *GetIpythonNotebooksURL) String() string
- func (o *GetIpythonNotebooksURL) StringFull(scheme, host string) string
- func (o *GetIpythonNotebooksURL) WithBasePath(bp string) *GetIpythonNotebooksURL
- type GetNotebookDetails
- type GetNotebookDetailsDefault
- func (o *GetNotebookDetailsDefault) SetPayload(payload *models.Error)
- func (o *GetNotebookDetailsDefault) SetStatusCode(code int)
- func (o *GetNotebookDetailsDefault) WithPayload(payload *models.Error) *GetNotebookDetailsDefault
- func (o *GetNotebookDetailsDefault) WithStatusCode(code int) *GetNotebookDetailsDefault
- func (o *GetNotebookDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNotebookDetailsHandler
- type GetNotebookDetailsHandlerFunc
- type GetNotebookDetailsOK
- type GetNotebookDetailsParams
- type GetNotebookDetailsURL
- func (o *GetNotebookDetailsURL) Build() (*url.URL, error)
- func (o *GetNotebookDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNotebookDetailsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNotebookDetailsURL) SetBasePath(bp string)
- func (o *GetNotebookDetailsURL) String() string
- func (o *GetNotebookDetailsURL) StringFull(scheme, host string) string
- func (o *GetNotebookDetailsURL) WithBasePath(bp string) *GetNotebookDetailsURL
- type GetNotebooks
- type GetNotebooksDefault
- func (o *GetNotebooksDefault) SetPayload(payload *models.Error)
- func (o *GetNotebooksDefault) SetStatusCode(code int)
- func (o *GetNotebooksDefault) WithPayload(payload *models.Error) *GetNotebooksDefault
- func (o *GetNotebooksDefault) WithStatusCode(code int) *GetNotebooksDefault
- func (o *GetNotebooksDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetNotebooksHandler
- type GetNotebooksHandlerFunc
- type GetNotebooksOK
- type GetNotebooksParams
- type GetNotebooksURL
- func (o *GetNotebooksURL) Build() (*url.URL, error)
- func (o *GetNotebooksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetNotebooksURL) Must(u *url.URL, err error) *url.URL
- func (o *GetNotebooksURL) SetBasePath(bp string)
- func (o *GetNotebooksURL) String() string
- func (o *GetNotebooksURL) StringFull(scheme, host string) string
- func (o *GetNotebooksURL) WithBasePath(bp string) *GetNotebooksURL
- type ModifyNotebook
- type ModifyNotebookBody
- type ModifyNotebookDefault
- func (o *ModifyNotebookDefault) SetPayload(payload *models.Error)
- func (o *ModifyNotebookDefault) SetStatusCode(code int)
- func (o *ModifyNotebookDefault) WithPayload(payload *models.Error) *ModifyNotebookDefault
- func (o *ModifyNotebookDefault) WithStatusCode(code int) *ModifyNotebookDefault
- func (o *ModifyNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ModifyNotebookHandler
- type ModifyNotebookHandlerFunc
- type ModifyNotebookOK
- type ModifyNotebookParams
- type ModifyNotebookURL
- func (o *ModifyNotebookURL) Build() (*url.URL, error)
- func (o *ModifyNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ModifyNotebookURL) Must(u *url.URL, err error) *url.URL
- func (o *ModifyNotebookURL) SetBasePath(bp string)
- func (o *ModifyNotebookURL) String() string
- func (o *ModifyNotebookURL) StringFull(scheme, host string) string
- func (o *ModifyNotebookURL) WithBasePath(bp string) *ModifyNotebookURL
- type PostNewNotebook
- type PostNewNotebookBody
- type PostNewNotebookCreated
- type PostNewNotebookDefault
- func (o *PostNewNotebookDefault) SetPayload(payload *models.Error)
- func (o *PostNewNotebookDefault) SetStatusCode(code int)
- func (o *PostNewNotebookDefault) WithPayload(payload *models.Error) *PostNewNotebookDefault
- func (o *PostNewNotebookDefault) WithStatusCode(code int) *PostNewNotebookDefault
- func (o *PostNewNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PostNewNotebookHandler
- type PostNewNotebookHandlerFunc
- type PostNewNotebookParams
- type PostNewNotebookURL
- func (o *PostNewNotebookURL) Build() (*url.URL, error)
- func (o *PostNewNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PostNewNotebookURL) Must(u *url.URL, err error) *url.URL
- func (o *PostNewNotebookURL) SetBasePath(bp string)
- func (o *PostNewNotebookURL) String() string
- func (o *PostNewNotebookURL) StringFull(scheme, host string) string
- func (o *PostNewNotebookURL) WithBasePath(bp string) *PostNewNotebookURL
Constants ¶
const ( // ModifyNotebookBodyStatusStarted captures enum value "started" ModifyNotebookBodyStatusStarted string = "started" // ModifyNotebookBodyStatusStopped captures enum value "stopped" ModifyNotebookBodyStatusStopped string = "stopped" )
const DeleteNotebookNoContentCode int = 204
DeleteNotebookNoContentCode is the HTTP code returned for type DeleteNotebookNoContent
const GetIpythonNotebooksOKCode int = 200
GetIpythonNotebooksOKCode is the HTTP code returned for type GetIpythonNotebooksOK
const GetNotebookDetailsOKCode int = 200
GetNotebookDetailsOKCode is the HTTP code returned for type GetNotebookDetailsOK
const GetNotebooksOKCode int = 200
GetNotebooksOKCode is the HTTP code returned for type GetNotebooksOK
const ModifyNotebookOKCode int = 200
ModifyNotebookOKCode is the HTTP code returned for type ModifyNotebookOK
const PostNewNotebookCreatedCode int = 201
PostNewNotebookCreatedCode is the HTTP code returned for type PostNewNotebookCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteNotebook ¶
type DeleteNotebook struct { Context *middleware.Context Handler DeleteNotebookHandler }
DeleteNotebook swagger:route DELETE /notebooks/{id} notebook deleteNotebook
delete a specified notebook
func NewDeleteNotebook ¶
func NewDeleteNotebook(ctx *middleware.Context, handler DeleteNotebookHandler) *DeleteNotebook
NewDeleteNotebook creates a new http.Handler for the delete notebook operation
func (*DeleteNotebook) ServeHTTP ¶
func (o *DeleteNotebook) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteNotebookDefault ¶
type DeleteNotebookDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteNotebookDefault Unexpected error
swagger:response deleteNotebookDefault
func NewDeleteNotebookDefault ¶
func NewDeleteNotebookDefault(code int) *DeleteNotebookDefault
NewDeleteNotebookDefault creates DeleteNotebookDefault with default headers values
func (*DeleteNotebookDefault) SetPayload ¶
func (o *DeleteNotebookDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete notebook default response
func (*DeleteNotebookDefault) SetStatusCode ¶
func (o *DeleteNotebookDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete notebook default response
func (*DeleteNotebookDefault) WithPayload ¶
func (o *DeleteNotebookDefault) WithPayload(payload *models.Error) *DeleteNotebookDefault
WithPayload adds the payload to the delete notebook default response
func (*DeleteNotebookDefault) WithStatusCode ¶
func (o *DeleteNotebookDefault) WithStatusCode(code int) *DeleteNotebookDefault
WithStatusCode adds the status to the delete notebook default response
func (*DeleteNotebookDefault) WriteResponse ¶
func (o *DeleteNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteNotebookHandler ¶
type DeleteNotebookHandler interface {
Handle(DeleteNotebookParams) middleware.Responder
}
DeleteNotebookHandler interface for that can handle valid delete notebook params
type DeleteNotebookHandlerFunc ¶
type DeleteNotebookHandlerFunc func(DeleteNotebookParams) middleware.Responder
DeleteNotebookHandlerFunc turns a function with the right signature into a delete notebook handler
func (DeleteNotebookHandlerFunc) Handle ¶
func (fn DeleteNotebookHandlerFunc) Handle(params DeleteNotebookParams) middleware.Responder
Handle executing the request and returning a response
type DeleteNotebookNoContent ¶
type DeleteNotebookNoContent struct { }
DeleteNotebookNoContent OK
swagger:response deleteNotebookNoContent
func NewDeleteNotebookNoContent ¶
func NewDeleteNotebookNoContent() *DeleteNotebookNoContent
NewDeleteNotebookNoContent creates DeleteNotebookNoContent with default headers values
func (*DeleteNotebookNoContent) WriteResponse ¶
func (o *DeleteNotebookNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteNotebookParams ¶
type DeleteNotebookParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Notebook container ID Required: true In: path */ ID string }
DeleteNotebookParams contains all the bound params for the delete notebook operation typically these are obtained from a http.Request
swagger:parameters deleteNotebook
func NewDeleteNotebookParams ¶
func NewDeleteNotebookParams() DeleteNotebookParams
NewDeleteNotebookParams creates a new DeleteNotebookParams object no default values defined in spec.
func (*DeleteNotebookParams) BindRequest ¶
func (o *DeleteNotebookParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteNotebookParams() beforehand.
type DeleteNotebookURL ¶
type DeleteNotebookURL struct { ID string // contains filtered or unexported fields }
DeleteNotebookURL generates an URL for the delete notebook operation
func (*DeleteNotebookURL) Build ¶
func (o *DeleteNotebookURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteNotebookURL) BuildFull ¶
func (o *DeleteNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteNotebookURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteNotebookURL) SetBasePath ¶
func (o *DeleteNotebookURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteNotebookURL) String ¶
func (o *DeleteNotebookURL) String() string
String returns the string representation of the path with query string
func (*DeleteNotebookURL) StringFull ¶
func (o *DeleteNotebookURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteNotebookURL) WithBasePath ¶
func (o *DeleteNotebookURL) WithBasePath(bp string) *DeleteNotebookURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetIpythonNotebooks ¶
type GetIpythonNotebooks struct { Context *middleware.Context Handler GetIpythonNotebooksHandler }
GetIpythonNotebooks swagger:route GET /notebooks/{id}/ipynbs notebook getIpythonNotebooks
returns ipynb files on the specified notebook
func NewGetIpythonNotebooks ¶
func NewGetIpythonNotebooks(ctx *middleware.Context, handler GetIpythonNotebooksHandler) *GetIpythonNotebooks
NewGetIpythonNotebooks creates a new http.Handler for the get ipython notebooks operation
func (*GetIpythonNotebooks) ServeHTTP ¶
func (o *GetIpythonNotebooks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetIpythonNotebooksDefault ¶
type GetIpythonNotebooksDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetIpythonNotebooksDefault Unexpected error
swagger:response getIpythonNotebooksDefault
func NewGetIpythonNotebooksDefault ¶
func NewGetIpythonNotebooksDefault(code int) *GetIpythonNotebooksDefault
NewGetIpythonNotebooksDefault creates GetIpythonNotebooksDefault with default headers values
func (*GetIpythonNotebooksDefault) SetPayload ¶
func (o *GetIpythonNotebooksDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get ipython notebooks default response
func (*GetIpythonNotebooksDefault) SetStatusCode ¶
func (o *GetIpythonNotebooksDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get ipython notebooks default response
func (*GetIpythonNotebooksDefault) WithPayload ¶
func (o *GetIpythonNotebooksDefault) WithPayload(payload *models.Error) *GetIpythonNotebooksDefault
WithPayload adds the payload to the get ipython notebooks default response
func (*GetIpythonNotebooksDefault) WithStatusCode ¶
func (o *GetIpythonNotebooksDefault) WithStatusCode(code int) *GetIpythonNotebooksDefault
WithStatusCode adds the status to the get ipython notebooks default response
func (*GetIpythonNotebooksDefault) WriteResponse ¶
func (o *GetIpythonNotebooksDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIpythonNotebooksHandler ¶
type GetIpythonNotebooksHandler interface {
Handle(GetIpythonNotebooksParams) middleware.Responder
}
GetIpythonNotebooksHandler interface for that can handle valid get ipython notebooks params
type GetIpythonNotebooksHandlerFunc ¶
type GetIpythonNotebooksHandlerFunc func(GetIpythonNotebooksParams) middleware.Responder
GetIpythonNotebooksHandlerFunc turns a function with the right signature into a get ipython notebooks handler
func (GetIpythonNotebooksHandlerFunc) Handle ¶
func (fn GetIpythonNotebooksHandlerFunc) Handle(params GetIpythonNotebooksParams) middleware.Responder
Handle executing the request and returning a response
type GetIpythonNotebooksOK ¶
type GetIpythonNotebooksOK struct { /* In: Body */ Payload []*models.IpythonNotebook `json:"body,omitempty"` }
GetIpythonNotebooksOK OK
swagger:response getIpythonNotebooksOK
func NewGetIpythonNotebooksOK ¶
func NewGetIpythonNotebooksOK() *GetIpythonNotebooksOK
NewGetIpythonNotebooksOK creates GetIpythonNotebooksOK with default headers values
func (*GetIpythonNotebooksOK) SetPayload ¶
func (o *GetIpythonNotebooksOK) SetPayload(payload []*models.IpythonNotebook)
SetPayload sets the payload to the get ipython notebooks o k response
func (*GetIpythonNotebooksOK) WithPayload ¶
func (o *GetIpythonNotebooksOK) WithPayload(payload []*models.IpythonNotebook) *GetIpythonNotebooksOK
WithPayload adds the payload to the get ipython notebooks o k response
func (*GetIpythonNotebooksOK) WriteResponse ¶
func (o *GetIpythonNotebooksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetIpythonNotebooksParams ¶
type GetIpythonNotebooksParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Notebook container ID Required: true In: path */ ID string }
GetIpythonNotebooksParams contains all the bound params for the get ipython notebooks operation typically these are obtained from a http.Request
swagger:parameters getIPythonNotebooks
func NewGetIpythonNotebooksParams ¶
func NewGetIpythonNotebooksParams() GetIpythonNotebooksParams
NewGetIpythonNotebooksParams creates a new GetIpythonNotebooksParams object no default values defined in spec.
func (*GetIpythonNotebooksParams) BindRequest ¶
func (o *GetIpythonNotebooksParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetIpythonNotebooksParams() beforehand.
type GetIpythonNotebooksURL ¶
type GetIpythonNotebooksURL struct { ID string // contains filtered or unexported fields }
GetIpythonNotebooksURL generates an URL for the get ipython notebooks operation
func (*GetIpythonNotebooksURL) Build ¶
func (o *GetIpythonNotebooksURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetIpythonNotebooksURL) BuildFull ¶
func (o *GetIpythonNotebooksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetIpythonNotebooksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetIpythonNotebooksURL) SetBasePath ¶
func (o *GetIpythonNotebooksURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetIpythonNotebooksURL) String ¶
func (o *GetIpythonNotebooksURL) String() string
String returns the string representation of the path with query string
func (*GetIpythonNotebooksURL) StringFull ¶
func (o *GetIpythonNotebooksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetIpythonNotebooksURL) WithBasePath ¶
func (o *GetIpythonNotebooksURL) WithBasePath(bp string) *GetIpythonNotebooksURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNotebookDetails ¶
type GetNotebookDetails struct { Context *middleware.Context Handler GetNotebookDetailsHandler }
GetNotebookDetails swagger:route GET /notebooks/{id} notebook getNotebookDetails
returns Jupyter notebook detail information
func NewGetNotebookDetails ¶
func NewGetNotebookDetails(ctx *middleware.Context, handler GetNotebookDetailsHandler) *GetNotebookDetails
NewGetNotebookDetails creates a new http.Handler for the get notebook details operation
func (*GetNotebookDetails) ServeHTTP ¶
func (o *GetNotebookDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNotebookDetailsDefault ¶
type GetNotebookDetailsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetNotebookDetailsDefault Unexpected error
swagger:response getNotebookDetailsDefault
func NewGetNotebookDetailsDefault ¶
func NewGetNotebookDetailsDefault(code int) *GetNotebookDetailsDefault
NewGetNotebookDetailsDefault creates GetNotebookDetailsDefault with default headers values
func (*GetNotebookDetailsDefault) SetPayload ¶
func (o *GetNotebookDetailsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get notebook details default response
func (*GetNotebookDetailsDefault) SetStatusCode ¶
func (o *GetNotebookDetailsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get notebook details default response
func (*GetNotebookDetailsDefault) WithPayload ¶
func (o *GetNotebookDetailsDefault) WithPayload(payload *models.Error) *GetNotebookDetailsDefault
WithPayload adds the payload to the get notebook details default response
func (*GetNotebookDetailsDefault) WithStatusCode ¶
func (o *GetNotebookDetailsDefault) WithStatusCode(code int) *GetNotebookDetailsDefault
WithStatusCode adds the status to the get notebook details default response
func (*GetNotebookDetailsDefault) WriteResponse ¶
func (o *GetNotebookDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNotebookDetailsHandler ¶
type GetNotebookDetailsHandler interface {
Handle(GetNotebookDetailsParams) middleware.Responder
}
GetNotebookDetailsHandler interface for that can handle valid get notebook details params
type GetNotebookDetailsHandlerFunc ¶
type GetNotebookDetailsHandlerFunc func(GetNotebookDetailsParams) middleware.Responder
GetNotebookDetailsHandlerFunc turns a function with the right signature into a get notebook details handler
func (GetNotebookDetailsHandlerFunc) Handle ¶
func (fn GetNotebookDetailsHandlerFunc) Handle(params GetNotebookDetailsParams) middleware.Responder
Handle executing the request and returning a response
type GetNotebookDetailsOK ¶
type GetNotebookDetailsOK struct { /* In: Body */ Payload *models.NotebookDetail `json:"body,omitempty"` }
GetNotebookDetailsOK OK
swagger:response getNotebookDetailsOK
func NewGetNotebookDetailsOK ¶
func NewGetNotebookDetailsOK() *GetNotebookDetailsOK
NewGetNotebookDetailsOK creates GetNotebookDetailsOK with default headers values
func (*GetNotebookDetailsOK) SetPayload ¶
func (o *GetNotebookDetailsOK) SetPayload(payload *models.NotebookDetail)
SetPayload sets the payload to the get notebook details o k response
func (*GetNotebookDetailsOK) WithPayload ¶
func (o *GetNotebookDetailsOK) WithPayload(payload *models.NotebookDetail) *GetNotebookDetailsOK
WithPayload adds the payload to the get notebook details o k response
func (*GetNotebookDetailsOK) WriteResponse ¶
func (o *GetNotebookDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNotebookDetailsParams ¶
type GetNotebookDetailsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Notebook container ID Required: true In: path */ ID string }
GetNotebookDetailsParams contains all the bound params for the get notebook details operation typically these are obtained from a http.Request
swagger:parameters getNotebookDetails
func NewGetNotebookDetailsParams ¶
func NewGetNotebookDetailsParams() GetNotebookDetailsParams
NewGetNotebookDetailsParams creates a new GetNotebookDetailsParams object no default values defined in spec.
func (*GetNotebookDetailsParams) BindRequest ¶
func (o *GetNotebookDetailsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNotebookDetailsParams() beforehand.
type GetNotebookDetailsURL ¶
type GetNotebookDetailsURL struct { ID string // contains filtered or unexported fields }
GetNotebookDetailsURL generates an URL for the get notebook details operation
func (*GetNotebookDetailsURL) Build ¶
func (o *GetNotebookDetailsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNotebookDetailsURL) BuildFull ¶
func (o *GetNotebookDetailsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNotebookDetailsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNotebookDetailsURL) SetBasePath ¶
func (o *GetNotebookDetailsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNotebookDetailsURL) String ¶
func (o *GetNotebookDetailsURL) String() string
String returns the string representation of the path with query string
func (*GetNotebookDetailsURL) StringFull ¶
func (o *GetNotebookDetailsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNotebookDetailsURL) WithBasePath ¶
func (o *GetNotebookDetailsURL) WithBasePath(bp string) *GetNotebookDetailsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetNotebooks ¶
type GetNotebooks struct { Context *middleware.Context Handler GetNotebooksHandler }
GetNotebooks swagger:route GET /notebooks notebook getNotebooks
returns Jupyter notebook information
func NewGetNotebooks ¶
func NewGetNotebooks(ctx *middleware.Context, handler GetNotebooksHandler) *GetNotebooks
NewGetNotebooks creates a new http.Handler for the get notebooks operation
func (*GetNotebooks) ServeHTTP ¶
func (o *GetNotebooks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetNotebooksDefault ¶
type GetNotebooksDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetNotebooksDefault Unexpected error
swagger:response getNotebooksDefault
func NewGetNotebooksDefault ¶
func NewGetNotebooksDefault(code int) *GetNotebooksDefault
NewGetNotebooksDefault creates GetNotebooksDefault with default headers values
func (*GetNotebooksDefault) SetPayload ¶
func (o *GetNotebooksDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get notebooks default response
func (*GetNotebooksDefault) SetStatusCode ¶
func (o *GetNotebooksDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get notebooks default response
func (*GetNotebooksDefault) WithPayload ¶
func (o *GetNotebooksDefault) WithPayload(payload *models.Error) *GetNotebooksDefault
WithPayload adds the payload to the get notebooks default response
func (*GetNotebooksDefault) WithStatusCode ¶
func (o *GetNotebooksDefault) WithStatusCode(code int) *GetNotebooksDefault
WithStatusCode adds the status to the get notebooks default response
func (*GetNotebooksDefault) WriteResponse ¶
func (o *GetNotebooksDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNotebooksHandler ¶
type GetNotebooksHandler interface {
Handle(GetNotebooksParams) middleware.Responder
}
GetNotebooksHandler interface for that can handle valid get notebooks params
type GetNotebooksHandlerFunc ¶
type GetNotebooksHandlerFunc func(GetNotebooksParams) middleware.Responder
GetNotebooksHandlerFunc turns a function with the right signature into a get notebooks handler
func (GetNotebooksHandlerFunc) Handle ¶
func (fn GetNotebooksHandlerFunc) Handle(params GetNotebooksParams) middleware.Responder
Handle executing the request and returning a response
type GetNotebooksOK ¶
GetNotebooksOK OK
swagger:response getNotebooksOK
func NewGetNotebooksOK ¶
func NewGetNotebooksOK() *GetNotebooksOK
NewGetNotebooksOK creates GetNotebooksOK with default headers values
func (*GetNotebooksOK) SetPayload ¶
func (o *GetNotebooksOK) SetPayload(payload []*models.Notebook)
SetPayload sets the payload to the get notebooks o k response
func (*GetNotebooksOK) WithPayload ¶
func (o *GetNotebooksOK) WithPayload(payload []*models.Notebook) *GetNotebooksOK
WithPayload adds the payload to the get notebooks o k response
func (*GetNotebooksOK) WriteResponse ¶
func (o *GetNotebooksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetNotebooksParams ¶
GetNotebooksParams contains all the bound params for the get notebooks operation typically these are obtained from a http.Request
swagger:parameters getNotebooks
func NewGetNotebooksParams ¶
func NewGetNotebooksParams() GetNotebooksParams
NewGetNotebooksParams creates a new GetNotebooksParams object no default values defined in spec.
func (*GetNotebooksParams) BindRequest ¶
func (o *GetNotebooksParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetNotebooksParams() beforehand.
type GetNotebooksURL ¶
type GetNotebooksURL struct {
// contains filtered or unexported fields
}
GetNotebooksURL generates an URL for the get notebooks operation
func (*GetNotebooksURL) Build ¶
func (o *GetNotebooksURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetNotebooksURL) BuildFull ¶
func (o *GetNotebooksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetNotebooksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetNotebooksURL) SetBasePath ¶
func (o *GetNotebooksURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetNotebooksURL) String ¶
func (o *GetNotebooksURL) String() string
String returns the string representation of the path with query string
func (*GetNotebooksURL) StringFull ¶
func (o *GetNotebooksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetNotebooksURL) WithBasePath ¶
func (o *GetNotebooksURL) WithBasePath(bp string) *GetNotebooksURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ModifyNotebook ¶
type ModifyNotebook struct { Context *middleware.Context Handler ModifyNotebookHandler }
ModifyNotebook swagger:route PATCH /notebooks/{id} notebook modifyNotebook
modify the notebook status
func NewModifyNotebook ¶
func NewModifyNotebook(ctx *middleware.Context, handler ModifyNotebookHandler) *ModifyNotebook
NewModifyNotebook creates a new http.Handler for the modify notebook operation
func (*ModifyNotebook) ServeHTTP ¶
func (o *ModifyNotebook) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ModifyNotebookBody ¶
type ModifyNotebookBody struct { // status // Enum: [started stopped] Status string `json:"status,omitempty"` }
ModifyNotebookBody NotebookAttrs swagger:model ModifyNotebookBody
func (*ModifyNotebookBody) MarshalBinary ¶
func (o *ModifyNotebookBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModifyNotebookBody) UnmarshalBinary ¶
func (o *ModifyNotebookBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModifyNotebookDefault ¶
type ModifyNotebookDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ModifyNotebookDefault Unexpected error
swagger:response modifyNotebookDefault
func NewModifyNotebookDefault ¶
func NewModifyNotebookDefault(code int) *ModifyNotebookDefault
NewModifyNotebookDefault creates ModifyNotebookDefault with default headers values
func (*ModifyNotebookDefault) SetPayload ¶
func (o *ModifyNotebookDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the modify notebook default response
func (*ModifyNotebookDefault) SetStatusCode ¶
func (o *ModifyNotebookDefault) SetStatusCode(code int)
SetStatusCode sets the status to the modify notebook default response
func (*ModifyNotebookDefault) WithPayload ¶
func (o *ModifyNotebookDefault) WithPayload(payload *models.Error) *ModifyNotebookDefault
WithPayload adds the payload to the modify notebook default response
func (*ModifyNotebookDefault) WithStatusCode ¶
func (o *ModifyNotebookDefault) WithStatusCode(code int) *ModifyNotebookDefault
WithStatusCode adds the status to the modify notebook default response
func (*ModifyNotebookDefault) WriteResponse ¶
func (o *ModifyNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ModifyNotebookHandler ¶
type ModifyNotebookHandler interface {
Handle(ModifyNotebookParams) middleware.Responder
}
ModifyNotebookHandler interface for that can handle valid modify notebook params
type ModifyNotebookHandlerFunc ¶
type ModifyNotebookHandlerFunc func(ModifyNotebookParams) middleware.Responder
ModifyNotebookHandlerFunc turns a function with the right signature into a modify notebook handler
func (ModifyNotebookHandlerFunc) Handle ¶
func (fn ModifyNotebookHandlerFunc) Handle(params ModifyNotebookParams) middleware.Responder
Handle executing the request and returning a response
type ModifyNotebookOK ¶
type ModifyNotebookOK struct { }
ModifyNotebookOK OK
swagger:response modifyNotebookOK
func NewModifyNotebookOK ¶
func NewModifyNotebookOK() *ModifyNotebookOK
NewModifyNotebookOK creates ModifyNotebookOK with default headers values
func (*ModifyNotebookOK) WriteResponse ¶
func (o *ModifyNotebookOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ModifyNotebookParams ¶
type ModifyNotebookParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body ModifyNotebookBody /*Notebook container ID Required: true In: path */ ID string }
ModifyNotebookParams contains all the bound params for the modify notebook operation typically these are obtained from a http.Request
swagger:parameters modifyNotebook
func NewModifyNotebookParams ¶
func NewModifyNotebookParams() ModifyNotebookParams
NewModifyNotebookParams creates a new ModifyNotebookParams object no default values defined in spec.
func (*ModifyNotebookParams) BindRequest ¶
func (o *ModifyNotebookParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewModifyNotebookParams() beforehand.
type ModifyNotebookURL ¶
type ModifyNotebookURL struct { ID string // contains filtered or unexported fields }
ModifyNotebookURL generates an URL for the modify notebook operation
func (*ModifyNotebookURL) Build ¶
func (o *ModifyNotebookURL) Build() (*url.URL, error)
Build a url path and query string
func (*ModifyNotebookURL) BuildFull ¶
func (o *ModifyNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ModifyNotebookURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ModifyNotebookURL) SetBasePath ¶
func (o *ModifyNotebookURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ModifyNotebookURL) String ¶
func (o *ModifyNotebookURL) String() string
String returns the string representation of the path with query string
func (*ModifyNotebookURL) StringFull ¶
func (o *ModifyNotebookURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ModifyNotebookURL) WithBasePath ¶
func (o *ModifyNotebookURL) WithBasePath(bp string) *ModifyNotebookURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PostNewNotebook ¶
type PostNewNotebook struct { Context *middleware.Context Handler PostNewNotebookHandler }
PostNewNotebook swagger:route POST /notebooks notebook postNewNotebook
creates Jupyter notebook container
func NewPostNewNotebook ¶
func NewPostNewNotebook(ctx *middleware.Context, handler PostNewNotebookHandler) *PostNewNotebook
NewPostNewNotebook creates a new http.Handler for the post new notebook operation
func (*PostNewNotebook) ServeHTTP ¶
func (o *PostNewNotebook) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PostNewNotebookBody ¶
type PostNewNotebookBody struct { // Docker image name // Required: true Image *string `json:"image"` // workspace to be mounted Workspace string `json:"workspace,omitempty"` }
PostNewNotebookBody ImageName swagger:model PostNewNotebookBody
func (*PostNewNotebookBody) MarshalBinary ¶
func (o *PostNewNotebookBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostNewNotebookBody) UnmarshalBinary ¶
func (o *PostNewNotebookBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostNewNotebookCreated ¶
type PostNewNotebookCreated struct { }
PostNewNotebookCreated OK
swagger:response postNewNotebookCreated
func NewPostNewNotebookCreated ¶
func NewPostNewNotebookCreated() *PostNewNotebookCreated
NewPostNewNotebookCreated creates PostNewNotebookCreated with default headers values
func (*PostNewNotebookCreated) WriteResponse ¶
func (o *PostNewNotebookCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostNewNotebookDefault ¶
type PostNewNotebookDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
PostNewNotebookDefault Unexpected error
swagger:response postNewNotebookDefault
func NewPostNewNotebookDefault ¶
func NewPostNewNotebookDefault(code int) *PostNewNotebookDefault
NewPostNewNotebookDefault creates PostNewNotebookDefault with default headers values
func (*PostNewNotebookDefault) SetPayload ¶
func (o *PostNewNotebookDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the post new notebook default response
func (*PostNewNotebookDefault) SetStatusCode ¶
func (o *PostNewNotebookDefault) SetStatusCode(code int)
SetStatusCode sets the status to the post new notebook default response
func (*PostNewNotebookDefault) WithPayload ¶
func (o *PostNewNotebookDefault) WithPayload(payload *models.Error) *PostNewNotebookDefault
WithPayload adds the payload to the post new notebook default response
func (*PostNewNotebookDefault) WithStatusCode ¶
func (o *PostNewNotebookDefault) WithStatusCode(code int) *PostNewNotebookDefault
WithStatusCode adds the status to the post new notebook default response
func (*PostNewNotebookDefault) WriteResponse ¶
func (o *PostNewNotebookDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PostNewNotebookHandler ¶
type PostNewNotebookHandler interface {
Handle(PostNewNotebookParams) middleware.Responder
}
PostNewNotebookHandler interface for that can handle valid post new notebook params
type PostNewNotebookHandlerFunc ¶
type PostNewNotebookHandlerFunc func(PostNewNotebookParams) middleware.Responder
PostNewNotebookHandlerFunc turns a function with the right signature into a post new notebook handler
func (PostNewNotebookHandlerFunc) Handle ¶
func (fn PostNewNotebookHandlerFunc) Handle(params PostNewNotebookParams) middleware.Responder
Handle executing the request and returning a response
type PostNewNotebookParams ¶
type PostNewNotebookParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body PostNewNotebookBody }
PostNewNotebookParams contains all the bound params for the post new notebook operation typically these are obtained from a http.Request
swagger:parameters postNewNotebook
func NewPostNewNotebookParams ¶
func NewPostNewNotebookParams() PostNewNotebookParams
NewPostNewNotebookParams creates a new PostNewNotebookParams object no default values defined in spec.
func (*PostNewNotebookParams) BindRequest ¶
func (o *PostNewNotebookParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPostNewNotebookParams() beforehand.
type PostNewNotebookURL ¶
type PostNewNotebookURL struct {
// contains filtered or unexported fields
}
PostNewNotebookURL generates an URL for the post new notebook operation
func (*PostNewNotebookURL) Build ¶
func (o *PostNewNotebookURL) Build() (*url.URL, error)
Build a url path and query string
func (*PostNewNotebookURL) BuildFull ¶
func (o *PostNewNotebookURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PostNewNotebookURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PostNewNotebookURL) SetBasePath ¶
func (o *PostNewNotebookURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PostNewNotebookURL) String ¶
func (o *PostNewNotebookURL) String() string
String returns the string representation of the path with query string
func (*PostNewNotebookURL) StringFull ¶
func (o *PostNewNotebookURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PostNewNotebookURL) WithBasePath ¶
func (o *PostNewNotebookURL) WithBasePath(bp string) *PostNewNotebookURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- delete_notebook.go
- delete_notebook_parameters.go
- delete_notebook_responses.go
- delete_notebook_urlbuilder.go
- get_ipython_notebooks.go
- get_ipython_notebooks_parameters.go
- get_ipython_notebooks_responses.go
- get_ipython_notebooks_urlbuilder.go
- get_notebook_details.go
- get_notebook_details_parameters.go
- get_notebook_details_responses.go
- get_notebook_details_urlbuilder.go
- get_notebooks.go
- get_notebooks_parameters.go
- get_notebooks_responses.go
- get_notebooks_urlbuilder.go
- modify_notebook.go
- modify_notebook_parameters.go
- modify_notebook_responses.go
- modify_notebook_urlbuilder.go
- post_new_notebook.go
- post_new_notebook_parameters.go
- post_new_notebook_responses.go
- post_new_notebook_urlbuilder.go