templateop

package
v0.0.0-...-b94449b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package templateop contains template operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	Args interface{}
}

func (Template) DesiredState

func (op Template) DesiredState(octx operator.Context) (state.State, error)

func (Template) GetState

func (op Template) GetState(octx operator.Context) (state.State, error)

func (Template) Info

func (op Template) Info() operator.Info

func (Template) Run

func (op Template) Run(octx operator.Context) error

type TemplateOpts

type TemplateOpts struct {
	Path          string   `json:"path"`
	Dests         []string `json:"dests"`
	DataPaths     []string `json:"data,omitempty"`
	IdentityPaths []string `json:"identities,omitempty"`
}

Jump to

Keyboard shortcuts

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