actions

package
v0.0.0-...-5773fff Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestTask

type ManifestTask struct {
	Name       string
	CreateFunc func(manifest interface{}) error
	UpdateFunc func(manifest interface{}) error
	Manifest   func() interface{}
	PatchData  func() interface{}
	PatchFunc  func(patchData []byte) error
}

func (*ManifestTask) CreateOrUpdate

func (task *ManifestTask) CreateOrUpdate() error

CreateOrUpdate tries to create resource with the CreateFunc. If resource is already exists, it updates the resource with the UpdateFunc.

func (*ManifestTask) Patch

func (task *ManifestTask) Patch() error

func (*ManifestTask) PatchOrCreate

func (task *ManifestTask) PatchOrCreate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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