bindings

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVersion     = "v1"
	DefaultName        = "hello-world-binding"
	DefaultSlaveLevel  = level.SlaveLevel1
	DefaultMasterLevel = level.MasterLevel1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	Version     string `json:"version"`
	BindingName string `json:"name"`
	SlaveGuid   string `json:"slave"`
	MasterGuid  string `json:"master"`
	SlaveLevel  string `json:"slave_level"`
	MasterLevel string `json:"master_level"`
}

func NewBinding

func NewBinding(bindingName, slaveLevel, masterLevel, masterGuid, slaveGuid, version string) *Binding

func NewDefaultBinding

func NewDefaultBinding() *Binding

func (*Binding) DeepCopy

func (r *Binding) DeepCopy() *Binding

Jump to

Keyboard shortcuts

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