configurationstore

package
v0.0.0-...-318a3d5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationStore

type ConfigurationStore interface {
	CreateProject(project apimodels.Project) error
	UpdateProject(project apimodels.Project) error
	CreateProjectShipyard(projectName string, resources []*apimodels.Resource) error
	UpdateProjectResource(projectName string, resource *apimodels.Resource) error
	DeleteProject(projectName string) error
	CreateStage(projectName string, stage string) error
	CreateService(projectName string, stageName string, serviceName string) error
	GetProjectResource(projectName string, resourceURI string) (*apimodels.Resource, error)
	GetStageResource(projectName, stageName, resourceURI string) (*apimodels.Resource, error)
	DeleteService(projectName string, stageName string, serviceName string) error
}

type GitConfigurationStore

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

func New

func New(configurationServiceEndpoint string) *GitConfigurationStore

func (GitConfigurationStore) CreateProject

func (g GitConfigurationStore) CreateProject(project apimodels.Project) error

func (GitConfigurationStore) CreateProjectShipyard

func (g GitConfigurationStore) CreateProjectShipyard(projectName string, resources []*apimodels.Resource) error

func (GitConfigurationStore) CreateService

func (g GitConfigurationStore) CreateService(projectName string, stageName string, serviceName string) error

func (GitConfigurationStore) CreateStage

func (g GitConfigurationStore) CreateStage(projectName string, stageName string) error

func (GitConfigurationStore) DeleteProject

func (g GitConfigurationStore) DeleteProject(projectName string) error

func (GitConfigurationStore) DeleteService

func (g GitConfigurationStore) DeleteService(projectName string, stageName string, serviceName string) error

func (GitConfigurationStore) GetProjectResource

func (g GitConfigurationStore) GetProjectResource(projectName string, resourceURI string) (*apimodels.Resource, error)

func (GitConfigurationStore) GetStageResource

func (g GitConfigurationStore) GetStageResource(projectName, stageName, resourceURI string) (*apimodels.Resource, error)

func (GitConfigurationStore) UpdateProject

func (g GitConfigurationStore) UpdateProject(project apimodels.Project) error

func (GitConfigurationStore) UpdateProjectResource

func (g GitConfigurationStore) UpdateProjectResource(projectName string, resource *apimodels.Resource) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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