mutate

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPatchedImageUrl

func GetPatchedImageUrl(img, registry string) string

func Mutate

func Mutate(body []byte, verbose bool, registry string) ([]byte, error)

Types

type Config added in v0.3.1

type Config struct {
	TLSCertPath  string   `yaml:"tlscertpath"`
	TLSKeyPath   string   `yaml:"tlskeypath"`
	Port         string   `yaml:"port"`
	IgnoreImages []string `yaml:"ignoreimages"`
}
var Configuration Config

Jump to

Keyboard shortcuts

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