configentry

package
v1.16.109 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	rpcclient.Client
}

Client provides access to config entry data.

func (*Client) GetConfigEntry

GetConfigEntry returns the config entry (if possible) given the provided config entry query

func (*Client) GetSamenessGroup

GetSamenessGroup returns the sameness group config entry (if possible) given the provided config entry query

type ConfigEntryListView

type ConfigEntryListView struct {
	// contains filtered or unexported fields
}

ConfigEntryListView implements a submatview.View for a list of config entries that are all of the same kind (name is treated as unique).

func NewConfigEntryListView

func NewConfigEntryListView(kind string, entMeta acl.EnterpriseMeta) *ConfigEntryListView

NewConfigEntryListView contructs a ConfigEntryListView based on the enterprise meta data and the kind

func (*ConfigEntryListView) Reset

func (v *ConfigEntryListView) Reset()

Reset resets the states of the list view to an empty map of Config Entries

func (*ConfigEntryListView) Result

func (v *ConfigEntryListView) Result(index uint64) any

Result returns the structs.IndexedConfigEntries stored by this view.

func (*ConfigEntryListView) Update

func (v *ConfigEntryListView) Update(events []*pbsubscribe.Event) error

Update updates the states containing a config entry based on events

type ConfigEntryView

type ConfigEntryView struct {
	// contains filtered or unexported fields
}

ConfigEntryView implements a submatview.View for a single config entry.

func (*ConfigEntryView) Reset

func (v *ConfigEntryView) Reset()

Reset resets the state to nil for the ConfigEntryView

func (*ConfigEntryView) Result

func (v *ConfigEntryView) Result(index uint64) any

Result returns the structs.ConfigEntryResponse stored by this view.

func (*ConfigEntryView) Update

func (v *ConfigEntryView) Update(events []*pbsubscribe.Event) error

Update updates the state containing a config entry based on events

Jump to

Keyboard shortcuts

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