handlers

package
v1.85.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 34 Imported by: 1

Documentation

Index

Constants

View Source
const (

	// Dataset types
	DatasetTypeNomis  = "nomis"
	DatasetTypeStatic = "static"
)

Constants

Variables

This section is empty.

Functions

func ApproveDatasetVersion added in v1.75.0

func ApproveDatasetVersion(dc clients.DatasetAPISdkClient, cfg config.Config) http.HandlerFunc

ApproveDatasetVersion handles the approve button click on static dataset version pages

func CreateCustomDataset added in v1.51.0

func CreateCustomDataset(pc clients.PopulationClient, zc clients.ZebedeeClient, rend clients.RenderClient, cfg config.Config, apiRouterVersion string) http.HandlerFunc

CreateCustomDataset will load the create custom dataset page

func CreateFilterFlexID added in v1.32.0

CreateFilterFlexID creates a new filter ID for filter flex journeys

func CreateFilterFlexIDFromOutput added in v1.42.0

func CreateFilterFlexIDFromOutput(fc clients.FilterClient) http.HandlerFunc

CreateFilterFlexIDFromOutput creates a new filter ID for filter flex journeys from the user's filter output

func CreateFilterID

CreateFilterID controls the creating of a filter idea when a new user journey is requested

func DatasetData added in v1.85.0

func DatasetData(datasetAPIClient clients.DatasetAPISdkClient, topicAPIClient clients.TopicAPIClient, isPublishing bool) http.HandlerFunc

DatasetData handles requests for JSON dataset data

func DatasetPage added in v1.34.0

DatasetPage will load a legacy dataset page

func EditionData added in v1.85.0

func EditionData(datasetAPIClient clients.DatasetAPISdkClient, topicAPIClient clients.TopicAPIClient, isPublishing bool) http.HandlerFunc

EditionData handles requests for JSON edition data

func EditionsList

func EditionsList(dc clients.DatasetAPISdkClient, zc clients.ZebedeeClient, rend clients.RenderClient, apiRouterVersion string) http.HandlerFunc

EditionsList will load a list of editions for a filterable dataset

func FilterOutput added in v1.34.0

FilterOutput will load a filtered landing page

func FilterableLanding

FilterableLanding will load a filterable landing page

func LegacyLanding

LegacyLanding will load a zebedee landing page

func MetadataText

MetadataText generates a metadata text file

func PostCreateCustomDataset added in v1.51.0

func PostCreateCustomDataset(fc clients.FilterClient) http.HandlerFunc

PostCreateCustomDataset controls creating a custom dataset using a population type

func StaticEditionsList added in v1.81.0

func StaticEditionsList(datasetAPIClient clients.DatasetAPISdkClient, renderClient clients.RenderClient, zebedeeClient clients.ZebedeeClient, topicAPIClient clients.TopicAPIClient, cfg config.Config, apiRouterVersion string) http.HandlerFunc

StaticEditionsList handles requests for the editions list page of static datasets

func StaticLanding added in v1.81.0

func StaticLanding(datasetAPIClient clients.DatasetAPISdkClient, renderClient clients.RenderClient, zebedeeClient clients.ZebedeeClient, topicAPIClient clients.TopicAPIClient, cfg config.Config, authMiddleware authorisation.Middleware) http.HandlerFunc

StaticLanding handles requests for the landing page of static datasets

func VersionData added in v1.85.0

func VersionData(datasetAPIClient clients.DatasetAPISdkClient, topicAPIClient clients.TopicAPIClient, isPublishing bool) http.HandlerFunc

VersionData handles requests for JSON version data

func VersionsList

VersionsList will load a list of versions for a filterable dataset

Types

This section is empty.

Jump to

Keyboard shortcuts

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