watchtower: github.com/containrrr/watchtower/internal/util Index | Files

package util

import "github.com/containrrr/watchtower/internal/util"

Index

Package Files

rand_name.go util.go

func RandName Uses

func RandName() string

RandName Generates a random, 32-character, Docker-compatible container name.

func SliceEqual Uses

func SliceEqual(s1, s2 []string) bool

SliceEqual compares two slices and checks whether they have equal content

func SliceSubtract Uses

func SliceSubtract(a1, a2 []string) []string

SliceSubtract subtracts the content of slice a2 from slice a1

func StringMapSubtract Uses

func StringMapSubtract(m1, m2 map[string]string) map[string]string

StringMapSubtract subtracts the content of structmap m2 from structmap m1

func StructMapSubtract Uses

func StructMapSubtract(m1, m2 map[string]struct{}) map[string]struct{}

StructMapSubtract subtracts the content of structmap m2 from structmap m1

Package util imports 1 packages (graph) and is imported by 2 packages. Updated 2019-07-22. Refresh now. Tools for package owners.