Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move code from main into sub packages #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MisterMX
Copy link
Contributor

Description of your changes

Move internal logic into internal/fn and expose constructor in pkg/fn that can be imported in other modules.

Similar to crossplane-contrib/function-patch-and-transform#76.

I have:

@MisterMX
Copy link
Contributor Author

Rebased on b1998a7 and added some defaults to NewFunction to make a function use osFS and logging.NewNoopLogger to avoid nil derefs.

Move internal logic into `internal/fn` and expose constructor in
`pkg/fn` that can be importet in other modules.

Signed-off-by: Maximilian Blatt <maximilian.blatt-extern@deutschebahn.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant