package handlers
import "github.com/oslokommune/okctl/cmd/okctl/handlers"
Package handlers contains common RunE handlers used in commands
Index ¶
Types ¶
type HandleApplicationOpts ¶
type HandleApplicationOpts struct { Out io.Writer Err io.Writer Ctx context.Context State *core.StateHandlers Services *core.Services File string ClusterDeclarationPath string ClusterManifest v1alpha1.Cluster ApplicationManifest v1alpha1.Application Purge bool Confirm bool DelayFunction func() }
HandleApplicationOpts contains all the necessary options for application reconciliation
func (HandleApplicationOpts) Validate ¶
func (o HandleApplicationOpts) Validate() error
Validate the options for "apply application"
type RunEHandler ¶
RunEHandler defines the interface for cobra command RunE handlers
func HandleApplication ¶
func HandleApplication(opts *HandleApplicationOpts) RunEHandler
HandleApplication knows how to reconcile and purge applications
Source Files ¶
application.go doc.go types.go
- Version
- v0.0.106 (latest)
- Published
- Oct 21, 2022
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 22 hours ago –
Tools for package owners.