Documentation ¶
Index ¶
- Variables
- type BundleSpec
- type CatalogSpec
- type DockerImage
- func (l DockerImage) Annotations() (map[string]string, error)
- func (l DockerImage) ArtifactType() string
- func (l DockerImage) Blobs() []oci.Blob
- func (l DockerImage) Config() oci.Blob
- func (l DockerImage) MediaType() string
- func (l DockerImage) SubArtifacts() []oci.Artifact
- func (l DockerImage) Tag() string
- type FBCSource
- type Icon
- type RegistryV1Source
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultFBCSpec = `---
apiVersion: kpm.io/v1
kind: CatalogSpec
type: fbc
fbc: {}
`
View Source
var DefaultRegistryV1Spec = `---
apiVersion: kpm.io/v1
kind: BundleSpec
type: registryV1
registryV1: {}
`
Functions ¶
This section is empty.
Types ¶
type BundleSpec ¶
type BundleSpec struct { metav1.TypeMeta `json:",inline"` Type string `json:"type"` RegistryV1 *RegistryV1Source `json:"registryV1,omitempty"` }
type CatalogSpec ¶
type CatalogSpec struct { metav1.TypeMeta `json:",inline"` DisplayName string `json:"displayName,omitempty"` Publisher string `json:"publisher,omitempty"` Description string `json:"description,omitempty"` ExtraAnnotations map[string]string `json:"annotations,omitempty"` Type string `json:"type"` FBC *FBCSource `json:"fbc,omitempty"` }
type DockerImage ¶
type DockerImage struct {
// contains filtered or unexported fields
}
func NewDockerImage ¶
func NewDockerImage(tag string, configData, blobData []byte, annotations map[string]string) *DockerImage
func (DockerImage) Annotations ¶
func (l DockerImage) Annotations() (map[string]string, error)
func (DockerImage) ArtifactType ¶
func (l DockerImage) ArtifactType() string
func (DockerImage) Blobs ¶
func (l DockerImage) Blobs() []oci.Blob
func (DockerImage) Config ¶
func (l DockerImage) Config() oci.Blob
func (DockerImage) MediaType ¶
func (l DockerImage) MediaType() string
func (DockerImage) SubArtifacts ¶
func (l DockerImage) SubArtifacts() []oci.Artifact
func (DockerImage) Tag ¶
func (l DockerImage) Tag() string
type RegistryV1Source ¶
Click to show internal directories.
Click to hide internal directories.