Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
6b9dc653
Unverified
Commit
6b9dc653
authored
Apr 08, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76270 from liggitt/type-alias
Add type alias for DirectCodecFactory -> WithoutConversionCodecFactory
parents
097ba59c
104746f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
codec_factory.go
...s.io/apimachinery/pkg/runtime/serializer/codec_factory.go
+4
-0
versioning.go
...machinery/pkg/runtime/serializer/versioning/versioning.go
+4
-2
No files found.
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go
View file @
6b9dc653
...
...
@@ -256,3 +256,7 @@ func (f WithoutConversionCodecFactory) DecoderToVersion(serializer runtime.Decod
Decoder
:
serializer
,
}
}
// DirectCodecFactory was renamed to WithoutConversionCodecFactory in 1.15.
// TODO: remove in 1.16.
type
DirectCodecFactory
=
WithoutConversionCodecFactory
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go
View file @
6b9dc653
...
...
@@ -234,8 +234,10 @@ func (c *codec) Encode(obj runtime.Object, w io.Writer) error {
return
err
}
// DirectEncoder was movend and renamed in 1.15 and will be removed in 1.16.
// DirectEncoder was moved and renamed to runtime.WithVersionEncoder in 1.15.
// TODO: remove in 1.16.
type
DirectEncoder
=
runtime
.
WithVersionEncoder
// DirectDecoder was movend and renamed in 1.15 and will be removed in 1.16.
// DirectDecoder was moved and renamed to runtime.WithoutVersionDecoder in 1.15.
// TODO: remove in 1.16.
type
DirectDecoder
=
runtime
.
WithoutVersionDecoder
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment