Help us shape the future of Go! Take the 2026 Go Developer Survey

fluxcd

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetValuesFileArrForDevtronInlineApps

func GetValuesFileArrForDevtronInlineApps(chartLocation string) []string

Types

type DeploymentAppDeleteRequest

type DeploymentAppDeleteRequest struct {
	ClusterConfig    *k8s.ClusterConfig
	DeploymentConfig *bean.DeploymentConfig
}

type DeploymentRequest

type DeploymentRequest struct {
	ClusterConfig    *k8s.ClusterConfig
	DeploymentConfig *bean.DeploymentConfig
	IsAppCreated     bool
}

type DeploymentService

type DeploymentService interface {
	DeployFluxCdApp(ctx context.Context, request *DeploymentRequest) error
	DeleteFluxDeploymentApp(ctx context.Context, request *DeploymentAppDeleteRequest) error
}

type DeploymentServiceImpl

type DeploymentServiceImpl struct {
	K8sUtil *k8s.K8sServiceImpl
	// contains filtered or unexported fields
}

func NewDeploymentService

func NewDeploymentService(logger *zap.SugaredLogger,
	K8sUtil *k8s.K8sServiceImpl,
	gitOpsConfigReadService config.GitOpsConfigReadService) *DeploymentServiceImpl

func (*DeploymentServiceImpl) CreateGitRepository

func (impl *DeploymentServiceImpl) CreateGitRepository(ctx context.Context, fluxCdSpec bean.FluxCDSpec, secretName string, apiClient client.Client) (*sourcev1.GitRepository, error)

func (*DeploymentServiceImpl) CreateHelmRelease

func (impl *DeploymentServiceImpl) CreateHelmRelease(ctx context.Context, fluxCdSpec bean.FluxCDSpec,
	apiClient client.Client) (*helmv2.HelmRelease, error)

func (*DeploymentServiceImpl) DeleteFluxDeploymentApp

func (impl *DeploymentServiceImpl) DeleteFluxDeploymentApp(ctx context.Context, request *DeploymentAppDeleteRequest) error

func (*DeploymentServiceImpl) DeployFluxCdApp

func (impl *DeploymentServiceImpl) DeployFluxCdApp(ctx context.Context, request *DeploymentRequest) error

func (*DeploymentServiceImpl) UpdateGitRepository

func (impl *DeploymentServiceImpl) UpdateGitRepository(ctx context.Context, fluxCdSpec bean.FluxCDSpec,
	secretName string, apiClient client.Client) (*sourcev1.GitRepository, error)

func (*DeploymentServiceImpl) UpdateHelmRelease

func (impl *DeploymentServiceImpl) UpdateHelmRelease(ctx context.Context, fluxCdSpec bean.FluxCDSpec,
	apiClient client.Client) (*helmv2.HelmRelease, error)

Jump to

Keyboard shortcuts

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