Documentation ¶
Index ¶
- type ConfigurationStore
- type GitConfigurationStore
- func (g GitConfigurationStore) CreateProject(project apimodels.Project) error
- func (g GitConfigurationStore) CreateProjectShipyard(projectName string, resources []*apimodels.Resource) error
- func (g GitConfigurationStore) CreateService(projectName string, stageName string, serviceName string) error
- func (g GitConfigurationStore) CreateStage(projectName string, stageName string) error
- func (g GitConfigurationStore) DeleteProject(projectName string) error
- func (g GitConfigurationStore) DeleteService(projectName string, stageName string, serviceName string) error
- func (g GitConfigurationStore) GetProjectResource(projectName string, resourceURI string) (*apimodels.Resource, error)
- func (g GitConfigurationStore) GetStageResource(projectName, stageName, resourceURI string) (*apimodels.Resource, error)
- func (g GitConfigurationStore) UpdateProject(project apimodels.Project) error
- func (g GitConfigurationStore) UpdateProjectResource(projectName string, resource *apimodels.Resource) error
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 (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
Click to show internal directories.
Click to hide internal directories.