_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c161900
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationTree.
{ "resource": "" }
c161901
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationWatchEvent.
{ "resource": "" }
c161902
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfig.
{ "resource": "" }
c161903
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Command.
{ "resource": "" }
c161904
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComparedTo.
{ "resource": "" }
c161905
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentParameter.
{ "resource": "" }
c161906
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigManagementPlugin.
{ "resource": "" }
c161907
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionState.
{ "resource": "" }
c161908
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthStatus.
{ "resource": "" }
c161909
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmParameter.
{ "resource": "" }
c161910
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepository.
{ "resource": "" }
c161911
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfoItem.
{ "resource": "" }
c161912
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTToken.
{ "resource": "" }
c161913
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonnetVar.
{ "resource": "" }
c161914
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KsonnetParameter.
{ "resource": "" }
c161915
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KustomizeImageTag.
{ "resource": "" }
c161916
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
{ "resource": "" }
c161917
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationState.
{ "resource": "" }
c161918
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectRole.
{ "resource": "" }
c161919
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
{ "resource": "" }
c161920
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
{ "resource": "" }
c161921
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAction.
{ "resource": "" }
c161922
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActionDefinition.
{ "resource": "" }
c161923
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActionParam.
{ "resource": "" }
c161924
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceActions.
{ "resource": "" }
c161925
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceDiff.
{ "resource": "" }
c161926
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceIgnoreDifferences.
{ "resource": "" }
c161927
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceNetworkingInfo.
{ "resource": "" }
c161928
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceNode.
{ "resource": "" }
c161929
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceOverride.
{ "resource": "" }
c161930
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
{ "resource": "" }
c161931
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceResult.
{ "resource": "" }
c161932
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceStatus.
{ "resource": "" }
c161933
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevisionHistory.
{ "resource": "" }
c161934
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperation.
{ "resource": "" }
c161935
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperationResource.
{ "resource": "" }
c161936
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncOperationResult.
{ "resource": "" }
c161937
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncPolicy.
{ "resource": "" }
c161938
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncPolicyAutomated.
{ "resource": "" }
c161939
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStatus.
{ "resource": "" }
c161940
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategy.
{ "resource": "" }
c161941
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyApply.
{ "resource": "" }
c161942
train
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncStrategyHook.
{ "resource": "" }
c161943
train
// NewContextCommand returns a new instance of an `argocd ctx` command
{ "resource": "" }
c161944
train
// NewRepoServerClientset creates new instance of repo server Clientset
{ "resource": "" }
c161945
train
// GetRoleByName returns the role in a project by the name with its index
{ "resource": "" }
c161946
train
// GetJWTToken looks up the index of a JWTToken in a project by the issue at time
{ "resource": "" }
c161947
train
// validatePolicySyntax verifies policy syntax is accepted by casbin
{ "resource": "" }
c161948
train
// AddGroupToRole adds an OIDC group to a role
{ "resource": "" }
c161949
train
// NormalizePolicies normalizes the policies in the project
{ "resource": "" }
c161950
train
// ReadAndConfirmPassword is a helper to read and confirm a password from stdin
{ "resource": "" }
c161951
train
// SetLogLevel parses and sets a logrus log level
{ "resource": "" }
c161952
train
// SetGLogLevel set the glog level for the k8s go-client
{ "resource": "" }
c161953
train
// RegisterRepositoryServiceHandler registers the http handlers for service RepositoryService to "mux". // The handlers forward requests to the grpc endpoint over "conn".
{ "resource": "" }
c161954
train
// RegisterSessionServiceHandler registers the http handlers for service SessionService to "mux". // The handlers forward requests to the grpc endpoint over "conn".
{ "resource": "" }
c161955
train
// AddCacheFlagsToCmd adds flags which control caching to the specified command
{ "resource": "" }
c161956
train
// Delete an authentication cookie from the client. This makes sense only for the Web client.
{ "resource": "" }
c161957
train
// RegisterClusterServiceHandler registers the http handlers for service ClusterService to "mux". // The handlers forward requests to the grpc endpoint over "conn".
{ "resource": "" }
c161958
train
// List lists all AppProjects in the indexer.
{ "resource": "" }
c161959
train
// AppProjects returns an object that can list and get AppProjects.
{ "resource": "" }
c161960
train
// List lists all AppProjects in the indexer for a given namespace.
{ "resource": "" }
c161961
train
// TwoWayDiff performs a normal two-way diff between two unstructured objects. Ignores extra fields // in the live object. // Inputs are assumed to be stripped of type information
{ "resource": "" }
c161962
train
// ThreeWayDiff performs a diff with the understanding of how to incorporate the // last-applied-configuration annotation in the diff. // Inputs are assumed to be stripped of type information
{ "resource": "" }
c161963
train
// DiffArray performs a diff on a list of unstructured objects. Objects are expected to match // environments
{ "resource": "" }
c161964
train
// ASCIIFormat returns the ASCII format of the diff
{ "resource": "" }
c161965
train
// NormalizeSecret mutates the supplied object and encodes stringData to data, and converts nils to // empty strings. If the object is not a secret, or is an invalid secret, then returns the same object.
{ "resource": "" }
c161966
train
// JSONFormat returns the diff as a JSON string
{ "resource": "" }
c161967
train
// HideSecretData replaces secret data values in specified target, live secrets and in last applied configuration of live secret with stars. Also preserves differences between // target, live and last applied config values. E.g. if all three are equal the values would be replaced with same number of stars. If all the a...
{ "resource": "" }
c161968
train
// SetApplicationHealth updates the health statuses of all resources performed in the comparison
{ "resource": "" }
c161969
train
// GetResourceHealth returns the health of a k8s resource
{ "resource": "" }
c161970
train
// IsWorse returns whether or not the new health status code is a worser condition than the current
{ "resource": "" }
c161971
train
// ServeHealthCheck serves the health check endpoint. // ServeHealthCheck relies on the provided function to return an error if unhealthy and nil otherwise.
{ "resource": "" }
c161972
train
// NewServer returns a new instance of the Argo CD Repo server
{ "resource": "" }
c161973
train
// CreateGRPC creates new configured grpc server
{ "resource": "" }
c161974
train
// RegisterAccountServiceHandler registers the http handlers for service AccountService to "mux". // The handlers forward requests to the grpc endpoint over "conn".
{ "resource": "" }
c161975
train
// ListRepoURLs returns list of repositories
{ "resource": "" }
c161976
train
// CreateRepository creates a repository
{ "resource": "" }
c161977
train
// GetRepository returns a repository by URL
{ "resource": "" }
c161978
train
// UpdateRepository updates a repository
{ "resource": "" }
c161979
train
// NewKeyLock creates new instance of KeyLock
{ "resource": "" }
c161980
train
// NewHelmApp create a new wrapper to run commands on the `helm` command-line tool.
{ "resource": "" }
c161981
train
// MapClaims converts a jwt.Claims to a MapClaims
{ "resource": "" }
c161982
train
// GetField extracts a field from the claims as a string
{ "resource": "" }
c161983
train
// GetGroups extracts the groups from a claims
{ "resource": "" }
c161984
train
// GetIssuedAt returns the issued at as an int64
{ "resource": "" }
c161985
train
// NewRepoCommand returns a new instance of an `argocd repo` command
{ "resource": "" }
c161986
train
// NewRepoAddCommand returns a new instance of an `argocd repo add` command
{ "resource": "" }
c161987
train
// NewRepoRemoveCommand returns a new instance of an `argocd repo list` command
{ "resource": "" }
c161988
train
// NewRepoListCommand returns a new instance of an `argocd repo rm` command
{ "resource": "" }
c161989
train
// isSupportedVerb returns whether or not a APIResource supports a specific verb
{ "resource": "" }
c161990
train
// GetResource returns resource
{ "resource": "" }
c161991
train
// PatchResource patches resource
{ "resource": "" }
c161992
train
// DeleteResource deletes resource
{ "resource": "" }
c161993
train
// ApplyResource performs an apply of a unstructured resource
{ "resource": "" }
c161994
train
// GetResouceOverrides loads Resource Overrides from argocd-cm ConfigMap
{ "resource": "" }
c161995
train
// GetSettings retrieves settings from the ArgoCDConfigMap and secret.
{ "resource": "" }
c161996
train
// updateSettingsFromSecret transfers settings from a Kubernetes secret into an ArgoCDSettings struct.
{ "resource": "" }
c161997
train
// NewSettingsManager generates a new SettingsManager pointer and returns it
{ "resource": "" }
c161998
train
// IsSSOConfigured returns whether or not single-sign-on is configured
{ "resource": "" }
c161999
train
// TLSConfig returns a tls.Config with the configured certificates
{ "resource": "" }