SYMBOL INDEX (1056 symbols across 154 files) FILE: cmd/drone-autoscaler/main.go function main (line 55) | func main() { function setupLogging (line 199) | func setupLogging(c config.Config) { function setupClient (line 217) | func setupClient(c config.Config) drone.Client { function setupProvider (line 232) | func setupProvider(c config.Config) (autoscaler.Provider, error) { FILE: config/config.go type Config (line 13) | type Config struct type Runner (line 235) | type Runner struct FILE: config/load.go function init (line 23) | func init() { function Load (line 34) | func Load() (Config, error) { function MustLoad (line 60) | func MustLoad() Config { FILE: config/load_test.go function TestDefaults (line 18) | func TestDefaults(t *testing.T) { function TestLoad (line 66) | func TestLoad(t *testing.T) { function TestLoadEnvVariables (line 373) | func TestLoadEnvVariables(t *testing.T) { FILE: drivers/amazon/create.go type attemptOverrides (line 21) | type attemptOverrides struct method Create (line 27) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... method create (line 71) | func (p *provider) create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/amazon/destroy.go method Destroy (line 19) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... method destroy2 (line 58) | func (p *provider) destroy2(ctx context.Context, instance *autoscaler.In... FILE: drivers/amazon/destroy_test.go function TestDestroy (line 17) | func TestDestroy(t *testing.T) { function TestDestroyDeleteError (line 47) | func TestDestroyDeleteError(t *testing.T) { function TestDestroyNotFound (line 64) | func TestDestroyNotFound(t *testing.T) { FILE: drivers/amazon/option.go type Option (line 14) | type Option function WithDeviceName (line 17) | func WithDeviceName(n string) Option { function WithImage (line 24) | func WithImage(image string) Option { function WithPrivateIP (line 31) | func WithPrivateIP(private bool) Option { function WithRetries (line 38) | func WithRetries(retries int) Option { function WithRegion (line 45) | func WithRegion(region string) Option { function WithSecurityGroup (line 52) | func WithSecurityGroup(group ...string) Option { function WithSize (line 59) | func WithSize(size string) Option { function WithSizeAlt (line 68) | func WithSizeAlt(size string) Option { function WithSSHKey (line 75) | func WithSSHKey(key string) Option { function WithSubnets (line 82) | func WithSubnets(ids []string) Option { function WithTags (line 89) | func WithTags(tags map[string]string) Option { function WithUserData (line 97) | func WithUserData(text string) Option { function WithUserDataFile (line 107) | func WithUserDataFile(filepath string) Option { function WithVolumeSize (line 121) | func WithVolumeSize(s int64) Option { function WithVolumeType (line 128) | func WithVolumeType(t string) Option { function WithVolumeIops (line 135) | func WithVolumeIops(i int64) Option { function WithVolumeThroughput (line 142) | func WithVolumeThroughput(i int64) Option { function WithIamProfileArn (line 149) | func WithIamProfileArn(t string) Option { function WithInstanceMetadataTokens (line 156) | func WithInstanceMetadataTokens(t string) Option { function WithMarketType (line 163) | func WithMarketType(t string) Option { FILE: drivers/amazon/option_test.go function TestOptions (line 9) | func TestOptions(t *testing.T) { FILE: drivers/amazon/provider.go type provider (line 19) | type provider struct method getClient (line 43) | func (p *provider) getClient() *ec2.EC2 { function New (line 52) | func New(opts ...Option) autoscaler.Provider { FILE: drivers/amazon/setup.go method setup (line 17) | func (p *provider) setup(ctx context.Context) error { method setupKeypair (line 33) | func (p *provider) setupKeypair(ctx context.Context) error { FILE: drivers/amazon/util.go function convertTags (line 14) | func convertTags(in map[string]string) []*ec2.Tag { function createCopy (line 26) | func createCopy(in map[string]string) map[string]string { function defaultImage (line 36) | func defaultImage(region string) string { FILE: drivers/amazon/util_test.go function TestConvertTags (line 14) | func TestConvertTags(t *testing.T) { FILE: drivers/digitalocean/create.go method Create (line 19) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/digitalocean/create_test.go function TestCreate (line 18) | func TestCreate(t *testing.T) { function TestCreate_CreateError (line 49) | func TestCreate_CreateError(t *testing.T) { function TestCreate_DescribeError (line 74) | func TestCreate_DescribeError(t *testing.T) { function TestCreate_DescribeTimeout (line 106) | func TestCreate_DescribeTimeout(t *testing.T) { function testInstance (line 142) | func testInstance(instance *autoscaler.Instance) func(t *testing.T) { function testInstanceAddress (line 165) | func testInstanceAddress(instance *autoscaler.Instance) func(t *testing.... constant respDropletCreate (line 177) | respDropletCreate = ` constant respDropletDesc (line 235) | respDropletDesc = ` FILE: drivers/digitalocean/destroy.go method Destroy (line 15) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... FILE: drivers/digitalocean/destroy_test.go function TestDestroy (line 19) | func TestDestroy(t *testing.T) { function TestDestroyDeleteError (line 51) | func TestDestroyDeleteError(t *testing.T) { function TestDestroyFindError (line 88) | func TestDestroyFindError(t *testing.T) { function TestDestroyNotFound (line 120) | func TestDestroyNotFound(t *testing.T) { function TestDestroyInvalidInput (line 152) | func TestDestroyInvalidInput(t *testing.T) { FILE: drivers/digitalocean/option.go type Option (line 14) | type Option function WithImage (line 17) | func WithImage(image string) Option { function WithRegion (line 24) | func WithRegion(region string) Option { function WithSize (line 31) | func WithSize(size string) Option { function WithSSHKey (line 38) | func WithSSHKey(key string) Option { function WithTags (line 45) | func WithTags(tags ...string) Option { function WithToken (line 52) | func WithToken(token string) Option { function WithFirewall (line 59) | func WithFirewall(firewall string) Option { function WithPrivateIP (line 66) | func WithPrivateIP(private bool) Option { function WithUserData (line 74) | func WithUserData(text string) Option { function WithUserDataFile (line 84) | func WithUserDataFile(filepath string) Option { FILE: drivers/digitalocean/option_test.go function TestOptions (line 9) | func TestOptions(t *testing.T) { FILE: drivers/digitalocean/provider.go type provider (line 19) | type provider struct function New (line 34) | func New(opts ...Option) autoscaler.Provider { function newClient (line 55) | func newClient(ctx context.Context, token string) *godo.Client { FILE: drivers/digitalocean/provider_test.go function TestDefaults (line 9) | func TestDefaults(t *testing.T) { FILE: drivers/digitalocean/setup.go method setup (line 17) | func (p *provider) setup(ctx context.Context) error { method setupKeypair (line 27) | func (p *provider) setupKeypair(ctx context.Context) error { FILE: drivers/digitalocean/setup_test.go function TestSetupKey_Single (line 14) | func TestSetupKey_Single(t *testing.T) { function TestSetupKey_FoundMatch (line 36) | func TestSetupKey_FoundMatch(t *testing.T) { function TestSetupKey_NoMatch (line 62) | func TestSetupKey_NoMatch(t *testing.T) { FILE: drivers/google/create.go method Create (line 21) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/google/create_test.go function TestCreate (line 19) | func TestCreate(t *testing.T) { function TestCreateWithMultiZones (line 82) | func TestCreateWithMultiZones(t *testing.T) { FILE: drivers/google/destroy.go method Destroy (line 15) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... FILE: drivers/google/destroy_test.go function TestDestroy (line 16) | func TestDestroy(t *testing.T) { function TestDestroy_Error (line 51) | func TestDestroy_Error(t *testing.T) { FILE: drivers/google/option.go type Option (line 19) | type Option function WithClient (line 23) | func WithClient(client *http.Client) Option { function WithDiskSize (line 35) | func WithDiskSize(diskSize int64) Option { function WithDiskType (line 42) | func WithDiskType(diskType string) Option { function WithLabels (line 49) | func WithLabels(labels map[string]string) Option { function WithMachineImage (line 56) | func WithMachineImage(image string) Option { function WithMachineType (line 63) | func WithMachineType(size string) Option { function WithNetwork (line 70) | func WithNetwork(network string) Option { function WithSubnetwork (line 77) | func WithSubnetwork(subnetwork string) Option { function WithStackType (line 84) | func WithStackType(stackType string) Option { function WithPrivateIP (line 91) | func WithPrivateIP(private bool) Option { function WithProject (line 98) | func WithProject(project string) Option { function WithTags (line 105) | func WithTags(tags ...string) Option { function WithUserData (line 113) | func WithUserData(text string) Option { function WithUserDataFile (line 123) | func WithUserDataFile(filepath string) Option { function WithUserDataKey (line 137) | func WithUserDataKey(text string) Option { function WithZones (line 146) | func WithZones(zones ...string) Option { function WithScopes (line 153) | func WithScopes(scopes ...string) Option { function WithServiceAccountEmail (line 160) | func WithServiceAccountEmail(email string) Option { function WithRateLimit (line 166) | func WithRateLimit(limitAmount int) Option { FILE: drivers/google/option_test.go function TestOptions (line 13) | func TestOptions(t *testing.T) { FILE: drivers/google/provider.go type provider (line 38) | type provider struct method waitZoneOperation (line 125) | func (p *provider) waitZoneOperation(ctx context.Context, name string,... method waitGlobalOperation (line 147) | func (p *provider) waitGlobalOperation(ctx context.Context, name strin... function New (line 64) | func New(opts ...Option) (autoscaler.Provider, error) { FILE: drivers/google/provider_test.go function TestDefaults (line 15) | func TestDefaults(t *testing.T) { FILE: drivers/google/setup.go method setup (line 16) | func (p *provider) setup(ctx context.Context) error { method setupFirewall (line 23) | func (p *provider) setupFirewall(ctx context.Context) error { FILE: drivers/google/setup_test.go function TestSetupFirewall (line 16) | func TestSetupFirewall(t *testing.T) { function TestSetupFirewall_Exists (line 50) | func TestSetupFirewall_Exists(t *testing.T) { FILE: drivers/hetznercloud/create.go method Create (line 18) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/hetznercloud/create_test.go function TestCreate (line 16) | func TestCreate(t *testing.T) { function TestCreate_CreateError (line 37) | func TestCreate_CreateError(t *testing.T) { function testInstance (line 55) | func testInstance(instance *autoscaler.Instance) func(t *testing.T) { function testInstanceAddress (line 78) | func testInstanceAddress(instance *autoscaler.Instance) func(t *testing.... constant respInstanceCreate (line 90) | respInstanceCreate = ` FILE: drivers/hetznercloud/destroy.go method Destroy (line 17) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... FILE: drivers/hetznercloud/destroy_test.go function TestDestroy (line 17) | func TestDestroy(t *testing.T) { function TestDestroyDeleteError (line 38) | func TestDestroyDeleteError(t *testing.T) { function TestDestroyNotFound (line 59) | func TestDestroyNotFound(t *testing.T) { function TestDestroyInvalidInput (line 85) | func TestDestroyInvalidInput(t *testing.T) { FILE: drivers/hetznercloud/option.go type Option (line 15) | type Option function WithClient (line 18) | func WithClient(client *hcloud.Client) Option { function WithDatacenter (line 25) | func WithDatacenter(datacenter string) Option { function WithImage (line 32) | func WithImage(image string) Option { function WithServerType (line 39) | func WithServerType(serverType string) Option { function WithSSHKey (line 46) | func WithSSHKey(key int) Option { function WithToken (line 53) | func WithToken(token string) Option { function WithUserData (line 65) | func WithUserData(text string) Option { function WithUserDataFile (line 75) | func WithUserDataFile(filepath string) Option { FILE: drivers/hetznercloud/option_test.go function TestOptions (line 9) | func TestOptions(t *testing.T) { FILE: drivers/hetznercloud/provider.go type provider (line 18) | type provider struct function New (line 32) | func New(opts ...Option) autoscaler.Provider { FILE: drivers/hetznercloud/provider_test.go function TestDefaults (line 9) | func TestDefaults(t *testing.T) { FILE: drivers/hetznercloud/setup.go method setup (line 16) | func (p *provider) setup(ctx context.Context) error { method setupKeypair (line 26) | func (p *provider) setupKeypair(ctx context.Context) error { FILE: drivers/hetznercloud/setup_test.go function TestSetupKey_ChooseFirst (line 14) | func TestSetupKey_ChooseFirst(t *testing.T) { function TestSetupKey_ChooseMatch (line 36) | func TestSetupKey_ChooseMatch(t *testing.T) { constant respSingleKey (line 58) | respSingleKey = ` constant respMultiKey (line 71) | respMultiKey = ` FILE: drivers/internal/userdata/userdata.go function Parse (line 21) | func Parse(text string) *template.Template { FILE: drivers/internal/userdata/userdata_test.go function TestUserdata (line 15) | func TestUserdata(t *testing.T) { function TestUserdataFuncmap (line 29) | func TestUserdataFuncmap(t *testing.T) { FILE: drivers/openstack/create.go method Create (line 21) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/openstack/create_test.go function TestCreate (line 16) | func TestCreate(t *testing.T) { function TestAuthFail (line 124) | func TestAuthFail(t *testing.T) { function TestCreateFail (line 161) | func TestCreateFail(t *testing.T) { function setupEnv (line 240) | func setupEnv(t *testing.T) { function testInstance (line 259) | func testInstance(instance *autoscaler.Instance) func(t *testing.T) { FILE: drivers/openstack/destroy.go method Destroy (line 19) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... method deleteFloatingIps (line 69) | func (p *provider) deleteFloatingIps(instance *autoscaler.Instance) error { FILE: drivers/openstack/destroy_test.go function TestDestroy (line 15) | func TestDestroy(t *testing.T) { FILE: drivers/openstack/option.go type Option (line 14) | type Option function WithImage (line 17) | func WithImage(image string) Option { function WithRegion (line 24) | func WithRegion(region string) Option { function WithFlavor (line 31) | func WithFlavor(flavor string) Option { function WithSecurityGroup (line 38) | func WithSecurityGroup(group ...string) Option { function WithComputeClient (line 46) | func WithComputeClient(computeClient *gophercloud.ServiceClient) Option { function WithNetworkClient (line 54) | func WithNetworkClient(networkClient *gophercloud.ServiceClient) Option { function WithSSHKey (line 61) | func WithSSHKey(key string) Option { function WithNetwork (line 68) | func WithNetwork(id string) Option { function WithFloatingIpPool (line 74) | func WithFloatingIpPool(pool string) Option { function WithMetadata (line 81) | func WithMetadata(metadata map[string]string) Option { function WithUserData (line 89) | func WithUserData(text string) Option { function WithUserDataFile (line 99) | func WithUserDataFile(filepath string) Option { FILE: drivers/openstack/option_test.go function TestOptions (line 13) | func TestOptions(t *testing.T) { FILE: drivers/openstack/provider.go type provider (line 22) | type provider struct function New (line 40) | func New(opts ...Option) (autoscaler.Provider, error) { function isUUID (line 115) | func isUUID(uuid string) bool { FILE: drivers/openstack/provider_test.go function TestDefaults (line 13) | func TestDefaults(t *testing.T) { FILE: drivers/openstack/setup.go method setup (line 17) | func (p *provider) setup(ctx context.Context) error { method findKeyPair (line 28) | func (p *provider) findKeyPair(ctx context.Context) error { FILE: drivers/openstack/setup_test.go function helperLoad (line 13) | func helperLoad(t *testing.T, name string) []byte { constant authToken (line 22) | authToken = "gAAAAABb1tQPtYVBv68airR0dgKC2vXpkLNfEHx0w1EL89dOOjKrtdYHR7I... FILE: drivers/packet/create.go method Create (line 18) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... FILE: drivers/packet/create_test.go function TestCreate (line 17) | func TestCreate(t *testing.T) { function testInstance (line 43) | func testInstance(instance *autoscaler.Instance) func(t *testing.T) { function TestCreate_Timeout (line 66) | func TestCreate_Timeout(t *testing.T) { function TestCreate_Erro (line 88) | func TestCreate_Erro(t *testing.T) { function TestCreate_WaitToBecomeActive (line 104) | func TestCreate_WaitToBecomeActive(t *testing.T) { FILE: drivers/packet/destroy.go method Destroy (line 13) | func (p *provider) Destroy(ctx context.Context, instance *autoscaler.Ins... FILE: drivers/packet/destroy_test.go function TestDestroyError (line 17) | func TestDestroyError(t *testing.T) { FILE: drivers/packet/option.go type Option (line 14) | type Option function WithAPIKey (line 17) | func WithAPIKey(apikey string) Option { function WithFacility (line 24) | func WithFacility(facility string) Option { function WithPlan (line 31) | func WithPlan(plan string) Option { function WithOS (line 38) | func WithOS(os string) Option { function WithProject (line 45) | func WithProject(project string) Option { function WithSSHKey (line 52) | func WithSSHKey(sshkey string) Option { function WithHostname (line 59) | func WithHostname(hostname string) Option { function WithTags (line 68) | func WithTags(tags ...string) Option { function WithUserData (line 76) | func WithUserData(text string) Option { function WithUserDataFile (line 86) | func WithUserDataFile(filepath string) Option { FILE: drivers/packet/option_test.go function TestOptions (line 9) | func TestOptions(t *testing.T) { FILE: drivers/packet/provider.go constant consumerToken (line 16) | consumerToken = "24e70949af5ecd17fe8e867b335fc88e7de8bd4ad617c0403d8769a... type provider (line 19) | type provider struct function New (line 37) | func New(opts ...Option) autoscaler.Provider { FILE: drivers/packet/provider_test.go function TestDefaults (line 13) | func TestDefaults(t *testing.T) { FILE: drivers/packet/setup.go method setup (line 17) | func (p *provider) setup(ctx context.Context) error { method setupKeypair (line 30) | func (p *provider) setupKeypair(ctx context.Context) error { FILE: drivers/packet/setup_test.go constant baseURL (line 16) | baseURL = "https://api.packet.net/" constant getDevice (line 17) | getDevice = "/devices" constant getSSH (line 18) | getSSH = "/ssh-keys" constant projectID (line 19) | projectID = "x" constant createDevice (line 20) | createDevice = "/projects/" + projectID + getDevice constant instanceID (line 21) | instanceID = "92b0facf-189e-4bbf-81a8-bc56c0c4dc88" constant apiKey (line 22) | apiKey = "apiKey" constant sshKey (line 23) | sshKey = "sshKey" constant hostname (line 24) | hostname = "hostname" constant tag (line 25) | tag = "tag" function TestMain (line 35) | func TestMain(m *testing.M) { function TestSetup_Keypair (line 108) | func TestSetup_Keypair(t *testing.T) { FILE: drivers/scaleway/create.go method Create (line 20) | func (p *provider) Create(ctx context.Context, opts autoscaler.InstanceC... function serverPowerAction (line 101) | func serverPowerAction(api *instance.API, ctx context.Context, action in... FILE: drivers/scaleway/destroy.go method Destroy (line 17) | func (p *provider) Destroy(ctx context.Context, inst *autoscaler.Instanc... FILE: drivers/scaleway/option.go type Option (line 15) | type Option function WithAccessKey (line 18) | func WithAccessKey(accessKey string) Option { function WithSecretKey (line 26) | func WithSecretKey(secretKey string) Option { function WithOrganisationID (line 34) | func WithOrganisationID(orgId string) Option { function WithImage (line 42) | func WithImage(image string) Option { function WithDynamicIP (line 50) | func WithDynamicIP(dynamicIP bool) Option { function WithTags (line 58) | func WithTags(tags ...string) Option { function WithZone (line 66) | func WithZone(name string) Option { function WithSize (line 81) | func WithSize(size string) Option { function WithUserData (line 90) | func WithUserData(text string) Option { function WithUserDataFile (line 101) | func WithUserDataFile(filepath string) Option { FILE: drivers/scaleway/provider.go type provider (line 18) | type provider struct function New (line 36) | func New(opts ...Option) (autoscaler.Provider, error) { FILE: drivers/scaleway/setup.go method setup (line 14) | func (p *provider) setup(ctx context.Context) error { method newClient (line 24) | func (p *provider) newClient(ctx context.Context) error { FILE: engine.go type Engine (line 12) | type Engine interface FILE: engine/alloc.go type allocator (line 18) | type allocator struct method Allocate (line 26) | func (a *allocator) Allocate(ctx context.Context) error { method allocate (line 54) | func (a *allocator) allocate(ctx context.Context, server *autoscaler.S... FILE: engine/alloc_test.go function TestAllocate (line 19) | func TestAllocate(t *testing.T) { function TestAllocate_ServerCreateError (line 49) | func TestAllocate_ServerCreateError(t *testing.T) { function TestAllocate_ServerListError (line 76) | func TestAllocate_ServerListError(t *testing.T) { function TestAllocate_ServerUpdateError (line 92) | func TestAllocate_ServerUpdateError(t *testing.T) { FILE: engine/calc.go function abs (line 10) | func abs(x int) int { function max (line 18) | func max(x, y int) int { function serverDiff (line 27) | func serverDiff(pending, available, concurrency int) int { function serverCeil (line 38) | func serverCeil(count, additions, ceiling int) int { function serverFloor (line 47) | func serverFloor(count, deletions, floor int) int { FILE: engine/calc_test.go function TestAbs (line 9) | func TestAbs(t *testing.T) { function TestMax (line 24) | func TestMax(t *testing.T) { function TestServerDiff (line 41) | func TestServerDiff(t *testing.T) { function TestSeverCeil (line 138) | func TestSeverCeil(t *testing.T) { function TestSeverFloor (line 207) | func TestSeverFloor(t *testing.T) { FILE: engine/certs/cert.go constant size (line 20) | size = 2048 constant organization (line 23) | organization = "drone.autoscaler.generated" type Certificate (line 27) | type Certificate struct function GenerateCert (line 33) | func GenerateCert(host string, ca *Certificate) (*Certificate, error) { function GenerateCA (line 80) | func GenerateCA() (*Certificate, error) { function newCertificate (line 120) | func newCertificate(org string) (*x509.Certificate, error) { FILE: engine/certs/cert_test.go function TestGenerate (line 11) | func TestGenerate(t *testing.T) { FILE: engine/collect.go type collector (line 17) | type collector struct method Collect (line 26) | func (c *collector) Collect(ctx context.Context) error { method collect (line 54) | func (c *collector) collect(ctx context.Context, server *autoscaler.Se... FILE: engine/collect_test.go function TestCollect (line 20) | func TestCollect(t *testing.T) { function TestCollect_DockerStopError (line 62) | func TestCollect_DockerStopError(t *testing.T) { function TestCollect_ServerDestroyError (line 105) | func TestCollect_ServerDestroyError(t *testing.T) { function TestCollect_ServerListError (line 146) | func TestCollect_ServerListError(t *testing.T) { function TestCollect_ServerUpdateError (line 162) | func TestCollect_ServerUpdateError(t *testing.T) { function TestCollect_ServerNeverProvisioned (line 189) | func TestCollect_ServerNeverProvisioned(t *testing.T) { FILE: engine/docker.go type clientFunc (line 21) | type clientFunc function newDockerClient (line 25) | func newDockerClient(server *autoscaler.Server) (docker.APIClient, io.Cl... FILE: engine/engine.go constant purge (line 21) | purge = time.Hour * 24 type engine (line 23) | type engine struct method Pause (line 121) | func (e *engine) Pause() { method Paused (line 128) | func (e *engine) Paused() bool { method Resume (line 135) | func (e *engine) Resume() { method Start (line 141) | func (e *engine) Start(ctx context.Context) { method allocate (line 178) | func (e *engine) allocate(ctx context.Context) { method install (line 191) | func (e *engine) install(ctx context.Context) { method collect (line 204) | func (e *engine) collect(ctx context.Context) { method plan (line 217) | func (e *engine) plan(ctx context.Context) { method ping (line 231) | func (e *engine) ping(ctx context.Context) { method purge (line 244) | func (e *engine) purge(ctx context.Context) { method reap (line 262) | func (e *engine) reap(ctx context.Context) { method reset (line 275) | func (e *engine) reset(ctx context.Context) { function New (line 39) | func New( FILE: engine/install.go type installer (line 29) | type installer struct method Install (line 68) | func (i *installer) Install(ctx context.Context) error { method install (line 96) | func (i *installer) install(ctx context.Context, instance *autoscaler.... method setupWatchtower (line 317) | func (i *installer) setupWatchtower(ctx context.Context, client docker... method setupGarbageCollector (line 344) | func (i *installer) setupGarbageCollector(ctx context.Context, client ... method errorUpdate (line 394) | func (i *installer) errorUpdate(ctx context.Context, server *autoscale... function toVol (line 412) | func toVol(paths []string) map[string]struct{} { function splitVolumeParts (line 428) | func splitVolumeParts(volumeParts string) ([]string, error) { FILE: engine/install_test.go function TestSplitVolumeParts (line 12) | func TestSplitVolumeParts(t *testing.T) { FILE: engine/pinger.go type pinger (line 16) | type pinger struct method Ping (line 25) | func (p *pinger) Ping(ctx context.Context) error { method ping (line 47) | func (p *pinger) ping(ctx context.Context, server *autoscaler.Server) ... FILE: engine/planner.go type planner (line 22) | type planner struct method Plan (line 39) | func (p *planner) Plan(ctx context.Context) error { method alloc (line 108) | func (p *planner) alloc(ctx context.Context, n int) error { method mark (line 135) | func (p *planner) mark(ctx context.Context, n int) error { method count (line 220) | func (p *planner) count(ctx context.Context) (pending, running int, er... method capacity (line 240) | func (p *planner) capacity(ctx context.Context) (capacity, count int, ... method listBusy (line 258) | func (p *planner) listBusy(ctx context.Context) (map[string]struct{}, ... method match (line 277) | func (p *planner) match(stage *drone.Stage) bool { function checkLabels (line 291) | func checkLabels(a, b map[string]string) bool { function timeDiff (line 303) | func timeDiff(t time.Time, start time.Time) time.Duration { FILE: engine/planner_test.go function TestPlan_Noop (line 23) | func TestPlan_Noop(t *testing.T) { function TestPlan_MinBufferCapacity (line 59) | func TestPlan_MinBufferCapacity(t *testing.T) { function TestPlan_MaxBufferCapacity (line 97) | func TestPlan_MaxBufferCapacity(t *testing.T) { function TestPlan_MoreBufferCapacity (line 142) | func TestPlan_MoreBufferCapacity(t *testing.T) { function TestPlan_MaxCapacity (line 185) | func TestPlan_MaxCapacity(t *testing.T) { function TestPlan_MoreCapacity (line 237) | func TestPlan_MoreCapacity(t *testing.T) { function TestPlan_MinPool (line 288) | func TestPlan_MinPool(t *testing.T) { function TestPlan_NoIdle (line 324) | func TestPlan_NoIdle(t *testing.T) { function TestScale_MinAge (line 365) | func TestScale_MinAge(t *testing.T) { function TestPlan_ShutdownIdle (line 402) | func TestPlan_ShutdownIdle(t *testing.T) { function TestPlan_ExcludePendingWhenTerminating (line 441) | func TestPlan_ExcludePendingWhenTerminating(t *testing.T) { function TestListBusy (line 482) | func TestListBusy(t *testing.T) { function TestListBusyWithPendingAndRunning (line 511) | func TestListBusyWithPendingAndRunning(t *testing.T) { function TestCapacity (line 544) | func TestCapacity(t *testing.T) { function TestCount (line 575) | func TestCount(t *testing.T) { function TestMatch (line 605) | func TestMatch(t *testing.T) { FILE: engine/reaper.go type reaper (line 25) | type reaper struct method Reap (line 34) | func (r *reaper) Reap(ctx context.Context) error { method reap (line 56) | func (r *reaper) reap(ctx context.Context, server *autoscaler.Server) ... FILE: engine/sort.go type byCreated (line 10) | type byCreated method Len (line 12) | func (a byCreated) Len() int { return len(a) } method Swap (line 13) | func (a byCreated) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 14) | func (a byCreated) Less(i, j int) bool { return a[i].Created < a[j].Cr... FILE: engine/sort_test.go function TestSortByCreated (line 14) | func TestSortByCreated(t *testing.T) { FILE: logger/context.go type loggerKey (line 12) | type loggerKey struct function WithContext (line 16) | func WithContext(ctx context.Context, logger Logger) context.Context { function FromContext (line 21) | func FromContext(ctx context.Context) Logger { function FromRequest (line 31) | func FromRequest(r *http.Request) Logger { FILE: logger/context_test.go function TestContext (line 13) | func TestContext(t *testing.T) { function TestEmptyContext (line 24) | func TestEmptyContext(t *testing.T) { function TestRequest (line 34) | func TestRequest(t *testing.T) { FILE: logger/history/history.go constant defaultLimit (line 16) | defaultLimit = 250 type Level (line 19) | type Level constant LevelError (line 23) | LevelError = Level("error") constant LevelWarn (line 24) | LevelWarn = Level("warn") constant LevelInfo (line 25) | LevelInfo = Level("info") constant LevelDebug (line 26) | LevelDebug = Level("debug") constant LevelTrace (line 27) | LevelTrace = Level("trace") type Entry (line 31) | type Entry struct type Hook (line 39) | type Hook struct method Fire (line 57) | func (h *Hook) Fire(e *logrus.Entry) error { method Levels (line 77) | func (h *Hook) Levels() []logrus.Level { method Entries (line 82) | func (h *Hook) Entries() []*Entry { method Filter (line 94) | func (h *Hook) Filter(filter func(*Entry) bool) []*Entry { function New (line 46) | func New() *Hook { function NewLimit (line 52) | func NewLimit(limit int) *Hook { function copyEntry (line 107) | func copyEntry(src *Entry) *Entry { function convertLevel (line 118) | func convertLevel(level logrus.Level) Level { function convertFields (line 138) | func convertFields(src logrus.Fields) map[string]interface{} { FILE: logger/history/history_test.go function TestLevels (line 15) | func TestLevels(t *testing.T) { function TestConvertLevels (line 23) | func TestConvertLevels(t *testing.T) { function TestLimit (line 46) | func TestLimit(t *testing.T) { function TestHistory (line 58) | func TestHistory(t *testing.T) { function TestFilter (line 111) | func TestFilter(t *testing.T) { FILE: logger/logger.go type Logger (line 11) | type Logger interface function Discard (line 40) | func Discard() Logger { type discard (line 44) | type discard struct method Debug (line 46) | func (*discard) Debug(args ...interface{}) {} method Debugf (line 47) | func (*discard) Debugf(format string, args ...interface{}) {} method Debugln (line 48) | func (*discard) Debugln(args ...interface{}) {} method Error (line 49) | func (*discard) Error(args ...interface{}) {} method Errorf (line 50) | func (*discard) Errorf(format string, args ...interface{}) {} method Errorln (line 51) | func (*discard) Errorln(args ...interface{}) {} method Info (line 52) | func (*discard) Info(args ...interface{}) {} method Infof (line 53) | func (*discard) Infof(format string, args ...interface{}) {} method Infoln (line 54) | func (*discard) Infoln(args ...interface{}) {} method Trace (line 55) | func (*discard) Trace(args ...interface{}) {} method Tracef (line 56) | func (*discard) Tracef(format string, args ...interface{}) {} method Traceln (line 57) | func (*discard) Traceln(args ...interface{}) {} method Warn (line 58) | func (*discard) Warn(args ...interface{}) {} method Warnf (line 59) | func (*discard) Warnf(format string, args ...interface{}) {} method Warnln (line 60) | func (*discard) Warnln(args ...interface{}) {} method WithError (line 61) | func (d *discard) WithError(error) Logger { return d } method WithField (line 62) | func (d *discard) WithField(string, interface{}) Logger { return d } FILE: logger/logger_test.go function TestWithError (line 9) | func TestWithError(t *testing.T) { function TestWithField (line 16) | func TestWithField(t *testing.T) { FILE: logger/logrus.go function Logrus (line 10) | func Logrus(entry *logrus.Entry) Logger { type wrapLogrus (line 14) | type wrapLogrus struct method WithError (line 18) | func (w *wrapLogrus) WithError(err error) Logger { method WithField (line 22) | func (w *wrapLogrus) WithField(key string, value interface{}) Logger { FILE: logger/logrus_test.go function TestLogrus (line 13) | func TestLogrus(t *testing.T) { FILE: logger/request/request.go function Logger (line 17) | func Logger(next http.Handler) http.Handler { FILE: metrics/metrics.go type Collector (line 17) | type Collector interface type Prometheus (line 46) | type Prometheus struct method TrackServerCreateTime (line 96) | func (m *Prometheus) TrackServerCreateTime(start time.Time) { method TrackServerInitTime (line 105) | func (m *Prometheus) TrackServerInitTime(start time.Time) { method TrackServerSetupTime (line 113) | func (m *Prometheus) TrackServerSetupTime(start time.Time) { method IncrServerCreateError (line 121) | func (m *Prometheus) IncrServerCreateError() { method IncrServerInitError (line 128) | func (m *Prometheus) IncrServerInitError() { method IncrServerSetupError (line 134) | func (m *Prometheus) IncrServerSetupError() { function New (line 56) | func New() *Prometheus { type NopCollector (line 139) | type NopCollector struct method TrackServerCreateTime (line 143) | func (*NopCollector) TrackServerCreateTime(start time.Time) {} method TrackServerInitTime (line 148) | func (*NopCollector) TrackServerInitTime(start time.Time) {} method TrackServerSetupTime (line 152) | func (*NopCollector) TrackServerSetupTime(start time.Time) {} method IncrServerCreateError (line 156) | func (*NopCollector) IncrServerCreateError() {} method IncrServerInitError (line 161) | func (*NopCollector) IncrServerInitError() {} method IncrServerSetupError (line 165) | func (*NopCollector) IncrServerSetupError() {} FILE: metrics/server_capacity.go function ServerCapacity (line 13) | func ServerCapacity(store autoscaler.ServerStore) autoscaler.ServerStore { FILE: metrics/server_capacity_test.go function TestServerCapacity (line 17) | func TestServerCapacity(t *testing.T) { FILE: metrics/server_count.go function ServerCount (line 13) | func ServerCount(store autoscaler.ServerStore) autoscaler.ServerStore { FILE: metrics/server_count_test.go function TestServerCount (line 17) | func TestServerCount(t *testing.T) { FILE: metrics/server_create.go function ServerCreate (line 15) | func ServerCreate(provider autoscaler.Provider) autoscaler.Provider { type providerWrapCreate (line 34) | type providerWrapCreate struct method Create (line 40) | func (p *providerWrapCreate) Create(ctx context.Context, opts autoscal... FILE: metrics/server_create_test.go function TestServerCreate (line 17) | func TestServerCreate(t *testing.T) { FILE: metrics/server_delete.go function ServerDelete (line 15) | func ServerDelete(provider autoscaler.Provider) autoscaler.Provider { type providerWrapDestroy (line 34) | type providerWrapDestroy struct method Destroy (line 40) | func (p *providerWrapDestroy) Destroy(ctx context.Context, instance *a... FILE: metrics/server_delete_test.go function TestServerDelete (line 17) | func TestServerDelete(t *testing.T) { FILE: mocks/mock_docker.go type MockAPIClient (line 32) | type MockAPIClient struct method EXPECT (line 50) | func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder { method BuildCachePrune (line 55) | func (m *MockAPIClient) BuildCachePrune(arg0 context.Context, arg1 typ... method BuildCancel (line 70) | func (m *MockAPIClient) BuildCancel(arg0 context.Context, arg1 string)... method CheckpointCreate (line 84) | func (m *MockAPIClient) CheckpointCreate(arg0 context.Context, arg1 st... method CheckpointDelete (line 98) | func (m *MockAPIClient) CheckpointDelete(arg0 context.Context, arg1 st... method CheckpointList (line 112) | func (m *MockAPIClient) CheckpointList(arg0 context.Context, arg1 stri... method ClientVersion (line 127) | func (m *MockAPIClient) ClientVersion() string { method Close (line 141) | func (m *MockAPIClient) Close() error { method ConfigCreate (line 155) | func (m *MockAPIClient) ConfigCreate(arg0 context.Context, arg1 swarm.... method ConfigInspectWithRaw (line 170) | func (m *MockAPIClient) ConfigInspectWithRaw(arg0 context.Context, arg... method ConfigList (line 186) | func (m *MockAPIClient) ConfigList(arg0 context.Context, arg1 types.Co... method ConfigRemove (line 201) | func (m *MockAPIClient) ConfigRemove(arg0 context.Context, arg1 string... method ConfigUpdate (line 215) | func (m *MockAPIClient) ConfigUpdate(arg0 context.Context, arg1 string... method ContainerAttach (line 229) | func (m *MockAPIClient) ContainerAttach(arg0 context.Context, arg1 str... method ContainerCommit (line 244) | func (m *MockAPIClient) ContainerCommit(arg0 context.Context, arg1 str... method ContainerCreate (line 259) | func (m *MockAPIClient) ContainerCreate(arg0 context.Context, arg1 *co... method ContainerDiff (line 274) | func (m *MockAPIClient) ContainerDiff(arg0 context.Context, arg1 strin... method ContainerExecAttach (line 289) | func (m *MockAPIClient) ContainerExecAttach(arg0 context.Context, arg1... method ContainerExecCreate (line 304) | func (m *MockAPIClient) ContainerExecCreate(arg0 context.Context, arg1... method ContainerExecInspect (line 319) | func (m *MockAPIClient) ContainerExecInspect(arg0 context.Context, arg... method ContainerExecResize (line 334) | func (m *MockAPIClient) ContainerExecResize(arg0 context.Context, arg1... method ContainerExecStart (line 348) | func (m *MockAPIClient) ContainerExecStart(arg0 context.Context, arg1 ... method ContainerExport (line 362) | func (m *MockAPIClient) ContainerExport(arg0 context.Context, arg1 str... method ContainerInspect (line 377) | func (m *MockAPIClient) ContainerInspect(arg0 context.Context, arg1 st... method ContainerInspectWithRaw (line 392) | func (m *MockAPIClient) ContainerInspectWithRaw(arg0 context.Context, ... method ContainerKill (line 408) | func (m *MockAPIClient) ContainerKill(arg0 context.Context, arg1, arg2... method ContainerList (line 422) | func (m *MockAPIClient) ContainerList(arg0 context.Context, arg1 conta... method ContainerLogs (line 437) | func (m *MockAPIClient) ContainerLogs(arg0 context.Context, arg1 strin... method ContainerPause (line 452) | func (m *MockAPIClient) ContainerPause(arg0 context.Context, arg1 stri... method ContainerRemove (line 466) | func (m *MockAPIClient) ContainerRemove(arg0 context.Context, arg1 str... method ContainerRename (line 480) | func (m *MockAPIClient) ContainerRename(arg0 context.Context, arg1, ar... method ContainerResize (line 494) | func (m *MockAPIClient) ContainerResize(arg0 context.Context, arg1 str... method ContainerRestart (line 508) | func (m *MockAPIClient) ContainerRestart(arg0 context.Context, arg1 st... method ContainerStart (line 522) | func (m *MockAPIClient) ContainerStart(arg0 context.Context, arg1 stri... method ContainerStatPath (line 536) | func (m *MockAPIClient) ContainerStatPath(arg0 context.Context, arg1, ... method ContainerStats (line 551) | func (m *MockAPIClient) ContainerStats(arg0 context.Context, arg1 stri... method ContainerStatsOneShot (line 566) | func (m *MockAPIClient) ContainerStatsOneShot(arg0 context.Context, ar... method ContainerStop (line 581) | func (m *MockAPIClient) ContainerStop(arg0 context.Context, arg1 strin... method ContainerTop (line 595) | func (m *MockAPIClient) ContainerTop(arg0 context.Context, arg1 string... method ContainerUnpause (line 610) | func (m *MockAPIClient) ContainerUnpause(arg0 context.Context, arg1 st... method ContainerUpdate (line 624) | func (m *MockAPIClient) ContainerUpdate(arg0 context.Context, arg1 str... method ContainerWait (line 639) | func (m *MockAPIClient) ContainerWait(arg0 context.Context, arg1 strin... method ContainersPrune (line 654) | func (m *MockAPIClient) ContainersPrune(arg0 context.Context, arg1 fil... method CopyFromContainer (line 669) | func (m *MockAPIClient) CopyFromContainer(arg0 context.Context, arg1, ... method CopyToContainer (line 685) | func (m *MockAPIClient) CopyToContainer(arg0 context.Context, arg1, ar... method DaemonHost (line 699) | func (m *MockAPIClient) DaemonHost() string { method DialHijack (line 713) | func (m *MockAPIClient) DialHijack(arg0 context.Context, arg1, arg2 st... method Dialer (line 728) | func (m *MockAPIClient) Dialer() func(context.Context) (net.Conn, erro... method DiskUsage (line 742) | func (m *MockAPIClient) DiskUsage(arg0 context.Context, arg1 types.Dis... method DistributionInspect (line 757) | func (m *MockAPIClient) DistributionInspect(arg0 context.Context, arg1... method Events (line 772) | func (m *MockAPIClient) Events(arg0 context.Context, arg1 events.ListO... method HTTPClient (line 787) | func (m *MockAPIClient) HTTPClient() *http.Client { method ImageBuild (line 801) | func (m *MockAPIClient) ImageBuild(arg0 context.Context, arg1 io.Reade... method ImageCreate (line 816) | func (m *MockAPIClient) ImageCreate(arg0 context.Context, arg1 string,... method ImageHistory (line 831) | func (m *MockAPIClient) ImageHistory(arg0 context.Context, arg1 string... method ImageImport (line 851) | func (m *MockAPIClient) ImageImport(arg0 context.Context, arg1 image.I... method ImageInspect (line 866) | func (m *MockAPIClient) ImageInspect(arg0 context.Context, arg1 string... method ImageInspectWithRaw (line 886) | func (m *MockAPIClient) ImageInspectWithRaw(arg0 context.Context, arg1... method ImageList (line 902) | func (m *MockAPIClient) ImageList(arg0 context.Context, arg1 image.Lis... method ImageLoad (line 917) | func (m *MockAPIClient) ImageLoad(arg0 context.Context, arg1 io.Reader... method ImagePull (line 937) | func (m *MockAPIClient) ImagePull(arg0 context.Context, arg1 string, a... method ImagePush (line 952) | func (m *MockAPIClient) ImagePush(arg0 context.Context, arg1 string, a... method ImageRemove (line 967) | func (m *MockAPIClient) ImageRemove(arg0 context.Context, arg1 string,... method ImageSave (line 982) | func (m *MockAPIClient) ImageSave(arg0 context.Context, arg1 []string,... method ImageSearch (line 1002) | func (m *MockAPIClient) ImageSearch(arg0 context.Context, arg1 string,... method ImageTag (line 1017) | func (m *MockAPIClient) ImageTag(arg0 context.Context, arg1, arg2 stri... method ImagesPrune (line 1031) | func (m *MockAPIClient) ImagesPrune(arg0 context.Context, arg1 filters... method Info (line 1046) | func (m *MockAPIClient) Info(arg0 context.Context) (system.Info, error) { method NegotiateAPIVersion (line 1061) | func (m *MockAPIClient) NegotiateAPIVersion(arg0 context.Context) { method NegotiateAPIVersionPing (line 1073) | func (m *MockAPIClient) NegotiateAPIVersionPing(arg0 types.Ping) { method NetworkConnect (line 1085) | func (m *MockAPIClient) NetworkConnect(arg0 context.Context, arg1, arg... method NetworkCreate (line 1099) | func (m *MockAPIClient) NetworkCreate(arg0 context.Context, arg1 strin... method NetworkDisconnect (line 1114) | func (m *MockAPIClient) NetworkDisconnect(arg0 context.Context, arg1, ... method NetworkInspect (line 1128) | func (m *MockAPIClient) NetworkInspect(arg0 context.Context, arg1 stri... method NetworkInspectWithRaw (line 1143) | func (m *MockAPIClient) NetworkInspectWithRaw(arg0 context.Context, ar... method NetworkList (line 1159) | func (m *MockAPIClient) NetworkList(arg0 context.Context, arg1 network... method NetworkRemove (line 1174) | func (m *MockAPIClient) NetworkRemove(arg0 context.Context, arg1 strin... method NetworksPrune (line 1188) | func (m *MockAPIClient) NetworksPrune(arg0 context.Context, arg1 filte... method NodeInspectWithRaw (line 1203) | func (m *MockAPIClient) NodeInspectWithRaw(arg0 context.Context, arg1 ... method NodeList (line 1219) | func (m *MockAPIClient) NodeList(arg0 context.Context, arg1 types.Node... method NodeRemove (line 1234) | func (m *MockAPIClient) NodeRemove(arg0 context.Context, arg1 string, ... method NodeUpdate (line 1248) | func (m *MockAPIClient) NodeUpdate(arg0 context.Context, arg1 string, ... method Ping (line 1262) | func (m *MockAPIClient) Ping(arg0 context.Context) (types.Ping, error) { method PluginCreate (line 1277) | func (m *MockAPIClient) PluginCreate(arg0 context.Context, arg1 io.Rea... method PluginDisable (line 1291) | func (m *MockAPIClient) PluginDisable(arg0 context.Context, arg1 strin... method PluginEnable (line 1305) | func (m *MockAPIClient) PluginEnable(arg0 context.Context, arg1 string... method PluginInspectWithRaw (line 1319) | func (m *MockAPIClient) PluginInspectWithRaw(arg0 context.Context, arg... method PluginInstall (line 1335) | func (m *MockAPIClient) PluginInstall(arg0 context.Context, arg1 strin... method PluginList (line 1350) | func (m *MockAPIClient) PluginList(arg0 context.Context, arg1 filters.... method PluginPush (line 1365) | func (m *MockAPIClient) PluginPush(arg0 context.Context, arg1, arg2 st... method PluginRemove (line 1380) | func (m *MockAPIClient) PluginRemove(arg0 context.Context, arg1 string... method PluginSet (line 1394) | func (m *MockAPIClient) PluginSet(arg0 context.Context, arg1 string, a... method PluginUpgrade (line 1408) | func (m *MockAPIClient) PluginUpgrade(arg0 context.Context, arg1 strin... method RegistryLogin (line 1423) | func (m *MockAPIClient) RegistryLogin(arg0 context.Context, arg1 regis... method SecretCreate (line 1438) | func (m *MockAPIClient) SecretCreate(arg0 context.Context, arg1 swarm.... method SecretInspectWithRaw (line 1453) | func (m *MockAPIClient) SecretInspectWithRaw(arg0 context.Context, arg... method SecretList (line 1469) | func (m *MockAPIClient) SecretList(arg0 context.Context, arg1 types.Se... method SecretRemove (line 1484) | func (m *MockAPIClient) SecretRemove(arg0 context.Context, arg1 string... method SecretUpdate (line 1498) | func (m *MockAPIClient) SecretUpdate(arg0 context.Context, arg1 string... method ServerVersion (line 1512) | func (m *MockAPIClient) ServerVersion(arg0 context.Context) (types.Ver... method ServiceCreate (line 1527) | func (m *MockAPIClient) ServiceCreate(arg0 context.Context, arg1 swarm... method ServiceInspectWithRaw (line 1542) | func (m *MockAPIClient) ServiceInspectWithRaw(arg0 context.Context, ar... method ServiceList (line 1558) | func (m *MockAPIClient) ServiceList(arg0 context.Context, arg1 types.S... method ServiceLogs (line 1573) | func (m *MockAPIClient) ServiceLogs(arg0 context.Context, arg1 string,... method ServiceRemove (line 1588) | func (m *MockAPIClient) ServiceRemove(arg0 context.Context, arg1 strin... method ServiceUpdate (line 1602) | func (m *MockAPIClient) ServiceUpdate(arg0 context.Context, arg1 strin... method SwarmGetUnlockKey (line 1617) | func (m *MockAPIClient) SwarmGetUnlockKey(arg0 context.Context) (types... method SwarmInit (line 1632) | func (m *MockAPIClient) SwarmInit(arg0 context.Context, arg1 swarm.Ini... method SwarmInspect (line 1647) | func (m *MockAPIClient) SwarmInspect(arg0 context.Context) (swarm.Swar... method SwarmJoin (line 1662) | func (m *MockAPIClient) SwarmJoin(arg0 context.Context, arg1 swarm.Joi... method SwarmLeave (line 1676) | func (m *MockAPIClient) SwarmLeave(arg0 context.Context, arg1 bool) er... method SwarmUnlock (line 1690) | func (m *MockAPIClient) SwarmUnlock(arg0 context.Context, arg1 swarm.U... method SwarmUpdate (line 1704) | func (m *MockAPIClient) SwarmUpdate(arg0 context.Context, arg1 swarm.V... method TaskInspectWithRaw (line 1718) | func (m *MockAPIClient) TaskInspectWithRaw(arg0 context.Context, arg1 ... method TaskList (line 1734) | func (m *MockAPIClient) TaskList(arg0 context.Context, arg1 types.Task... method TaskLogs (line 1749) | func (m *MockAPIClient) TaskLogs(arg0 context.Context, arg1 string, ar... method VolumeCreate (line 1764) | func (m *MockAPIClient) VolumeCreate(arg0 context.Context, arg1 volume... method VolumeInspect (line 1779) | func (m *MockAPIClient) VolumeInspect(arg0 context.Context, arg1 strin... method VolumeInspectWithRaw (line 1794) | func (m *MockAPIClient) VolumeInspectWithRaw(arg0 context.Context, arg... method VolumeList (line 1810) | func (m *MockAPIClient) VolumeList(arg0 context.Context, arg1 volume.L... method VolumeRemove (line 1825) | func (m *MockAPIClient) VolumeRemove(arg0 context.Context, arg1 string... method VolumeUpdate (line 1839) | func (m *MockAPIClient) VolumeUpdate(arg0 context.Context, arg1 string... method VolumesPrune (line 1853) | func (m *MockAPIClient) VolumesPrune(arg0 context.Context, arg1 filter... type MockAPIClientMockRecorder (line 38) | type MockAPIClientMockRecorder struct method BuildCachePrune (line 64) | func (mr *MockAPIClientMockRecorder) BuildCachePrune(arg0, arg1 interf... method BuildCancel (line 78) | func (mr *MockAPIClientMockRecorder) BuildCancel(arg0, arg1 interface{... method CheckpointCreate (line 92) | func (mr *MockAPIClientMockRecorder) CheckpointCreate(arg0, arg1, arg2... method CheckpointDelete (line 106) | func (mr *MockAPIClientMockRecorder) CheckpointDelete(arg0, arg1, arg2... method CheckpointList (line 121) | func (mr *MockAPIClientMockRecorder) CheckpointList(arg0, arg1, arg2 i... method ClientVersion (line 135) | func (mr *MockAPIClientMockRecorder) ClientVersion() *gomock.Call { method Close (line 149) | func (mr *MockAPIClientMockRecorder) Close() *gomock.Call { method ConfigCreate (line 164) | func (mr *MockAPIClientMockRecorder) ConfigCreate(arg0, arg1 interface... method ConfigInspectWithRaw (line 180) | func (mr *MockAPIClientMockRecorder) ConfigInspectWithRaw(arg0, arg1 i... method ConfigList (line 195) | func (mr *MockAPIClientMockRecorder) ConfigList(arg0, arg1 interface{}... method ConfigRemove (line 209) | func (mr *MockAPIClientMockRecorder) ConfigRemove(arg0, arg1 interface... method ConfigUpdate (line 223) | func (mr *MockAPIClientMockRecorder) ConfigUpdate(arg0, arg1, arg2, ar... method ContainerAttach (line 238) | func (mr *MockAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 ... method ContainerCommit (line 253) | func (mr *MockAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 ... method ContainerCreate (line 268) | func (mr *MockAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2,... method ContainerDiff (line 283) | func (mr *MockAPIClientMockRecorder) ContainerDiff(arg0, arg1 interfac... method ContainerExecAttach (line 298) | func (mr *MockAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, a... method ContainerExecCreate (line 313) | func (mr *MockAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, a... method ContainerExecInspect (line 328) | func (mr *MockAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 i... method ContainerExecResize (line 342) | func (mr *MockAPIClientMockRecorder) ContainerExecResize(arg0, arg1, a... method ContainerExecStart (line 356) | func (mr *MockAPIClientMockRecorder) ContainerExecStart(arg0, arg1, ar... method ContainerExport (line 371) | func (mr *MockAPIClientMockRecorder) ContainerExport(arg0, arg1 interf... method ContainerInspect (line 386) | func (mr *MockAPIClientMockRecorder) ContainerInspect(arg0, arg1 inter... method ContainerInspectWithRaw (line 402) | func (mr *MockAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg... method ContainerKill (line 416) | func (mr *MockAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 in... method ContainerList (line 431) | func (mr *MockAPIClientMockRecorder) ContainerList(arg0, arg1 interfac... method ContainerLogs (line 446) | func (mr *MockAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 in... method ContainerPause (line 460) | func (mr *MockAPIClientMockRecorder) ContainerPause(arg0, arg1 interfa... method ContainerRemove (line 474) | func (mr *MockAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 ... method ContainerRename (line 488) | func (mr *MockAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 ... method ContainerResize (line 502) | func (mr *MockAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 ... method ContainerRestart (line 516) | func (mr *MockAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2... method ContainerStart (line 530) | func (mr *MockAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 i... method ContainerStatPath (line 545) | func (mr *MockAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg... method ContainerStats (line 560) | func (mr *MockAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 i... method ContainerStatsOneShot (line 575) | func (mr *MockAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 ... method ContainerStop (line 589) | func (mr *MockAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 in... method ContainerTop (line 604) | func (mr *MockAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 int... method ContainerUnpause (line 618) | func (mr *MockAPIClientMockRecorder) ContainerUnpause(arg0, arg1 inter... method ContainerUpdate (line 633) | func (mr *MockAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 ... method ContainerWait (line 648) | func (mr *MockAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 in... method ContainersPrune (line 663) | func (mr *MockAPIClientMockRecorder) ContainersPrune(arg0, arg1 interf... method CopyFromContainer (line 679) | func (mr *MockAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg... method CopyToContainer (line 693) | func (mr *MockAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2,... method DaemonHost (line 707) | func (mr *MockAPIClientMockRecorder) DaemonHost() *gomock.Call { method DialHijack (line 722) | func (mr *MockAPIClientMockRecorder) DialHijack(arg0, arg1, arg2, arg3... method Dialer (line 736) | func (mr *MockAPIClientMockRecorder) Dialer() *gomock.Call { method DiskUsage (line 751) | func (mr *MockAPIClientMockRecorder) DiskUsage(arg0, arg1 interface{})... method DistributionInspect (line 766) | func (mr *MockAPIClientMockRecorder) DistributionInspect(arg0, arg1, a... method Events (line 781) | func (mr *MockAPIClientMockRecorder) Events(arg0, arg1 interface{}) *g... method HTTPClient (line 795) | func (mr *MockAPIClientMockRecorder) HTTPClient() *gomock.Call { method ImageBuild (line 810) | func (mr *MockAPIClientMockRecorder) ImageBuild(arg0, arg1, arg2 inter... method ImageCreate (line 825) | func (mr *MockAPIClientMockRecorder) ImageCreate(arg0, arg1, arg2 inte... method ImageHistory (line 844) | func (mr *MockAPIClientMockRecorder) ImageHistory(arg0, arg1 interface... method ImageImport (line 860) | func (mr *MockAPIClientMockRecorder) ImageImport(arg0, arg1, arg2, arg... method ImageInspect (line 879) | func (mr *MockAPIClientMockRecorder) ImageInspect(arg0, arg1 interface... method ImageInspectWithRaw (line 896) | func (mr *MockAPIClientMockRecorder) ImageInspectWithRaw(arg0, arg1 in... method ImageList (line 911) | func (mr *MockAPIClientMockRecorder) ImageList(arg0, arg1 interface{})... method ImageLoad (line 930) | func (mr *MockAPIClientMockRecorder) ImageLoad(arg0, arg1 interface{},... method ImagePull (line 946) | func (mr *MockAPIClientMockRecorder) ImagePull(arg0, arg1, arg2 interf... method ImagePush (line 961) | func (mr *MockAPIClientMockRecorder) ImagePush(arg0, arg1, arg2 interf... method ImageRemove (line 976) | func (mr *MockAPIClientMockRecorder) ImageRemove(arg0, arg1, arg2 inte... method ImageSave (line 995) | func (mr *MockAPIClientMockRecorder) ImageSave(arg0, arg1 interface{},... method ImageSearch (line 1011) | func (mr *MockAPIClientMockRecorder) ImageSearch(arg0, arg1, arg2 inte... method ImageTag (line 1025) | func (mr *MockAPIClientMockRecorder) ImageTag(arg0, arg1, arg2 interfa... method ImagesPrune (line 1040) | func (mr *MockAPIClientMockRecorder) ImagesPrune(arg0, arg1 interface{... method Info (line 1055) | func (mr *MockAPIClientMockRecorder) Info(arg0 interface{}) *gomock.Ca... method NegotiateAPIVersion (line 1067) | func (mr *MockAPIClientMockRecorder) NegotiateAPIVersion(arg0 interfac... method NegotiateAPIVersionPing (line 1079) | func (mr *MockAPIClientMockRecorder) NegotiateAPIVersionPing(arg0 inte... method NetworkConnect (line 1093) | func (mr *MockAPIClientMockRecorder) NetworkConnect(arg0, arg1, arg2, ... method NetworkCreate (line 1108) | func (mr *MockAPIClientMockRecorder) NetworkCreate(arg0, arg1, arg2 in... method NetworkDisconnect (line 1122) | func (mr *MockAPIClientMockRecorder) NetworkDisconnect(arg0, arg1, arg... method NetworkInspect (line 1137) | func (mr *MockAPIClientMockRecorder) NetworkInspect(arg0, arg1, arg2 i... method NetworkInspectWithRaw (line 1153) | func (mr *MockAPIClientMockRecorder) NetworkInspectWithRaw(arg0, arg1,... method NetworkList (line 1168) | func (mr *MockAPIClientMockRecorder) NetworkList(arg0, arg1 interface{... method NetworkRemove (line 1182) | func (mr *MockAPIClientMockRecorder) NetworkRemove(arg0, arg1 interfac... method NetworksPrune (line 1197) | func (mr *MockAPIClientMockRecorder) NetworksPrune(arg0, arg1 interfac... method NodeInspectWithRaw (line 1213) | func (mr *MockAPIClientMockRecorder) NodeInspectWithRaw(arg0, arg1 int... method NodeList (line 1228) | func (mr *MockAPIClientMockRecorder) NodeList(arg0, arg1 interface{}) ... method NodeRemove (line 1242) | func (mr *MockAPIClientMockRecorder) NodeRemove(arg0, arg1, arg2 inter... method NodeUpdate (line 1256) | func (mr *MockAPIClientMockRecorder) NodeUpdate(arg0, arg1, arg2, arg3... method Ping (line 1271) | func (mr *MockAPIClientMockRecorder) Ping(arg0 interface{}) *gomock.Ca... method PluginCreate (line 1285) | func (mr *MockAPIClientMockRecorder) PluginCreate(arg0, arg1, arg2 int... method PluginDisable (line 1299) | func (mr *MockAPIClientMockRecorder) PluginDisable(arg0, arg1, arg2 in... method PluginEnable (line 1313) | func (mr *MockAPIClientMockRecorder) PluginEnable(arg0, arg1, arg2 int... method PluginInspectWithRaw (line 1329) | func (mr *MockAPIClientMockRecorder) PluginInspectWithRaw(arg0, arg1 i... method PluginInstall (line 1344) | func (mr *MockAPIClientMockRecorder) PluginInstall(arg0, arg1, arg2 in... method PluginList (line 1359) | func (mr *MockAPIClientMockRecorder) PluginList(arg0, arg1 interface{}... method PluginPush (line 1374) | func (mr *MockAPIClientMockRecorder) PluginPush(arg0, arg1, arg2 inter... method PluginRemove (line 1388) | func (mr *MockAPIClientMockRecorder) PluginRemove(arg0, arg1, arg2 int... method PluginSet (line 1402) | func (mr *MockAPIClientMockRecorder) PluginSet(arg0, arg1, arg2 interf... method PluginUpgrade (line 1417) | func (mr *MockAPIClientMockRecorder) PluginUpgrade(arg0, arg1, arg2 in... method RegistryLogin (line 1432) | func (mr *MockAPIClientMockRecorder) RegistryLogin(arg0, arg1 interfac... method SecretCreate (line 1447) | func (mr *MockAPIClientMockRecorder) SecretCreate(arg0, arg1 interface... method SecretInspectWithRaw (line 1463) | func (mr *MockAPIClientMockRecorder) SecretInspectWithRaw(arg0, arg1 i... method SecretList (line 1478) | func (mr *MockAPIClientMockRecorder) SecretList(arg0, arg1 interface{}... method SecretRemove (line 1492) | func (mr *MockAPIClientMockRecorder) SecretRemove(arg0, arg1 interface... method SecretUpdate (line 1506) | func (mr *MockAPIClientMockRecorder) SecretUpdate(arg0, arg1, arg2, ar... method ServerVersion (line 1521) | func (mr *MockAPIClientMockRecorder) ServerVersion(arg0 interface{}) *... method ServiceCreate (line 1536) | func (mr *MockAPIClientMockRecorder) ServiceCreate(arg0, arg1, arg2 in... method ServiceInspectWithRaw (line 1552) | func (mr *MockAPIClientMockRecorder) ServiceInspectWithRaw(arg0, arg1,... method ServiceList (line 1567) | func (mr *MockAPIClientMockRecorder) ServiceList(arg0, arg1 interface{... method ServiceLogs (line 1582) | func (mr *MockAPIClientMockRecorder) ServiceLogs(arg0, arg1, arg2 inte... method ServiceRemove (line 1596) | func (mr *MockAPIClientMockRecorder) ServiceRemove(arg0, arg1 interfac... method ServiceUpdate (line 1611) | func (mr *MockAPIClientMockRecorder) ServiceUpdate(arg0, arg1, arg2, a... method SwarmGetUnlockKey (line 1626) | func (mr *MockAPIClientMockRecorder) SwarmGetUnlockKey(arg0 interface{... method SwarmInit (line 1641) | func (mr *MockAPIClientMockRecorder) SwarmInit(arg0, arg1 interface{})... method SwarmInspect (line 1656) | func (mr *MockAPIClientMockRecorder) SwarmInspect(arg0 interface{}) *g... method SwarmJoin (line 1670) | func (mr *MockAPIClientMockRecorder) SwarmJoin(arg0, arg1 interface{})... method SwarmLeave (line 1684) | func (mr *MockAPIClientMockRecorder) SwarmLeave(arg0, arg1 interface{}... method SwarmUnlock (line 1698) | func (mr *MockAPIClientMockRecorder) SwarmUnlock(arg0, arg1 interface{... method SwarmUpdate (line 1712) | func (mr *MockAPIClientMockRecorder) SwarmUpdate(arg0, arg1, arg2, arg... method TaskInspectWithRaw (line 1728) | func (mr *MockAPIClientMockRecorder) TaskInspectWithRaw(arg0, arg1 int... method TaskList (line 1743) | func (mr *MockAPIClientMockRecorder) TaskList(arg0, arg1 interface{}) ... method TaskLogs (line 1758) | func (mr *MockAPIClientMockRecorder) TaskLogs(arg0, arg1, arg2 interfa... method VolumeCreate (line 1773) | func (mr *MockAPIClientMockRecorder) VolumeCreate(arg0, arg1 interface... method VolumeInspect (line 1788) | func (mr *MockAPIClientMockRecorder) VolumeInspect(arg0, arg1 interfac... method VolumeInspectWithRaw (line 1804) | func (mr *MockAPIClientMockRecorder) VolumeInspectWithRaw(arg0, arg1 i... method VolumeList (line 1819) | func (mr *MockAPIClientMockRecorder) VolumeList(arg0, arg1 interface{}... method VolumeRemove (line 1833) | func (mr *MockAPIClientMockRecorder) VolumeRemove(arg0, arg1, arg2 int... method VolumeUpdate (line 1847) | func (mr *MockAPIClientMockRecorder) VolumeUpdate(arg0, arg1, arg2, ar... method VolumesPrune (line 1862) | func (mr *MockAPIClientMockRecorder) VolumesPrune(arg0, arg1 interface... function NewMockAPIClient (line 43) | func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient { FILE: mocks/mock_drone.go type MockClient (line 16) | type MockClient struct method EXPECT (line 34) | func (m *MockClient) EXPECT() *MockClientMockRecorder { method Approve (line 39) | func (m *MockClient) Approve(arg0, arg1 string, arg2, arg3 int) error { method AutoscalePause (line 53) | func (m *MockClient) AutoscalePause() error { method AutoscaleResume (line 67) | func (m *MockClient) AutoscaleResume() error { method AutoscaleVersion (line 81) | func (m *MockClient) AutoscaleVersion() (*drone.Version, error) { method Build (line 96) | func (m *MockClient) Build(arg0, arg1 string, arg2 int) (*drone.Build,... method BuildCancel (line 111) | func (m *MockClient) BuildCancel(arg0, arg1 string, arg2 int) error { method BuildLast (line 125) | func (m *MockClient) BuildLast(arg0, arg1, arg2 string) (*drone.Build,... method BuildList (line 140) | func (m *MockClient) BuildList(arg0, arg1 string, arg2 drone.ListOptio... method BuildPurge (line 155) | func (m *MockClient) BuildPurge(arg0, arg1 string, arg2 int) error { method BuildRestart (line 169) | func (m *MockClient) BuildRestart(arg0, arg1 string, arg2 int, arg3 ma... method Cron (line 184) | func (m *MockClient) Cron(arg0, arg1, arg2 string) (*drone.Cron, error) { method CronCreate (line 199) | func (m *MockClient) CronCreate(arg0, arg1 string, arg2 *drone.Cron) (... method CronDelete (line 214) | func (m *MockClient) CronDelete(arg0, arg1, arg2 string) error { method CronList (line 228) | func (m *MockClient) CronList(arg0, arg1 string) ([]*drone.Cron, error) { method CronUpdate (line 243) | func (m *MockClient) CronUpdate(arg0, arg1, arg2 string, arg3 *drone.C... method Decline (line 258) | func (m *MockClient) Decline(arg0, arg1 string, arg2, arg3 int) error { method Encrypt (line 272) | func (m *MockClient) Encrypt(arg0, arg1 string, arg2 *drone.Secret) (s... method Logs (line 287) | func (m *MockClient) Logs(arg0, arg1 string, arg2, arg3, arg4 int) ([]... method LogsPurge (line 302) | func (m *MockClient) LogsPurge(arg0, arg1 string, arg2, arg3, arg4 int... method Node (line 316) | func (m *MockClient) Node(arg0 string) (*drone.Node, error) { method NodeCreate (line 331) | func (m *MockClient) NodeCreate(arg0 *drone.Node) (*drone.Node, error) { method NodeDelete (line 346) | func (m *MockClient) NodeDelete(arg0 string) error { method NodeList (line 360) | func (m *MockClient) NodeList() ([]*drone.Node, error) { method NodeUpdate (line 375) | func (m *MockClient) NodeUpdate(arg0 string, arg1 *drone.NodePatch) (*... method OrgSecret (line 390) | func (m *MockClient) OrgSecret(arg0, arg1 string) (*drone.Secret, erro... method OrgSecretCreate (line 405) | func (m *MockClient) OrgSecretCreate(arg0 string, arg1 *drone.Secret) ... method OrgSecretDelete (line 420) | func (m *MockClient) OrgSecretDelete(arg0, arg1 string) error { method OrgSecretList (line 434) | func (m *MockClient) OrgSecretList(arg0 string) ([]*drone.Secret, erro... method OrgSecretListAll (line 449) | func (m *MockClient) OrgSecretListAll() ([]*drone.Secret, error) { method OrgSecretUpdate (line 464) | func (m *MockClient) OrgSecretUpdate(arg0 string, arg1 *drone.Secret) ... method Promote (line 479) | func (m *MockClient) Promote(arg0, arg1 string, arg2 int, arg3 string,... method Queue (line 494) | func (m *MockClient) Queue() ([]*drone.Stage, error) { method QueuePause (line 509) | func (m *MockClient) QueuePause() error { method QueueResume (line 523) | func (m *MockClient) QueueResume() error { method Repo (line 537) | func (m *MockClient) Repo(arg0, arg1 string) (*drone.Repo, error) { method RepoChown (line 552) | func (m *MockClient) RepoChown(arg0, arg1 string) (*drone.Repo, error) { method RepoDelete (line 567) | func (m *MockClient) RepoDelete(arg0, arg1 string) error { method RepoDisable (line 581) | func (m *MockClient) RepoDisable(arg0, arg1 string) error { method RepoEnable (line 595) | func (m *MockClient) RepoEnable(arg0, arg1 string) (*drone.Repo, error) { method RepoList (line 610) | func (m *MockClient) RepoList() ([]*drone.Repo, error) { method RepoListSync (line 625) | func (m *MockClient) RepoListSync() ([]*drone.Repo, error) { method RepoRepair (line 640) | func (m *MockClient) RepoRepair(arg0, arg1 string) error { method RepoUpdate (line 654) | func (m *MockClient) RepoUpdate(arg0, arg1 string, arg2 *drone.RepoPat... method Rollback (line 669) | func (m *MockClient) Rollback(arg0, arg1 string, arg2 int, arg3 string... method Secret (line 684) | func (m *MockClient) Secret(arg0, arg1, arg2 string) (*drone.Secret, e... method SecretCreate (line 699) | func (m *MockClient) SecretCreate(arg0, arg1 string, arg2 *drone.Secre... method SecretDelete (line 714) | func (m *MockClient) SecretDelete(arg0, arg1, arg2 string) error { method SecretList (line 728) | func (m *MockClient) SecretList(arg0, arg1 string) ([]*drone.Secret, e... method SecretUpdate (line 743) | func (m *MockClient) SecretUpdate(arg0, arg1 string, arg2 *drone.Secre... method Self (line 758) | func (m *MockClient) Self() (*drone.User, error) { method Server (line 773) | func (m *MockClient) Server(arg0 string) (*drone.Server, error) { method ServerCreate (line 788) | func (m *MockClient) ServerCreate() (*drone.Server, error) { method ServerDelete (line 803) | func (m *MockClient) ServerDelete(arg0 string) error { method ServerList (line 817) | func (m *MockClient) ServerList() ([]*drone.Server, error) { method SetAddress (line 832) | func (m *MockClient) SetAddress(arg0 string) { method SetClient (line 844) | func (m *MockClient) SetClient(arg0 *http.Client) { method Sign (line 856) | func (m *MockClient) Sign(arg0, arg1, arg2 string) (string, error) { method User (line 871) | func (m *MockClient) User(arg0 string) (*drone.User, error) { method UserCreate (line 886) | func (m *MockClient) UserCreate(arg0 *drone.User) (*drone.User, error) { method UserDelete (line 901) | func (m *MockClient) UserDelete(arg0 string) error { method UserList (line 915) | func (m *MockClient) UserList() ([]*drone.User, error) { method UserUpdate (line 930) | func (m *MockClient) UserUpdate(arg0 string, arg1 *drone.UserPatch) (*... method Verify (line 945) | func (m *MockClient) Verify(arg0, arg1, arg2 string) error { type MockClientMockRecorder (line 22) | type MockClientMockRecorder struct method Approve (line 47) | func (mr *MockClientMockRecorder) Approve(arg0, arg1, arg2, arg3 inter... method AutoscalePause (line 61) | func (mr *MockClientMockRecorder) AutoscalePause() *gomock.Call { method AutoscaleResume (line 75) | func (mr *MockClientMockRecorder) AutoscaleResume() *gomock.Call { method AutoscaleVersion (line 90) | func (mr *MockClientMockRecorder) AutoscaleVersion() *gomock.Call { method Build (line 105) | func (mr *MockClientMockRecorder) Build(arg0, arg1, arg2 interface{}) ... method BuildCancel (line 119) | func (mr *MockClientMockRecorder) BuildCancel(arg0, arg1, arg2 interfa... method BuildLast (line 134) | func (mr *MockClientMockRecorder) BuildLast(arg0, arg1, arg2 interface... method BuildList (line 149) | func (mr *MockClientMockRecorder) BuildList(arg0, arg1, arg2 interface... method BuildPurge (line 163) | func (mr *MockClientMockRecorder) BuildPurge(arg0, arg1, arg2 interfac... method BuildRestart (line 178) | func (mr *MockClientMockRecorder) BuildRestart(arg0, arg1, arg2, arg3 ... method Cron (line 193) | func (mr *MockClientMockRecorder) Cron(arg0, arg1, arg2 interface{}) *... method CronCreate (line 208) | func (mr *MockClientMockRecorder) CronCreate(arg0, arg1, arg2 interfac... method CronDelete (line 222) | func (mr *MockClientMockRecorder) CronDelete(arg0, arg1, arg2 interfac... method CronList (line 237) | func (mr *MockClientMockRecorder) CronList(arg0, arg1 interface{}) *go... method CronUpdate (line 252) | func (mr *MockClientMockRecorder) CronUpdate(arg0, arg1, arg2, arg3 in... method Decline (line 266) | func (mr *MockClientMockRecorder) Decline(arg0, arg1, arg2, arg3 inter... method Encrypt (line 281) | func (mr *MockClientMockRecorder) Encrypt(arg0, arg1, arg2 interface{}... method Logs (line 296) | func (mr *MockClientMockRecorder) Logs(arg0, arg1, arg2, arg3, arg4 in... method LogsPurge (line 310) | func (mr *MockClientMockRecorder) LogsPurge(arg0, arg1, arg2, arg3, ar... method Node (line 325) | func (mr *MockClientMockRecorder) Node(arg0 interface{}) *gomock.Call { method NodeCreate (line 340) | func (mr *MockClientMockRecorder) NodeCreate(arg0 interface{}) *gomock... method NodeDelete (line 354) | func (mr *MockClientMockRecorder) NodeDelete(arg0 interface{}) *gomock... method NodeList (line 369) | func (mr *MockClientMockRecorder) NodeList() *gomock.Call { method NodeUpdate (line 384) | func (mr *MockClientMockRecorder) NodeUpdate(arg0, arg1 interface{}) *... method OrgSecret (line 399) | func (mr *MockClientMockRecorder) OrgSecret(arg0, arg1 interface{}) *g... method OrgSecretCreate (line 414) | func (mr *MockClientMockRecorder) OrgSecretCreate(arg0, arg1 interface... method OrgSecretDelete (line 428) | func (mr *MockClientMockRecorder) OrgSecretDelete(arg0, arg1 interface... method OrgSecretList (line 443) | func (mr *MockClientMockRecorder) OrgSecretList(arg0 interface{}) *gom... method OrgSecretListAll (line 458) | func (mr *MockClientMockRecorder) OrgSecretListAll() *gomock.Call { method OrgSecretUpdate (line 473) | func (mr *MockClientMockRecorder) OrgSecretUpdate(arg0, arg1 interface... method Promote (line 488) | func (mr *MockClientMockRecorder) Promote(arg0, arg1, arg2, arg3, arg4... method Queue (line 503) | func (mr *MockClientMockRecorder) Queue() *gomock.Call { method QueuePause (line 517) | func (mr *MockClientMockRecorder) QueuePause() *gomock.Call { method QueueResume (line 531) | func (mr *MockClientMockRecorder) QueueResume() *gomock.Call { method Repo (line 546) | func (mr *MockClientMockRecorder) Repo(arg0, arg1 interface{}) *gomock... method RepoChown (line 561) | func (mr *MockClientMockRecorder) RepoChown(arg0, arg1 interface{}) *g... method RepoDelete (line 575) | func (mr *MockClientMockRecorder) RepoDelete(arg0, arg1 interface{}) *... method RepoDisable (line 589) | func (mr *MockClientMockRecorder) RepoDisable(arg0, arg1 interface{}) ... method RepoEnable (line 604) | func (mr *MockClientMockRecorder) RepoEnable(arg0, arg1 interface{}) *... method RepoList (line 619) | func (mr *MockClientMockRecorder) RepoList() *gomock.Call { method RepoListSync (line 634) | func (mr *MockClientMockRecorder) RepoListSync() *gomock.Call { method RepoRepair (line 648) | func (mr *MockClientMockRecorder) RepoRepair(arg0, arg1 interface{}) *... method RepoUpdate (line 663) | func (mr *MockClientMockRecorder) RepoUpdate(arg0, arg1, arg2 interfac... method Rollback (line 678) | func (mr *MockClientMockRecorder) Rollback(arg0, arg1, arg2, arg3, arg... method Secret (line 693) | func (mr *MockClientMockRecorder) Secret(arg0, arg1, arg2 interface{})... method SecretCreate (line 708) | func (mr *MockClientMockRecorder) SecretCreate(arg0, arg1, arg2 interf... method SecretDelete (line 722) | func (mr *MockClientMockRecorder) SecretDelete(arg0, arg1, arg2 interf... method SecretList (line 737) | func (mr *MockClientMockRecorder) SecretList(arg0, arg1 interface{}) *... method SecretUpdate (line 752) | func (mr *MockClientMockRecorder) SecretUpdate(arg0, arg1, arg2 interf... method Self (line 767) | func (mr *MockClientMockRecorder) Self() *gomock.Call { method Server (line 782) | func (mr *MockClientMockRecorder) Server(arg0 interface{}) *gomock.Call { method ServerCreate (line 797) | func (mr *MockClientMockRecorder) ServerCreate() *gomock.Call { method ServerDelete (line 811) | func (mr *MockClientMockRecorder) ServerDelete(arg0 interface{}) *gomo... method ServerList (line 826) | func (mr *MockClientMockRecorder) ServerList() *gomock.Call { method SetAddress (line 838) | func (mr *MockClientMockRecorder) SetAddress(arg0 interface{}) *gomock... method SetClient (line 850) | func (mr *MockClientMockRecorder) SetClient(arg0 interface{}) *gomock.... method Sign (line 865) | func (mr *MockClientMockRecorder) Sign(arg0, arg1, arg2 interface{}) *... method User (line 880) | func (mr *MockClientMockRecorder) User(arg0 interface{}) *gomock.Call { method UserCreate (line 895) | func (mr *MockClientMockRecorder) UserCreate(arg0 interface{}) *gomock... method UserDelete (line 909) | func (mr *MockClientMockRecorder) UserDelete(arg0 interface{}) *gomock... method UserList (line 924) | func (mr *MockClientMockRecorder) UserList() *gomock.Call { method UserUpdate (line 939) | func (mr *MockClientMockRecorder) UserUpdate(arg0, arg1 interface{}) *... method Verify (line 953) | func (mr *MockClientMockRecorder) Verify(arg0, arg1, arg2 interface{})... function NewMockClient (line 27) | func NewMockClient(ctrl *gomock.Controller) *MockClient { FILE: mocks/mock_engine.go type MockEngine (line 15) | type MockEngine struct method EXPECT (line 33) | func (m *MockEngine) EXPECT() *MockEngineMockRecorder { method Pause (line 38) | func (m *MockEngine) Pause() { method Paused (line 50) | func (m *MockEngine) Paused() bool { method Resume (line 64) | func (m *MockEngine) Resume() { method Start (line 76) | func (m *MockEngine) Start(arg0 context.Context) { type MockEngineMockRecorder (line 21) | type MockEngineMockRecorder struct method Pause (line 44) | func (mr *MockEngineMockRecorder) Pause() *gomock.Call { method Paused (line 58) | func (mr *MockEngineMockRecorder) Paused() *gomock.Call { method Resume (line 70) | func (mr *MockEngineMockRecorder) Resume() *gomock.Call { method Start (line 82) | func (mr *MockEngineMockRecorder) Start(arg0 interface{}) *gomock.Call { function NewMockEngine (line 26) | func NewMockEngine(ctrl *gomock.Controller) *MockEngine { FILE: mocks/mock_metrics.go type MockCollector (line 15) | type MockCollector struct method EXPECT (line 33) | func (m *MockCollector) EXPECT() *MockCollectorMockRecorder { method IncrServerCreateError (line 38) | func (m *MockCollector) IncrServerCreateError() { method IncrServerInitError (line 50) | func (m *MockCollector) IncrServerInitError() { method IncrServerSetupError (line 62) | func (m *MockCollector) IncrServerSetupError() { method TrackServerCreateTime (line 74) | func (m *MockCollector) TrackServerCreateTime(arg0 time.Time) { method TrackServerInitTime (line 86) | func (m *MockCollector) TrackServerInitTime(arg0 time.Time) { method TrackServerSetupTime (line 98) | func (m *MockCollector) TrackServerSetupTime(arg0 time.Time) { type MockCollectorMockRecorder (line 21) | type MockCollectorMockRecorder struct method IncrServerCreateError (line 44) | func (mr *MockCollectorMockRecorder) IncrServerCreateError() *gomock.C... method IncrServerInitError (line 56) | func (mr *MockCollectorMockRecorder) IncrServerInitError() *gomock.Call { method IncrServerSetupError (line 68) | func (mr *MockCollectorMockRecorder) IncrServerSetupError() *gomock.Ca... method TrackServerCreateTime (line 80) | func (mr *MockCollectorMockRecorder) TrackServerCreateTime(arg0 interf... method TrackServerInitTime (line 92) | func (mr *MockCollectorMockRecorder) TrackServerInitTime(arg0 interfac... method TrackServerSetupTime (line 104) | func (mr *MockCollectorMockRecorder) TrackServerSetupTime(arg0 interfa... function NewMockCollector (line 26) | func NewMockCollector(ctrl *gomock.Controller) *MockCollector { FILE: mocks/mock_provider.go type MockProvider (line 16) | type MockProvider struct method EXPECT (line 34) | func (m *MockProvider) EXPECT() *MockProviderMockRecorder { method Create (line 39) | func (m *MockProvider) Create(arg0 context.Context, arg1 autoscaler.In... method Destroy (line 54) | func (m *MockProvider) Destroy(arg0 context.Context, arg1 *autoscaler.... type MockProviderMockRecorder (line 22) | type MockProviderMockRecorder struct method Create (line 48) | func (mr *MockProviderMockRecorder) Create(arg0, arg1 interface{}) *go... method Destroy (line 62) | func (mr *MockProviderMockRecorder) Destroy(arg0, arg1 interface{}) *g... function NewMockProvider (line 27) | func NewMockProvider(ctrl *gomock.Controller) *MockProvider { FILE: mocks/mock_server.go type MockServerStore (line 16) | type MockServerStore struct method EXPECT (line 34) | func (m *MockServerStore) EXPECT() *MockServerStoreMockRecorder { method Create (line 39) | func (m *MockServerStore) Create(arg0 context.Context, arg1 *autoscale... method Delete (line 53) | func (m *MockServerStore) Delete(arg0 context.Context, arg1 *autoscale... method Find (line 67) | func (m *MockServerStore) Find(arg0 context.Context, arg1 string) (*au... method List (line 82) | func (m *MockServerStore) List(arg0 context.Context) ([]*autoscaler.Se... method ListState (line 97) | func (m *MockServerStore) ListState(arg0 context.Context, arg1 autosca... method Purge (line 112) | func (m *MockServerStore) Purge(arg0 context.Context, arg1 int64) error { method Update (line 126) | func (m *MockServerStore) Update(arg0 context.Context, arg1 *autoscale... type MockServerStoreMockRecorder (line 22) | type MockServerStoreMockRecorder struct method Create (line 47) | func (mr *MockServerStoreMockRecorder) Create(arg0, arg1 interface{}) ... method Delete (line 61) | func (mr *MockServerStoreMockRecorder) Delete(arg0, arg1 interface{}) ... method Find (line 76) | func (mr *MockServerStoreMockRecorder) Find(arg0, arg1 interface{}) *g... method List (line 91) | func (mr *MockServerStoreMockRecorder) List(arg0 interface{}) *gomock.... method ListState (line 106) | func (mr *MockServerStoreMockRecorder) ListState(arg0, arg1 interface{... method Purge (line 120) | func (mr *MockServerStoreMockRecorder) Purge(arg0, arg1 interface{}) *... method Update (line 134) | func (mr *MockServerStoreMockRecorder) Update(arg0, arg1 interface{}) ... function NewMockServerStore (line 27) | func NewMockServerStore(ctrl *gomock.Controller) *MockServerStore { FILE: provider.go type ProviderType (line 14) | type ProviderType method Value (line 17) | func (s ProviderType) Value() (driver.Value, error) { constant ProviderAmazon (line 23) | ProviderAmazon = ProviderType("amazon") constant ProviderAzure (line 24) | ProviderAzure = ProviderType("azure") constant ProviderDigitalOcean (line 25) | ProviderDigitalOcean = ProviderType("digitalocean") constant ProviderGoogle (line 26) | ProviderGoogle = ProviderType("google") constant ProviderHetznerCloud (line 27) | ProviderHetznerCloud = ProviderType("hetznercloud") constant ProviderLinode (line 28) | ProviderLinode = ProviderType("linode") constant ProviderOpenStack (line 29) | ProviderOpenStack = ProviderType("openstack") constant ProviderPacket (line 30) | ProviderPacket = ProviderType("packet") constant ProviderScaleway (line 31) | ProviderScaleway = ProviderType("scaleway") constant ProviderVultr (line 32) | ProviderVultr = ProviderType("vultr") type Provider (line 41) | type Provider interface type Instance (line 50) | type Instance struct type InstanceCreateOpts (line 64) | type InstanceCreateOpts struct type InstanceError (line 74) | type InstanceError struct method Error (line 80) | func (e *InstanceError) Error() string { FILE: server.go type ServerState (line 14) | type ServerState method Value (line 17) | func (s ServerState) Value() (driver.Value, error) { constant StatePending (line 23) | StatePending = ServerState("pending") constant StateCreating (line 24) | StateCreating = ServerState("creating") constant StateCreated (line 25) | StateCreated = ServerState("created") constant StateStaging (line 26) | StateStaging = ServerState("staging") constant StateRunning (line 27) | StateRunning = ServerState("running") constant StateShutdown (line 28) | StateShutdown = ServerState("shutdown") constant StateStopping (line 29) | StateStopping = ServerState("stopping") constant StateStopped (line 30) | StateStopped = ServerState("stopped") constant StateError (line 31) | StateError = ServerState("error") type ServerStore (line 39) | type ServerStore interface type Server (line 63) | type Server struct FILE: server/auth.go function CheckDrone (line 20) | func CheckDrone(conf config.Config) func(http.Handler) http.Handler { FILE: server/auth_test.go function TestAuthorize (line 19) | func TestAuthorize(t *testing.T) { function TestAuthorizeMissingToken (line 52) | func TestAuthorizeMissingToken(t *testing.T) { function TestAuthorizeNotFound (line 79) | func TestAuthorizeNotFound(t *testing.T) { function TestAuthorizeNonAdmin (line 112) | func TestAuthorizeNonAdmin(t *testing.T) { FILE: server/engine.go function HandleEnginePause (line 15) | func HandleEnginePause(engine autoscaler.Engine) http.HandlerFunc { function HandleEngineResume (line 24) | func HandleEngineResume(engine autoscaler.Engine) http.HandlerFunc { FILE: server/engine_test.go function TestHandleEnginePause (line 15) | func TestHandleEnginePause(t *testing.T) { function TestHandleEngineResume (line 32) | func TestHandleEngineResume(t *testing.T) { FILE: server/healthz.go function HandleHealthz (line 14) | func HandleHealthz() http.HandlerFunc { FILE: server/healthz_test.go function TestHandleHealthz (line 14) | func TestHandleHealthz(t *testing.T) { FILE: server/metrics.go function HandleMetrics (line 15) | func HandleMetrics(token string) http.HandlerFunc { FILE: server/metrics_test.go function TestHandleMetrics (line 12) | func TestHandleMetrics(t *testing.T) { function TestHandleMetricsUnprotected (line 28) | func TestHandleMetricsUnprotected(t *testing.T) { function TestHandleMetricsMissingToken (line 43) | func TestHandleMetricsMissingToken(t *testing.T) { function TestHandleMetricsInvalidToken (line 54) | func TestHandleMetricsInvalidToken(t *testing.T) { FILE: server/servers.go function HandleServerList (line 21) | func HandleServerList(servers autoscaler.ServerStore) http.HandlerFunc { function HandleServerFind (line 38) | func HandleServerFind(servers autoscaler.ServerStore) http.HandlerFunc { function HandleServerDelete (line 57) | func HandleServerDelete( function HandleServerCreate (line 121) | func HandleServerCreate( FILE: server/servers_test.go function TestHandleServerList (line 22) | func TestHandleServerList(t *testing.T) { function TestHandleServerListErr (line 51) | func TestHandleServerListErr(t *testing.T) { function TestHandleServerFind (line 75) | func TestHandleServerFind(t *testing.T) { function TestHandleServerFindErr (line 102) | func TestHandleServerFindErr(t *testing.T) { function TestHandleServerCreate (line 128) | func TestHandleServerCreate(t *testing.T) { function TestHandleServerCreateFailure (line 145) | func TestHandleServerCreateFailure(t *testing.T) { function TestHandleServerDelete (line 170) | func TestHandleServerDelete(t *testing.T) { function TestHandleServerDeleteNotFound (line 200) | func TestHandleServerDeleteNotFound(t *testing.T) { function TestHandleServerDeleteFailure (line 227) | func TestHandleServerDeleteFailure(t *testing.T) { function TestHandleServerDeleteErrorState (line 262) | func TestHandleServerDeleteErrorState(t *testing.T) { function TestHandleServerForceDeleteErrorState (line 291) | func TestHandleServerForceDeleteErrorState(t *testing.T) { FILE: server/varz.go type varz (line 13) | type varz struct function HandleVarz (line 19) | func HandleVarz(engine autoscaler.Engine) http.HandlerFunc { FILE: server/varz_test.go function TestHandleVarz (line 19) | func TestHandleVarz(t *testing.T) { FILE: server/version.go type versionInfo (line 13) | type versionInfo struct function HandleVersion (line 21) | func HandleVersion(source, version, commit string) http.HandlerFunc { FILE: server/version_test.go function TestHandleVersion (line 17) | func TestHandleVersion(t *testing.T) { FILE: server/web/handler.go function HandleServers (line 18) | func HandleServers(servers autoscaler.ServerStore) http.HandlerFunc { function HandleLogging (line 36) | func HandleLogging(t *history.Hook) http.HandlerFunc { FILE: server/web/nocache.go function nocache (line 24) | func nocache(w http.ResponseWriter) { FILE: server/web/render.go function render (line 14) | func render(w http.ResponseWriter, t string, v interface{}) { FILE: server/web/static/files/timeago.js function n (line 1) | function n(s,n){if(0===n)return["just now","right now"];var e=a[~~(n/2)]... function e (line 1) | function e(s,n){if(0===n)return["刚刚","片刻后"];var e=t[~~(n/2)];return[s+" ... function u (line 1) | function u(s,n){i[s]=n} function r (line 1) | function r(s){return i[s]||i.en_US} function m (line 1) | function m(s){return s instanceof Date?s:!isNaN(s)||/^\d+$/.test(s)?new ... function d (line 1) | function d(s,n){for(var e=s<0?1:0,a=s=Math.abs(s),t=0;s>=o[t]&&t