create

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FcrepoStateOn  = "on"
	FcrepoStateOff = "off"

	IIIFCantaloupe       = "cantaloupe"
	IIIFTriplet          = "triplet"
	IIIFTopologyLocal    = "local"
	IIIFTopologyExternal = "external"

	DerivativeTopologyLocal       = "local"
	DerivativeTopologyDistributed = "distributed"

	CodebaseNested  = "nested"
	CodebaseGitRoot = "git-root"

	DefaultDrupalRootfs      = "drupal/rootfs/var/www/drupal"
	DefaultISLEFileSystemURI = "private"
	PublicISLEFileSystemURI  = "public"
	PrivateISLEFileSystemURI = "private"
)

Variables

This section is empty.

Functions

func Apply

func Apply(opts Options) error

func ApplyDerivativeServices added in v0.13.0

func ApplyDerivativeServices(opts Options) error

ApplyDerivativeServices applies the requested local or distributed topology for derivative services in docker-compose.yml and docker-compose.dev.yml.

func ApplyIIIF added in v0.11.0

func ApplyIIIF(opts Options) error

func DerivativeServiceNames added in v0.13.0

func DerivativeServiceNames() []string

DerivativeServiceNames returns the derivative service names in catalog order.

func IsDerivativeService added in v0.13.0

func IsDerivativeService(name string) bool

IsDerivativeService reports whether name is a known derivative service.

Types

type DerivativeServiceSpec added in v0.13.0

type DerivativeServiceSpec struct {
	Name        string
	ImageRef    string
	AlpacaEnv   string
	ExternalURL string
	LocalURL    string
	NeedsJWT    bool
}

DerivativeServiceSpec describes one derivative microservice and the URLs used when it runs locally or through the managed LibOps endpoint.

func DerivativeServiceSpecs added in v0.13.0

func DerivativeServiceSpecs() []DerivativeServiceSpec

DerivativeServiceSpecs returns the canonical derivative service catalog.

type Options

type Options struct {
	Path               string
	DrupalRootfs       string
	Fcrepo             string
	Blazegraph         string
	IIIF               string
	IIIFTopology       string
	IIIFUpstreamURL    string
	BotMitigation      string
	ComposeOverride    string
	ISLEFileSystemURI  string
	DerivativeServices map[string]string
	Codebase           string
}

Jump to

Keyboard shortcuts

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