_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c177600 | // RestoreURL restures cluster state from object storage. | |
c177601 | // IgnoreTypes returns an Option that ignores all values assignable to
// certain types, which are specified by passing in a value of each type. | |
c177602 | // AppendEllipsis appends a new ellipsis node to the list if none already
// exists at the end. If cs is non-zero it coalesces the statistics with the
// previous diffStats. | |
c177603 | // IsType reports whether the reflect.Type is of the specified function type. | |
c177604 | // NameOf returns the name of the function value. | |
c177605 | // PointerOf returns a Pointer from v, which must be a
// reflect.Ptr, reflect.Slice, or reflect.Map. | |
c177606 | // String returns a human-readable string representing the edit-script where
// Identity, UniqueX, UniqueY, and Modified are represented by the
// '.', 'X', 'Y', and 'M' characters, respectively. | |
c177607 | // stats returns a histogram of the number of each type of edit operation. | |
c177608 | // connect appends any necessary Identity, Modified, UniqueX, or UniqueY types
// to the edit-script to connect p.point to dst. | |
c177609 | // EquateNaNs returns a Comparer option that determines float32 and float64
// NaN values to be equal.
//
// EquateNaNs can be used in conjunction with EquateApprox. | |
c177610 | // Index returns the ith step in the Path and supports negative indexing.
// A negative index starts counting from the tail of the Path such that -1
// refers to the last step, -2 refers to the second-to-last step, and so on.
// If index is invalid, this returns a non-nil PathStep that reports a nil Type. | |
c177611 | // Key is the index key; it may return -1 if in a split state | |
c177612 | // String provides a full report of the differences detected as a structured
// literal in pseudo-Go syntax. String may only be called after the entire tree
// has been traversed. | |
c177613 | // FormatType prints the type as if it were wrapping s.
// This may return s as-is depending on the current type and TypeMode mode. | |
c177614 | // formatMapKey formats v as if it were a map key.
// The result is guaranteed to be a single line. | |
c177615 | // formatString prints s as a double-quoted or backtick-quoted string. | |
c177616 | // formatHex prints u as a hexadecimal integer in Go notation. | |
c177617 | // formatPointer prints the address of the pointer. | |
c177618 | // Visit inserts pointer v into the visited map and reports whether it had
// already been visited before. | |
c177619 | // retrieveUnexportedField uses unsafe to forcibly retrieve any field from
// a struct such that the value has read-write permissions.
//
// The parent struct, v, must be addressable, while f must be a StructField
// describing the field to retrieve. | |
c177620 | // insert inserts a sequence of field accesses into the tree. | |
c177621 | // matchPrefix reports whether any selector in the fieldTree matches
// the start of path p. | |
c177622 | // canonicalName returns a list of identifiers where any struct field access
// through an embedded field is expanded to include the names of the embedded
// types themselves.
//
// For example, suppose field "Foo" is not directly in the parent struct,
// but actually from an embedded struct of type "Bar". Then, the ca... | |
c177623 | // FilterPath returns a new Option where opt is only evaluated if filter f
// returns true for the current Path in the value tree.
//
// This filter is called even if a slice element or map entry is missing and
// provides an opportunity to ignore such cases. The filter function must be
// symmetric such that the filte... | |
c177624 | // normalizeOption normalizes the input options such that all Options groups
// are flattened and groups with a single element are reduced to that element.
// Only coreOptions and Options containing coreOptions are allowed. | |
c177625 | // flattenOptions copies all options in src to dst as a flat list.
// Only coreOptions and Options containing coreOptions are allowed. | |
c177626 | // CanFormatDiffSlice reports whether we support custom formatting for nodes
// that are slices of primitive kinds or strings. | |
c177627 | // formatASCII formats s as an ASCII string.
// This is useful for printing binary strings in a semi-legible way. | |
c177628 | // coalesceAdjacentEdits coalesces the list of edits into groups of adjacent
// equal or unequal counts. | |
c177629 | // SortKeys sorts a list of map keys, deduplicating keys if necessary.
// The type of each value must be comparable. | |
c177630 | // FormatDiff converts a valueNode tree into a textNode tree, where the later
// is a textual representation of the differences detected in the former. | |
c177631 | // coalesceAdjacentRecords coalesces the list of records into groups of
// adjacent equal, or unequal counts. | |
c177632 | // Diff returns a human-readable report of the differences between two values.
// It returns an empty string if and only if Equal returns true for the same
// input values and options.
//
// The output is displayed as a literal in pseudo-Go syntax.
// At the start of each line, a "-" prefix indicates an element removed... | |
c177633 | // statelessCompare compares two values and returns the result.
// This function is stateless in that it does not alter the current result,
// or output to any registered reporters. | |
c177634 | // sanitizeValue converts nil interfaces of type T to those of type R,
// assuming that T is assignable to R.
// Otherwise, it returns the input value as is. | |
c177635 | // Check scans the Path for any recursive transformers and panics when any
// recursive transformers are detected. Note that the presence of a
// recursive Transformer does not necessarily imply an infinite cycle.
// As such, this check only activates after some minimal number of path steps. | |
c177636 | // makeAddressable returns a value that is always addressable.
// It returns the input verbatim if it is already addressable,
// otherwise it creates a new value and returns an addressable copy. | |
c177637 | // Marshal passes a Field instance through to the appropriate
// field-type-specific method of an Encoder. | |
c177638 | // String returns a string representation of the key and value. | |
c177639 | // Set applies the tag to an existing Span. | |
c177640 | // Inject implements the Injector interface | |
c177641 | // Extract implements the Extractor interface | |
c177642 | // ToLogRecord converts a deprecated LogData to a non-deprecated LogRecord | |
c177643 | // New returns a MockTracer opentracing.Tracer implementation that's intended
// to facilitate tests of OpenTracing instrumentation. | |
c177644 | // StartSpan belongs to the Tracer interface. | |
c177645 | // RegisterInjector registers injector for given format | |
c177646 | // RegisterExtractor registers extractor for given format | |
c177647 | // Inject belongs to the Tracer interface. | |
c177648 | // Extract belongs to the Tracer interface. | |
c177649 | // ContextWithSpan returns a new `context.Context` that holds a reference to
// `span`'s SpanContext. | |
c177650 | // Set adds a uint32 tag to the `span` | |
c177651 | // Set adds a uint16 tag to the `span` | |
c177652 | // Add adds a bool tag to the `span` | |
c177653 | // SetString records IP v4 host address of the peer as a .-separated tuple to the `span`. E.g., "127.0.0.1" | |
c177654 | // EmitString belongs to the log.Encoder interface | |
c177655 | // EmitLazyLogger belongs to the log.Encoder interface | |
c177656 | // RunAPIChecks runs a test suite to check a Tracer against the OpenTracing API.
// It is provided a function that will be executed to create and destroy a tracer for each test
// in the suite, and the given APICheckOption functional options `opts`. | |
c177657 | // CheckBaggageValues returns an option that sets whether to check for propagation of baggage values. | |
c177658 | // CheckExtract returns an option that sets whether to check if extracting contexts from carriers works. | |
c177659 | // CheckInject returns an option that sets whether to check if injecting contexts works. | |
c177660 | // CheckEverything returns an option that enables all API checks. | |
c177661 | // UseProbe returns an option that specifies an APICheckProbe implementation to use. | |
c177662 | // Tags returns a copy of tags accumulated by the span so far | |
c177663 | // Tag returns a single tag | |
c177664 | // Logs returns a copy of logs accumulated in the span so far | |
c177665 | // Context belongs to the Span interface | |
c177666 | // SetTag belongs to the Span interface | |
c177667 | // SetBaggageItem belongs to the Span interface | |
c177668 | // BaggageItem belongs to the Span interface | |
c177669 | // Finish belongs to the Span interface | |
c177670 | // FinishWithOptions belongs to the Span interface | |
c177671 | // String allows printing span for debugging | |
c177672 | // LogFields belongs to the Span interface | |
c177673 | // The caller MUST NOT hold s.Lock | |
c177674 | // LogKV belongs to the Span interface.
//
// This implementations coerces all "values" to strings, though that is not
// something all implementations need to do. Indeed, a motivated person can and
// probably should have this do a typed switch on the values. | |
c177675 | // LogEvent belongs to the Span interface | |
c177676 | // LogEventWithPayload belongs to the Span interface | |
c177677 | // SetOperationName belongs to the Span interface | |
c177678 | // registriesDirPath returns a path to registries.d | |
c177679 | // loadAndMergeConfig loads configuration files in dirPath | |
c177680 | // ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an OpenShift ImageReference. | |
c177681 | // NewReference returns an OpenShift reference for a reference.NamedTagged | |
c177682 | // CheckAuth validates the credentials by attempting to log into the registry
// returns an error if an error occurred while making the http request or the status code received was 401 | |
c177683 | // doHttp uses the clients internal TLS configuration for doing the
// provided HTTP request. It returns the response and an error on failure. | |
c177684 | // detectPropertiesHelper performs the work of detectProperties which executes
// it at most once. | |
c177685 | // detectProperties detects various properties of the registry.
// See the dockerClient documentation for members which are affected by this. | |
c177686 | // getExtensionsSignatures returns signatures from the X-Registry-Supports-Signatures API extension,
// using the original data structures. | |
c177687 | // NewTransport Creates a default transport | |
c177688 | // Reads the global registry file from the filesystem. Returns
// a byte array | |
c177689 | // GetRegistries returns an array of strings that contain the names
// of the registries as defined in the system-wide
// registries file. it returns an empty array if none are
// defined | |
c177690 | // GetInsecureRegistries returns an array of strings that contain the names
// of the insecure registries as defined in the system-wide
// registries file. it returns an empty array if none are
// defined | |
c177691 | // RegistriesConfPath is the path to the system-wide registry configuration file | |
c177692 | // NewOptionalBool converts the input bool into either OptionalBoolTrue or
// OptionalBoolFalse. The function is meant to avoid boilerplate code of users. | |
c177693 | // changeContextState changes pc.state, or fails if the state is unexpected | |
c177694 | // Destroy should be called when the user of the context is done with it. | |
c177695 | // policyIdentityLogName returns a string description of the image identity for policy purposes.
// ONLY use this for log messages, not for any decisions! | |
c177696 | // requirementsForImageRef selects the appropriate requirements for ref. | |
c177697 | // ParseImageName converts a URL-like image name to a types.ImageReference. | |
c177698 | // BlobInfoFromOCI1Descriptor returns a types.BlobInfo based on the input OCI1 descriptor. | |
c177699 | // OCI1FromManifest creates an OCI1 manifest instance from a manifest blob. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.