<commit_before>package lib

import (
	auth3 "bytemark.co.uk/auth3/client"
	"net/http"
)

type Client interface {
	// Getters
	GetEndpoint() string
	GetSessionToken() string

	// Setters
	SetDebugLevel(int)

	AuthWithToken(string) error
	AuthWithCredentials(auth3.Credentials) error

	BuildUrl(format string, bits ...string) string

	RequestAndUnmarshal(auth bool, method, path, requestBody string, output interface{}) error
	RequestAndRead(auth bool, method, path, requestBody string) (responseBody []byte, err error)
	Request(auth bool, method string, location string, requestBody string) (req *http.Request, res *http.Response, err error)

	// ACCOUNTS
	GetAccount(name string) (account *Account, err error)

	// GROUPS
	CreateGroup(name GroupName) error

	// VIRTUAL MACHINES
	DeleteVirtualMachine(name VirtualMachineName, purge bool) error
	GetVirtualMachine(name VirtualMachineName) (vm *VirtualMachine, err error)
	UndeleteVirtualMachine(name VirtualMachineName) error
}<commit_msg>Remove BuildURL from the Client interface. Can't remember why.<commit_after>package lib

import (
	auth3 "bytemark.co.uk/auth3/client"
	"net/http"
)

type Client interface {
	// Getters
	GetEndpoint() string
	GetSessionToken() string

	// Setters
	SetDebugLevel(int)

	AuthWithToken(string) error
	AuthWithCredentials(auth3.Credentials) error

	RequestAndUnmarshal(auth bool, method, path, requestBody string, output interface{}) error
	RequestAndRead(auth bool, method, path, requestBody string) (responseBody []byte, err error)
	Request(auth bool, method string, location string, requestBody string) (req *http.Request, res *http.Response, err error)

	// ACCOUNTS
	GetAccount(name string) (account *Account, err error)

	// GROUPS
	CreateGroup(name GroupName) error

	// VIRTUAL MACHINES
	DeleteVirtualMachine(name VirtualMachineName, purge bool) error
	GetVirtualMachine(name VirtualMachineName) (vm *VirtualMachine, err error)
	UndeleteVirtualMachine(name VirtualMachineName) error
}
{'fraction_non_alphanumeric': 0.09261133603238866, 'fraction_numerical': 0.003036437246963563, 'mean_word_length': 5.840830449826989, 'pattern_counts': {'":': 0, '<': 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': '7509975', 'n_tokens_mistral': 605, 'n_tokens_neox': 581, 'n_words': 173}