Documentation
¶
Index ¶
- func ComponentReferencesForImageStream(is *imageapi.ImageStream) (func(string) imagereference.DockerImageReference, error)
- func NewCmd(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
- func NewExtract(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
- func NewInfo(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
- func NewMirror(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
- func NewRelease(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
- func NopManifestMapper(data []byte) ([]byte, error)
- func ReplacementsForImageStream(is *imageapi.ImageStream, allowTags bool, ...) (map[string]string, error)
- type BugInfo
- type BugList
- type CincinnatiMetadata
- type CodeChange
- type ComponentVersions
- type ExtractOptions
- type Image
- type ImageChange
- type ImageReference
- type ImageReferenceDiff
- type InfoOptions
- type ManifestMapper
- func NewComponentVersionsMapper(releaseName string, versions map[string]string, tagsByName map[string][]string) ManifestMapper
- func NewExactMapper(mappings map[string]string) (ManifestMapper, error)
- func NewImageMapper(images map[string]ImageReference) (ManifestMapper, error)
- func NewTransformFromImageStreamFile(path string, input *imageapi.ImageStream, allowMissingImages bool) (ManifestMapper, error)
- type Mapping
- type MergeCommit
- type MirrorOptions
- type NewOptions
- type Payload
- type PayloadVerifier
- type ReleaseDiff
- type ReleaseInfo
- type ReleaseManifestDiff
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentReferencesForImageStream ¶
func ComponentReferencesForImageStream(is *imageapi.ImageStream) (func(string) imagereference.DockerImageReference, error)
func NewCmd ¶
func NewExtract ¶
func NewInfo ¶
func NewMirror ¶
func NewMirror(f kcmdutil.Factory, parentName string, streams genericclioptions.IOStreams) *cobra.Command
NewMirror creates a command to mirror an existing release.
Example command to mirror a release to a local repository to work offline ¶
$ oc adm release mirror \
--from=registry.svc.ci.openshift.org/openshift/v4.0 \
--to=mycompany.com/myrepository/repo
func NewRelease ¶
func ReplacementsForImageStream ¶
func ReplacementsForImageStream(is *imageapi.ImageStream, allowTags bool, fn func(component string) imagereference.DockerImageReference) (map[string]string, error)
Types ¶
type BugInfo ¶
type CincinnatiMetadata ¶
type CodeChange ¶
type CodeChange struct {
Repo string
From, To string
AlternateRepos []string
ImagesAffected []string
}
func (CodeChange) FromShort ¶
func (c CodeChange) FromShort() string
func (CodeChange) ToShort ¶
func (c CodeChange) ToShort() string
type ComponentVersions ¶
ComponentVersions is a map of component names to semantic versions. Names are lowercase alphanumeric and dashes. Semantic versions will have all build labels removed, but prerelease segments are preserved.
func (ComponentVersions) String ¶
func (v ComponentVersions) String() string
type ExtractOptions ¶
type ExtractOptions struct {
genericclioptions.IOStreams
SecurityOptions imagemanifest.SecurityOptions
ParallelOptions imagemanifest.ParallelOptions
From string
Tools