Documentation
¶
Index ¶
- func GetImage(r string, opt ...Option) (v1.Image, name.Reference, error)
- func GetManifest(r string, opt ...Option) (*remote.Descriptor, error)
- func Head(r string, opt ...Option) (*v1.Descriptor, error)
- func Insecure(o *Options)
- func Tag(refStr string, tags []string, versionLabelKey string, opt ...Option) error
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManifest ¶
func GetManifest(r string, opt ...Option) (*remote.Descriptor, error)
Types ¶
type Option ¶
type Option func(*Options)
Option is a functional option for crane.
func WithTransport ¶
func WithTransport(t http.RoundTripper) Option
WithTransport is a functional option for overriding the default transport for remote operations.
Click to show internal directories.
Click to hide internal directories.