types

package
v0.0.0-...-332ca20 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Separator = '/'
)

ExternalID Name and Value should not containers separator '/', this is validated by lynx validate webhook.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalID

type ExternalID struct {
	Name  string `json:"Name"`
	Value string `json:"Value"`
}

ExternalID describe the externalID of an endpoint.

func (ExternalID) MatchIface

func (n ExternalID) MatchIface(ifaces []agentv1alpha1.OVSInterface) (index int, matches bool)

MatchIface return the matches ovs interface index, if unmatch, index will be -1.

func (ExternalID) String

func (n ExternalID) String() string

String returns the general purpose string representation Eg. endpoint.lynx.smartx.com/ep01

Jump to

Keyboard shortcuts

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