rstservice

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 5 Imported by: 0

README

CRD Utils

Store all business logic here.

Reasoning - make it easier perhaps next time to just implement the raw controller.

Same with splitting out APIs.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateResource

func UpdateResource(new, old *v1alpha1.RestStrategy, doResync bool) bool

UpdateResource business implementation of whether to update the resource or not

Types

type Seeder

type Seeder struct {
	// contains filtered or unexported fields
}

func New

func New(log log.Logger, rc rest.Client) *Seeder

func (*Seeder) Execute

func (rst *Seeder) Execute(spec v1alpha1.StrategySpec) []error

Execute accepts the top level spec

Jump to

Keyboard shortcuts

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