Documentation ¶
Index ¶
Constants ¶
View Source
const OCMAPIVersion = "1.1.0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OcmDiscoveryData ¶ added in v2.26.0
type OcmDiscoveryData 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"` }
type OcmProviderConfig ¶ added in v2.26.0
type OcmProviderConfig struct { OCMPrefix string `docs:"ocm;The prefix URL where the OCM API is served." mapstructure:"ocm_prefix"` Endpoint string `docs:"This host's full URL. If it's not configured, it is assumed OCM is not available." mapstructure:"endpoint"` Provider string `docs:"reva;A friendly name that defines this service." mapstructure:"provider"` WebdavRoot string `docs:"/remote.php/dav/ocm;The root URL of the WebDAV endpoint to serve OCM shares." mapstructure:"webdav_root"` WebappRoot string `docs:"/external/sciencemesh;The root URL to serve Web apps via OCM." mapstructure:"webapp_root"` EnableWebapp bool `docs:"false;Whether web apps are enabled in OCM shares." mapstructure:"enable_webapp"` EnableDatatx bool `docs:"false;Whether data transfers are enabled in OCM shares." mapstructure:"enable_datatx"` }
func (*OcmProviderConfig) ApplyDefaults ¶ added in v2.26.0
func (c *OcmProviderConfig) ApplyDefaults()
Click to show internal directories.
Click to hide internal directories.