{"modulePath":"github.com/opdev/operator-certification","version":"v0.0.0-20231026160944-34b34eac2554","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bundle\n\n## Functions\n\n```go\nfunc GetSecurityContextConstraints(ctx context.Context, bundlePath string) ([]string, error)\n```\nGetSecurityContextConstraints returns an string array of SCC resource names requested by the operator as specified in the csv\n\n## Types\n\n```go\ntype Annotations struct {\n\tmanifests.Annotations\n\n\tOpenshiftVersions string `json:\"com.redhat.openshift.versions,omitempty\" yaml:\"com.redhat.openshift.versions,omitempty\"`\n}\n```\n\n```go\nfunc LoadAnnotations(ctx context.Context, r io.Reader) (*Annotations, error)\n```\nLoadAnnotations reads an operator bundle's annotations.yaml from r.\n\n```go\ntype AnnotationsFile struct {\n\tAnnotations Annotations `json:\"annotations\" yaml:\"annotations\"`\n}\n```\n\n```go\ntype Report struct {\n\tResults []validationerrors.ManifestResult\n\tPassed  bool\n}\n```\n\n```go\nfunc Validate(ctx context.Context, imagePath string) (*Report, error)\n```\n\n","path":"github.com/opdev/operator-certification/internal/bundle","name":"bundle","synopsis":"","isRedistributable":true}
