-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin usage of operator-framework APIs
The operator-framework API[1] has lots of bundle manipulation tools that we can leverage to make our own code simpler. This begins the journey of leveraging those APIs. This removes a good bit of code that we get from the library. [1] https://github.com/operator-framework/api Signed-off-by: Brad P. Crochet <brad@redhat.com>
- Loading branch information
Showing
10 changed files
with
137 additions
and
278 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package bundle | ||
|
||
import "github.com/operator-framework/api/pkg/manifests" | ||
|
||
type AnnotationsFile struct { | ||
Annotations Annotations `json:"annotations" yaml:"annotations"` | ||
} | ||
|
||
type Annotations struct { | ||
manifests.Annotations | ||
|
||
OpenshiftVersions string `json:"com.redhat.openshift.versions,omitempty" yaml:"com.redhat.openshift.versions,omitempty"` | ||
} |
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.