endpointslice-controller

module
v0.0.0-...-ffb33e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2025 License: Apache-2.0

README

EndpointSlice Controller

This repository is a fork of k8s endpointslice controller pkg available here

This fork was created to avoid importing k8s.io/kubernetes into projects.

The diff between the upstream and this fork should be minimal. In case this repository needs to be updated, the following commands should be performed:

tag="v1.29.3"
url="https://raw.githubusercontent.com/kubernetes/kubernetes/${tag}"

curl "${url}/pkg/controller/endpointslice/endpointslice_controller.go" > endpointslice/endpointslice_controller.go
curl "${url}/pkg/controller/endpointslice/endpointslice_controller_test.go" > endpointslice/endpointslice_controller_test.go
curl "${url}/pkg/controller/endpointslice/OWNERS" > endpointslice/OWNERS

curl "${url}/pkg/controller/endpointslice/config/doc.go" > endpointslice/config/doc.go
curl "${url}/pkg/controller/endpointslice/config/types.go" > endpointslice/config/types.go
curl "${url}/pkg/controller/endpointslice/config/zz_generated.deepcopy.go" > endpointslice/config/zz_generated.deepcopy.go

curl "${url}/pkg/controller/util/endpointslice/errors.go" > util/endpointslice/errors.go
curl "${url}/pkg/controller/util/endpointslice/OWNERS" > util/endpointslice/OWNERS

And manually check if there are no major differences between the upstream and the fork.

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL