_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c22900 | train | // Update updates the DjangoContentType in the database. | {
"resource": ""
} | ||
c22901 | train | // Delete deletes the DjangoContentType from the database. | {
"resource": ""
} | ||
c22902 | train | // AuthGroupPermissionByGroupIDPermissionID retrieves a row from 'django.auth_group_permissions' as a AuthGroupPermission.
//
// Generated from index 'auth_gr_group_id_0cd325b0_uniq'. | {
"resource": ""
} | ||
c22903 | train | // PgProcParams runs a custom query, returning results as ProcParam. | {
"resource": ""
} | ||
c22904 | train | // AuthUserGroupsByGroupID retrieves a row from 'django.auth_user_groups' as a AuthUserGroup.
//
// Generated from index 'auth_user_groups_group_id_97559544_fk_auth_group_id'. | {
"resource": ""
} | ||
c22905 | train | // AuthUserGroupByID retrieves a row from 'django.auth_user_groups' as a AuthUserGroup.
//
// Generated from index 'auth_user_groups_id_pkey'. | {
"resource": ""
} | ||
c22906 | train | // MsParseType parse a mssql type into a Go type based on the column
// definition. | {
"resource": ""
} | ||
c22907 | train | // MsQueryColumns parses the query and generates a type for it. | {
"resource": ""
} | ||
c22908 | train | // MsTables returns the MsSQL tables with the manual PK information added.
// ManualPk is true when the table's primary key is not an identity. | {
"resource": ""
} | ||
c22909 | train | // Delete deletes the DjangoAdminLog from the database. | {
"resource": ""
} | ||
c22910 | train | // DjangoSessionsByExpireDate retrieves a row from 'django.django_session' as a DjangoSession.
//
// Generated from index 'django_session_de54fa62'. | {
"resource": ""
} | ||
c22911 | train | // DjangoSessionBySessionKey retrieves a row from 'django.django_session' as a DjangoSession.
//
// Generated from index 'django_session_session_key_pkey'. | {
"resource": ""
} | ||
c22912 | train | // Update updates the AuthUserUserPermission in the database. | {
"resource": ""
} | ||
c22913 | train | // Update updates the DjangoMigration in the database. | {
"resource": ""
} | ||
c22914 | train | // Delete deletes the DjangoMigration from the database. | {
"resource": ""
} | ||
c22915 | train | // DjangoMigrationByID retrieves a row from 'django.django_migrations' as a DjangoMigration.
//
// Generated from index 'sys_c004953'. | {
"resource": ""
} | ||
c22916 | train | // DjangoContentTypeByID retrieves a row from 'django_content_type' as a DjangoContentType.
//
// Generated from index 'django_content_type_id_pkey'. | {
"resource": ""
} | ||
c22917 | train | // Update updates the DjangoAdminLog in the database. | {
"resource": ""
} | ||
c22918 | train | // DjangoAdminLogsByContentTypeID retrieves a row from 'public.django_admin_log' as a DjangoAdminLog.
//
// Generated from index 'django_admin_log_417f1b1c'. | {
"resource": ""
} | ||
c22919 | train | // PgProcs runs a custom query, returning results as Proc. | {
"resource": ""
} | ||
c22920 | train | // Delete deletes the AuthGroup from the database. | {
"resource": ""
} | ||
c22921 | train | // Update updates the AuthGroup in the database. | {
"resource": ""
} | ||
c22922 | train | // Delete deletes the AuthUser from the database. | {
"resource": ""
} | ||
c22923 | train | // AuthUserByUsername retrieves a row from 'django.auth_user' as a AuthUser.
//
// Generated from index 'sys_c004977'. | {
"resource": ""
} | ||
c22924 | train | // UnmarshalText unmarshals FkMode from text. | {
"resource": ""
} | ||
c22925 | train | // fkName returns the name for the foreign key. | {
"resource": ""
} | ||
c22926 | train | // ForeignKeyName returns the foreign key name for the passed type. | {
"resource": ""
} | ||
c22927 | train | // Delete deletes the AuthUserUserPermission from the database. | {
"resource": ""
} | ||
c22928 | train | // AuthUserUserPermissionByID retrieves a row from 'public.auth_user_user_permissions' as a AuthUserUserPermission.
//
// Generated from index 'auth_user_user_permissions_pkey'. | {
"resource": ""
} | ||
c22929 | train | // Delete deletes the AuthUserGroup from the database. | {
"resource": ""
} | ||
c22930 | train | // MyEnumValues runs a custom query, returning results as MyEnumValue. | {
"resource": ""
} | ||
c22931 | train | // Update updates the AuthUserGroup in the database. | {
"resource": ""
} | ||
c22932 | train | // MyTableColumns runs a custom query, returning results as Column. | {
"resource": ""
} | ||
c22933 | train | // AuthenticateUser authenticates user based on the request type | {
"resource": ""
} | ||
c22934 | train | // AuthenticateWebUser authenticates web user, creates and returns web session
// in case if authentication is successful. In case if existing session id
// is used to authenticate, returns session associated with the existing session id
// instead of creating the new one | {
"resource": ""
} | ||
c22935 | train | // CheckAndSetDefaults checks and sets default certificate values | {
"resource": ""
} | ||
c22936 | train | // SSHCertPublicKeys returns a list of trusted host SSH certificate authority public keys | {
"resource": ""
} | ||
c22937 | train | // AuthoritiesToTrustedCerts serializes authorities to TrustedCerts data structure | {
"resource": ""
} | ||
c22938 | train | // AuthenticateSSHUser authenticates web user, creates and returns web session
// in case if authentication is successful | {
"resource": ""
} | ||
c22939 | train | // unregisterHandler will remove the PAM handle from the package level map
// once no more C callbacks can come back. | {
"resource": ""
} | ||
c22940 | train | // lookupHandler returns a particular handler from the package level map. | {
"resource": ""
} | ||
c22941 | train | // Open creates a PAM context and initiates a PAM transaction to check the
// account and then opens a session. | {
"resource": ""
} | ||
c22942 | train | // Close will close the session, the PAM context, and release any allocated
// memory. | {
"resource": ""
} | ||
c22943 | train | // codeToError returns a human readable string from the PAM error. | {
"resource": ""
} | ||
c22944 | train | // DualPipeAddrConn creates a net.Pipe to connect a client and a server. The
// two net.Conn instances are wrapped in an addrConn which holds the source and
// destination addresses. | {
"resource": ""
} | ||
c22945 | train | // NewClusterName is a convenience wrapper to create a ClusterName resource. | {
"resource": ""
} | ||
c22946 | train | // GetClusterNameSchema returns the schema with optionally injected
// schema for extensions. | {
"resource": ""
} | ||
c22947 | train | // Unmarshal unmarshals ClusterName from JSON. | {
"resource": ""
} | ||
c22948 | train | // Marshal marshals ClusterName to JSON. | {
"resource": ""
} | ||
c22949 | train | // Check checks if certificate authority type value is correct | {
"resource": ""
} | ||
c22950 | train | // Check returns error if any of the id parameters are bad, nil otherwise | {
"resource": ""
} | ||
c22951 | train | // NewReverseTunnel returns new version of reverse tunnel | {
"resource": ""
} | ||
c22952 | train | // V2 returns V2 version of reverse tunnel | {
"resource": ""
} | ||
c22953 | train | // UnmarshalReverseTunnel unmarshals reverse tunnel from JSON or YAML,
// sets defaults and checks the schema | {
"resource": ""
} | ||
c22954 | train | // UnmarshalReverseTunnel unmarshals reverse tunnel from JSON or YAML | {
"resource": ""
} | ||
c22955 | train | // MarshalRole marshalls role into JSON | {
"resource": ""
} | ||
c22956 | train | // SwitchLoggingtoSyslog tells the logger to send the output to syslog. This
// code is behind a build flag because Windows does not support syslog. | {
"resource": ""
} | ||
c22957 | train | // Types returns cert authority types requested to be rotated. | {
"resource": ""
} | ||
c22958 | train | // CheckAndSetDefaults checks and sets default values. | {
"resource": ""
} | ||
c22959 | train | // RotateExternalCertAuthority rotates external certificate authority,
// this method is called by remote trusted cluster and is used to update
// only public keys and certificates of the certificate authority. | {
"resource": ""
} | ||
c22960 | train | // autoRotateCertAuthorities automatically rotates cert authorities,
// does nothing if no rotation parameters were set up
// or it is too early to rotate per schedule | {
"resource": ""
} | ||
c22961 | train | // processRotationRequest processes rotation request based on the target and
// current phase and state. | {
"resource": ""
} | ||
c22962 | train | // startRollingBackRotation starts roll back to the original state. | {
"resource": ""
} | ||
c22963 | train | // completeRollingBackRotation completes rollback of the rotation and sets it to the standby state | {
"resource": ""
} | ||
c22964 | train | // completeRotation completes the certificate authority rotation. | {
"resource": ""
} | ||
c22965 | train | // Extract extracts the contents of the specified tarball under dir.
// The resulting files and directories are created using the current user context. | {
"resource": ""
} | ||
c22966 | train | // CryptoRandomHex returns hex encoded random string generated with crypto-strong
// pseudo random generator of the given bytes | {
"resource": ""
} | ||
c22967 | train | // RandomDuration returns a duration in a range [0, max) | {
"resource": ""
} | ||
c22968 | train | // NewServer creates a new server resource | {
"resource": ""
} | ||
c22969 | train | // AuthPreference tests authentication preference service | {
"resource": ""
} | ||
c22970 | train | // CollectOptions collects suite options | {
"resource": ""
} | ||
c22971 | train | // ClusterConfig tests cluster configuration | {
"resource": ""
} | ||
c22972 | train | // EventsClusterConfig tests cluster config resource events | {
"resource": ""
} | ||
c22973 | train | // IsTunnelConnectionStatus returns tunnel connection status based on the last
// heartbeat time recorded for a connection | {
"resource": ""
} | ||
c22974 | train | // MustCreateTunnelConnection returns new connection from V2 spec or panics if
// parameters are incorrect | {
"resource": ""
} | ||
c22975 | train | // NewTunnelConnection returns new connection from V2 spec | {
"resource": ""
} | ||
c22976 | train | // String returns user-friendly description of this connection | {
"resource": ""
} | ||
c22977 | train | // SetLastHeartbeat sets last heartbeat time | {
"resource": ""
} | ||
c22978 | train | // UnmarshalTunnelConnection unmarshals reverse tunnel from JSON or YAML,
// sets defaults and checks the schema | {
"resource": ""
} | ||
c22979 | train | // MarshalTunnelConnection marshals tunnel connection | {
"resource": ""
} | ||
c22980 | train | // Initialize allows StatusCommand to plug itself into the CLI parser. | {
"resource": ""
} | ||
c22981 | train | // Status is called to execute "status" CLI command. | {
"resource": ""
} | ||
c22982 | train | // DeleteTrustedCluster removes services.CertAuthority, services.ReverseTunnel,
// and services.TrustedCluster resources. | {
"resource": ""
} | ||
c22983 | train | // DeleteRemoteCluster deletes remote cluster resource, all certificate authorities
// associated with it | {
"resource": ""
} | ||
c22984 | train | // GetRemoteCluster returns remote cluster by name | {
"resource": ""
} | ||
c22985 | train | // GetRemoteClusters returns remote clusters with updated statuses | {
"resource": ""
} | ||
c22986 | train | // activateCertAuthority will activate both the user and host certificate
// authority given in the services.TrustedCluster resource. | {
"resource": ""
} | ||
c22987 | train | // createReverseTunnel will create a services.ReverseTunnel givenin the
// services.TrustedCluster resource. | {
"resource": ""
} | ||
c22988 | train | // DeleteClusterName deletes services.ClusterName from the backend. | {
"resource": ""
} | ||
c22989 | train | // SetClusterName sets the name of the cluster in the backend. SetClusterName
// can only be called once on a cluster after which it will return trace.AlreadyExists. | {
"resource": ""
} | ||
c22990 | train | // GetAuthPreference fetches the cluster authentication preferences
// from the backend and return them. | {
"resource": ""
} | ||
c22991 | train | // SetAuthPreference sets the cluster authentication preferences
// on the backend. | {
"resource": ""
} | ||
c22992 | train | // DeleteClusterConfig deletes services.ClusterConfig from the backend. | {
"resource": ""
} | ||
c22993 | train | // SetClusterConfig sets services.ClusterConfig on the backend. | {
"resource": ""
} | ||
c22994 | train | // SetNoCacheHeaders tells proxies and browsers do not cache the content | {
"resource": ""
} | ||
c22995 | train | // SetIndexHTMLHeaders sets security header flags for main index.html page | {
"resource": ""
} | ||
c22996 | train | // NewSpdyRoundTripperWithDialer creates a new SpdyRoundTripper that will use
// the specified tlsConfig. This function is mostly meant for unit tests. | {
"resource": ""
} | ||
c22997 | train | // dial dials the host specified by req | {
"resource": ""
} | ||
c22998 | train | // BuildIdentityContext returns an IdentityContext populated with information
// about the logged in user on the connection. | {
"resource": ""
} | ||
c22999 | train | // CheckAgentForward checks if agent forwarding is allowed for the users RoleSet. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.