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 ¶ added in v0.21.0
func ConfigureHelm(cfg *rest.Config) (*action.Configuration, error)
func ReplaceTemplate ¶
func ReplaceTemplate( tmpl Template, gitRepository *gittest.LocalGitRepository, ) error
func WithDigest ¶ added in v0.25.0
func WithDigest(dig string) digest
func WithPrivate ¶ added in v0.12.0
func WithPrivate(enabled bool) private
func WithProject ¶
func WithProject( repo *gittest.LocalGitRepository, testProject string, testRoot string, ) projectOption
func WithProvider ¶ added in v0.17.0
func WithProvider(providerID cloud.ProviderID) provider
Types ¶
type Environment ¶
type Environment struct {
ChartServer Server
V1Digest string
// contains filtered or unexported fields
}
func NewHelmEnvironment ¶ added in v0.21.0
func NewHelmEnvironment(t *testing.T, 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 ¶ added in v0.25.0
func (*OciRegistry) Addr ¶ added in v0.25.0
func (r *OciRegistry) Addr() string
func (*OciRegistry) Close ¶ added in v0.25.0
func (r *OciRegistry) Close()
func (*OciRegistry) URL ¶ added in v0.25.0
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.