Documentation ¶
Index ¶
- type InstanceAdminInstanceConfigTestSuiteConfig
- type InstanceAdminInstancePartitionTestSuiteConfig
- type InstanceAdminInstanceTestSuiteConfig
- type InstanceAdminTestSuite
- func (fx InstanceAdminTestSuite) TestInstance(ctx context.Context, options InstanceAdminInstanceTestSuiteConfig)
- func (fx InstanceAdminTestSuite) TestInstanceConfig(ctx context.Context, options InstanceAdminInstanceConfigTestSuiteConfig)
- func (fx InstanceAdminTestSuite) TestInstancePartition(ctx context.Context, options InstanceAdminInstancePartitionTestSuiteConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceAdminInstanceConfigTestSuiteConfig ¶ added in v0.17.0
type InstanceAdminInstanceConfigTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *InstanceConfig // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *InstanceConfig // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type InstanceAdminInstancePartitionTestSuiteConfig ¶ added in v0.17.0
type InstanceAdminInstancePartitionTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *InstancePartition // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *InstancePartition // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type InstanceAdminInstanceTestSuiteConfig ¶ added in v0.17.0
type InstanceAdminInstanceTestSuiteConfig struct { // The parents to use when creating resources. // At least one parent needs to be set. Depending on methods available on the resource, // more may be required. If insufficient number of parents are // provided the test will fail. Parents []string // Create should return a resource which is valid to create, i.e. // all required fields set. Create func(parent string) *Instance // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Instance // Patterns of tests to skip. // For example if a service has a Get method: // Skip: ["Get"] will skip all tests for Get. // Skip: ["Get/persisted"] will only skip the subtest called "persisted" of Get. Skip []string // contains filtered or unexported fields }
type InstanceAdminTestSuite ¶
func (InstanceAdminTestSuite) TestInstance ¶
func (fx InstanceAdminTestSuite) TestInstance(ctx context.Context, options InstanceAdminInstanceTestSuiteConfig)
func (InstanceAdminTestSuite) TestInstanceConfig ¶
func (fx InstanceAdminTestSuite) TestInstanceConfig(ctx context.Context, options InstanceAdminInstanceConfigTestSuiteConfig)
func (InstanceAdminTestSuite) TestInstancePartition ¶ added in v0.17.0
func (fx InstanceAdminTestSuite) TestInstancePartition(ctx context.Context, options InstanceAdminInstancePartitionTestSuiteConfig)
Click to show internal directories.
Click to hide internal directories.