client

package
v0.0.0-...-2cb76a2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 25 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) (*sourcev1beta1.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 Kustomization

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

func NewKustomization

func NewKustomization(manifests ManifestsReader) *Kustomization

func (*Kustomization) Kustomize

func (k *Kustomization) Kustomize(ctx context.Context, source, path string) (mf.Manifest, error)

type Manifest

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

func NewManifest

func NewManifest(reader ManifestsReader) *Manifest

func (*Manifest) LoadFromSource

func (h *Manifest) LoadFromSource(ctx context.Context, source, path string, recursive bool) (mf.Manifest, error)

type ManifestsReader

type ManifestsReader interface {
	FromString(ctx context.Context, manifests string) (mf.Manifest, error)
	FromBytes(ctx context.Context, manifests []byte) (mf.Manifest, error)
	FromPath(ctx context.Context, path string, recursive bool) (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) (*charlescdv1alpha1.Module, error)

func (*Module) UpdateModuleStatus

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

Jump to

Keyboard shortcuts

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