ydk

package
v0.0.0-...-b5e1584 Latest Latest
Warning

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

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

Documentation

Overview

Package ydk provides support for usage of Go API including path, providers, services, and types.

YANG Development Kit Copyright 2017 Cisco Systems. All rights reserved. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableLogging

func EnableLogging(level LogLevel)

EnableLogging enables logging on the code that runs in C++

func GetTopEntity

func GetTopEntity(name string) (types.Entity, bool)

GetTopEntity

func RegisterEntity

func RegisterEntity(name string, entity_type reflect.Type)

RegisterEntity

func YLogDebug

func YLogDebug(msg string)

func YLogError

func YLogError(msg string)

func YLogInfo

func YLogInfo(msg string)

func YLogWarn

func YLogWarn(msg string)

Types

type LogLevel

type LogLevel int

LogLevel indicates what level of logging to output

const (
	Off LogLevel = iota
	Debug
	Info
	Warning
	Error
)

Directories

Path Synopsis
Package services implements support for Go services.
Package services implements support for Go services.
datastore
Package datastore provides support for the DataStore type.
Package datastore provides support for the DataStore type.
encoding_format
Package encodingformat provides support for the EncodingFormat type.
Package encodingformat provides support for the EncodingFormat type.
protocol
Package protocol provides support for the Protocol type.
Package protocol provides support for the Protocol type.
yfilter
Package yfilter can be used to include the various operations supported in the Netconf protocol’s edit-config RPC in your YDK app.
Package yfilter can be used to include the various operations supported in the Netconf protocol’s edit-config RPC in your YDK app.
ylist
Package types provides built-in types specified in YANG RFC 6020 and types used in YDK Go APIs.
Package types provides built-in types specified in YANG RFC 6020 and types used in YDK Go APIs.
ytype
Package ytype provides support for YANG builtin types.
Package ytype provides support for YANG builtin types.

Jump to

Keyboard shortcuts

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