Documentation
¶
Index ¶
- type Tester
- func (t *Tester) ClusterScope() *Tester
- func (t *Tester) TestCreate(valid runtime.Object, invalid ...runtime.Object)
- func (t *Tester) TestCreateGeneratesName(valid runtime.Object)
- func (t *Tester) TestCreateGeneratesNameReturnsServerTimeout(valid runtime.Object)
- func (t *Tester) TestCreateHasMetadata(valid runtime.Object)
- func (t *Tester) TestCreateInvokesValidation(invalid ...runtime.Object)
- func (t *Tester) TestCreateRejectsMismatchedNamespace(valid runtime.Object)
- func (t *Tester) TestCreateRejectsNamespace(valid runtime.Object)
- func (t *Tester) TestCreateResetsUserData(valid runtime.Object)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tester ¶
type Tester struct {
*testing.T
// contains filtered or unexported fields
}
func New ¶
func New(t *testing.T, storage apiserver.RESTStorage, storageError injectErrorFunc) *Tester
func (*Tester) ClusterScope ¶
func (t *Tester) ClusterScope() *Tester
func (*Tester) TestCreate ¶
func (t *Tester) TestCreate(valid runtime.Object, invalid ...runtime.Object)
func (*Tester) TestCreateGeneratesName ¶
func (t *Tester) TestCreateGeneratesName(valid runtime.Object)
func (*Tester) TestCreateGeneratesNameReturnsServerTimeout ¶ added in v0.11.0
func (t *Tester) TestCreateGeneratesNameReturnsServerTimeout(valid runtime.Object)
func (*Tester) TestCreateHasMetadata ¶
func (t *Tester) TestCreateHasMetadata(valid runtime.Object)
func (*Tester) TestCreateInvokesValidation ¶
func (t *Tester) TestCreateInvokesValidation(invalid ...runtime.Object)
func (*Tester) TestCreateRejectsMismatchedNamespace ¶
func (t *Tester) TestCreateRejectsMismatchedNamespace(valid runtime.Object)
func (*Tester) TestCreateRejectsNamespace ¶
func (t *Tester) TestCreateRejectsNamespace(valid runtime.Object)
func (*Tester) TestCreateResetsUserData ¶
func (t *Tester) TestCreateResetsUserData(valid runtime.Object)
Click to show internal directories.
Click to hide internal directories.