Documentation ¶
Index ¶
- func AssertCondition(t *testing.T, bundle *smith_v1.Bundle, ...) *smith_v1.BundleCondition
- func IsBundleNewerCond(namespace, name string, resourceVersions ...string) watch.ConditionFunc
- func IsBundleStatusCond(namespace, name string, cType smith_v1.BundleConditionType, ...) watch.ConditionFunc
- func SetupApp(t *testing.T, bundle *smith_v1.Bundle, serviceCatalog, createBundle bool, ...)
- func SleeperScheme() *runtime.Scheme
- func TestSetup(t *testing.T) (*rest.Config, *kubernetes.Clientset, *smithClientset.Clientset)
- type ItConfig
- func (cfg *ItConfig) AssertBundle(ctx context.Context, bundle *smith_v1.Bundle, resourceVersions ...string) *smith_v1.Bundle
- func (cfg *ItConfig) AssertBundleTimeout(ctx context.Context, bundle *smith_v1.Bundle, resourceVersion ...string) *smith_v1.Bundle
- func (cfg *ItConfig) AwaitBundleCondition(conditions ...watch.ConditionFunc) *smith_v1.Bundle
- func (cfg *ItConfig) CreateObject(ctxTest context.Context, obj, res runtime.Object, resourcePath string, ...)
- type TestFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCondition ¶
func AssertCondition(t *testing.T, bundle *smith_v1.Bundle, conditionType smith_v1.BundleConditionType, status smith_v1.ConditionStatus) *smith_v1.BundleCondition
func IsBundleNewerCond ¶
func IsBundleNewerCond(namespace, name string, resourceVersions ...string) watch.ConditionFunc
func IsBundleStatusCond ¶
func IsBundleStatusCond(namespace, name string, cType smith_v1.BundleConditionType, status smith_v1.ConditionStatus) watch.ConditionFunc
func SleeperScheme ¶
func TestSetup ¶
func TestSetup(t *testing.T) (*rest.Config, *kubernetes.Clientset, *smithClientset.Clientset)
Types ¶
type ItConfig ¶
type ItConfig struct { T *testing.T Namespace string Bundle *smith_v1.Bundle CreatedBundle *smith_v1.Bundle Config *rest.Config Clientset kubernetes.Interface Sc smith.SmartClient BundleClient smithClientset.Interface }
func (*ItConfig) AssertBundle ¶
func (*ItConfig) AssertBundleTimeout ¶
func (*ItConfig) AwaitBundleCondition ¶
func (cfg *ItConfig) AwaitBundleCondition(conditions ...watch.ConditionFunc) *smith_v1.Bundle
Click to show internal directories.
Click to hide internal directories.