appprovider

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(m map[string]interface{}, log *zerolog.Logger) (global.Service, error)

New returns a new ocmd object

Types

type Config

type Config struct {
	Prefix            string `mapstructure:"prefix"`
	GatewaySvc        string `mapstructure:"gatewaysvc"`
	Insecure          bool   `mapstructure:"insecure"`
	WebBaseURI        string `mapstructure:"webbaseuri"`
	Web               Web    `mapstructure:"web"`
	SecureViewAppAddr string `mapstructure:"secure_view_app_addr"`
}

Config holds the config options for the HTTP appprovider service

type MimeTypeInfo added in v2.20.0

type MimeTypeInfo struct {
	appregistry.MimeTypeInfo
	AppProviders []*ProviderInfo `json:"app_providers"`
}

MimeTypeInfo wraps the appregistry.MimeTypeInfo to change the app providers to ProviderInfos with a secure view flag

type ProviderInfo added in v2.20.0

type ProviderInfo struct {
	appregistry.ProviderInfo
	// TODO make this part of the CS3 provider info
	SecureView bool `json:"secure_view"`
}

ProviderInfo wraps the appregistry.ProviderInfo to add a secure view flag

type Web added in v2.8.0

type Web struct {
	URLParamsMapping map[string]string `mapstructure:"urlparamsmapping"`
	StaticURLParams  map[string]string `mapstructure:"staticurlparams"`
}

Web holds the config options for the URL parameters for Web

Jump to

Keyboard shortcuts

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