rendering

package
v0.0.0-...-54d0854 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 NewProviderWithAuthentication

func NewProviderWithAuthentication(provider chart.Provider, authenticator chart.ExternalComponentAuthenticator) chart.Provider

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 (cp ChartProviderWithAuthentication) RenderCRDFiltered(version string, excluded []string) ([]*chart.Manifest, error)

func (ChartProviderWithAuthentication) RenderManifest

func (cp ChartProviderWithAuthentication) RenderManifest(component *chart.Component) (*chart.Manifest, error)

func (ChartProviderWithAuthentication) WithFilter

type ExternalComponentAuthenticator

type ExternalComponentAuthenticator struct {
	// contains filtered or unexported fields
}

func (ExternalComponentAuthenticator) Do

type FilterFunc

type FilterFunc func([]*unstructured.Unstructured) ([]*unstructured.Unstructured, error)

func NewFilterOutAnnotatedManifests

func NewFilterOutAnnotatedManifests(annotation string) FilterFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL