Documentation ¶
Index ¶
- Constants
- func NewExternalComponentAuthenticator() (chart.ExternalComponentAuthenticator, error)
- func NewProviderWithAuthentication(provider chart.Provider, authenticator chart.ExternalComponentAuthenticator) chart.Provider
- func NewProviderWithFilters(provider chart.Provider, filterFuncs ...FilterFunc) chart.Provider
- type ChartProviderWithAuthentication
- func (cp ChartProviderWithAuthentication) Configuration(component *chart.Component) (map[string]interface{}, error)
- func (cp ChartProviderWithAuthentication) RenderCRD(version string) ([]*chart.Manifest, error)
- func (cp ChartProviderWithAuthentication) RenderCRDFiltered(version string, excluded []string) ([]*chart.Manifest, error)
- func (cp ChartProviderWithAuthentication) RenderManifest(component *chart.Component) (*chart.Manifest, error)
- func (cp ChartProviderWithAuthentication) WithFilter(filter chart.Filter) chart.Provider
- type ExternalComponentAuthenticator
- type FilterFunc
Constants ¶
View Source
const ( TokenEnvVariable = "GIT_CLONE_TOKEN" //#nosec [-- Ignore nosec false positive. It's not a credential, just an environment variable name] AuthorizationHeader = "Authorization" )
Variables ¶
This section is empty.
Functions ¶
func NewExternalComponentAuthenticator ¶
func NewExternalComponentAuthenticator() (chart.ExternalComponentAuthenticator, error)
func NewProviderWithFilters ¶
func NewProviderWithFilters(provider chart.Provider, filterFuncs ...FilterFunc) chart.Provider
Types ¶
type ChartProviderWithAuthentication ¶
type ChartProviderWithAuthentication struct {
// contains filtered or unexported fields
}
func (ChartProviderWithAuthentication) Configuration ¶
func (cp ChartProviderWithAuthentication) Configuration(component *chart.Component) (map[string]interface{}, error)
func (ChartProviderWithAuthentication) RenderCRD ¶
func (cp ChartProviderWithAuthentication) RenderCRD(version string) ([]*chart.Manifest, error)
func (ChartProviderWithAuthentication) RenderCRDFiltered ¶
func (ChartProviderWithAuthentication) RenderManifest ¶
func (ChartProviderWithAuthentication) WithFilter ¶
func (cp ChartProviderWithAuthentication) WithFilter(filter chart.Filter) chart.Provider
type ExternalComponentAuthenticator ¶
type ExternalComponentAuthenticator struct {
// contains filtered or unexported fields
}
func (ExternalComponentAuthenticator) Do ¶
func (e ExternalComponentAuthenticator) Do(r *http.Request)
type FilterFunc ¶
type FilterFunc func([]*unstructured.Unstructured) ([]*unstructured.Unstructured, error)
func NewFilterOutAnnotatedManifests ¶
func NewFilterOutAnnotatedManifests(annotation string) FilterFunc
Click to show internal directories.
Click to hide internal directories.