Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRoundTripperFunc ¶
func WithRoundTripperFunc(fn func(req *http.Request, next http.RoundTripper) (*http.Response, error)) func(next http.RoundTripper) http.RoundTripper
Types ¶
type PackExecutable ¶
type PackExecutable struct { task.Task Dest string `json:"dest"` // [Platform]: _ Files map[string]file.File `json:"files"` // Annotations Annotations map[string]string `json:"annotations,omitempty"` // OutFile of OciTar OutFile file.File `json:"outFile"` // File of tar created File file.File `json:"-" output:"file"` }
type Pull ¶
type Pull struct { task.Task // image from Source string `json:"source"` // Platforms of oci tar, if empty it will based on KubePkg Platforms []string `json:"platforms,omitempty"` // Annotations Annotations map[string]string `json:"annotations,omitempty"` // Rename for image repo name // go template rule // `{{ .registry }}/{{ .namespace }}/{{ .name }}` Rename Rename `json:"rename,omitempty"` // OutFile of OciTar OutFile file.File `json:"outFile"` // File of tar created File file.File `json:"-" output:"file"` }
type Push ¶
Click to show internal directories.
Click to hide internal directories.