pkg/sysregistries/system_registries.go
func GetInsecureRegistries(sys *types.SystemContext) ([]string, error) {
	config, err := loadRegistryConf(sys)
	if err != nil {
		return nil, err
	}
	return config.Registries.Insecure.Registries, nil
}
func GetInsecureRegistries(sys *types.SystemContext) ([]string, error) {
	config, err := loadRegistryConf(sys)
	if err != nil {
		return nil, err
	}
	return config.Registries.Insecure.Registries, nil
}
func GetInsecureRegistries ( sys * types . SystemContext ) ( [ ] string , error ) { config , err := loadRegistryConf ( sys ) if err != nil { return nil , err } return config . Registries . Insecure . Registries , nil }
// GetInsecureRegistries returns an array of strings that contain the names
// of the insecure registries as defined in the system-wide
// registries file.  it returns an empty array if none are
// defined
GetInsecureRegistries returns an array of strings that contain the names of the insecure registries as defined in the system - wide registries file . it returns an empty array if none are defined