Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OverrideValue ¶
OverrideValue is struct to parse or export json.
type Project ¶
type Project struct { ID int `json:"id"` UserID int `json:"user_id"` Title string `json:"title"` BaseURL string `json:"base_url"` RepositoryOwner string `json:"repository_owner"` RepositoryName string `json:"repository_name"` HelmRepositoryURL string `json:"helm_repository_url"` HelmDirectoryName string `json:"helm_directory_name"` Namespace string `json:"namespace"` ValueOptions []*OverrideValue `json:"values"` }
Project is struct to parse or export json.
func CreateProject ¶
func CreateProject(userID int, title, baseURL, owner, name, helmRepositoryURL, helmDirectory, namespace string, valueOptions []*OverrideValue) (*Project, error)
CreateProject creates a project.
func GetProjectByID ¶
GetProjectByID gets a project from specified ID.
func UpdateProject ¶
func UpdateProject(projectID int, baseURL, helmDirectory, namespace string, valueOptions []*OverrideValue) (*Project, error)
UpdateProject updates a project.
Click to show internal directories.
Click to hide internal directories.