profile

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

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

New returns a new Profile object

func (*Profile) ArtifactStatus

func (p *Profile) ArtifactStatus() (Status, error)

ArtifactStatus checks if the artifacts exists and returns any ready!=true conditions on the artifacts.

func (*Profile) MakeArtifacts

func (p *Profile) MakeArtifacts() ([]runtime.Object, error)

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

func (p *Profile) MakeOwnerlessArtifacts() ([]runtime.Object, error)

MakeOwnerlessArtifacts generates artifacts without owners for manual applying to a personal cluster.

func (*Profile) ReconcileArtifacts

func (p *Profile) ReconcileArtifacts() error

ReconcileArtifacts ensures the artifact resources are applied to the cluster

type Status

type Status struct {
	ResourcesExist     bool
	NotReadyConditions []metav1.Condition
}

Status contains the status of the artifacts

Jump to

Keyboard shortcuts

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