_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c19800
train
// SecretCreate create a secret.
{ "resource": "" }
c19801
train
// SecretUpdate update a config.
{ "resource": "" }
c19802
train
// SecretInspect returns secret information with raw data.
{ "resource": "" }
c19803
train
// SecretRemove remove a secret.
{ "resource": "" }
c19804
train
// ContainerList return containers on the host.
{ "resource": "" }
c19805
train
// ContainerInspect return detail information of a container.
{ "resource": "" }
c19806
train
// ContainerInspectRaw return container raw information.
{ "resource": "" }
c19807
train
// ContainerRemove remove a container.
{ "resource": "" }
c19808
train
// ContainerExecCreate creates an exec instance.
{ "resource": "" }
c19809
train
// ContainerExecAttach attaches a connection to an exec process in the server.
{ "resource": "" }
c19810
train
// ContainerExecStart starts an exec instance.
{ "resource": "" }
c19811
train
// StackMigrate migrates stacks from old archive collection.
{ "resource": "" }
c19812
train
// Image creates an instance of ImageController
{ "resource": "" }
c19813
train
// BindOptions binds options to environment variables.
{ "resource": "" }
c19814
train
// TaskList return all running tasks of a service or a node.
{ "resource": "" }
c19815
train
// TaskInspect return detail information of a task.
{ "resource": "" }
c19816
train
// TaskLogs returns the logs generated by a task in an io.ReadCloser. // It's up to the caller to close the stream.
{ "resource": "" }
c19817
train
// Start starts a timer to scale services automatically.
{ "resource": "" }
c19818
train
// Container creates an instance of ContainerController
{ "resource": "" }
c19819
train
// Get return a dao instance according to DB_TYPE.
{ "resource": "" }
c19820
train
// Chart creates an instance of RoleController
{ "resource": "" }
c19821
train
// User creates an instance of UserController
{ "resource": "" }
c19822
train
// StackList return all stacks.
{ "resource": "" }
c19823
train
// StackCount return number of stacks.
{ "resource": "" }
c19824
train
// StackDeploy deploy a stack.
{ "resource": "" }
c19825
train
// Config creates an instance of ConfigController
{ "resource": "" }
c19826
train
// Volume creates an instance of VolumeController
{ "resource": "" }
c19827
train
// Task creates an instance of TaskController
{ "resource": "" }
c19828
train
// Validator is the authenticator function of swirl.
{ "resource": "" }
c19829
train
// Identifier is used to identity user.
{ "resource": "" }
c19830
train
// Stack creates an instance of StackController
{ "resource": "" }
c19831
train
// ServiceSearch search services with args.
{ "resource": "" }
c19832
train
// ServiceCount return number of services.
{ "resource": "" }
c19833
train
// ServiceInspect return service raw information.
{ "resource": "" }
c19834
train
// ServiceScale adjust replicas of a service.
{ "resource": "" }
c19835
train
// ServiceRollback rollbacks a service.
{ "resource": "" }
c19836
train
// NetworkList return all networks.
{ "resource": "" }
c19837
train
// NetworkCount return number of networks.
{ "resource": "" }
c19838
train
// NetworkCreate create a network.
{ "resource": "" }
c19839
train
// NetworkDisconnect Disconnect a container from a network.
{ "resource": "" }
c19840
train
// NetworkInspect return network information.
{ "resource": "" }
c19841
train
// NetworkInspectRaw return network raw information.
{ "resource": "" }
c19842
train
// NetworkNames return network names by id list.
{ "resource": "" }
c19843
train
// IndexAny returns the index of the first instance of any Unicode code point // from chars in s, or -1 if no Unicode code point from chars is present in s.
{ "resource": "" }
c19844
train
// HasPrefix tests whether the string s begins with prefix.
{ "resource": "" }
c19845
train
// HasSuffix tests whether the string s ends with suffix.
{ "resource": "" }
c19846
train
// MustCompile is the same as Compile, except that if Compile returns error, this will panic
{ "resource": "" }
c19847
train
// minimizeAnyOf tries to apply some heuristics to minimize number of nodes in given tree
{ "resource": "" }
c19848
train
// appendMerge merges and sorts given already SORTED and UNIQUE segments.
{ "resource": "" }
c19849
train
// GetDefault retrieves the default short Id generator initialised with the default alphabet, // worker=0 and seed=1. The default can be overwritten using SetDefault.
{ "resource": "" }
c19850
train
// SetDefault overwrites the default generator.
{ "resource": "" }
c19851
train
// MustNew acts just like New, but panics instead of returning errors.
{ "resource": "" }
c19852
train
// Generate generates a new short Id.
{ "resource": "" }
c19853
train
// GenerateInternal should only be used for testing purposes.
{ "resource": "" }
c19854
train
// String returns a string representation of the short Id generator.
{ "resource": "" }
c19855
train
// NewAbc constructs a new instance of shuffled alphabet to be used for Id representation.
{ "resource": "" }
c19856
train
// MustNewAbc acts just like NewAbc, but panics instead of returning errors.
{ "resource": "" }
c19857
train
// MustEncode acts just like Encode, but panics instead of returning errors.
{ "resource": "" }
c19858
train
// NewStreamWatcher creates a StreamWatcher from the given io.ReadClosers.
{ "resource": "" }
c19859
train
// NewBuilder creates a kubeBuilder which is used to factory Kuberesolvers.
{ "resource": "" }
c19860
train
// Build creates a new resolver for the given target. // // gRPC dial calls Build synchronously, and fails if the returned error is // not nil.
{ "resource": "" }
c19861
train
// NewInClusterK8sClient creates K8sClient if it is inside Kubernetes
{ "resource": "" }
c19862
train
// NewInsecureK8sClient creates an insecure k8s client which is suitable // to connect kubernetes api behind proxy
{ "resource": "" }
c19863
train
// NewService creates a Service using the given, if none is provided // it uses http.DefaultClient.
{ "resource": "" }
c19864
train
// NewRequest generates an HTTP request, but does not perform the request.
{ "resource": "" }
c19865
train
// Do sends a request and decodes the response into v.
{ "resource": "" }
c19866
train
// Get sends a GET request and decodes the response into v.
{ "resource": "" }
c19867
train
// Post sends a POST request and decodes the response into v.
{ "resource": "" }
c19868
train
// Delete sends a DELETE request.
{ "resource": "" }
c19869
train
// SetHeader set headers on the given Request.
{ "resource": "" }
c19870
train
// Info for an existing account feature.
{ "resource": "" }
c19871
train
// List existing account features.
{ "resource": "" }
c19872
train
// Update an existing account feature.
{ "resource": "" }
c19873
train
// List all existing add-ons.
{ "resource": "" }
c19874
train
// Create a new add-on.
{ "resource": "" }
c19875
train
// Delete an existing add-on.
{ "resource": "" }
c19876
train
// Info for an existing add-on.
{ "resource": "" }
c19877
train
// List existing add-ons for an app.
{ "resource": "" }
c19878
train
// Change add-on plan. Some add-ons may not support changing plans. In // that case, an error will be returned.
{ "resource": "" }
c19879
train
// List all existing add-ons a user has access to
{ "resource": "" }
c19880
train
// List add-ons used across all Team apps
{ "resource": "" }
c19881
train
// Mark an add-on as provisioned for use.
{ "resource": "" }
c19882
train
// Mark an add-on as deprovisioned.
{ "resource": "" }
c19883
train
// Create a new add-on attachment.
{ "resource": "" }
c19884
train
// Delete an existing add-on attachment.
{ "resource": "" }
c19885
train
// Info for existing add-on attachment.
{ "resource": "" }
c19886
train
// List existing add-on attachments.
{ "resource": "" }
c19887
train
// List existing add-on attachments for an add-on.
{ "resource": "" }
c19888
train
// List existing add-on attachments for an app.
{ "resource": "" }
c19889
train
// Info for existing add-on attachment for an app.
{ "resource": "" }
c19890
train
// Get an add-on's config. Accessible by customers with access and by // the add-on partner providing this add-on.
{ "resource": "" }
c19891
train
// Update an add-on's config. Can only be accessed by the add-on partner // providing this add-on.
{ "resource": "" }
c19892
train
// List all existing add-on region capabilities.
{ "resource": "" }
c19893
train
// List existing add-on region capabilities for an add-on-service
{ "resource": "" }
c19894
train
// List existing add-on region capabilities for a region.
{ "resource": "" }
c19895
train
// Info for existing add-on-service.
{ "resource": "" }
c19896
train
// List existing add-on-services.
{ "resource": "" }
c19897
train
// Create an add-on webhook subscription. Can only be accessed by the // add-on partner providing this add-on.
{ "resource": "" }
c19898
train
// Removes an add-on webhook subscription. Can only be accessed by the // add-on partner providing this add-on.
{ "resource": "" }
c19899
train
// Returns the info for an add-on webhook subscription. Can only be // accessed by the add-on partner providing this add-on.
{ "resource": "" }