plugin

package
v0.0.0-...-68b639a Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	State
}

func (*File) Synth

func (f *File) Synth(ctx context.Context, options map[string]string) error

type Git

type Git struct {
	State
}

func (*Git) GetTag

func (g *Git) GetTag(ctx context.Context, container string, options map[string]string) (string, error)

func (*Git) Synth

func (g *Git) Synth(ctx context.Context, options map[string]string) error

type InputPlugin

type InputPlugin interface {
	GetTag(ctx context.Context, name string, options map[string]string) (string, error)
}

type OutputPlugin

type OutputPlugin interface {
	Add(key, value string)
	Synth(ctx context.Context, options map[string]string) error
}

type Semver

type Semver struct {
}

func (*Semver) GetTag

func (s *Semver) GetTag(ctx context.Context, container string, options map[string]string) (string, error)

type State

type State struct {
	Containers map[string]string `yaml:"containers"`
	// contains filtered or unexported fields
}

func (*State) Add

func (s *State) Add(key, value string)

func (*State) Marshal

func (s *State) Marshal() ([]byte, error)

type Version

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

Jump to

Keyboard shortcuts

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