pluginconfigstore

package
v0.0.0-...-f9f20c5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePluginConfigSelectAllQuery

func CreatePluginConfigSelectAllQuery(keyspace string) string

func CreatePluginConfigSelectByFieldNameQuery

func CreatePluginConfigSelectByFieldNameQuery(keyspace, field string) string

func CreateSelectAllQuery

func CreateSelectAllQuery(keyspace string) string

func CreateSelectByFieldNameQuery

func CreateSelectByFieldNameQuery(keyspace, field string) string

func IsObjectNotFound

func IsObjectNotFound(err error) bool

Types

type PluginConfig

type PluginConfig struct {
	clusterpluginspb.Plugin
}

func (*PluginConfig) String

func (p *PluginConfig) String() string

type Store

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

func NewStore

func NewStore(log logging.Logger) (*Store, error)

func (*Store) AddOrUpdateOnboardingIntegration

func (a *Store) AddOrUpdateOnboardingIntegration(payload *model.ClusterGitoptsConfig) error

func (*Store) DeleteAppConfigByReleaseName

func (a *Store) DeleteAppConfigByReleaseName(releaseName string) error

func (*Store) DeleteOnboardingIntegration

func (a *Store) DeleteOnboardingIntegration(usecase, onboardingProjectUrl string) error

func (*Store) DeletePluginConfigByPluginName

func (a *Store) DeletePluginConfigByPluginName(releaseName string) error

func (*Store) GetAllApps

func (a *Store) GetAllApps() ([]*agentpb.SyncAppData, error)

func (*Store) GetAllPlugins

func (a *Store) GetAllPlugins() ([]*clusterpluginspb.Plugin, error)

func (*Store) GetAppConfig

func (a *Store) GetAppConfig(appReleaseName string) (*agentpb.SyncAppData, error)

func (*Store) GetOnboardingIntegration

func (a *Store) GetOnboardingIntegration(usecase string) (*model.ClusterGitoptsConfig, error)

func (*Store) GetPluginConfig

func (a *Store) GetPluginConfig(pluginNameKey string) (*PluginConfig, error)

func (*Store) UpsertAppConfig

func (a *Store) UpsertAppConfig(config *agentpb.SyncAppData) error

func (*Store) UpsertPluginConfig

func (a *Store) UpsertPluginConfig(config *PluginConfig) error

Jump to

Keyboard shortcuts

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