repo

package
v0.0.0-...-df898ff Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIniReadCloser

func NewIniReadCloser(r io.ReadCloser, bumpText func(string) string) *iniReadCloser

Types

type RepoBumper

type RepoBumper struct {
	GlobPattern string
	FilesDir    string
	OCPRelease  ocplifecycle.MajorMinor
}

func NewRepoBumper

func NewRepoBumper(o *RepoBumperOptions) (*RepoBumper, error)

func (*RepoBumper) BumpContent

func (b *RepoBumper) BumpContent(file *ini.File) (*ini.File, error)

func (*RepoBumper) BumpFilename

func (b *RepoBumper) BumpFilename(filename string, _ *ini.File) (string, error)

func (*RepoBumper) GetFiles

func (b *RepoBumper) GetFiles() ([]string, error)

func (*RepoBumper) Marshall

func (b *RepoBumper) Marshall(file *ini.File, bumpedFilename, dir string) error

func (*RepoBumper) Unmarshall

func (b *RepoBumper) Unmarshall(file string) (*ini.File, error)

type RepoBumperOptions

type RepoBumperOptions struct {
	GlobPattern   string
	FilesDir      string
	CurOCPRelease string
}

Jump to

Keyboard shortcuts

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