Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
Profile contains information and interfaces required for creating and managing profile artefacts (child resources)
func New ¶
func New(ctx context.Context, def profilesv1.ProfileDefinition, sub profilesv1.ProfileSubscription, client client.Client, log logr.Logger) *Profile
New returns a new Profile object
func (*Profile) ArtifactStatus ¶
ArtifactStatus checks if the artifacts exists and returns any ready!=true conditions on the artifacts.
func (*Profile) MakeArtifacts ¶
MakeArtifacts creates and returns a slice of runtime.Object values, which if applied to a cluster would deploy the profile as a HelmRelease.
func (*Profile) MakeOwnerlessArtifacts ¶
MakeOwnerlessArtifacts generates artifacts without owners for manual applying to a personal cluster.
func (*Profile) ReconcileArtifacts ¶
ReconcileArtifacts ensures the artifact resources are applied to the cluster
Click to show internal directories.
Click to hide internal directories.