applier

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterApplier

type ClusterApplier interface {
	ApplyManifests(ctx context.Context, cluster models.Cluster, namespace string, manifests []models.Manifest) error
}

func NewClusterApplier

func NewClusterApplier(kubeClient kube.Kube) ClusterApplier

type ClusterApplySvc

type ClusterApplySvc struct {
	Client client.Client
	Kube   kube.Kube
	Logger logger.Logger
}

func (*ClusterApplySvc) ApplyManifests

func (a *ClusterApplySvc) ApplyManifests(ctx context.Context, cluster models.Cluster, namespace string, manifests []models.Manifest) error

Jump to

Keyboard shortcuts

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