Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Package pkg renamed into internal. - #1

Closed
piotrkowalczuk wants to merge 1 commit into
masterfrom
feature/internal-package
Closed

Package pkg renamed into internal.#1
piotrkowalczuk wants to merge 1 commit into
masterfrom
feature/internal-package

Conversation

@piotrkowalczuk

@piotrkowalczuk piotrkowalczuk commented Jul 23, 2018

Copy link
Copy Markdown

The code stored in pkg looks like something that should be restricted only for internal use. internal directory in GOPATH put restrictions on a code that it contains. It is possible to import code from internal package only in the same GOPATH branch. pkg package is dedicated for libraries that are also meant to be used by client/caller.

More about this concept can be found here.

@piotrkowalczuk
piotrkowalczuk requested a review from pires July 23, 2018 14:48
@pires

pires commented Jul 24, 2018

Copy link
Copy Markdown
Contributor

@piotrkowalczuk the PR description is not enough. Can you please elaborate?

@piotrkowalczuk

Copy link
Copy Markdown
Author

@pires done

@pires

pires commented Sep 7, 2018

Copy link
Copy Markdown
Contributor

Sorry @piotrkowalczuk I've been quite busy with some issues regarding the development of some of the features and haven't been able to look at this properly.

I agree with the argument but I'm not sure all the code moved in this PR should be moved or not, e.g. code related to the operator APIs, which may be imported by separate projects.

After the dust is settled, and the team is satisfied with the delivery, I'll look back into this.

@pires

pires commented May 25, 2019

Copy link
Copy Markdown
Contributor

@piotrkowalczuk can you please rebase?

@piotrkowalczuk

Copy link
Copy Markdown
Author

@pires I'm trying, but #6 blocks me.

@pires

pires commented Jun 2, 2019

Copy link
Copy Markdown
Contributor

Want to give it a shot now @piotrkowalczuk? I'm trying not to import any code from Kubernetes codebase as I don't want to maintain any dependencies.

@piotrkowalczuk

Copy link
Copy Markdown
Author

Continued #8.

@pires
pires deleted the feature/internal-package branch June 3, 2019 23:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants