configmap

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(path string,
	devices map[string]*globals.OnvifDev,
	dms map[string]common.DeviceModel,
	protocols map[string]common.Protocol) error

Parse parse the configmap.

Types

type CustomizedValue

type CustomizedValue map[string]interface{}

CustomizedValue is the customized part for Onvif protocol.

type OnvifProtocolCommonConfig

type OnvifProtocolCommonConfig struct {
}

OnvifProtocolCommonConfig is the Onvif protocol configuration.

type OnvifProtocolConfig

type OnvifProtocolConfig struct {
	ProtocolName string          `json:"protocolName"`
	ConfigData   CustomizedValue `json:"configData"`
}

OnvifProtocolConfig is the protocol configuration.

type OnvifVisitorConfig

type OnvifVisitorConfig struct {
	ProtocolName string          `json:"protocolName"`
	ConfigData   CustomizedValue `json:"configData"`
}

OnvifVisitorConfig is the Onvif register configuration.

Jump to

Keyboard shortcuts

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