Documentation ¶
Index ¶
- Variables
- func DockerImageRepositoryNodeName(o imageapi.DockerImageReference) osgraph.UniqueName
- func EnsureDockerRepositoryNode(g osgraph.MutableUniqueGraph, name, tag string) graph.Node
- func EnsureImageLayerNode(g osgraph.MutableUniqueGraph, layer string) graph.Node
- func EnsureImageNode(g osgraph.MutableUniqueGraph, img *imageapi.Image) graph.Node
- func EnsureImageStreamNode(g osgraph.MutableUniqueGraph, stream *imageapi.ImageStream) graph.Node
- func EnsureImageStreamTagNode(g osgraph.MutableUniqueGraph, namespace, name, tag string) graph.Node
- func FindImage(g osgraph.MutableUniqueGraph, imageName string) graph.Node
- func FindImageStream(g osgraph.MutableUniqueGraph, stream *imageapi.ImageStream) graph.Node
- func ImageLayerNodeName(layer string) osgraph.UniqueName
- func ImageNodeName(o *imageapi.Image) osgraph.UniqueName
- func ImageStreamNodeName(o *imageapi.ImageStream) osgraph.UniqueName
- func ImageStreamTagNodeName(o *imageapi.ImageStream, tag string) osgraph.UniqueName
- type DockerImageRepositoryNode
- type ImageLayerNode
- type ImageNode
- type ImageStreamNode
- type ImageStreamTagNode
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ImageStreamNodeKind = reflect.TypeOf(imageapi.ImageStream{}).Name() ImageNodeKind = reflect.TypeOf(imageapi.Image{}).Name() ImageStreamTagNodeKind = reflect.TypeOf(imageapi.ImageStreamTag{}).Name() // non-api types DockerRepositoryNodeKind = reflect.TypeOf(imageapi.DockerImageReference{}).Name() ImageLayerNodeKind = "ImageLayer" )
Functions ¶
func DockerImageRepositoryNodeName ¶
func DockerImageRepositoryNodeName(o imageapi.DockerImageReference) osgraph.UniqueName
func EnsureDockerRepositoryNode ¶
func EnsureDockerRepositoryNode(g osgraph.MutableUniqueGraph, name, tag string) graph.Node
EnsureDockerRepositoryNode adds the named Docker repository tag reference to the graph if it does not already exist. If the reference is invalid, the Name field of the graph will be used directly.
func EnsureImageLayerNode ¶
func EnsureImageLayerNode(g osgraph.MutableUniqueGraph, layer string) graph.Node
EnsureImageLayerNode adds a graph node for the layer if it does not already exist.
func EnsureImageNode ¶
func EnsureImageStreamNode ¶
func EnsureImageStreamNode(g osgraph.MutableUniqueGraph, stream *imageapi.ImageStream) graph.Node
EnsureImageStreamNode adds a graph node for the Image Stream if it does not already exist.
func EnsureImageStreamTagNode ¶
func EnsureImageStreamTagNode(g osgraph.MutableUniqueGraph, namespace, name, tag string) graph.Node
EnsureImageStreamTagNode adds a graph node for the specific tag in an Image Stream if it does not already exist.
func FindImageStream ¶
func FindImageStream(g osgraph.MutableUniqueGraph, stream *imageapi.ImageStream) graph.Node
func ImageLayerNodeName ¶
func ImageLayerNodeName(layer string) osgraph.UniqueName
func ImageNodeName ¶
func ImageNodeName(o *imageapi.Image) osgraph.UniqueName
func ImageStreamNodeName ¶
func ImageStreamNodeName(o *imageapi.ImageStream) osgraph.UniqueName
func ImageStreamTagNodeName ¶
func ImageStreamTagNodeName(o *imageapi.ImageStream, tag string) osgraph.UniqueName
Types ¶
type DockerImageRepositoryNode ¶
type DockerImageRepositoryNode struct { osgraph.Node Ref imageapi.DockerImageReference }
func (DockerImageRepositoryNode) ImageSpec ¶
func (n DockerImageRepositoryNode) ImageSpec() string
func (DockerImageRepositoryNode) ImageTag ¶
func (n DockerImageRepositoryNode) ImageTag() string
func (*DockerImageRepositoryNode) Kind ¶
func (*DockerImageRepositoryNode) Kind() string
func (DockerImageRepositoryNode) String ¶
func (n DockerImageRepositoryNode) String() string
type ImageLayerNode ¶
func (*ImageLayerNode) Kind ¶
func (*ImageLayerNode) Kind() string
func (ImageLayerNode) Object ¶
func (n ImageLayerNode) Object() interface{}
func (ImageLayerNode) String ¶
func (n ImageLayerNode) String() string
type ImageStreamNode ¶
type ImageStreamNode struct { osgraph.Node *imageapi.ImageStream }
func (*ImageStreamNode) Kind ¶
func (*ImageStreamNode) Kind() string
func (ImageStreamNode) Object ¶
func (n ImageStreamNode) Object() interface{}
func (ImageStreamNode) String ¶
func (n ImageStreamNode) String() string
type ImageStreamTagNode ¶
type ImageStreamTagNode struct { osgraph.Node *imageapi.ImageStream Tag string }
func (ImageStreamTagNode) ImageSpec ¶
func (n ImageStreamTagNode) ImageSpec() string
func (ImageStreamTagNode) ImageTag ¶
func (n ImageStreamTagNode) ImageTag() string
func (*ImageStreamTagNode) Kind ¶
func (*ImageStreamTagNode) Kind() string
func (ImageStreamTagNode) Object ¶
func (n ImageStreamTagNode) Object() interface{}
func (ImageStreamTagNode) String ¶
func (n ImageStreamTagNode) String() string
Click to show internal directories.
Click to hide internal directories.