pkg/mount: add more sharesubtree options

Signed-off-by: Vincent Batts <vbatts@redhat.com>
pkg/mount: testing for linux sharedsubtree mounts

* shared
* shared/slave
* unbindable
* private

Signed-off-by: Vincent Batts <vbatts@redhat.com>
pkg/mount: adding fields supported by freebsd

Signed-off-by: Vincent Batts <vbatts@redhat.com>
Don't loose precision when parsing image size on 32 bit machines. Presumably fixes #8979.

Signed-off-by: Recursive Madman <recursive.madman@gmx.de>
registry: refactor registry.IsSecure calls into registry.NewEndpoint

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Put mock registry address in insecureRegistries for unit tests

Signed-off-by: Tibor Vass <teabee89@gmail.com>
registry: parse INDEXSERVERADDRESS into a URL for easier check in isSecure

Signed-off-by: Tibor Vass <teabee89@gmail.com>
Merge pull request #8897 from vbatts/vbatts-mount_sharedsubtree

pkg/mount: sharedsubtree options and testing
Merge pull request #8930 from vbatts/vbatts-mount_freebsd_fields

pkg/mount: adding fields supported by freebsd
Merge pull request #9104 from tiborvass/issecure-check-in-new-endpoint

registry: refactor registry.IsSecure calls into registry.NewEndpoint
Merge pull request #9064 from recursive-madman/patch-1

Proposed fix for #8979
Deprecating ResolveRepositoryName

Passing RepositoryInfo to ResolveAuthConfig, pullRepository, and pushRepository

Moving --registry-mirror configuration to registry config

Created resolve_repository job

Repo names with 'index.docker.io' or 'docker.io' are now synonymous with omitting an index name.

Adding test for RepositoryInfo

Adding tests for opts.StringSetOpts and registry.ValidateMirror

Signed-off-by: Don Kjer <don.kjer@gmail.com>

gofmt changes

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Fixing search term use of repoInfo

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Adding integration tests for registry mirror configuration

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Normalizing LookupImage image name to match LocalName parsing rules

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Normalizing repository LocalName to avoid multiple references to an official image

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Fixing merge issue

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Removing errorOut use in tests

Signed-off-by: Don Kjer <don.kjer@gmail.com>

Removing TODO comment

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Removing unused StringSetOpts

Signed-off-by: Don Kjer <don.kjer@gmail.com>
gofmt changes

Signed-off-by: Don Kjer <don.kjer@gmail.com>
golint comments cleanup.  renaming RegistryOptions => registry.Options, and RegistryServiceConfig => registry.ServiceConfig

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Splitting out builtins.Registry and registry.NewService calls

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Stray whitespace cleanup

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Moving integration tests for Mirrors and InsecureRegistries into TestNewIndexInfo unit test

Signed-off-by: Don Kjer <don.kjer@gmail.com>
gofmt changes.  removing unused logging line

Signed-off-by: Don Kjer <don.kjer@gmail.com>
Factoring out ValidateRepositoryName from NewRepositoryInfo

Signed-off-by: Don Kjer <don.kjer@gmail.com>