-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Resources implementation to their package 🎗
GitResource, ImageResource, … are PipelineResource implementation and are not really part of the API. At least, they shouldn't be part of the `pkg/apis/pipeline` package. This moves those to their own packages under `pkg/apis/resource/v1alpha1`: - `cloudevent` for `CloudEventResource` - `cluster` for `ClusterResource` - `git` for `GitResource` - `image` for `ImageResource` - `pullrequest` for `PullRequestResource` - `storage` for all the storage resources `GCSResource`, `BuildGCSResource` and `ArtifactBucket`, `ArtifactPVC` This renames the struct (to make lint and I happy 😌) and moves `v1alpha1.ResourceFromType` to `resource.FromType` Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
- Loading branch information
1 parent
b0decbf
commit 916cc5b
Showing
229 changed files
with
5,698 additions
and
2,618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.