Versions in this module Expand all Collapse all v0 v0.2.0 Oct 11, 2024 v0.1.2 May 31, 2024 Changes in this version + func StartWithExtensions(env *envtest.Environment, ext *EnvironmentExtensions) (*rest.Config, error) + func StopWithExtensions(env *envtest.Environment, ext *EnvironmentExtensions) error + func WaitUntilAPIServicesAvailable(ctx context.Context, c client.Client, ...) error + func WaitUntilAPIServicesReady(ctx context.Context, ext *EnvironmentExtensions, c client.Client, ...) error + func WaitUntilAPIServicesReadyWithTimeout(timeout time.Duration, ext *EnvironmentExtensions, c client.Client, ...) error + func WaitUntilGroupVersionsDiscoverable(ctx context.Context, c client.Client, scheme *runtime.Scheme, ...) error + func WaitUntilGroupVersionsDiscoverableWithTimeout(timeout time.Duration, c client.Client, scheme *runtime.Scheme, ...) error + func WaitUntilTypesDiscoverable(ctx context.Context, c client.Client, objs ...client.Object) error + func WaitUntilTypesDiscoverableWithTimeout(timeout time.Duration, c client.Client, objs ...client.Object) error + type APIServerInstallOptions struct + APIServices []*apiregistrationv1.APIService + ErrorIfPathMissing bool + LocalServingCAData []byte + LocalServingCertDir string + LocalServingHost string + LocalServingHostExternalName string + LocalServingPort int + Paths []string + ServiceName string + ServiceNamespace string + func (o *APIServerInstallOptions) ApplyAPIServices(cfg *rest.Config) error + func (o *APIServerInstallOptions) ModifyAPIServiceDefinitions(cfg *rest.Config) error + func (o *APIServerInstallOptions) PrepWithoutInstalling(cfg *rest.Config) error + type APIServiceInstallOptions struct + APIServers []APIServerInstallOptions + ClientCAData []byte + ClientCertDir string + func (o *APIServiceInstallOptions) AddAPIServerInstallOptions(opts APIServerInstallOptions) *APIServerInstallOptions + func (o *APIServiceInstallOptions) AllAPIServerInstallOptions() []*APIServerInstallOptions + func (o *APIServiceInstallOptions) Install(cfg *rest.Config) error + func (o *APIServiceInstallOptions) SetupClientCA() error + func (o *APIServiceInstallOptions) Stop() error + type AdditionalService struct + Host string + Name string + Port int + type EnvironmentExtensions struct + APIServiceDirectoryPaths []string + APIServiceInstallOptions APIServiceInstallOptions + APIServices []*apiregistrationv1.APIService + AdditionalServices []AdditionalService + ErrorIfAPIServicePathIsMissing bool + func (e *EnvironmentExtensions) AddAPIServerInstallOptions(opts APIServerInstallOptions) *APIServerInstallOptions + func (e *EnvironmentExtensions) GetAdditionalServiceHost(name string) string + func (e *EnvironmentExtensions) GetAdditionalServiceHostPort(name string) (string, int) + func (e *EnvironmentExtensions) GetAdditionalServicePort(name string) int