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, ...) (bool, error)
- 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 ¶
func DetokenizeConfigKeys(serviceFilePath string, configKeys []pkgtypes.GitopsCatalogAppKeys) error
func ValidateService ¶
func ValidateService(cl *pkgtypes.Cluster, serviceName string, def *pkgtypes.GitopsCatalogAppCreateRequest) (bool, error)
ValidateService
Types ¶
type GitHubService ¶
type GitHubService struct {
// contains filtered or unexported fields
}
func NewGitHubService ¶
func NewGitHubService(httpClient pkg.HTTPDoer) *GitHubService
NewGitHubService instantiate a new GitHub service
func (GitHubService) CheckUserCodeConfirmation ¶
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.