datasetcreating

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BindAdd

type BindAdd struct {
	Method string `form:"method"`
}

type BindImport

type BindImport struct {
	Source     string `form:"source"`
	Identifier string `form:"identifier"`
}

type Context

type Context struct {
	handlers.BaseContext
	Dataset *models.Dataset
}

type Handler

type Handler struct {
	handlers.BaseHandler
	Repo                *repositories.Repo
	DatasetSearchIndex  backends.DatasetIndex
	DatasetSources      map[string]backends.DatasetGetter
	OrganizationService backends.OrganizationService
}

func (*Handler) Add

func (h *Handler) Add(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddConfirm

func (h *Handler) AddConfirm(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddDescription

func (h *Handler) AddDescription(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddFinish

func (h *Handler) AddFinish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddImport

func (h *Handler) AddImport(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddPublish

func (h *Handler) AddPublish(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) AddSaveDraft

func (h *Handler) AddSaveDraft(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) ConfirmImport

func (h *Handler) ConfirmImport(w http.ResponseWriter, r *http.Request, ctx Context)

func (*Handler) Wrap

type YieldAdd

type YieldAdd struct {
	Context
	PageTitle           string
	Step                int
	Source              string
	Identifier          string
	Dataset             *models.Dataset
	DuplicateDataset    bool
	DatasetPublications []*models.Publication
	ActiveNav           string
	SubNavs             []string // needed to render show_description
	ActiveSubNav        string   // needed to render show_description
	RedirectURL         string   // needed to render show_description
	DisplayDetails      *display.Display
	Errors              *YieldValidationErrors
}

type YieldValidationErrors

type YieldValidationErrors struct {
	Title  string
	Errors form.Errors
}

Jump to

Keyboard shortcuts

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