Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerateCommand ¶
NewGenerateCommand creates and returns a new Command that renders GitOpsSets.
Types ¶
type ProxyArchiveFetcher ¶
type ProxyArchiveFetcher struct { Client corev1.ServicesGetter // contains filtered or unexported fields }
ProxyArchiveFetcher uses a Kubernetes Client to make a "proxy" request via a Kubernetes Service to fetch the archiveURL.
func NewProxyArchiveFetcher ¶
func NewProxyArchiveFetcher(cl corev1.ServicesGetter) *ProxyArchiveFetcher
NewProxyArchiveFetcher creates and returns a new ProxyArchiveFetcher ready for use.
func (*ProxyArchiveFetcher) Fetch ¶
func (p *ProxyArchiveFetcher) Fetch(archiveURL, checksum, dir string) error
Fetch implements the ArchiveFetcher implementation, but uses the Kube service proxy mechanism to get the archive.
Click to show internal directories.
Click to hide internal directories.