Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements the RESTStorage interface for ImageStreamTag It only supports the Get method and is used to simplify retrieving an Image by tag from an ImageStream
func NewREST ¶
func NewREST(imageRegistry image.Registry, imageStreamRegistry imagestream.Registry) *REST
NewREST returns a new REST.
func (*REST) Delete ¶
Delete removes a tag from a stream. `id` is of the format <stream name>:<tag>. The associated image that the tag points to is *not* deleted. The tag history remains intact and is not deleted.
type Registry ¶
type Registry interface { GetImageStreamTag(ctx kapi.Context, nameAndTag string) (*api.ImageStreamTag, error) DeleteImageStreamTag(ctx kapi.Context, nameAndTag string) (*kapi.Status, error) }
Registry is an interface for things that know how to store ImageStreamTag objects.
func NewRegistry ¶
NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.
Click to show internal directories.
Click to hide internal directories.