_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c26200
train
// GetIsolationSegmentOrganizations lists organizations // entitled to an isolation segment.
{ "resource": "" }
c26201
train
// GetOrganizations lists organizations with optional filters.
{ "resource": "" }
c26202
train
// GetApplicationDropletCurrent returns the current droplet for a given // application.
{ "resource": "" }
c26203
train
// GetDroplet returns a droplet with the given GUID.
{ "resource": "" }
c26204
train
// GetDroplets lists droplets with optional filters.
{ "resource": "" }
c26205
train
// IsValidValue returns an error if the input value is not an integer.
{ "resource": "" }
c26206
train
// GetServiceInstances lists service instances with optional filters.
{ "resource": "" }
c26207
train
// UnmarshalJSON helps unmarshal a Cloud Controller Route Mapping
{ "resource": "" }
c26208
train
// GetRouteMapping returns a route mapping with the provided guid.
{ "resource": "" }
c26209
train
// GetRouteMappings returns a list of RouteMappings based off of the provided queries.
{ "resource": "" }
c26210
train
// AuthorizationToken returns formatted authorization header.
{ "resource": "" }
c26211
train
// RefreshAccessToken refreshes the current access token.
{ "resource": "" }
c26212
train
// DisplayKeyValueTable outputs a matrix of strings as a table to UI.Out. // Prefix will be prepended to each row and padding adds the specified number // of spaces between columns. The final columns may wrap to multiple lines but // will still be confined to the last column. Wrapping will occur on word // boundaries.
{ "resource": "" }
c26213
train
// DisplayNonWrappingTable outputs a matrix of strings as a table to UI.Out. // Prefix will be prepended to each row and padding adds the specified number // of spaces between columns.
{ "resource": "" }
c26214
train
// DisplayTableWithHeader outputs a simple non-wrapping table with bolded // headers.
{ "resource": "" }
c26215
train
// GetApplicationApplicationInstances returns a list of ApplicationInstance for // a given application. Depending on the state of an application, it might skip // some application instances.
{ "resource": "" }
c26216
train
// UnmarshalJSON helps unmarshal a Cloud Controller Service Plan Visibilities // response.
{ "resource": "" }
c26217
train
// GetServicePlanVisibilities returns back a list of Service Plan Visibilities // given the provided filters.
{ "resource": "" }
c26218
train
// Make records the request and the response to UI
{ "resource": "" }
c26219
train
// UnmarshalJSON helps unmarshal a Cloud Controller Space Quota response.
{ "resource": "" }
c26220
train
// GetSpaceQuotaDefinition returns a Space Quota.
{ "resource": "" }
c26221
train
// GetSpaceQuotas returns all the space quotas for the org
{ "resource": "" }
c26222
train
// SetSpaceQuota should set the quota for the space and returns the warnings
{ "resource": "" }
c26223
train
// GetOrganization returns an Organization based on the provided guid.
{ "resource": "" }
c26224
train
// GetOrganizationByName returns an Organization based off of the name given.
{ "resource": "" }
c26225
train
// GrantOrgManagerByUsername gives the Org Manager role to the provided user.
{ "resource": "" }
c26226
train
// CreateOrganization creates an Organization based on the provided orgName.
{ "resource": "" }
c26227
train
// DeleteOrganization deletes the Organization associated with the provided // GUID. Once the deletion request is sent, it polls the deletion job until // it's finished.
{ "resource": "" }
c26228
train
// GetOrganizations returns all the available organizations.
{ "resource": "" }
c26229
train
// OrganizationExistsWithName returns true if there is an Organization with the // provided name, otherwise false.
{ "resource": "" }
c26230
train
// call performs an RPC call to the Seesaw v2 nccClient.
{ "resource": "" }
c26231
train
// String returns the string representation for the given healthcheck state.
{ "resource": "" }
c26232
train
// String returns the string representation of a healthcheck target.
{ "resource": "" }
c26233
train
// addr returns the address string for the healthcheck target.
{ "resource": "" }
c26234
train
// network returns the network name for the healthcheck target.
{ "resource": "" }
c26235
train
// String returns the string representation of a healthcheck result.
{ "resource": "" }
c26236
train
// complete returns a Result for a completed healthcheck.
{ "resource": "" }
c26237
train
// String returns the string representation for the given notification.
{ "resource": "" }
c26238
train
// NewConfig returns an initialised Config.
{ "resource": "" }
c26239
train
// NewCheck returns an initialised Check.
{ "resource": "" }
c26240
train
// Status returns the current status for this healthcheck instance.
{ "resource": "" }
c26241
train
// Run invokes a healthcheck. It waits for the initial configuration to be // provided via the configuration channel, after which the configured // healthchecker is invoked at the given interval. If a new configuration // is provided the healthchecker is updated and checks are scheduled at the // new interval. Notifica...
{ "resource": "" }
c26242
train
// healthcheck executes the given checker.
{ "resource": "" }
c26243
train
// Notify generates a healthcheck notification for this checker.
{ "resource": "" }
c26244
train
// execute invokes the given healthcheck checker with the configured timeout.
{ "resource": "" }
c26245
train
// Blocking enables or disables blocking updates for a healthcheck.
{ "resource": "" }
c26246
train
// Update queues a healthcheck configuration update for processing.
{ "resource": "" }
c26247
train
// NewServer returns an initialised healthcheck server.
{ "resource": "" }
c26248
train
// Run runs a healthcheck server.
{ "resource": "" }
c26249
train
// getHealthchecks attempts to get the current healthcheck configurations from // the Seesaw Engine.
{ "resource": "" }
c26250
train
// updater attempts to fetch healthcheck configurations at regular intervals. // When configurations are successfully retrieved they are provided to the // manager via the configs channel.
{ "resource": "" }
c26251
train
// manager is responsible for controlling the healthchecks that are currently // running. When healthcheck configurations become available, the manager will // stop and remove deleted healthchecks, spawn new healthchecks and provide // the current configurations to each of the running healthchecks.
{ "resource": "" }
c26252
train
// notifier batches healthcheck notifications and sends them to the Seesaw // Engine.
{ "resource": "" }
c26253
train
// send sends a batch of notifications to the Seesaw Engine, retrying on any // error and giving up after MaxFailures.
{ "resource": "" }
c26254
train
// sendBatch sends a batch of notifications to the Seesaw Engine.
{ "resource": "" }
c26255
train
// newECUStats returns an initialised ecuStats struct.
{ "resource": "" }
c26256
train
// notify registers a publisher for update notifications.
{ "resource": "" }
c26257
train
// run attempts to update the cached statistics from the Seesaw Engine at // regular intervals.
{ "resource": "" }
c26258
train
// update attempts to update the cached statistics from the Seesaw Engine.
{ "resource": "" }
c26259
train
// newHealthcheckManager creates a new healthcheckManager.
{ "resource": "" }
c26260
train
// configs returns the healthcheck Configs for a Seesaw Engine. The returned // map should only be read, not mutated. If the healthcheckManager is disabled, // then nil is returned.
{ "resource": "" }
c26261
train
// update updates the healthchecks for a vserver.
{ "resource": "" }
c26262
train
// enable enables the healthcheck manager for the Seesaw Engine.
{ "resource": "" }
c26263
train
// disable disables the healthcheck manager for the Seesaw Engine.
{ "resource": "" }
c26264
train
// buildMaps builds the cfgs, checks, and ids maps based on the vserverChecks.
{ "resource": "" }
c26265
train
// healthState handles Notifications from the healthcheck component.
{ "resource": "" }
c26266
train
// queueHealthState queues a health state Notification for processing by a // vserver.
{ "resource": "" }
c26267
train
// run runs the healthcheck manager and processes incoming vserver checks.
{ "resource": "" }
c26268
train
// expire invalidates the state of all configured healthchecks.
{ "resource": "" }
c26269
train
// markBackend returns a mark for the specified backend and sets up the IPVS // service entry if it does not exist.
{ "resource": "" }
c26270
train
// pruneMarks unmarks backends that no longer have DSR healthchecks configured.
{ "resource": "" }
c26271
train
// NewNotifier creates a new Notifier.
{ "resource": "" }
c26272
train
// Source returns the current configuration source.
{ "resource": "" }
c26273
train
// SetSource sets the configuration Source for a Notifier.
{ "resource": "" }
c26274
train
// Reload requests an immediate reload from the configuration source.
{ "resource": "" }
c26275
train
// configCheck checks for configuration changes.
{ "resource": "" }
c26276
train
// RegisterEngineConn registers the given connection type.
{ "resource": "" }
c26277
train
// NewSeesawIPC returns a new Seesaw IPC connection.
{ "resource": "" }
c26278
train
// svcOpt returns the specified configuration option for a service.
{ "resource": "" }
c26279
train
// Failover requests the Seesaw Engine to relinquish master state.
{ "resource": "" }
c26280
train
// HAConfig returns the high-availability configuration for this node as // determined by the engine.
{ "resource": "" }
c26281
train
// HAUpdate advises the Engine of the current high-availability status for // the Seesaw HA component. The Seesaw Engine may also request a failover // in response.
{ "resource": "" }
c26282
train
// HAState advises the Engine of the current high-availability state as // determined by the Seesaw HA component.
{ "resource": "" }
c26283
train
// Healthchecks returns a list of currently configured healthchecks that // should be performed by the Seesaw Healthcheck component.
{ "resource": "" }
c26284
train
// HealthState advises the Seesaw Engine of state transitions for a set of // healthchecks that are being performed by the Seesaw Healthcheck component.
{ "resource": "" }
c26285
train
// ClusterStatus returns status information about this Seesaw Cluster.
{ "resource": "" }
c26286
train
// VLANs returns a list of VLANs configured for this cluster.
{ "resource": "" }
c26287
train
// OverrideBackend passes a BackendOverride to the engine.
{ "resource": "" }
c26288
train
// ClusterStatus requests the status of the Seesaw Cluster.
{ "resource": "" }
c26289
train
// Backends requests a list of all backends that are configured on the cluster.
{ "resource": "" }
c26290
train
// OverrideBackend requests that the specified VserverOverride be applied.
{ "resource": "" }
c26291
train
// NewPingChecker returns an initialised PingChecker.
{ "resource": "" }
c26292
train
// Check executes a ping healthcheck.
{ "resource": "" }
c26293
train
// NewIPHAConn creates a new IPHAConn.
{ "resource": "" }
c26294
train
// ListenMulticastIPv4 creates a net.IPConn to receive multicast messages for the given group // address. laddr specifies which network interface to use when joining the group.
{ "resource": "" }
c26295
train
// JoinMulticastIPv6 joins the multicast group address given by gaddr. laddr specifies which // network interface to use when joining the group.
{ "resource": "" }
c26296
train
// af returns the address family for an IPHAConn.
{ "resource": "" }
c26297
train
// readPacket reads a packet from this IPHAConn's recvConn.
{ "resource": "" }
c26298
train
// NewWatchdog returns an initialised watchdog.
{ "resource": "" }
c26299
train
// AddService adds a service that is to be run by the watchdog.
{ "resource": "" }