Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Initial types package creation #1096

Merged
merged 3 commits into from
Jan 8, 2019
Merged

Conversation

sameo
Copy link

@sameo sameo commented Jan 8, 2019

The types package holds all shared virtcontainers types.
With the separation of the virtcontainers code into separate packages,
we need a types one to not create circular dependencies.

This package holds sandbox related types and structures for now. It will
grow as virtcontainers code is moved into their own internal packages.

Fixes #1095

@jodh-intel
Copy link
Contributor

jodh-intel commented Jan 8, 2019

Nice!

lgtm

Alas, the static checks have freaked out a bit over this change (see the Travis log).

Approved with PullApprove

Samuel Ortiz added 2 commits January 8, 2019 14:24
Since we're going to have both external and internal types packages, we
alias the external one as vcTypes. And the internal one will be usable
through the types namespace.

Signed-off-by: Samuel Ortiz <[email protected]>
The types package holds all shared virtcontainers types.
With the separation of the virtcontainers code into separate packages,
we need a types one to not create circular dependencies.

This package holds sandbox related types and structures for now. It will
grow as virtcontainers code is moved into their own internal packages.

Signed-off-by: Samuel Ortiz <[email protected]>
@sameo
Copy link
Author

sameo commented Jan 8, 2019

Alas, the static checks have freaked out a bit over this change (see the Travis log).

Should be fixed now...

We can now remove all the sandbox shared types and convert the rest of
the code to using the new internal types package.

This commit includes virtcontainers, cli and containerd-shim changes in
one atomic change in order to not break bisect'ibility.

Fixes: kata-containers#1095

Signed-off-by: Samuel Ortiz <[email protected]>
@jodh-intel
Copy link
Contributor

@sameo - thanks.

/retest

@sameo
Copy link
Author

sameo commented Jan 8, 2019

@jodh-intel I restarted the cri-containerd jenkins, it looked like a flake.

@sameo sameo requested a review from sboeuf January 8, 2019 15:47
@jodh-intel
Copy link
Contributor

Ping @kata-containers/runtime.

@egernst
Copy link
Member

egernst commented Jan 8, 2019

@sboeuf , please merge if you approve the changes!

Copy link

@sboeuf sboeuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good!

@sboeuf sboeuf merged commit 142d3b4 into kata-containers:master Jan 8, 2019
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.

4 participants