as3parsing

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AS3ToRestProperties added in v0.0.2

func AS3ToRestProperties(as3PropFilePath, restPropFilePath string) error

AS3ToRestProperties is used to generate restPropFilePath from as3PropFilePath

func Initialize

func Initialize(bip *f5_bigip.BIGIP, as3Svc string, logLevel string) error

func ParseAS3

func ParseAS3(ctx context.Context, as3obj map[string]interface{}) (map[string]interface{}, error)

Types

type ConvertContext

type ConvertContext struct {
	context.Context
}

type ParseContext

type ParseContext struct {
	context.Context
}

type Properties

type Properties map[string]Property

type Property

type Property struct {
	RestName        string                 `json:"restname"`
	Falsehood       string                 `json:"falsehood"`
	Truth           string                 `json:"truth"`
	Extend          string                 `json:"extend"`
	QuotedString    bool                   `json:"quotedString"`
	IntToString     bool                   `json:"intToString"`
	MinVersion      string                 `json:"minVersion"`
	RequiredModules map[string]interface{} `json:"requiredModules"`
	Default         string                 `json:"default"`
}

Jump to

Keyboard shortcuts

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