Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Copyright (C) 2021-2023, Kubefirst ¶
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- func AddDefaultServices(cl *pkgtypes.Cluster) error
- func CreateService(cl *pkgtypes.Cluster, serviceName string, appDef *pkgtypes.GitopsCatalogApp, ...) error
- func DeleteService(cl *pkgtypes.Cluster, serviceName string, ...) error
- func DetokenizeConfigKeys(serviceFilePath string, configKeys []pkgtypes.GitopsCatalogAppKeys) error
- func ValidateService(cl *pkgtypes.Cluster, serviceName string, ...) (error, bool)
- type GitHubService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
func CreateService(cl *pkgtypes.Cluster, serviceName string, appDef *pkgtypes.GitopsCatalogApp, req *pkgtypes.GitopsCatalogAppCreateRequest, excludeArgoSync bool) error
CreateService
func DeleteService ¶
func DeleteService(cl *pkgtypes.Cluster, serviceName string, def pkgtypes.GitopsCatalogAppDeleteRequest) error
DeleteService
func DetokenizeConfigKeys ¶ added in v0.1.10
func DetokenizeConfigKeys(serviceFilePath string, configKeys []pkgtypes.GitopsCatalogAppKeys) error
func ValidateService ¶ added in v0.1.21
func ValidateService(cl *pkgtypes.Cluster, serviceName string, def *pkgtypes.GitopsCatalogAppCreateRequest) (error, bool)
ValidateService
Types ¶
type GitHubService ¶ added in v0.1.25
type GitHubService struct {
// contains filtered or unexported fields
}
func NewGitHubService ¶ added in v0.1.25
func NewGitHubService(httpClient pkg.HTTPDoer) *GitHubService
NewGitHubService instantiate a new GitHub service
func (GitHubService) CheckUserCodeConfirmation ¶ added in v0.1.25
func (service GitHubService) CheckUserCodeConfirmation(deviceCode string) (string, error)
CheckUserCodeConfirmation checks if the user gave permission to the device flow request
Click to show internal directories.
Click to hide internal directories.