models

package
v0.0.0-...-6410feb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forward

type Forward struct {
	proxy_models.SForward

	ProxyEndpoint *ProxyEndpoint
}

func (*Forward) Copy

func (el *Forward) Copy() *Forward

type Forwards

type Forwards map[string]*Forward

func (Forwards) AddModel

func (set Forwards) AddModel(i db.IModel)

func (Forwards) Copy

func (set Forwards) Copy() apihelper.IModelSet

func (Forwards) ModelManager

func (set Forwards) ModelManager() mcclient_modulebase.IBaseManager

func (Forwards) NewModel

func (set Forwards) NewModel() db.IModel

type ModelSets

type ModelSets struct {
	ProxyEndpoints ProxyEndpoints
	Forwards       Forwards
}

func NewModelSets

func NewModelSets() *ModelSets

func (*ModelSets) ApplyUpdates

func (mss *ModelSets) ApplyUpdates(mssNews apihelper.IModelSets) apihelper.ModelSetsUpdateResult

func (*ModelSets) Copy

func (mss *ModelSets) Copy() apihelper.IModelSets

func (*ModelSets) CopyJoined

func (mss *ModelSets) CopyJoined() apihelper.IModelSets

func (*ModelSets) ModelSetList

func (mss *ModelSets) ModelSetList() []apihelper.IModelSet

func (*ModelSets) NewEmpty

func (mss *ModelSets) NewEmpty() apihelper.IModelSets

type ModelSetsMaxUpdatedAt

type ModelSetsMaxUpdatedAt struct {
	ProxyEndpoints time.Time
	Forwards       time.Time
}

func NewModelSetsMaxUpdatedAt

func NewModelSetsMaxUpdatedAt() *ModelSetsMaxUpdatedAt

type ProxyEndpoint

type ProxyEndpoint struct {
	proxy_models.SProxyEndpoint

	Forwards Forwards `json:"-"`
}

func (*ProxyEndpoint) Copy

func (el *ProxyEndpoint) Copy() *ProxyEndpoint

type ProxyEndpoints

type ProxyEndpoints map[string]*ProxyEndpoint

func (ProxyEndpoints) AddModel

func (set ProxyEndpoints) AddModel(i db.IModel)

func (ProxyEndpoints) Copy

func (set ProxyEndpoints) Copy() apihelper.IModelSet

func (ProxyEndpoints) ModelManager

func (set ProxyEndpoints) ModelManager() mcclient_modulebase.IBaseManager

func (ProxyEndpoints) NewModel

func (set ProxyEndpoints) NewModel() db.IModel

Jump to

Keyboard shortcuts

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