Documentation ¶
Index ¶
- func CreateSelectAllQuery(keyspace string) string
- func CreateSelectByFieldNameQuery(keyspace, field string) string
- func IsObjectNotFound(err error) bool
- type Store
- func (a *Store) AddOrUpdateOnboardingIntegration(payload *model.ClusterGitoptsConfig) error
- func (a *Store) DeleteAppConfigByReleaseName(releaseName string) error
- func (a *Store) DeleteArgoCDProjectsData(id string) error
- func (a *Store) DeleteCloudProviderById(id string) error
- func (a *Store) DeleteContainerRegistryById(id string) error
- func (a *Store) DeleteCrossplaneProject(id string) error
- func (a *Store) DeleteCrossplaneProviderById(id string) error
- func (a *Store) DeleteGitProjectById(id string) error
- func (a *Store) DeleteManagedClusterById(id string) error
- func (a *Store) DeleteOnboardingIntegration(usecase, onboardingProjectUrl string) error
- func (a *Store) DeleteTektonProject(id string) error
- func (a *Store) GetAllApps() ([]*agentpb.SyncAppData, error)
- func (a *Store) GetAppConfig(appReleaseName string) (*agentpb.SyncAppData, error)
- func (a *Store) GetArgoCDProjectForID(id string) (*model.ArgoCDProject, error)
- func (a *Store) GetArgoCDProjects() ([]*model.ArgoCDProject, error)
- func (a *Store) GetCloudProviderForID(id string) (*captenpluginspb.CloudProvider, error)
- func (a *Store) GetCloudProviders() ([]*captenpluginspb.CloudProvider, error)
- func (a *Store) GetCloudProvidersByLabelsAndCloudType(searchLabels []string, cloudType string) ([]*captenpluginspb.CloudProvider, error)
- func (a *Store) GetContainerRegistries() ([]*captenpluginspb.ContainerRegistry, error)
- func (a *Store) GetContainerRegistryForID(id string) (*captenpluginspb.ContainerRegistry, error)
- func (a *Store) GetCrossplanProviderByCloudType(cloudType string) (*captenpluginspb.CrossplaneProvider, error)
- func (a *Store) GetCrossplanProviderById(id string) (*captenpluginspb.CrossplaneProvider, error)
- func (a *Store) GetCrossplaneProject() (*model.CrossplaneProject, error)
- func (a *Store) GetCrossplaneProjectForID(id string) (*model.CrossplaneProject, error)
- func (a *Store) GetCrossplaneProviders() ([]*captenpluginspb.CrossplaneProvider, error)
- func (a *Store) GetGitProjectForID(id string) (*captenpluginspb.GitProject, error)
- func (a *Store) GetGitProjects() ([]*captenpluginspb.GitProject, error)
- func (a *Store) GetGitProjectsByLabels(searchLabels []string) ([]*captenpluginspb.GitProject, error)
- func (a *Store) GetManagedClusterForID(id string) (*captenpluginspb.ManagedCluster, error)
- func (a *Store) GetManagedClusters() ([]*captenpluginspb.ManagedCluster, error)
- func (a *Store) GetOnboardingIntegration(usecase string) (*model.ClusterGitoptsConfig, error)
- func (a *Store) GetTektonProject() (*model.TektonProject, error)
- func (a *Store) GetTektonProjectForID(id string) (*model.TektonProject, error)
- func (a *Store) InsertCrossplaneProvider(provider *model.CrossplaneProvider) error
- func (a *Store) UpdateCrossplaneProvider(provider *model.CrossplaneProvider) error
- func (a *Store) UpsertAppConfig(config *agentpb.SyncAppData) error
- func (a *Store) UpsertArgoCDProject(project *model.ArgoCDProject) error
- func (a *Store) UpsertCloudProvider(config *captenpluginspb.CloudProvider) error
- func (a *Store) UpsertContainerRegistry(config *captenpluginspb.ContainerRegistry) error
- func (a *Store) UpsertCrossplaneProject(project *model.CrossplaneProject) error
- func (a *Store) UpsertGitProject(config *captenpluginspb.GitProject) error
- func (a *Store) UpsertManagedCluster(config *captenpluginspb.ManagedCluster) error
- func (a *Store) UpsertTektonProject(project *model.TektonProject) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSelectAllQuery ¶
func IsObjectNotFound ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddOrUpdateOnboardingIntegration ¶
func (a *Store) AddOrUpdateOnboardingIntegration(payload *model.ClusterGitoptsConfig) error
func (*Store) DeleteAppConfigByReleaseName ¶
func (*Store) DeleteArgoCDProjectsData ¶
func (*Store) DeleteCloudProviderById ¶
func (*Store) DeleteContainerRegistryById ¶
func (*Store) DeleteCrossplaneProject ¶
func (*Store) DeleteCrossplaneProviderById ¶
func (*Store) DeleteGitProjectById ¶
func (*Store) DeleteManagedClusterById ¶
func (*Store) DeleteOnboardingIntegration ¶
func (*Store) DeleteTektonProject ¶
func (*Store) GetAllApps ¶
func (a *Store) GetAllApps() ([]*agentpb.SyncAppData, error)
func (*Store) GetAppConfig ¶
func (a *Store) GetAppConfig(appReleaseName string) (*agentpb.SyncAppData, error)
func (*Store) GetArgoCDProjectForID ¶
func (a *Store) GetArgoCDProjectForID(id string) (*model.ArgoCDProject, error)
func (*Store) GetArgoCDProjects ¶
func (a *Store) GetArgoCDProjects() ([]*model.ArgoCDProject, error)
func (*Store) GetCloudProviderForID ¶
func (a *Store) GetCloudProviderForID(id string) (*captenpluginspb.CloudProvider, error)
func (*Store) GetCloudProviders ¶
func (a *Store) GetCloudProviders() ([]*captenpluginspb.CloudProvider, error)
func (*Store) GetCloudProvidersByLabelsAndCloudType ¶
func (a *Store) GetCloudProvidersByLabelsAndCloudType(searchLabels []string, cloudType string) ([]*captenpluginspb.CloudProvider, error)
func (*Store) GetContainerRegistries ¶
func (a *Store) GetContainerRegistries() ([]*captenpluginspb.ContainerRegistry, error)
func (*Store) GetContainerRegistryForID ¶
func (a *Store) GetContainerRegistryForID(id string) (*captenpluginspb.ContainerRegistry, error)
func (*Store) GetCrossplanProviderByCloudType ¶
func (a *Store) GetCrossplanProviderByCloudType(cloudType string) (*captenpluginspb.CrossplaneProvider, error)
func (*Store) GetCrossplanProviderById ¶
func (a *Store) GetCrossplanProviderById(id string) (*captenpluginspb.CrossplaneProvider, error)
func (*Store) GetCrossplaneProject ¶
func (a *Store) GetCrossplaneProject() (*model.CrossplaneProject, error)
func (*Store) GetCrossplaneProjectForID ¶
func (a *Store) GetCrossplaneProjectForID(id string) (*model.CrossplaneProject, error)
func (*Store) GetCrossplaneProviders ¶
func (a *Store) GetCrossplaneProviders() ([]*captenpluginspb.CrossplaneProvider, error)
func (*Store) GetGitProjectForID ¶
func (a *Store) GetGitProjectForID(id string) (*captenpluginspb.GitProject, error)
func (*Store) GetGitProjects ¶
func (a *Store) GetGitProjects() ([]*captenpluginspb.GitProject, error)
func (*Store) GetGitProjectsByLabels ¶
func (a *Store) GetGitProjectsByLabels(searchLabels []string) ([]*captenpluginspb.GitProject, error)
func (*Store) GetManagedClusterForID ¶
func (a *Store) GetManagedClusterForID(id string) (*captenpluginspb.ManagedCluster, error)
func (*Store) GetManagedClusters ¶
func (a *Store) GetManagedClusters() ([]*captenpluginspb.ManagedCluster, error)
func (*Store) GetOnboardingIntegration ¶
func (a *Store) GetOnboardingIntegration(usecase string) (*model.ClusterGitoptsConfig, error)
func (*Store) GetTektonProject ¶
func (a *Store) GetTektonProject() (*model.TektonProject, error)
func (*Store) GetTektonProjectForID ¶
func (a *Store) GetTektonProjectForID(id string) (*model.TektonProject, error)
func (*Store) InsertCrossplaneProvider ¶
func (a *Store) InsertCrossplaneProvider(provider *model.CrossplaneProvider) error
func (*Store) UpdateCrossplaneProvider ¶
func (a *Store) UpdateCrossplaneProvider(provider *model.CrossplaneProvider) error
func (*Store) UpsertAppConfig ¶
func (a *Store) UpsertAppConfig(config *agentpb.SyncAppData) error
func (*Store) UpsertArgoCDProject ¶
func (a *Store) UpsertArgoCDProject(project *model.ArgoCDProject) error
func (*Store) UpsertCloudProvider ¶
func (a *Store) UpsertCloudProvider(config *captenpluginspb.CloudProvider) error
func (*Store) UpsertContainerRegistry ¶
func (a *Store) UpsertContainerRegistry(config *captenpluginspb.ContainerRegistry) error
func (*Store) UpsertCrossplaneProject ¶
func (a *Store) UpsertCrossplaneProject(project *model.CrossplaneProject) error
func (*Store) UpsertGitProject ¶
func (a *Store) UpsertGitProject(config *captenpluginspb.GitProject) error
func (*Store) UpsertManagedCluster ¶
func (a *Store) UpsertManagedCluster(config *captenpluginspb.ManagedCluster) error
func (*Store) UpsertTektonProject ¶
func (a *Store) UpsertTektonProject(project *model.TektonProject) error
Click to show internal directories.
Click to hide internal directories.