Documentation ¶
Index ¶
- func NewTestsTestkubeIoScriptV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestExecutionV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestSourceV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestSuiteExecutionV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestSuiteV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestTriggerV1Manifest() datasource.DataSource
- func NewTestsTestkubeIoTestV1Manifest() datasource.DataSource
- type TestsTestkubeIoScriptV1Manifest
- func (r *TestsTestkubeIoScriptV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoScriptV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoScriptV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoScriptV1ManifestData
- type TestsTestkubeIoTestExecutionV1Manifest
- func (r *TestsTestkubeIoTestExecutionV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestExecutionV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestExecutionV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestExecutionV1ManifestData
- type TestsTestkubeIoTestSourceV1Manifest
- func (r *TestsTestkubeIoTestSourceV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestSourceV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestSourceV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestSourceV1ManifestData
- type TestsTestkubeIoTestSuiteExecutionV1Manifest
- func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestSuiteExecutionV1ManifestData
- type TestsTestkubeIoTestSuiteV1Manifest
- func (r *TestsTestkubeIoTestSuiteV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestSuiteV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestSuiteV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestSuiteV1ManifestData
- type TestsTestkubeIoTestTriggerV1Manifest
- func (r *TestsTestkubeIoTestTriggerV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestTriggerV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestTriggerV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestTriggerV1ManifestData
- type TestsTestkubeIoTestV1Manifest
- func (r *TestsTestkubeIoTestV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *TestsTestkubeIoTestV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *TestsTestkubeIoTestV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type TestsTestkubeIoTestV1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestsTestkubeIoScriptV1Manifest ¶
func NewTestsTestkubeIoScriptV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestExecutionV1Manifest ¶
func NewTestsTestkubeIoTestExecutionV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestSourceV1Manifest ¶
func NewTestsTestkubeIoTestSourceV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestSuiteExecutionV1Manifest ¶
func NewTestsTestkubeIoTestSuiteExecutionV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestSuiteV1Manifest ¶
func NewTestsTestkubeIoTestSuiteV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestTriggerV1Manifest ¶
func NewTestsTestkubeIoTestTriggerV1Manifest() datasource.DataSource
func NewTestsTestkubeIoTestV1Manifest ¶
func NewTestsTestkubeIoTestV1Manifest() datasource.DataSource
Types ¶
type TestsTestkubeIoScriptV1Manifest ¶
type TestsTestkubeIoScriptV1Manifest struct{}
func (*TestsTestkubeIoScriptV1Manifest) Metadata ¶
func (r *TestsTestkubeIoScriptV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoScriptV1Manifest) Read ¶
func (r *TestsTestkubeIoScriptV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoScriptV1Manifest) Schema ¶
func (r *TestsTestkubeIoScriptV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoScriptV1ManifestData ¶
type TestsTestkubeIoScriptV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Content *string `tfsdk:"content" json:"content,omitempty"` Input_type *string `tfsdk:"input_type" json:"input-type,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Params *map[string]string `tfsdk:"params" json:"params,omitempty"` Repository *struct { Branch *string `tfsdk:"branch" json:"branch,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` Token *string `tfsdk:"token" json:"token,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Uri *string `tfsdk:"uri" json:"uri,omitempty"` Username *string `tfsdk:"username" json:"username,omitempty"` } `tfsdk:"repository" json:"repository,omitempty"` Tags *[]string `tfsdk:"tags" json:"tags,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestExecutionV1Manifest ¶
type TestsTestkubeIoTestExecutionV1Manifest struct{}
func (*TestsTestkubeIoTestExecutionV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestExecutionV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestExecutionV1Manifest) Read ¶
func (r *TestsTestkubeIoTestExecutionV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestExecutionV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestExecutionV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestExecutionV1ManifestData ¶
type TestsTestkubeIoTestExecutionV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ExecutionRequest *struct { ActiveDeadlineSeconds *int64 `tfsdk:"active_deadline_seconds" json:"activeDeadlineSeconds,omitempty"` Args *[]string `tfsdk:"args" json:"args,omitempty"` ArgsMode *string `tfsdk:"args_mode" json:"argsMode,omitempty"` ArtifactRequest *struct { Dirs *[]string `tfsdk:"dirs" json:"dirs,omitempty"` Masks *[]string `tfsdk:"masks" json:"masks,omitempty"` OmitFolderPerExecution *bool `tfsdk:"omit_folder_per_execution" json:"omitFolderPerExecution,omitempty"` SharedBetweenPods *bool `tfsdk:"shared_between_pods" json:"sharedBetweenPods,omitempty"` SidecarScraper *bool `tfsdk:"sidecar_scraper" json:"sidecarScraper,omitempty"` StorageBucket *string `tfsdk:"storage_bucket" json:"storageBucket,omitempty"` StorageClassName *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"` UseDefaultStorageClassName *bool `tfsdk:"use_default_storage_class_name" json:"useDefaultStorageClassName,omitempty"` VolumeMountPath *string `tfsdk:"volume_mount_path" json:"volumeMountPath,omitempty"` } `tfsdk:"artifact_request" json:"artifactRequest,omitempty"` Command *[]string `tfsdk:"command" json:"command,omitempty"` CronJobTemplate *string `tfsdk:"cron_job_template" json:"cronJobTemplate,omitempty"` DisableWebhooks *bool `tfsdk:"disable_webhooks" json:"disableWebhooks,omitempty"` EnvConfigMaps *[]struct { MapToVariables *bool `tfsdk:"map_to_variables" json:"mapToVariables,omitempty"` Mount *bool `tfsdk:"mount" json:"mount,omitempty"` MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Reference *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"reference" json:"reference,omitempty"` } `tfsdk:"env_config_maps" json:"envConfigMaps,omitempty"` EnvSecrets *[]struct { MapToVariables *bool `tfsdk:"map_to_variables" json:"mapToVariables,omitempty"` Mount *bool `tfsdk:"mount" json:"mount,omitempty"` MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Reference *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"reference" json:"reference,omitempty"` } `tfsdk:"env_secrets" json:"envSecrets,omitempty"` Envs *map[string]string `tfsdk:"envs" json:"envs,omitempty"` ExecutePostRunScriptBeforeScraping *bool `tfsdk:"execute_post_run_script_before_scraping" json:"executePostRunScriptBeforeScraping,omitempty"` ExecutionLabels *map[string]string `tfsdk:"execution_labels" json:"executionLabels,omitempty"` ExecutionNamespace *string `tfsdk:"execution_namespace" json:"executionNamespace,omitempty"` HttpProxy *string `tfsdk:"http_proxy" json:"httpProxy,omitempty"` HttpsProxy *string `tfsdk:"https_proxy" json:"httpsProxy,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullSecrets *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"image_pull_secrets" json:"imagePullSecrets,omitempty"` IsVariablesFileUploaded *bool `tfsdk:"is_variables_file_uploaded" json:"isVariablesFileUploaded,omitempty"` JobTemplate *string `tfsdk:"job_template" json:"jobTemplate,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` NegativeTest *bool `tfsdk:"negative_test" json:"negativeTest,omitempty"` Number *int64 `tfsdk:"number" json:"number,omitempty"` PostRunScript *string `tfsdk:"post_run_script" json:"postRunScript,omitempty"` PreRunScript *string `tfsdk:"pre_run_script" json:"preRunScript,omitempty"` RunningContext *struct { Context *string `tfsdk:"context" json:"context,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"running_context" json:"runningContext,omitempty"` ScraperTemplate *string `tfsdk:"scraper_template" json:"scraperTemplate,omitempty"` SecretEnvs *map[string]string `tfsdk:"secret_envs" json:"secretEnvs,omitempty"` SlavePodRequest *struct { PodTemplate *string `tfsdk:"pod_template" json:"podTemplate,omitempty"` PodTemplateReference *string `tfsdk:"pod_template_reference" json:"podTemplateReference,omitempty"` Resources *struct { Limits *struct { Cpu *string `tfsdk:"cpu" json:"cpu,omitempty"` Memory *string `tfsdk:"memory" json:"memory,omitempty"` } `tfsdk:"limits" json:"limits,omitempty"` Requests *struct { Cpu *string `tfsdk:"cpu" json:"cpu,omitempty"` Memory *string `tfsdk:"memory" json:"memory,omitempty"` } `tfsdk:"requests" json:"requests,omitempty"` } `tfsdk:"resources" json:"resources,omitempty"` } `tfsdk:"slave_pod_request" json:"slavePodRequest,omitempty"` SourceScripts *bool `tfsdk:"source_scripts" json:"sourceScripts,omitempty"` Sync *bool `tfsdk:"sync" json:"sync,omitempty"` TestSecretUUID *string `tfsdk:"test_secret_uuid" json:"testSecretUUID,omitempty"` TestSuiteName *string `tfsdk:"test_suite_name" json:"testSuiteName,omitempty"` TestSuiteSecretUUID *string `tfsdk:"test_suite_secret_uuid" json:"testSuiteSecretUUID,omitempty"` Variables *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` ValueFrom *struct { ConfigMapKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"` FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` ResourceFieldRef *struct { ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"` Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` } `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"` SecretKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"` } `tfsdk:"value_from" json:"valueFrom,omitempty"` } `tfsdk:"variables" json:"variables,omitempty"` VariablesFile *string `tfsdk:"variables_file" json:"variablesFile,omitempty"` } `tfsdk:"execution_request" json:"executionRequest,omitempty"` Test *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"test" json:"test,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestSourceV1Manifest ¶
type TestsTestkubeIoTestSourceV1Manifest struct{}
func (*TestsTestkubeIoTestSourceV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestSourceV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestSourceV1Manifest) Read ¶
func (r *TestsTestkubeIoTestSourceV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestSourceV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestSourceV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestSourceV1ManifestData ¶
type TestsTestkubeIoTestSourceV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Data *string `tfsdk:"data" json:"data,omitempty"` Repository *struct { AuthType *string `tfsdk:"auth_type" json:"authType,omitempty"` Branch *string `tfsdk:"branch" json:"branch,omitempty"` CertificateSecret *string `tfsdk:"certificate_secret" json:"certificateSecret,omitempty"` Commit *string `tfsdk:"commit" json:"commit,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` TokenSecret *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"token_secret" json:"tokenSecret,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Uri *string `tfsdk:"uri" json:"uri,omitempty"` UsernameSecret *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"username_secret" json:"usernameSecret,omitempty"` WorkingDir *string `tfsdk:"working_dir" json:"workingDir,omitempty"` } `tfsdk:"repository" json:"repository,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Uri *string `tfsdk:"uri" json:"uri,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestSuiteExecutionV1Manifest ¶
type TestsTestkubeIoTestSuiteExecutionV1Manifest struct{}
func (*TestsTestkubeIoTestSuiteExecutionV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestSuiteExecutionV1Manifest) Read ¶
func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestSuiteExecutionV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestSuiteExecutionV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestSuiteExecutionV1ManifestData ¶
type TestsTestkubeIoTestSuiteExecutionV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { ExecutionRequest *struct { ConcurrencyLevel *int64 `tfsdk:"concurrency_level" json:"concurrencyLevel,omitempty"` ContentRequest *struct { Repository *struct { Branch *string `tfsdk:"branch" json:"branch,omitempty"` Commit *string `tfsdk:"commit" json:"commit,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` WorkingDir *string `tfsdk:"working_dir" json:"workingDir,omitempty"` } `tfsdk:"repository" json:"repository,omitempty"` } `tfsdk:"content_request" json:"contentRequest,omitempty"` CronJobTemplate *string `tfsdk:"cron_job_template" json:"cronJobTemplate,omitempty"` DisableWebhooks *bool `tfsdk:"disable_webhooks" json:"disableWebhooks,omitempty"` ExecutionLabels *map[string]string `tfsdk:"execution_labels" json:"executionLabels,omitempty"` HttpProxy *string `tfsdk:"http_proxy" json:"httpProxy,omitempty"` HttpsProxy *string `tfsdk:"https_proxy" json:"httpsProxy,omitempty"` Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Number *int64 `tfsdk:"number" json:"number,omitempty"` RunningContext *struct { Context *string `tfsdk:"context" json:"context,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"running_context" json:"runningContext,omitempty"` SecretUUID *string `tfsdk:"secret_uuid" json:"secretUUID,omitempty"` Sync *bool `tfsdk:"sync" json:"sync,omitempty"` TestSuiteExecutionName *string `tfsdk:"test_suite_execution_name" json:"testSuiteExecutionName,omitempty"` Timeout *int64 `tfsdk:"timeout" json:"timeout,omitempty"` Variables *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` ValueFrom *struct { ConfigMapKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"` FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` ResourceFieldRef *struct { ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"` Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` } `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"` SecretKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"` } `tfsdk:"value_from" json:"valueFrom,omitempty"` } `tfsdk:"variables" json:"variables,omitempty"` } `tfsdk:"execution_request" json:"executionRequest,omitempty"` TestSuite *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"test_suite" json:"testSuite,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestSuiteV1Manifest ¶
type TestsTestkubeIoTestSuiteV1Manifest struct{}
func (*TestsTestkubeIoTestSuiteV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestSuiteV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestSuiteV1Manifest) Read ¶
func (r *TestsTestkubeIoTestSuiteV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestSuiteV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestSuiteV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestSuiteV1ManifestData ¶
type TestsTestkubeIoTestSuiteV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { After *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"after" json:"after,omitempty"` Before *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"before" json:"before,omitempty"` Description *string `tfsdk:"description" json:"description,omitempty"` Params *map[string]string `tfsdk:"params" json:"params,omitempty"` Repeats *int64 `tfsdk:"repeats" json:"repeats,omitempty"` Schedule *string `tfsdk:"schedule" json:"schedule,omitempty"` Steps *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"steps" json:"steps,omitempty"` Variables *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` ValueFrom *struct { ConfigMapKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"` FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` ResourceFieldRef *struct { ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"` Divisor *string `tfsdk:"divisor" json:"divisor,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` } `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"` SecretKeyRef *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"` } `tfsdk:"value_from" json:"valueFrom,omitempty"` } `tfsdk:"variables" json:"variables,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestTriggerV1Manifest ¶
type TestsTestkubeIoTestTriggerV1Manifest struct{}
func (*TestsTestkubeIoTestTriggerV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestTriggerV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestTriggerV1Manifest) Read ¶
func (r *TestsTestkubeIoTestTriggerV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestTriggerV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestTriggerV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestTriggerV1ManifestData ¶
type TestsTestkubeIoTestTriggerV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Action *string `tfsdk:"action" json:"action,omitempty"` ConcurrencyPolicy *string `tfsdk:"concurrency_policy" json:"concurrencyPolicy,omitempty"` ConditionSpec *struct { Conditions *[]struct { Reason *string `tfsdk:"reason" json:"reason,omitempty"` Status *string `tfsdk:"status" json:"status,omitempty"` Ttl *int64 `tfsdk:"ttl" json:"ttl,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"conditions" json:"conditions,omitempty"` Delay *int64 `tfsdk:"delay" json:"delay,omitempty"` Timeout *int64 `tfsdk:"timeout" json:"timeout,omitempty"` } `tfsdk:"condition_spec" json:"conditionSpec,omitempty"` Delay *string `tfsdk:"delay" json:"delay,omitempty"` Disabled *bool `tfsdk:"disabled" json:"disabled,omitempty"` Event *string `tfsdk:"event" json:"event,omitempty"` Execution *string `tfsdk:"execution" json:"execution,omitempty"` ProbeSpec *struct { Delay *int64 `tfsdk:"delay" json:"delay,omitempty"` Probes *[]struct { Headers *map[string]string `tfsdk:"headers" json:"headers,omitempty"` Host *string `tfsdk:"host" json:"host,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` Port *int64 `tfsdk:"port" json:"port,omitempty"` Scheme *string `tfsdk:"scheme" json:"scheme,omitempty"` } `tfsdk:"probes" json:"probes,omitempty"` Timeout *int64 `tfsdk:"timeout" json:"timeout,omitempty"` } `tfsdk:"probe_spec" json:"probeSpec,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` ResourceSelector *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` NameRegex *string `tfsdk:"name_regex" json:"nameRegex,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"resource_selector" json:"resourceSelector,omitempty"` TestSelector *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` NameRegex *string `tfsdk:"name_regex" json:"nameRegex,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"test_selector" json:"testSelector,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type TestsTestkubeIoTestV1Manifest ¶
type TestsTestkubeIoTestV1Manifest struct{}
func (*TestsTestkubeIoTestV1Manifest) Metadata ¶
func (r *TestsTestkubeIoTestV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*TestsTestkubeIoTestV1Manifest) Read ¶
func (r *TestsTestkubeIoTestV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*TestsTestkubeIoTestV1Manifest) Schema ¶
func (r *TestsTestkubeIoTestV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type TestsTestkubeIoTestV1ManifestData ¶
type TestsTestkubeIoTestV1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { After *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"after" json:"after,omitempty"` Before *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"before" json:"before,omitempty"` Description *string `tfsdk:"description" json:"description,omitempty"` Repeats *int64 `tfsdk:"repeats" json:"repeats,omitempty"` Steps *[]struct { Delay *struct { Duration *int64 `tfsdk:"duration" json:"duration,omitempty"` } `tfsdk:"delay" json:"delay,omitempty"` Execute *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` } `tfsdk:"execute" json:"execute,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"steps" json:"steps,omitempty"` Tags *[]string `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Source Files ¶
- tests_testkube_io_script_v1_manifest.go
- tests_testkube_io_test_execution_v1_manifest.go
- tests_testkube_io_test_source_v1_manifest.go
- tests_testkube_io_test_suite_execution_v1_manifest.go
- tests_testkube_io_test_suite_v1_manifest.go
- tests_testkube_io_test_trigger_v1_manifest.go
- tests_testkube_io_test_v1_manifest.go
Click to show internal directories.
Click to hide internal directories.