- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 395 for Implementation (0.23 sec)
-
pkg/kubelet/util/ioutils/ioutils.go
import "io" // LimitWriter is a copy of the standard library ioutils.LimitReader, // applied to the writer interface. // LimitWriter returns a Writer that writes to w // but stops with EOF after n bytes. // The underlying implementation is a *LimitedWriter. func LimitWriter(w io.Writer, n int64) io.Writer { return &LimitedWriter{w, n} } // A LimitedWriter writes to W but limits the amount of // data returned to just N bytes. Each call to Write
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 12:00:49 UTC 2023 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/audit/union.go
"fmt" "strings" "k8s.io/apimachinery/pkg/util/errors" auditinternal "k8s.io/apiserver/pkg/apis/audit" ) // Union returns an audit Backend which logs events to a set of backends. The returned // Sink implementation blocks in turn for each call to ProcessEvents. func Union(backends ...Backend) Backend { if len(backends) == 1 { return backends[0] } return union{backends} } type union struct { backends []Backend
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 20 09:51:25 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go
// walkFunc may remove the given request from the fifo, // but may not mutate the fifo in any othe way. type walkFunc func(*request) (ok bool) // Internal interface to abstract out the implementation details // of the underlying list used to maintain the requests. // // Note that a fifo, including the removeFromFIFOFuncs returned from Enqueue, // is not safe for concurrent use by multiple goroutines.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:05:53 UTC 2021 - 3.9K bytes - Viewed (0) -
pkg/proxy/conntrack/cleanup_test.go
// We need to construct a proxy.ServicePortMap to pass to CleanStaleEntries. // ServicePortMap is just map[string]proxy.ServicePort, but there are no public // constructors for any implementation of proxy.ServicePort, so we have to either // provide our own implementation of that interface, or else use a // proxy.ServiceChangeTracker to construct them and fill in the map for us. sct := proxy.NewServiceChangeTracker(nil, v1.IPv4Protocol, nil, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/warning/context.go
// text must be valid UTF-8, and must not contain control characters. AddWarning(agent, text string) } // WithWarningRecorder returns a new context that wraps the provided context and contains the provided Recorder implementation. // The returned context can be passed to AddWarning(). func WithWarningRecorder(ctx context.Context, recorder Recorder) context.Context { return context.WithValue(ctx, warningRecorderKey, recorder) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 24 16:37:53 UTC 2022 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeref.go
*/ package unstructured import ( "github.com/google/cel-go/common/types" "github.com/google/cel-go/common/types/ref" "k8s.io/apiserver/pkg/cel/mutation/common" ) // TypeRef is the implementation of TypeRef for an unstructured object. // This is especially usefully when the schema is not known or available. type TypeRef struct { celObjectType *types.Type celTypeType *types.Type }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 00:01:35 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/errors.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package cel // Error is an implementation of the 'error' interface, which represents a // XValidation error. type Error struct { Type ErrorType Detail string } var _ error = &Error{} // Error implements the error interface.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/warningprinter.go
type WarningPrinterOptions struct { // Color indicates that warning output can include ANSI color codes Color bool } // NewWarningPrinter returns an implementation of warningPrinter that outputs warnings to the specified writer. func NewWarningPrinter(out io.Writer, opts WarningPrinterOptions) *WarningPrinter { h := &WarningPrinter{out: out, opts: opts} return h }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 23 11:10:15 UTC 2022 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/api/node/v1alpha1/generated.proto
// that are required to describe the RuntimeClass to the Container Runtime // Interface (CRI) implementation, as well as any other components that need to // understand how the pod will be run. The RuntimeClassSpec is immutable. message RuntimeClassSpec { // runtimeHandler specifies the underlying runtime and configuration that the // CRI implementation will use to handle pods of this class. The possible
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go
if r := recover(); r != nil { handleCrash(ctx, r, additionalHandlers...) } } // handleCrash is the common implementation of HandleCrash and HandleCrash. // Having those call a common implementation ensures that the stack depth // is the same regardless through which path the handlers get invoked.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 9.9K bytes - Viewed (0)