client

package
v0.0.0-...-bc1b228 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GitRepository

type GitRepository struct {
	// contains filtered or unexported fields
}

func NewGitRepository

func NewGitRepository(client client.Client) *GitRepository

func (*GitRepository) GetGitRepository

func (s *GitRepository) GetGitRepository(ctx context.Context, key client.ObjectKey) (*sourcev1.GitRepository, error)

type Helm

type Helm struct {
	// contains filtered or unexported fields
}

func NewHelm

func NewHelm(manifests ManifestsReader) *Helm

func (*Helm) Template

func (h *Helm) Template(ctx context.Context, releaseName, source, path string, values *apiextensionsv1.JSON) (mf.Manifest, error)

type ManifestsReader

type ManifestsReader interface {
	FromString(ctx context.Context, manifests string) (mf.Manifest, error)
}

type Module

type Module struct {
	reconciler.Funcs
	// contains filtered or unexported fields
}

func NewModule

func NewModule(client client.Client) *Module

func (*Module) GetModule

func (s *Module) GetModule(ctx context.Context, key client.ObjectKey) (*deployv1alpha1.Module, error)

func (*Module) UpdateModuleStatus

func (s *Module) UpdateModuleStatus(ctx context.Context, module *deployv1alpha1.Module) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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