Documentation ¶
Index ¶
- Constants
- func NewImageDetails(c client.WithWatch, transport http.RoundTripper) rest.Storage
- func NewImageSign(c client.WithWatch, transport http.RoundTripper) rest.Storage
- func NewImageVerify(c client.WithWatch, transport http.RoundTripper) rest.Storage
- func NewStorage(c kclient.WithWatch, transport http.RoundTripper) rest.Storage
- func NewTagStorage(c client.WithWatch) rest.Storage
- type ImageCopy
- func (i *ImageCopy) Connect(ctx context.Context, _ string, _ runtime.Object, _ rest.Responder) (http.Handler, error)
- func (i *ImageCopy) ConnectMethods() []string
- func (i *ImageCopy) ImageCopy(ctx context.Context, namespace, sourceImage, destImage string, ...) (<-chan ImageProgress, error)
- func (i *ImageCopy) NamespaceScoped() bool
- func (i *ImageCopy) New() runtime.Object
- func (i *ImageCopy) NewConnectOptions() (runtime.Object, bool, string)
- func (i *ImageCopy) RepoCopy(ctx context.Context, namespace, source, dest string, ...) (<-chan ImageProgress, error)
- func (i *ImageCopy) Validate(ctx context.Context, args apiv1.ImageCopy, namespace string) error
- 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 ImageProgress, 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 ImageProgress, error)
- func (i *ImagePush) NamespaceScoped() bool
- func (i *ImagePush) New() runtime.Object
- func (i *ImagePush) NewConnectOptions() (runtime.Object, bool, string)
- type ImageSignStrategy
- type ImageVerifyStrategy
- 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 ¶
func NewImageSign ¶
func NewImageVerify ¶
func NewStorage ¶
Types ¶
type ImageCopy ¶
type ImageCopy struct { *strategy.DestroyAdapter // contains filtered or unexported fields }
func NewImageCopy ¶
func NewImageCopy(c kclient.WithWatch, transport http.RoundTripper) *ImageCopy
func (*ImageCopy) ConnectMethods ¶
func (*ImageCopy) ImageCopy ¶
func (i *ImageCopy) ImageCopy(ctx context.Context, namespace, sourceImage, destImage string, srcAuth, dstAuth *apiv1.RegistryAuth, force bool) (<-chan ImageProgress, error)
func (*ImageCopy) NamespaceScoped ¶
func (*ImageCopy) NewConnectOptions ¶
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) ImagePull ¶
func (i *ImagePull) ImagePull(ctx context.Context, namespace, imageName string, auth *apiv1.RegistryAuth) (<-chan ImageProgress, error)
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 ImageSignStrategy ¶
type ImageSignStrategy struct {
// contains filtered or unexported fields
}
func (*ImageSignStrategy) ImageSign ¶
func (t *ImageSignStrategy) ImageSign(ctx context.Context, namespace string, signature apiv1.ImageSignature) (string, error)
func (*ImageSignStrategy) New ¶
func (t *ImageSignStrategy) New() types.Object
type ImageVerifyStrategy ¶
type ImageVerifyStrategy struct {
// contains filtered or unexported fields
}
func (*ImageVerifyStrategy) ImageVerify ¶
func (t *ImageVerifyStrategy) ImageVerify(ctx context.Context, namespace string, signature apiv1.ImageSignature) error
func (*ImageVerifyStrategy) New ¶
func (t *ImageVerifyStrategy) New() types.Object
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func NewStrategy ¶
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.