Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hydration ¶
type Hydration struct { PS ps.PackageServiceInterface Log logr.Logger }
func (*Hydration) CreateNFDeployActuators ¶
func (h *Hydration) CreateNFDeployActuators(ctx context.Context, nfDeploy deployv1alpha1.NfDeploy) ([]string, error)
For each unique vendor, version and nfType in the NFDeploy, creates a package in the respective edge deploy repo of the cluster. The package contains the operators required for the NFDeploy to be actuated on the edge. It ensures that these operators are deployed only once on the edge. It returns the list of package names to be added for approval if any.
type HydrationInterface ¶
type HydrationInterface interface { Hydrate(ctx context.Context, nfDeploy deployv1alpha1.NfDeploy) ([]string, error) CreateNFDeployActuators(ctx context.Context, nfDeploy deployv1alpha1.NfDeploy) ([]string, error) }
HydrationInterface is the interface that wraps the steps involved in hydration of a NFDeploy into the individual NFType deploys and all other supporting manifests like operators required to meet the intent of NFDeploy.
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.