services

package
v0.1.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaultServices

func AddDefaultServices(cl *pkgtypes.Cluster) error

AddDefaultServices

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL