node

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResourceTypeNode = servicecommon.ResourceTypeNode
	MarkedForDelete  = true
)

Functions

This section is empty.

Types

type NodeService

type NodeService struct {
	servicecommon.Service
	NodeStore *NodeStore
}

func InitializeNode

func InitializeNode(service servicecommon.Service) (*NodeService, error)

func (*NodeService) SyncNodeStore

func (service *NodeService) SyncNodeStore(nodeName string, deleted bool) error

type NodeStore

type NodeStore struct {
	common.ResourceStore
}

NodeStore is a store for node (NSX HostTransportNode)

func (*NodeStore) Apply added in v0.0.1

func (vs *NodeStore) Apply(i interface{}) error

func (*NodeStore) GetByIndex

func (nodeStore *NodeStore) GetByIndex(key string, value string) []model.HostTransportNode

func (*NodeStore) GetByKey

func (nodeStore *NodeStore) GetByKey(key string) *model.HostTransportNode

Jump to

Keyboard shortcuts

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