_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c16900 | // parseCloudConfig parses the provided config into a node structure and logs
// any parsing issues into the provided report. Unrecoverable errors are
// returned as an error. | |
c16901 | // normalizeNodeNames replaces all occurences of '-' with '_' within key names
// and makes a note of each replacement in the report. | |
c16902 | // Walk takes an arbitrary value and an interface and traverses the
// value, calling callbacks on the interface if they are supported.
// The interface should implement one or more of the walker interfaces
// in this package, such as PrimitiveWalker, StructWalker, etc. | |
c16903 | // EqualTo returns true if headers are equivalent, false otherwise. | |
c16904 | // WriteTo renders a proxy protocol header in a format to write over the wire. | |
c16905 | // Read identifies the proxy protocol version and reads the remaining of
// the header, accordingly.
//
// If proxy protocol header signature is not present, the reader buffer remains untouched
// and is safe for reading outside of this code.
//
// If proxy protocol header signature is present but an error is raised wh... | |
c16906 | // ReadTimeout acts as Read but takes a timeout. If that timeout is reached, it's assumed
// there's no proxy protocol header. | |
c16907 | // NewImage allocates and returns RGB image | |
c16908 | // At implements image.Image.At | |
c16909 | // RGBA implements Color.RGBA | |
c16910 | // Decode reads a JPEG data stream from r and returns decoded image as an image.Image.
// Output image has YCbCr colors or 8bit Grayscale. | |
c16911 | // DecodeIntoRGB reads a JPEG data stream from r and returns decoded image as an rgb.Image with RGB colors. | |
c16912 | // DecodeIntoRGBA reads a JPEG data stream from r and returns decoded image as an image.RGBA with RGBA colors.
// This function only works with libjpeg-turbo, not libjpeg. | |
c16913 | // DecodeConfig returns the color model and dimensions of a JPEG image without decoding the entire image. | |
c16914 | // NewGrayAligned Allocates Grey image with padding.
// This func add an extra padding to cover overflow from decoding image. | |
c16915 | // Encode encodes src image and writes into w as JPEG format data. | |
c16916 | // encode image.YCbCr | |
c16917 | // encode image.RGBA | |
c16918 | // encode image.Gray | |
c16919 | // SetTaskLostBehavior sets the residency behavior | |
c16920 | // SetRelaunchEscalationTimeout sets the residency relaunch escalation timeout with seconds precision | |
c16921 | // SetBackoff sets the base backoff interval for failed pod launches, in seconds | |
c16922 | // SetBackoffFactor sets the backoff interval growth factor for failed pod launches | |
c16923 | // SetMaxLaunchDelay sets the maximum backoff interval for failed pod launches, in seconds | |
c16924 | // SetMinimumHealthCapacity sets the minimum amount of pod instances for healthy operation, expressed as a fraction of instance count | |
c16925 | // SetMaximumOverCapacity sets the maximum amount of pod instances above the instance count, expressed as a fraction of instance count | |
c16926 | // SetBackoff sets the pod's backoff settings | |
c16927 | // SetUpgrade sets the pod's upgrade settings | |
c16928 | // SetPlacement sets the pod's placement settings | |
c16929 | // SetKillSelection sets the pod's kill selection criteria when terminating pod instances | |
c16930 | // SetUnreachableStrategy sets the pod's unreachable strategy for lost instances | |
c16931 | // SetUnreachableStrategyDisabled disables the pod's unreachable strategy | |
c16932 | // UnmarshalJSON unmarshals the given JSON into an UnreachableStrategy. It
// populates parameters for present strategies, and otherwise only sets the
// absence reason. | |
c16933 | // MarshalJSON marshals the unreachable strategy. | |
c16934 | // SetInactiveAfterSeconds sets the period after which instance will be marked as inactive. | |
c16935 | // SetExpungeAfterSeconds sets the period after which instance will be expunged. | |
c16936 | // SetCommand sets the given command on the health check. | |
c16937 | // SetPortIndex sets the given port index on the health check. | |
c16938 | // SetPort sets the given port on the health check. | |
c16939 | // SetPath sets the given path on the health check. | |
c16940 | // SetMaxConsecutiveFailures sets the maximum consecutive failures on the health check. | |
c16941 | // SetIgnoreHTTP1xx sets ignore http 1xx on the health check. | |
c16942 | // NewDefaultHealthCheck creates a default application health check | |
c16943 | // SetGracePeriod sets the health check initial grace period, in seconds | |
c16944 | // SetInterval sets the health check polling interval, in seconds | |
c16945 | // SetMaxConsecutiveFailures sets the maximum consecutive failures on the health check | |
c16946 | // SetTimeout sets the length of time the health check will await a result, in seconds | |
c16947 | // SetDelay sets the length of time a pod will delay running health checks on initial launch, in seconds | |
c16948 | // SetPath sets the HTTP path of the pod health check endpoint | |
c16949 | // SetScheme sets the HTTP scheme of the pod health check endpoint | |
c16950 | // SetCommand sets a CommandHealthCheck's underlying PodCommand | |
c16951 | // NewPod create an empty pod | |
c16952 | // EmptyLabels empties the labels in a pod | |
c16953 | // AddLabel adds a label to a pod | |
c16954 | // SetLabels sets the labels for a pod | |
c16955 | // EmptyEnvs empties the environment variables for a pod | |
c16956 | // AddContainer adds a container to a pod | |
c16957 | // EmptySecrets empties the secret sources in a pod | |
c16958 | // GetSecretSource gets the source of the named secret | |
c16959 | // AddSecret adds the secret to the pod | |
c16960 | // AddVolume adds a volume to a pod | |
c16961 | // AddNetwork adds a PodNetwork to a pod | |
c16962 | // Count sets the count of the pod | |
c16963 | // SetPodSchedulingPolicy sets the PodSchedulingPolicy of a pod | |
c16964 | // SetExecutorResources sets the resources for the pod executor | |
c16965 | // SupportsPods determines if this version of marathon supports pods
// If HEAD returns 200 it does | |
c16966 | // Pod gets a pod object from marathon by name | |
c16967 | // Pods gets all pods from marathon | |
c16968 | // CreatePod creates a new pod in Marathon | |
c16969 | // DeletePod deletes a pod from marathon | |
c16970 | // UpdatePod creates a new pod in Marathon | |
c16971 | // PodVersions gets all the deployed versions of a pod | |
c16972 | // PodByVersion gets a pod by a version identifier | |
c16973 | // SetPersistentVolume defines persistent properties for volume | |
c16974 | // NewDockerContainer creates a default docker container for you | |
c16975 | // SetMinimumHealthCapacity sets the minimum health capacity. | |
c16976 | // SetMaximumOverCapacity sets the maximum over capacity. | |
c16977 | // Subscriptions retrieves a list of registered subscriptions | |
c16978 | // SubscriptionURL retrieves the subscription callback URL used when registering | |
c16979 | // registerSubscription registers ourselves with Marathon to receive events from configured transport facility | |
c16980 | // registerSSESubscription starts a go routine that continuously tries to
// connect to the SSE stream and to process the received events. To establish
// the connection it tries the active cluster members until no more member is
// active. When this happens it will retry to get a connection every 5 seconds. | |
c16981 | // Queue retrieves content of the marathon launch queue | |
c16982 | // newCluster returns a new marathon cluster | |
c16983 | // retrieve the current member, i.e. the current endpoint in use | |
c16984 | // markDown marks down the current endpoint | |
c16985 | // healthCheckNode performs a health check on the node and when active updates the status | |
c16986 | // memberList returns a list of members of a specified status | |
c16987 | // String returns a string representation | |
c16988 | // NewPodNetwork creates an empty PodNetwork | |
c16989 | // NewContainerPodNetwork creates a PodNetwork for a container | |
c16990 | // SetName sets the name of a PodNetwork | |
c16991 | // SetMode sets the mode of a PodNetwork | |
c16992 | // Label sets a label of a PodNetwork | |
c16993 | // SetName sets the name for a PodEndpoint | |
c16994 | // SetContainerPort sets the container port for a PodEndpoint | |
c16995 | // SetHostPort sets the host port for a PodEndpoint | |
c16996 | // AddProtocol appends a protocol for a PodEndpoint | |
c16997 | // Label sets a label for a PodEndpoint | |
c16998 | // DeletePodInstances deletes all instances of the named pod | |
c16999 | // DeletePodInstance deletes a specific instance of a pod |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.