<commit_before>// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package api

// facadeVersions lists the best version of facades that we know about. This
// will be used to pick out a default version for communication, given the list
// of known versions that the API server tells us it is capable of supporting.
// This map should be updated whenever the API server exposes a new version (so
// that the client will use it whenever it is available).
// New facades should start at 1.
// Facades that existed before versioning start at 0.
var facadeVersions = map[string]int{
	"Action":                       0,
	"Addresser":                    1,
	"Agent":                        1,
	"AllWatcher":                   0,
	"Annotations":                  1,
	"Backups":                      0,
	"Block":                        1,
	"Charms":                       1,
	"CharmRevisionUpdater":         0,
	"Client":                       0,
	"Cleaner":                      1,
	"Deployer":                     0,
	"DiskManager":                  1,
	"EntityWatcher":                1,
	"Environment":                  0,
	"EnvironmentManager":           1,
	"FilesystemAttachmentsWatcher": 1,
	"Firewaller":                   1,
	"HighAvailability":             1,
	"ImageManager":                 1,
	"InstancePoller":               1,
	"KeyManager":                   0,
	"KeyUpdater":                   0,
	"LeadershipService":            1,
	"Logger":                       0,
	"MachineManager":               1,
	"Machiner":                     0,
	"MetricsManager":               0,
	"Networker":                    0,
	"NotifyWatcher":                0,<commit_msg>api: add AllEnvWatcher to facadeVersions<commit_after>// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package api

// facadeVersions lists the best version of facades that we know about. This
// will be used to pick out a default version for communication, given the list
// of known versions that the API server tells us it is capable of supporting.
// This map should be updated whenever the API server exposes a new version (so
// that the client will use it whenever it is available).
// New facades should start at 1.
// Facades that existed before versioning start at 0.
var facadeVersions = map[string]int{
	"Action":                       0,
	"Addresser":                    1,
	"Agent":                        1,
	"AllWatcher":                   0,
	"AllEnvWatcher":                1,
	"Annotations":                  1,
	"Backups":                      0,
	"Block":                        1,
	"Charms":                       1,
	"CharmRevisionUpdater":         0,
	"Client":                       0,
	"Cleaner":                      1,
	"Deployer":                     0,
	"DiskManager":                  1,
	"EntityWatcher":                1,
	"Environment":                  0,
	"EnvironmentManager":           1,
	"FilesystemAttachmentsWatcher": 1,
	"Firewaller":                   1,
	"HighAvailability":             1,
	"ImageManager":                 1,
	"InstancePoller":               1,
	"KeyManager":                   0,
	"KeyUpdater":                   0,
	"LeadershipService":            1,
	"Logger":                       0,
	"MachineManager":               1,
	"Machiner":                     0,
	"MetricsManager":               0,
	"Networker":                    0,
	"NotifyWatcher":                0,
{'fraction_non_alphanumeric': 0.09090909090909091, 'fraction_numerical': 0.02150845999426441, 'mean_word_length': 1.3583502366463827, 'pattern_counts': {'":': 61, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7280547', 'n_tokens_mistral': 967, 'n_tokens_neox': 900, 'n_words': 319}