ocmprovider

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const OCMAPIVersion = "1.1.0"

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, m map[string]interface{}) (global.Service, error)

New returns a new ocmprovider object, that implements the OCM discovery endpoint specified in https://cs3org.github.io/OCM-API/docs.html?repo=OCM-API&user=cs3org#/paths/~1ocm-provider/get

Types

type DiscoveryData added in v1.27.0

type DiscoveryData struct {
	Enabled       bool            `json:"enabled"       xml:"enabled"`
	APIVersion    string          `json:"apiVersion"    xml:"apiVersion"`
	Endpoint      string          `json:"endPoint"      xml:"endPoint"`
	Provider      string          `json:"provider"      xml:"provider"`
	ResourceTypes []resourceTypes `json:"resourceTypes" xml:"resourceTypes"`
	Capabilities  []string        `json:"capabilities"  xml:"capabilities"`
}

Jump to

Keyboard shortcuts

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