apply

package
v0.0.0-...-4d30838 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AirshipChart

type AirshipChart struct {
	AirshipDocument
	armadav1.ArmadaChartSpec `json:"data,omitempty"`
}

type AirshipChartGroup

type AirshipChartGroup struct {
	AirshipDocument
	AirshipChartGroupSpec `json:"data,omitempty"`
}

type AirshipChartGroupSpec

type AirshipChartGroupSpec struct {
	ChartGroup  []string `json:"chart_group,omitempty"`
	Description string   `json:"description,omitempty"`
	Sequenced   bool     `json:"sequenced,omitempty"`
}

type AirshipDocument

type AirshipDocument struct {
	Schema   string          `json:"schema,omitempty"`
	Metadata AirshipMetadata `json:"metadata,omitempty"`
}

type AirshipManifest

type AirshipManifest struct {
	AirshipDocument
	AirshipManifestSpec `json:"data,omitempty"`
}

type AirshipManifestSpec

type AirshipManifestSpec struct {
	ChartGroups   []string `json:"chart_groups,omitempty"`
	ReleasePrefix string   `json:"release_prefix,omitempty"`
}

type AirshipMetadata

type AirshipMetadata struct {
	Name string `json:"name,omitempty"`
}

type RunCommand

type RunCommand struct {
	Factory        config.Factory
	Manifests      string
	TargetManifest string
	Out            io.Writer
	Installed      *[]string
	Updated        *[]string
	// contains filtered or unexported fields
}

RunCommand phase run command

func (*RunCommand) CheckCRD

func (c *RunCommand) CheckCRD(restConfig *rest.Config) error

func (*RunCommand) ConvertChart

func (c *RunCommand) ConvertChart(chart *AirshipChart) *armadav1.ArmadaChart

func (*RunCommand) InstallChart

func (c *RunCommand) InstallChart(
	chart *armadav1.ArmadaChart,
	resClient dynamic.NamespaceableResourceInterface,
	restConfig *rest.Config) error

func (*RunCommand) ParseManifests

func (c *RunCommand) ParseManifests() error

func (*RunCommand) ReadCRD

func (*RunCommand) RunE

func (c *RunCommand) RunE() error

RunE runs the phase

func (*RunCommand) ValidateManifests

func (c *RunCommand) ValidateManifests() error

func (*RunCommand) VerifyNamespaces

func (c *RunCommand) VerifyNamespaces(rsc *rest.Config) error

Jump to

Keyboard shortcuts

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