From 9fd4d01270de9aba118f09a24c92e342d06e8d70 Mon Sep 17 00:00:00 2001 From: Ben Luddy Date: Tue, 17 Oct 2023 16:50:15 -0400 Subject: [PATCH] Add skeleton CBOR package and introduce library dependency. Kubernetes-commit: ef27338bef90d32d046736f186a549f4841b8b01 --- pkg/runtime/serializer/cbor/cbor.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pkg/runtime/serializer/cbor/cbor.go diff --git a/pkg/runtime/serializer/cbor/cbor.go b/pkg/runtime/serializer/cbor/cbor.go new file mode 100644 index 000000000..c8176dca7 --- /dev/null +++ b/pkg/runtime/serializer/cbor/cbor.go @@ -0,0 +1,21 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +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 cbor + +import ( + _ "github.com/fxamacker/cbor/v2" +)