search

package
v0.3.22 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResourceGroupRuleStorage

func NewResourceGroupRuleStorage(c registry.ExtraConfig) (storage.ResourceGroupRuleStorage, error)

NewResourceGroupRuleStorage creates a new instance of a resource group rule storage component using the provided extra configuration.

func NewResourceStorage

func NewResourceStorage(c registry.ExtraConfig) (storage.ResourceStorage, error)

NewResourceStorage creates a new instance of a resource storage component using the provided extra configuration.

func NewSearchStorage

func NewSearchStorage(c registry.ExtraConfig) (storage.SearchStorage, error)

NewSearchStorage creates a new instance of a search storage component using the provided extra configuration.

Types

type RESTStorageProvider

type RESTStorageProvider struct {
	SearchStorageType      string
	ElasticSearchAddresses []string
	ElasticSearchName      string
	ElasticSearchPassword  string
}

func (RESTStorageProvider) GroupName

func (p RESTStorageProvider) GroupName() string

GroupName returns the group name for the REST storage provider.

func (RESTStorageProvider) NewRESTStorage

func (p RESTStorageProvider) NewRESTStorage(
	apiResourceConfigSource serverstorage.APIResourceConfigSource,
	restOptionsGetter generic.RESTOptionsGetter,
) (genericapiserver.APIGroupInfo, error)

func (RESTStorageProvider) ResourceGroupRuleStorageGetter

func (p RESTStorageProvider) ResourceGroupRuleStorageGetter() (storage.ResourceGroupRuleStorageGetter, error)

ResourceGroupRuleStorageGetter returns the resource group rule storage getter for the provider.

func (RESTStorageProvider) ResourceStorageGetter

func (p RESTStorageProvider) ResourceStorageGetter() (storage.ResourceStorageGetter, error)

ResourceStorageGetter returns the resource storage getter for the provider.

func (RESTStorageProvider) SearchStorageGetter

func (p RESTStorageProvider) SearchStorageGetter() (storage.SearchStorageGetter, error)

SearchStorageGetter returns the search storage getter for the provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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