util

package
v0.0.0-...-5dfb5b8 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeErrorMessage

func SanitizeErrorMessage(err error) error

SanitizeErrorMessage takes in a given error message and returns a new, sanitized error with things like tokens removed

func ValidateRemote

func ValidateRemote(remote string) error

ValidateRemote minimally validates the remote gitops URL to ensure it contains the "https" scheme and supported "github.com" and "gitlab.com" hosts

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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