sync

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

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a string, list []string) bool

Contains checks if a string is in a list

func GetMD5Hash

func GetMD5Hash(text string) string

GetMD5Hash generates an MD5 hash of a string

func NotInArtifactory

func NotInArtifactory(artiRepos map[string]bool, ghRepos []github.Repo) (result []github.Repo)

NotInArtifactory checks which Helm Hub repositories do not exist in JFrog Artifactory, which means they can be added to JFrog Artifactory

func NotInGitHub

func NotInGitHub(ghRepos map[string]bool, artiRepos []artifactory.Repository) (result []artifactory.Repository)

NotInGitHub checks which JFrog Artifactory repositories do not exist in GitHub (anymore), which means they can be deleted from JFrog Artifactory

func RemoveFromSlice

func RemoveFromSlice(slice []string, item string) []string

RemoveFromSlice removes a string from a slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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