Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateCellRequest ¶
type CreateCellRequest struct {
Name string `json:"name" validate:"max=255"`
InlineContents string `json:"inline_contents" validate:"required_without=Command"`
Command string `json:"command" validate:"required_without=InlineContents"`
EnvVars map[string]string `json:"env_vars"`
Timeout int `json:"timeout,omitempty" validate:"omitempty,min=1,max=3600"`
Role string `json:"role"`
EnableKubeConfig *bool `json:"enable_kube_config" extensions:"x-nullable"`
}
type CreateNotebookRequest ¶
type Params ¶
type Params struct {
fx.In
V *validator.Validate
DB *gorm.DB `name:"psql"`
L *zap.Logger
Cfg *internal.Config
InstallHelpers *installhelpers.Helpers
EndpointAudit *apiPkg.EndpointAudit
FeaturesClient *features.Features
NotebookClient *notebookclient.Client
QueueClient *queueclient.Client
}
type ReorderCellsRequest ¶
type ReorderCellsRequest struct {
CellIDs []string `json:"cell_ids" validate:"required,min=1"`
}
type RunCellRequest ¶
type RunCellRequest struct {
// IdempotencyKey deduplicates retried run requests. Optional; a server-side
// key is generated when empty.
IdempotencyKey string `json:"idempotency_key" validate:"omitempty,max=255"`
}
type UpdateCellRequest ¶
type UpdateCellRequest struct {
Name *string `json:"name" validate:"omitempty,max=255"`
InlineContents *string `json:"inline_contents"`
Command *string `json:"command"`
EnvVars *map[string]string `json:"env_vars"`
Timeout *int `json:"timeout" validate:"omitempty,min=1,max=3600"`
Role *string `json:"role"`
EnableKubeConfig *bool `json:"enable_kube_config" extensions:"x-nullable"`
}
type UpdateNotebookRequest ¶
Click to show internal directories.
Click to hide internal directories.