Documentation ¶
Index ¶
- Constants
- func NewImageDetails(c client.WithWatch, transport http.RoundTripper) rest.Storage
- func NewStorage(c kclient.WithWatch) rest.Storage
- func NewTagStorage(c client.WithWatch) rest.Storage
- type ImageDetailStrategy
- type ImageProgress
- type ImagePull
- func (i *ImagePull) Connect(ctx context.Context, id string, options runtime.Object, r rest.Responder) (http.Handler, error)
- func (i *ImagePull) ConnectMethods() []string
- func (i *ImagePull) ImagePull(ctx context.Context, namespace, imageName string, auth *apiv1.RegistryAuth) (<-chan ggcrv1.Update, error)
- func (i *ImagePull) NamespaceScoped() bool
- func (i *ImagePull) New() runtime.Object
- func (i *ImagePull) NewConnectOptions() (runtime.Object, bool, string)
- type ImagePush
- func (i *ImagePush) Connect(ctx context.Context, id string, options runtime.Object, r rest.Responder) (http.Handler, error)
- func (i *ImagePush) ConnectMethods() []string
- func (i *ImagePush) ImagePush(ctx context.Context, image *apiv1.Image, tagName string, ...) (*apiv1.Image, <-chan ggcrv1.Update, error)
- func (i *ImagePush) NamespaceScoped() bool
- func (i *ImagePush) New() runtime.Object
- func (i *ImagePush) NewConnectOptions() (runtime.Object, bool, string)
- type Strategy
- func (s *Strategy) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (s *Strategy) Delete(ctx context.Context, obj types.Object) (types.Object, error)
- func (s *Strategy) Get(ctx context.Context, namespace, name string) (types.Object, error)
- func (s *Strategy) ImageGet(ctx context.Context, namespace, name string) (*apiv1.Image, error)
- func (s *Strategy) Update(ctx context.Context, obj types.Object) (types.Object, error)
- func (s *Strategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) (result field.ErrorList)
- type TagStrategy
- type Translator
Constants ¶
View Source
const (
DefaultRegistry = "NO_DEFAULT"
)
Variables ¶
This section is empty.
Functions ¶
func NewImageDetails ¶
Types ¶
type ImageDetailStrategy ¶
type ImageDetailStrategy struct {
// contains filtered or unexported fields
}
func (*ImageDetailStrategy) New ¶
func (s *ImageDetailStrategy) New() types.Object
type ImageProgress ¶
type ImagePull ¶
type ImagePull struct { *strategy.DestroyAdapter // contains filtered or unexported fields }
func NewImagePull ¶
func (*ImagePull) ConnectMethods ¶
func (*ImagePull) NamespaceScoped ¶
type ImagePush ¶
type ImagePush struct { *strategy.DestroyAdapter // contains filtered or unexported fields }
func NewImagePush ¶
func NewImagePush(c client.WithWatch, transport http.RoundTripper) *ImagePush
func (*ImagePush) ConnectMethods ¶
func (*ImagePush) NamespaceScoped ¶
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func (*Strategy) ConvertToTable ¶
type TagStrategy ¶
type TagStrategy struct {
// contains filtered or unexported fields
}
func (*TagStrategy) ImageTag ¶
func (t *TagStrategy) ImageTag(ctx context.Context, namespace, imageName string, tagToAdd string) (*v1.ImageInstance, error)
func (*TagStrategy) New ¶
func (t *TagStrategy) New() types.Object
type Translator ¶
type Translator struct { }
func (*Translator) FromPublic ¶
func (s *Translator) FromPublic(obj mtypes.Object) mtypes.Object
Click to show internal directories.
Click to hide internal directories.