Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrProjectConfigNotFound = errors.New("project config not found")
)
Functions ¶
func IsProjectConfigNotFound ¶
Types ¶
type ProjectConfig ¶
type ProjectConfig struct { Name string `json:"name" validate:"required"` Image string `json:"image" validate:"required"` User string `json:"user" validate:"required"` BuildConfig *buildconfig.ProjectBuildConfig `json:"buildConfig,omitempty" validate:"optional"` Repository *gitprovider.GitRepository `json:"repository" validate:"required"` EnvVars map[string]string `json:"envVars" validate:"required"` IsDefault bool `json:"default" validate:"required"` } // @name ProjectConfig
type Store ¶
type Store interface { List(filter *Filter) ([]*ProjectConfig, error) Find(filter *Filter) (*ProjectConfig, error) Save(projectConfig *ProjectConfig) error Delete(projectConfig *ProjectConfig) error }
Click to show internal directories.
Click to hide internal directories.