workloads

package
v0.0.0-...-6d694c2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Path     string
	Revision string
	AppName  string
	Name     string
	PVCSpec  util.PVCSpec
}

func (Deployment) GetAppName

func (w Deployment) GetAppName() string

func (Deployment) GetName

func (w Deployment) GetName() string

func (Deployment) GetPath

func (w Deployment) GetPath() string

func (Deployment) GetResources

func (w Deployment) GetResources() error

func (Deployment) GetRevision

func (w Deployment) GetRevision() string

func (Deployment) Health

func (w Deployment) Health() error

func (Deployment) Kustomize

func (w Deployment) Kustomize() string

type Workload

type Workload interface {
	Kustomize() string // Can differ based on the workload, hence part of the Workload interface

	GetName() string
	GetAppName() string

	// GetRepoURL() string // Possibly all this is part of Workload than each implementation of the interfaces?
	GetPath() string
	GetRevision() string
}

Jump to

Keyboard shortcuts

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