Documentation ¶
Index ¶
- type ImageRegistry
- func (r *ImageRegistry) CreateImage(ctx kapi.Context, image *api.Image) error
- func (r *ImageRegistry) DeleteImage(ctx kapi.Context, id string) error
- func (r *ImageRegistry) GetImage(ctx kapi.Context, id string) (*api.Image, error)
- func (r *ImageRegistry) ListImages(ctx kapi.Context, selector labels.Selector) (*api.ImageList, error)
- func (r *ImageRegistry) UpdateImage(ctx kapi.Context, image *api.Image) error
- func (r *ImageRegistry) WatchImages(ctx kapi.Context, label, field labels.Selector, resourceVersion string) (watch.Interface, error)
- type ImageRepositoryRegistry
- func (r *ImageRepositoryRegistry) CreateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error
- func (r *ImageRepositoryRegistry) DeleteImageRepository(ctx kapi.Context, id string) error
- func (r *ImageRepositoryRegistry) GetImageRepository(ctx kapi.Context, id string) (*api.ImageRepository, error)
- func (r *ImageRepositoryRegistry) ListImageRepositories(ctx kapi.Context, selector labels.Selector) (*api.ImageRepositoryList, error)
- func (r *ImageRepositoryRegistry) UpdateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error
- func (r *ImageRepositoryRegistry) WatchImageRepositories(ctx kapi.Context, label, field labels.Selector, resourceVersion string) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageRegistry ¶
func NewImageRegistry ¶
func NewImageRegistry() *ImageRegistry
func (*ImageRegistry) CreateImage ¶
func (*ImageRegistry) DeleteImage ¶
func (r *ImageRegistry) DeleteImage(ctx kapi.Context, id string) error
func (*ImageRegistry) ListImages ¶
func (*ImageRegistry) UpdateImage ¶
type ImageRepositoryRegistry ¶
type ImageRepositoryRegistry struct { Err error ImageRepository *api.ImageRepository ImageRepositories *api.ImageRepositoryList sync.Mutex }
func NewImageRepositoryRegistry ¶
func NewImageRepositoryRegistry() *ImageRepositoryRegistry
func (*ImageRepositoryRegistry) CreateImageRepository ¶
func (r *ImageRepositoryRegistry) CreateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error
func (*ImageRepositoryRegistry) DeleteImageRepository ¶
func (r *ImageRepositoryRegistry) DeleteImageRepository(ctx kapi.Context, id string) error
func (*ImageRepositoryRegistry) GetImageRepository ¶
func (r *ImageRepositoryRegistry) GetImageRepository(ctx kapi.Context, id string) (*api.ImageRepository, error)
func (*ImageRepositoryRegistry) ListImageRepositories ¶
func (r *ImageRepositoryRegistry) ListImageRepositories(ctx kapi.Context, selector labels.Selector) (*api.ImageRepositoryList, error)
func (*ImageRepositoryRegistry) UpdateImageRepository ¶
func (r *ImageRepositoryRegistry) UpdateImageRepository(ctx kapi.Context, repo *api.ImageRepository) error
Click to show internal directories.
Click to hide internal directories.