Documentation
¶
Index ¶
- func ConfigureHelm(cfg *rest.Config) (*action.Configuration, error)
- func Enabled(isEnabled bool) enabled
- func ReplaceTemplate(tmpl Template, gitRepository *gittest.LocalGitRepository) error
- func WithDigest(dig string) digest
- func WithOCI(enabled bool) oci
- func WithPrivate(enabled bool) private
- func WithProject(repo *gittest.LocalGitRepository, testProject string, testRoot string) projectOption
- func WithProvider(providerID cloud.ProviderID) provider
- type Environment
- type OciRegistry
- type Option
- type Server
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHelm ¶
func ConfigureHelm(cfg *rest.Config) (*action.Configuration, error)
func ReplaceTemplate ¶
func ReplaceTemplate( tmpl Template, gitRepository *gittest.LocalGitRepository, ) error
func WithDigest ¶
func WithDigest(dig string) digest
func WithPrivate ¶
func WithPrivate(enabled bool) private
func WithProject ¶
func WithProject( repo *gittest.LocalGitRepository, testProject string, testRoot string, ) projectOption
func WithProvider ¶
func WithProvider(providerID cloud.ProviderID) provider
Types ¶
type Environment ¶
type Environment struct { ChartServer Server V1Digest string // contains filtered or unexported fields }
func NewHelmEnvironment ¶
func NewHelmEnvironment(t testing.TB, opts ...Option) (*Environment, error)
NewHelmEnvironment creates Helm chart archives and starts either and oci or yaml based Helm repository.
func (Environment) Close ¶
func (env Environment) Close()
type OciRegistry ¶
func (*OciRegistry) Addr ¶
func (r *OciRegistry) Addr() string
func (*OciRegistry) Close ¶
func (r *OciRegistry) Close()
func (*OciRegistry) URL ¶
func (r *OciRegistry) URL() string
type Server ¶
type Server interface { // base URL of form http://ipaddr:port with no trailing slash URL() string Addr() string Close() }
Click to show internal directories.
Click to hide internal directories.