Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = imageStreamMappingStrategy{kapi.Scheme, kapi.SimpleNameGenerator}
Strategy is the default logic that applies when creating ImageStreamMapping objects via the REST API.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements the RESTStorage interface in terms of an image registry and image stream registry. It only supports the Create method and is used to simplify adding a new Image and tag to an ImageStream.
func NewREST ¶
func NewREST(imageRegistry image.Registry, imageStreamRegistry imagestream.Registry) *REST
NewREST returns a new REST.
func (*REST) Create ¶
Create registers a new image (if it doesn't exist) and updates the specified ImageStream's tags.
Click to show internal directories.
Click to hide internal directories.