Documentation
¶
Index ¶
- type AnnotationSpecTestSuiteConfig
- type AnnotationTestSuiteConfig
- type ArtifactTestSuiteConfig
- type BatchPredictionJobTestSuiteConfig
- type ContextTestSuiteConfig
- type CustomJobTestSuiteConfig
- type DataItemTestSuiteConfig
- type DataLabelingJobTestSuiteConfig
- type DatasetServiceTestSuite
- func (fx DatasetServiceTestSuite) TestAnnotation(ctx context.Context, options AnnotationTestSuiteConfig)
- func (fx DatasetServiceTestSuite) TestAnnotationSpec(ctx context.Context, options AnnotationSpecTestSuiteConfig)
- func (fx DatasetServiceTestSuite) TestDataItem(ctx context.Context, options DataItemTestSuiteConfig)
- func (fx DatasetServiceTestSuite) TestDataset(ctx context.Context, options DatasetTestSuiteConfig)
- func (fx DatasetServiceTestSuite) TestSavedQuery(ctx context.Context, options SavedQueryTestSuiteConfig)
- type DatasetTestSuiteConfig
- type EndpointServiceTestSuite
- type EndpointTestSuiteConfig
- type EntityTypeTestSuiteConfig
- type ExecutionTestSuiteConfig
- type FeatureTestSuiteConfig
- type FeaturestoreServiceTestSuite
- func (fx FeaturestoreServiceTestSuite) TestEntityType(ctx context.Context, options EntityTypeTestSuiteConfig)
- func (fx FeaturestoreServiceTestSuite) TestFeature(ctx context.Context, options FeatureTestSuiteConfig)
- func (fx FeaturestoreServiceTestSuite) TestFeaturestore(ctx context.Context, options FeaturestoreTestSuiteConfig)
- type FeaturestoreTestSuiteConfig
- type HyperparameterTuningJobTestSuiteConfig
- type IndexEndpointServiceTestSuite
- type IndexEndpointTestSuiteConfig
- type IndexServiceTestSuite
- type IndexTestSuiteConfig
- type JobServiceTestSuite
- func (fx JobServiceTestSuite) TestBatchPredictionJob(ctx context.Context, options BatchPredictionJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestCustomJob(ctx context.Context, options CustomJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestDataLabelingJob(ctx context.Context, options DataLabelingJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestHyperparameterTuningJob(ctx context.Context, options HyperparameterTuningJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestModelDeploymentMonitoringJob(ctx context.Context, options ModelDeploymentMonitoringJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestNasJob(ctx context.Context, options NasJobTestSuiteConfig)
- func (fx JobServiceTestSuite) TestNasTrialDetail(ctx context.Context, options NasTrialDetailTestSuiteConfig)
- type MetadataSchemaTestSuiteConfig
- type MetadataServiceTestSuite
- func (fx MetadataServiceTestSuite) TestArtifact(ctx context.Context, options ArtifactTestSuiteConfig)
- func (fx MetadataServiceTestSuite) TestContext(ctx context.Context, options ContextTestSuiteConfig)
- func (fx MetadataServiceTestSuite) TestExecution(ctx context.Context, options ExecutionTestSuiteConfig)
- func (fx MetadataServiceTestSuite) TestMetadataSchema(ctx context.Context, options MetadataSchemaTestSuiteConfig)
- func (fx MetadataServiceTestSuite) TestMetadataStore(ctx context.Context, options MetadataStoreTestSuiteConfig)
- type MetadataStoreTestSuiteConfig
- type ModelDeploymentMonitoringJobTestSuiteConfig
- type ModelEvaluationSliceTestSuiteConfig
- type ModelEvaluationTestSuiteConfig
- type ModelGardenServiceTestSuite
- type ModelServiceTestSuite
- func (fx ModelServiceTestSuite) TestModel(ctx context.Context, options ModelTestSuiteConfig)
- func (fx ModelServiceTestSuite) TestModelEvaluation(ctx context.Context, options ModelEvaluationTestSuiteConfig)
- func (fx ModelServiceTestSuite) TestModelEvaluationSlice(ctx context.Context, options ModelEvaluationSliceTestSuiteConfig)
- type ModelTestSuiteConfig
- type NasJobTestSuiteConfig
- type NasTrialDetailTestSuiteConfig
- type PipelineJobTestSuiteConfig
- type PipelineServiceTestSuite
- type PublisherModelTestSuiteConfig
- type SavedQueryTestSuiteConfig
- type ScheduleServiceTestSuite
- type ScheduleTestSuiteConfig
- type SpecialistPoolServiceTestSuite
- type SpecialistPoolTestSuiteConfig
- type StudyTestSuiteConfig
- type TensorboardExperimentTestSuiteConfig
- type TensorboardRunTestSuiteConfig
- type TensorboardServiceTestSuite
- func (fx TensorboardServiceTestSuite) TestTensorboard(ctx context.Context, options TensorboardTestSuiteConfig)
- func (fx TensorboardServiceTestSuite) TestTensorboardExperiment(ctx context.Context, options TensorboardExperimentTestSuiteConfig)
- func (fx TensorboardServiceTestSuite) TestTensorboardRun(ctx context.Context, options TensorboardRunTestSuiteConfig)
- func (fx TensorboardServiceTestSuite) TestTensorboardTimeSeries(ctx context.Context, options TensorboardTimeSeriesTestSuiteConfig)
- type TensorboardTestSuiteConfig
- type TensorboardTimeSeriesTestSuiteConfig
- type TrainingPipelineTestSuiteConfig
- type TrialTestSuiteConfig
- type VizierServiceTestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationSpecTestSuiteConfig ¶
type AnnotationSpecTestSuiteConfig 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 // CreateResource should create a AnnotationSpec and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*AnnotationSpec, error) // 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 AnnotationTestSuiteConfig ¶
type AnnotationTestSuiteConfig 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 // CreateResource should create a Annotation and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*Annotation, error) // 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 ArtifactTestSuiteConfig ¶
type ArtifactTestSuiteConfig 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) *Artifact // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Artifact // 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 BatchPredictionJobTestSuiteConfig ¶
type BatchPredictionJobTestSuiteConfig 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) *BatchPredictionJob // 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 ContextTestSuiteConfig ¶
type ContextTestSuiteConfig 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) *Context // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Context // 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 CustomJobTestSuiteConfig ¶
type CustomJobTestSuiteConfig 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) *CustomJob // 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 DataItemTestSuiteConfig ¶
type DataItemTestSuiteConfig 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 // CreateResource should create a DataItem and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*DataItem, error) // 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 DataLabelingJobTestSuiteConfig ¶
type DataLabelingJobTestSuiteConfig 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) *DataLabelingJob // 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 DatasetServiceTestSuite ¶
func (DatasetServiceTestSuite) TestAnnotation ¶
func (fx DatasetServiceTestSuite) TestAnnotation(ctx context.Context, options AnnotationTestSuiteConfig)
func (DatasetServiceTestSuite) TestAnnotationSpec ¶
func (fx DatasetServiceTestSuite) TestAnnotationSpec(ctx context.Context, options AnnotationSpecTestSuiteConfig)
func (DatasetServiceTestSuite) TestDataItem ¶
func (fx DatasetServiceTestSuite) TestDataItem(ctx context.Context, options DataItemTestSuiteConfig)
func (DatasetServiceTestSuite) TestDataset ¶
func (fx DatasetServiceTestSuite) TestDataset(ctx context.Context, options DatasetTestSuiteConfig)
func (DatasetServiceTestSuite) TestSavedQuery ¶
func (fx DatasetServiceTestSuite) TestSavedQuery(ctx context.Context, options SavedQueryTestSuiteConfig)
type DatasetTestSuiteConfig ¶
type DatasetTestSuiteConfig 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) *Dataset // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Dataset // 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 EndpointServiceTestSuite ¶
type EndpointServiceTestSuite struct { T *testing.T // Server to test. Server EndpointServiceServer }
func (EndpointServiceTestSuite) TestEndpoint ¶
func (fx EndpointServiceTestSuite) TestEndpoint(ctx context.Context, options EndpointTestSuiteConfig)
type EndpointTestSuiteConfig ¶
type EndpointTestSuiteConfig 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) *Endpoint // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Endpoint // 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 EntityTypeTestSuiteConfig ¶
type EntityTypeTestSuiteConfig 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) *EntityType // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *EntityType // 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 ExecutionTestSuiteConfig ¶
type ExecutionTestSuiteConfig 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) *Execution // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Execution // 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 FeatureTestSuiteConfig ¶
type FeatureTestSuiteConfig 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) *Feature // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Feature // 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 FeaturestoreServiceTestSuite ¶
type FeaturestoreServiceTestSuite struct { T *testing.T // Server to test. Server FeaturestoreServiceServer }
func (FeaturestoreServiceTestSuite) TestEntityType ¶
func (fx FeaturestoreServiceTestSuite) TestEntityType(ctx context.Context, options EntityTypeTestSuiteConfig)
func (FeaturestoreServiceTestSuite) TestFeature ¶
func (fx FeaturestoreServiceTestSuite) TestFeature(ctx context.Context, options FeatureTestSuiteConfig)
func (FeaturestoreServiceTestSuite) TestFeaturestore ¶
func (fx FeaturestoreServiceTestSuite) TestFeaturestore(ctx context.Context, options FeaturestoreTestSuiteConfig)
type FeaturestoreTestSuiteConfig ¶
type FeaturestoreTestSuiteConfig 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) *Featurestore // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Featurestore // 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 HyperparameterTuningJobTestSuiteConfig ¶
type HyperparameterTuningJobTestSuiteConfig 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) *HyperparameterTuningJob // 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 IndexEndpointServiceTestSuite ¶
type IndexEndpointServiceTestSuite struct { T *testing.T // Server to test. Server IndexEndpointServiceServer }
func (IndexEndpointServiceTestSuite) TestIndexEndpoint ¶
func (fx IndexEndpointServiceTestSuite) TestIndexEndpoint(ctx context.Context, options IndexEndpointTestSuiteConfig)
type IndexEndpointTestSuiteConfig ¶
type IndexEndpointTestSuiteConfig 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) *IndexEndpoint // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *IndexEndpoint // 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 IndexServiceTestSuite ¶
func (IndexServiceTestSuite) TestIndex ¶
func (fx IndexServiceTestSuite) TestIndex(ctx context.Context, options IndexTestSuiteConfig)
type IndexTestSuiteConfig ¶
type IndexTestSuiteConfig 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) *Index // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Index // 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 JobServiceTestSuite ¶
func (JobServiceTestSuite) TestBatchPredictionJob ¶
func (fx JobServiceTestSuite) TestBatchPredictionJob(ctx context.Context, options BatchPredictionJobTestSuiteConfig)
func (JobServiceTestSuite) TestCustomJob ¶
func (fx JobServiceTestSuite) TestCustomJob(ctx context.Context, options CustomJobTestSuiteConfig)
func (JobServiceTestSuite) TestDataLabelingJob ¶
func (fx JobServiceTestSuite) TestDataLabelingJob(ctx context.Context, options DataLabelingJobTestSuiteConfig)
func (JobServiceTestSuite) TestHyperparameterTuningJob ¶
func (fx JobServiceTestSuite) TestHyperparameterTuningJob(ctx context.Context, options HyperparameterTuningJobTestSuiteConfig)
func (JobServiceTestSuite) TestModelDeploymentMonitoringJob ¶
func (fx JobServiceTestSuite) TestModelDeploymentMonitoringJob(ctx context.Context, options ModelDeploymentMonitoringJobTestSuiteConfig)
func (JobServiceTestSuite) TestNasJob ¶
func (fx JobServiceTestSuite) TestNasJob(ctx context.Context, options NasJobTestSuiteConfig)
func (JobServiceTestSuite) TestNasTrialDetail ¶
func (fx JobServiceTestSuite) TestNasTrialDetail(ctx context.Context, options NasTrialDetailTestSuiteConfig)
type MetadataSchemaTestSuiteConfig ¶
type MetadataSchemaTestSuiteConfig 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) *MetadataSchema // 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 MetadataServiceTestSuite ¶
type MetadataServiceTestSuite struct { T *testing.T // Server to test. Server MetadataServiceServer }
func (MetadataServiceTestSuite) TestArtifact ¶
func (fx MetadataServiceTestSuite) TestArtifact(ctx context.Context, options ArtifactTestSuiteConfig)
func (MetadataServiceTestSuite) TestContext ¶
func (fx MetadataServiceTestSuite) TestContext(ctx context.Context, options ContextTestSuiteConfig)
func (MetadataServiceTestSuite) TestExecution ¶
func (fx MetadataServiceTestSuite) TestExecution(ctx context.Context, options ExecutionTestSuiteConfig)
func (MetadataServiceTestSuite) TestMetadataSchema ¶
func (fx MetadataServiceTestSuite) TestMetadataSchema(ctx context.Context, options MetadataSchemaTestSuiteConfig)
func (MetadataServiceTestSuite) TestMetadataStore ¶
func (fx MetadataServiceTestSuite) TestMetadataStore(ctx context.Context, options MetadataStoreTestSuiteConfig)
type MetadataStoreTestSuiteConfig ¶
type MetadataStoreTestSuiteConfig 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) *MetadataStore // 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 ModelDeploymentMonitoringJobTestSuiteConfig ¶
type ModelDeploymentMonitoringJobTestSuiteConfig 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) *ModelDeploymentMonitoringJob // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *ModelDeploymentMonitoringJob // 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 ModelEvaluationSliceTestSuiteConfig ¶
type ModelEvaluationSliceTestSuiteConfig 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 // CreateResource should create a ModelEvaluationSlice and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*ModelEvaluationSlice, error) // 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 ModelEvaluationTestSuiteConfig ¶
type ModelEvaluationTestSuiteConfig 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 // CreateResource should create a ModelEvaluation and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*ModelEvaluation, error) // 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 ModelGardenServiceTestSuite ¶
type ModelGardenServiceTestSuite struct { T *testing.T // Server to test. Server ModelGardenServiceServer }
func (ModelGardenServiceTestSuite) TestPublisherModel ¶
func (fx ModelGardenServiceTestSuite) TestPublisherModel(ctx context.Context, options PublisherModelTestSuiteConfig)
type ModelServiceTestSuite ¶
func (ModelServiceTestSuite) TestModel ¶
func (fx ModelServiceTestSuite) TestModel(ctx context.Context, options ModelTestSuiteConfig)
func (ModelServiceTestSuite) TestModelEvaluation ¶
func (fx ModelServiceTestSuite) TestModelEvaluation(ctx context.Context, options ModelEvaluationTestSuiteConfig)
func (ModelServiceTestSuite) TestModelEvaluationSlice ¶
func (fx ModelServiceTestSuite) TestModelEvaluationSlice(ctx context.Context, options ModelEvaluationSliceTestSuiteConfig)
type ModelTestSuiteConfig ¶
type ModelTestSuiteConfig 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 // CreateResource should create a Model and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*Model, error) // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Model // 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 NasJobTestSuiteConfig ¶
type NasJobTestSuiteConfig 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) *NasJob // 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 NasTrialDetailTestSuiteConfig ¶
type NasTrialDetailTestSuiteConfig 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 // CreateResource should create a NasTrialDetail and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*NasTrialDetail, error) // 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 PipelineJobTestSuiteConfig ¶
type PipelineJobTestSuiteConfig 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) *PipelineJob // 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 PipelineServiceTestSuite ¶
type PipelineServiceTestSuite struct { T *testing.T // Server to test. Server PipelineServiceServer }
func (PipelineServiceTestSuite) TestPipelineJob ¶
func (fx PipelineServiceTestSuite) TestPipelineJob(ctx context.Context, options PipelineJobTestSuiteConfig)
func (PipelineServiceTestSuite) TestTrainingPipeline ¶
func (fx PipelineServiceTestSuite) TestTrainingPipeline(ctx context.Context, options TrainingPipelineTestSuiteConfig)
type PublisherModelTestSuiteConfig ¶
type PublisherModelTestSuiteConfig 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 // CreateResource should create a PublisherModel and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*PublisherModel, error) // 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 SavedQueryTestSuiteConfig ¶
type SavedQueryTestSuiteConfig 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 // CreateResource should create a SavedQuery and return it. // If the field is not set, some tests will be skipped. // // This method is generated because service does not expose a Create // method (or it does not comply with AIP). CreateResource func(ctx context.Context, parent string) (*SavedQuery, error) // 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 ScheduleServiceTestSuite ¶
type ScheduleServiceTestSuite struct { T *testing.T // Server to test. Server ScheduleServiceServer }
func (ScheduleServiceTestSuite) TestSchedule ¶
func (fx ScheduleServiceTestSuite) TestSchedule(ctx context.Context, options ScheduleTestSuiteConfig)
type ScheduleTestSuiteConfig ¶
type ScheduleTestSuiteConfig 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) *Schedule // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Schedule // 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 SpecialistPoolServiceTestSuite ¶
type SpecialistPoolServiceTestSuite struct { T *testing.T // Server to test. Server SpecialistPoolServiceServer }
func (SpecialistPoolServiceTestSuite) TestSpecialistPool ¶
func (fx SpecialistPoolServiceTestSuite) TestSpecialistPool(ctx context.Context, options SpecialistPoolTestSuiteConfig)
type SpecialistPoolTestSuiteConfig ¶
type SpecialistPoolTestSuiteConfig 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) *SpecialistPool // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *SpecialistPool // 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 StudyTestSuiteConfig ¶
type StudyTestSuiteConfig 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) *Study // 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 TensorboardExperimentTestSuiteConfig ¶
type TensorboardExperimentTestSuiteConfig 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) *TensorboardExperiment // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *TensorboardExperiment // 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 TensorboardRunTestSuiteConfig ¶
type TensorboardRunTestSuiteConfig 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) *TensorboardRun // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *TensorboardRun // 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 TensorboardServiceTestSuite ¶
type TensorboardServiceTestSuite struct { T *testing.T // Server to test. Server TensorboardServiceServer }
func (TensorboardServiceTestSuite) TestTensorboard ¶
func (fx TensorboardServiceTestSuite) TestTensorboard(ctx context.Context, options TensorboardTestSuiteConfig)
func (TensorboardServiceTestSuite) TestTensorboardExperiment ¶
func (fx TensorboardServiceTestSuite) TestTensorboardExperiment(ctx context.Context, options TensorboardExperimentTestSuiteConfig)
func (TensorboardServiceTestSuite) TestTensorboardRun ¶
func (fx TensorboardServiceTestSuite) TestTensorboardRun(ctx context.Context, options TensorboardRunTestSuiteConfig)
func (TensorboardServiceTestSuite) TestTensorboardTimeSeries ¶
func (fx TensorboardServiceTestSuite) TestTensorboardTimeSeries(ctx context.Context, options TensorboardTimeSeriesTestSuiteConfig)
type TensorboardTestSuiteConfig ¶
type TensorboardTestSuiteConfig 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) *Tensorboard // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *Tensorboard // 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 TensorboardTimeSeriesTestSuiteConfig ¶
type TensorboardTimeSeriesTestSuiteConfig 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) *TensorboardTimeSeries // Update should return a resource which is valid to update, i.e. // all required fields set. Update func(parent string) *TensorboardTimeSeries // 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 TrainingPipelineTestSuiteConfig ¶
type TrainingPipelineTestSuiteConfig 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) *TrainingPipeline // 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 TrialTestSuiteConfig ¶
type TrialTestSuiteConfig 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) *Trial // 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 VizierServiceTestSuite ¶
func (VizierServiceTestSuite) TestStudy ¶
func (fx VizierServiceTestSuite) TestStudy(ctx context.Context, options StudyTestSuiteConfig)
func (VizierServiceTestSuite) TestTrial ¶
func (fx VizierServiceTestSuite) TestTrial(ctx context.Context, options TrialTestSuiteConfig)
Source Files
¶
- dataset_service_aiptest.pb.go
- endpoint_service_aiptest.pb.go
- featurestore_service_aiptest.pb.go
- index_endpoint_service_aiptest.pb.go
- index_service_aiptest.pb.go
- job_service_aiptest.pb.go
- metadata_service_aiptest.pb.go
- model_garden_service_aiptest.pb.go
- model_service_aiptest.pb.go
- pipeline_service_aiptest.pb.go
- schedule_service_aiptest.pb.go
- specialist_pool_service_aiptest.pb.go
- tensorboard_service_aiptest.pb.go
- vizier_service_aiptest.pb.go
Click to show internal directories.
Click to hide internal directories.