Documentation ¶
Overview ¶
Package fetch provides information retrieval, mostly by wrapping vendir.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(coreClient kubernetes.Interface, skipTLSConfig SkipTLSConfig) Factory
type Inline ¶
type Inline struct {
// contains filtered or unexported fields
}
Inline struct helps you fetch files or strings from a storage location such as a configmap or secret. For an example if you had a controller in your cluster that generated certs and stored them in a configmap or secret, you could use this inline fetcher to retrieve those certs to pass them on to a templating step.
func NewInline ¶
func NewInline(opts v1alpha1.AppFetchInline, nsName string, coreClient kubernetes.Interface) *Inline
type SkipTLSConfig ¶ added in v0.18.0
type Vendir ¶ added in v0.14.0
type Vendir struct {
// contains filtered or unexported fields
}
func NewVendir ¶ added in v0.14.0
func NewVendir(nsName string, coreClient kubernetes.Interface, skipTLSConfig SkipTLSConfig) *Vendir
func (*Vendir) AddDir ¶ added in v0.14.0
AddDir adds a directory to vendir's config for each fetcher that the app spec declares. vendir fetches resources into your filesystem, so the destination directory is a core part of vendir config.
func (*Vendir) Config ¶ added in v0.30.3
func (v *Vendir) Config() vendirconf.Config
Config is just for accessing (a copy of) the internal config for testing; you probably don't want to call this IRL