_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c178600 | test | // Init sets the Path and Interval options | {
"resource": ""
} | ||
c178601 | test | // Fetch file from the specified Path | {
"resource": ""
} | ||
c178602 | test | // Fetch the binary from the provided URL | {
"resource": ""
} | ||
c178603 | test | // Validate checks a Config instance. It will return a
// sarama.ConfigurationError if the specified values don't make sense. | {
"resource": ""
} | ||
c178604 | test | // NewClient creates a new client instance | {
"resource": ""
} | ||
c178605 | test | // AsyncClose implements PartitionConsumer | {
"resource": ""
} | ||
c178606 | test | // Close implements PartitionConsumer | {
"resource": ""
} | ||
c178607 | test | // MarkOffset implements PartitionConsumer | {
"resource": ""
} | ||
c178608 | test | // NewConsumer initializes a new consumer | {
"resource": ""
} | ||
c178609 | test | // MarkOffsets marks stashed offsets as processed.
// See MarkOffset for additional explanation. | {
"resource": ""
} | ||
c178610 | test | // ResetOffset marks the provided message as processed, alongside a metadata string
// that represents the state of the partition consumer at that point in time. The
// metadata string can be used by another consumer to restore that state, so it
// can resume consumption.
//
// Difference between ResetOffset and MarkOf... | {
"resource": ""
} | ||
c178611 | test | // Close safely closes the consumer and releases all resources | {
"resource": ""
} | ||
c178612 | test | // heartbeat loop, triggered by the mainLoop | {
"resource": ""
} | ||
c178613 | test | // topic watcher loop, triggered by the mainLoop | {
"resource": ""
} | ||
c178614 | test | // commit loop, triggered by the mainLoop | {
"resource": ""
} | ||
c178615 | test | // Fetches latest committed offsets for all subscriptions | {
"resource": ""
} | ||
c178616 | test | // MarkOffset stashes the provided message offset | {
"resource": ""
} | ||
c178617 | test | // ResetOffset stashes the provided message offset
// See ResetPartitionOffset for explanation | {
"resource": ""
} | ||
c178618 | test | // Offsets returns the latest stashed offsets by topic-partition | {
"resource": ""
} | ||
c178619 | test | // Actual is used to build a cluster based on instances on the cloud provider. | {
"resource": ""
} | ||
c178620 | test | // Expected is used to build a cluster expected to be on the cloud provider. | {
"resource": ""
} | ||
c178621 | test | // Delete is used to delete the instances on the cloud provider | {
"resource": ""
} | ||
c178622 | test | // GetReconciler gets the correct Reconciler for the cloud provider currenty used. | {
"resource": ""
} | ||
c178623 | test | // GetVersion returns Kubicorn version. | {
"resource": ""
} | ||
c178624 | test | // GetVersionJSON returns Kubicorn version in JSON format. | {
"resource": ""
} | ||
c178625 | test | // Actual returns the actual resource group in Azure if it exists. | {
"resource": ""
} | ||
c178626 | test | // Expected will return the expected resource group as it would be defined in Azure | {
"resource": ""
} | ||
c178627 | test | // CreateCmd represents create command | {
"resource": ""
} | ||
c178628 | test | // NewUbuntuCluster creates a basic Azure cluster profile, to bootstrap Kubernetes. | {
"resource": ""
} | ||
c178629 | test | // ProviderConfig is a convenience method that will attempt
// to return a ControlPlaneProviderConfig for a cluster.
// This is useful for managing the legacy API in a clean way.
// This will ignore errors from json.Unmarshal and will simply
// return an empty config. | {
"resource": ""
} | ||
c178630 | test | // SetProviderConfig is a convenience method that will attempt
// to set a provider config on a particular cluster. Just like
// it's counterpart ProviderConfig this makes working with the legacy API much easier. | {
"resource": ""
} | ||
c178631 | test | // MachineProviderConfigs will return all MachineProviderConfigs for a cluster | {
"resource": ""
} | ||
c178632 | test | // SetMachineProviderConfig will attempt to match a provider config to a machine set
// on the "Name" field. If a match cannot be made we warn and move on. | {
"resource": ""
} | ||
c178633 | test | // NewCluster will initialize a new Cluster | {
"resource": ""
} | ||
c178634 | test | // DeployControllerCmd represents the apply command | {
"resource": ""
} | ||
c178635 | test | // NewRetrier creates a new Retrier using given properties. | {
"resource": ""
} | ||
c178636 | test | // RunRetry runs a retryable function. | {
"resource": ""
} | ||
c178637 | test | // MustGenerateRandomBytes generates random bytes or panics if it can't | {
"resource": ""
} | ||
c178638 | test | // ExplainCmd represents the explain command | {
"resource": ""
} | ||
c178639 | test | // TimeOrderedUUID generates a time ordered UUID. Top 32b are timestamp bottom 96b are random. | {
"resource": ""
} | ||
c178640 | test | // GetConfigCmd represents the apply command | {
"resource": ""
} | ||
c178641 | test | // RunAnnotated annotates a task with a description and a sequence of symbols indicating task activity until it terminates | {
"resource": ""
} | ||
c178642 | test | // ListCmd represents the list command | {
"resource": ""
} | ||
c178643 | test | // NewUbuntuCluster creates a simple Ubuntu Amazon cluster | {
"resource": ""
} | ||
c178644 | test | // EditCmd represents edit command | {
"resource": ""
} | ||
c178645 | test | // RemoveKey removes an existing key from keyring | {
"resource": ""
} | ||
c178646 | test | // RemoveKeyUsingFile removes an existing key from keyring given a file | {
"resource": ""
} | ||
c178647 | test | // Actual calls DO firewall Api and returns the actual state of firewall in the cloud. | {
"resource": ""
} | ||
c178648 | test | // Expected returns the Firewall structure of what is Expected. | {
"resource": ""
} | ||
c178649 | test | // Apply will compare the actual and expected firewall config, if needed it will create the firewall. | {
"resource": ""
} | ||
c178650 | test | // Delete removes the firewall | {
"resource": ""
} | ||
c178651 | test | // DeleteCmd represents the delete command | {
"resource": ""
} | ||
c178652 | test | // NewStateStore returns clusterStorer object based on type. | {
"resource": ""
} | ||
c178653 | test | //Performs a git 'commit' and 'push' of the current cluster changes. | {
"resource": ""
} | ||
c178654 | test | // ApplyCmd represents the apply command | {
"resource": ""
} | ||
c178655 | test | // ExpandPath returns working directory path | {
"resource": ""
} | ||
c178656 | test | // CompletionCmd represents the completion command | {
"resource": ""
} | ||
c178657 | test | // AdoptCmd represents the adopt command | {
"resource": ""
} | ||
c178658 | test | // StrEnvDef get environment variable, or some default def | {
"resource": ""
} | ||
c178659 | test | // IntEnvDef get environment variable, or some default def | {
"resource": ""
} | ||
c178660 | test | // BoolEnvDef get environemnt variable and return bool. | {
"resource": ""
} | ||
c178661 | test | // readFromFS reads file from a local path and returns as string | {
"resource": ""
} | ||
c178662 | test | // VersionCmd represents the version command | {
"resource": ""
} | ||
c178663 | test | // NewSignalHandler creates a new Handler using given properties. | {
"resource": ""
} | ||
c178664 | test | // Register starts handling signals. | {
"resource": ""
} | ||
c178665 | test | // NewUbuntuCluster creates a simple Ubuntu Openstack cluster. | {
"resource": ""
} | ||
c178666 | test | // BeginningOfHour beginning of hour | {
"resource": ""
} | ||
c178667 | test | // BeginningOfDay beginning of day | {
"resource": ""
} | ||
c178668 | test | // BeginningOfWeek beginning of week | {
"resource": ""
} | ||
c178669 | test | // BeginningOfMonth beginning of month | {
"resource": ""
} | ||
c178670 | test | // BeginningOfQuarter beginning of quarter | {
"resource": ""
} | ||
c178671 | test | // BeginningOfYear BeginningOfYear beginning of year | {
"resource": ""
} | ||
c178672 | test | // EndOfMinute end of minute | {
"resource": ""
} | ||
c178673 | test | // EndOfHour end of hour | {
"resource": ""
} | ||
c178674 | test | // EndOfDay end of day | {
"resource": ""
} | ||
c178675 | test | // EndOfWeek end of week | {
"resource": ""
} | ||
c178676 | test | // EndOfMonth end of month | {
"resource": ""
} | ||
c178677 | test | // EndOfQuarter end of quarter | {
"resource": ""
} | ||
c178678 | test | // EndOfYear end of year | {
"resource": ""
} | ||
c178679 | test | // MustParse must parse string to time or it will panic | {
"resource": ""
} | ||
c178680 | test | // Between check time between the begin, end time or not | {
"resource": ""
} | ||
c178681 | test | // ParseInLocation parse string to time in location | {
"resource": ""
} | ||
c178682 | test | // MustParse must parse string to time or will panic | {
"resource": ""
} | ||
c178683 | test | // MustParseInLocation must parse string to time in location or will panic | {
"resource": ""
} | ||
c178684 | test | // Between check now between the begin, end time or not | {
"resource": ""
} | ||
c178685 | test | // NewChannelMemoryBackend creates a simple in-memory logging backend which
// utilizes a go channel for communication.
//
// Start will automatically be called by this function. | {
"resource": ""
} | ||
c178686 | test | // Start launches the internal goroutine which starts processing data from the
// input channel. | {
"resource": ""
} | ||
c178687 | test | // Flush waits until all records in the buffered channel have been processed. | {
"resource": ""
} | ||
c178688 | test | // Stop signals the internal goroutine to exit and waits until it have. | {
"resource": ""
} | ||
c178689 | test | // Formatted returns the formatted log record string. | {
"resource": ""
} | ||
c178690 | test | // Message returns the log record message. | {
"resource": ""
} | ||
c178691 | test | // SetBackend overrides any previously defined backend for this logger. | {
"resource": ""
} | ||
c178692 | test | // MustGetLogger is like GetLogger but panics if the logger can't be created.
// It simplifies safe initialization of a global logger for eg. a package. | {
"resource": ""
} | ||
c178693 | test | // Reset restores the internal state of the logging library. | {
"resource": ""
} | ||
c178694 | test | // IsEnabledFor returns true if the logger is enabled for the given level. | {
"resource": ""
} | ||
c178695 | test | // Criticalf logs a message using CRITICAL as log level. | {
"resource": ""
} | ||
c178696 | test | // Warningf logs a message using WARNING as log level. | {
"resource": ""
} | ||
c178697 | test | // Noticef logs a message using NOTICE as log level. | {
"resource": ""
} | ||
c178698 | test | // Infof logs a message using INFO as log level. | {
"resource": ""
} | ||
c178699 | test | // SetFormatter sets the default formatter for all new backends. A backend will
// fetch this value once it is needed to format a record. Note that backends
// will cache the formatter after the first point. For now, make sure to set
// the formatter before logging. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.