Documentation ¶
Index ¶
- func NewLitmuschaosIoChaosEngineV1Alpha1Manifest() datasource.DataSource
- func NewLitmuschaosIoChaosExperimentV1Alpha1Manifest() datasource.DataSource
- func NewLitmuschaosIoChaosResultV1Alpha1Manifest() datasource.DataSource
- type LitmuschaosIoChaosEngineV1Alpha1Manifest
- func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LitmuschaosIoChaosEngineV1Alpha1ManifestData
- type LitmuschaosIoChaosExperimentV1Alpha1Manifest
- func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LitmuschaosIoChaosExperimentV1Alpha1ManifestData
- type LitmuschaosIoChaosResultV1Alpha1Manifest
- func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LitmuschaosIoChaosResultV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLitmuschaosIoChaosEngineV1Alpha1Manifest ¶
func NewLitmuschaosIoChaosEngineV1Alpha1Manifest() datasource.DataSource
func NewLitmuschaosIoChaosExperimentV1Alpha1Manifest ¶
func NewLitmuschaosIoChaosExperimentV1Alpha1Manifest() datasource.DataSource
func NewLitmuschaosIoChaosResultV1Alpha1Manifest ¶
func NewLitmuschaosIoChaosResultV1Alpha1Manifest() datasource.DataSource
Types ¶
type LitmuschaosIoChaosEngineV1Alpha1Manifest ¶
type LitmuschaosIoChaosEngineV1Alpha1Manifest struct{}
func (*LitmuschaosIoChaosEngineV1Alpha1Manifest) Metadata ¶
func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LitmuschaosIoChaosEngineV1Alpha1Manifest) Read ¶
func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LitmuschaosIoChaosEngineV1Alpha1Manifest) Schema ¶
func (r *LitmuschaosIoChaosEngineV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LitmuschaosIoChaosEngineV1Alpha1ManifestData ¶
type LitmuschaosIoChaosEngineV1Alpha1ManifestData 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 { Appinfo *struct { Appkind *string `tfsdk:"appkind" json:"appkind,omitempty"` Applabel *string `tfsdk:"applabel" json:"applabel,omitempty"` Appns *string `tfsdk:"appns" json:"appns,omitempty"` } `tfsdk:"appinfo" json:"appinfo,omitempty"` AuxiliaryAppInfo *string `tfsdk:"auxiliary_app_info" json:"auxiliaryAppInfo,omitempty"` ChaosServiceAccount *string `tfsdk:"chaos_service_account" json:"chaosServiceAccount,omitempty"` Components *struct { Runner *struct { Image *string `tfsdk:"image" json:"image,omitempty"` RunnerAnnotations *map[string]string `tfsdk:"runner_annotations" json:"runnerAnnotations,omitempty"` RunnerLabels *map[string]string `tfsdk:"runner_labels" json:"runnerLabels,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"runner" json:"runner,omitempty"` Sidecar *[]struct { Env *[]struct { Name *string `tfsdk:"name" json:"name,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:"env" json:"env,omitempty"` EnvFrom *[]struct { ConfigMapRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map_ref" json:"configMapRef,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` } `tfsdk:"env_from" json:"envFrom,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` Secrets *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secrets" json:"secrets,omitempty"` } `tfsdk:"sidecar" json:"sidecar,omitempty"` } `tfsdk:"components" json:"components,omitempty"` DefaultHealthCheck *bool `tfsdk:"default_health_check" json:"defaultHealthCheck,omitempty"` EngineState *string `tfsdk:"engine_state" json:"engineState,omitempty"` Experiments *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Spec *struct { Components *struct { ConfigMaps *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"config_maps" json:"configMaps,omitempty"` Env *[]struct { Name *string `tfsdk:"name" json:"name,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:"env" json:"env,omitempty"` ExperimentAnnotations *map[string]string `tfsdk:"experiment_annotations" json:"experimentAnnotations,omitempty"` ExperimentImage *string `tfsdk:"experiment_image" json:"experimentImage,omitempty"` NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` Secrets *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secrets" json:"secrets,omitempty"` StatusCheckTimeouts *struct { Delay *int64 `tfsdk:"delay" json:"delay,omitempty"` Timeout *int64 `tfsdk:"timeout" json:"timeout,omitempty"` } `tfsdk:"status_check_timeouts" json:"statusCheckTimeouts,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"components" json:"components,omitempty"` Probe *[]struct { CmdProbe_inputs *struct { Command *string `tfsdk:"command" json:"command,omitempty"` Comparator *struct { Criteria *string `tfsdk:"criteria" json:"criteria,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"comparator" json:"comparator,omitempty"` Source *struct { Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` Args *[]string `tfsdk:"args" json:"args,omitempty"` Command *[]string `tfsdk:"command" json:"command,omitempty"` Env *[]struct { Name *string `tfsdk:"name" json:"name,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:"env" json:"env,omitempty"` HostNetwork *bool `tfsdk:"host_network" json:"hostNetwork,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` ImagePullSecrets *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"image_pull_secrets" json:"imagePullSecrets,omitempty"` InheritInputs *bool `tfsdk:"inherit_inputs" json:"inheritInputs,omitempty"` Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` Privileged *bool `tfsdk:"privileged" json:"privileged,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` VolumeMount *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` MountPropagation *string `tfsdk:"mount_propagation" json:"mountPropagation,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SubPath *string `tfsdk:"sub_path" json:"subPath,omitempty"` SubPathExpr *string `tfsdk:"sub_path_expr" json:"subPathExpr,omitempty"` } `tfsdk:"volume_mount" json:"volumeMount,omitempty"` Volumes *[]struct { AwsElasticBlockStore *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Partition *int64 `tfsdk:"partition" json:"partition,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"` } `tfsdk:"aws_elastic_block_store" json:"awsElasticBlockStore,omitempty"` AzureDisk *struct { CachingMode *string `tfsdk:"caching_mode" json:"cachingMode,omitempty"` DiskName *string `tfsdk:"disk_name" json:"diskName,omitempty"` DiskURI *string `tfsdk:"disk_uri" json:"diskURI,omitempty"` FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` } `tfsdk:"azure_disk" json:"azureDisk,omitempty"` AzureFile *struct { ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"` ShareName *string `tfsdk:"share_name" json:"shareName,omitempty"` } `tfsdk:"azure_file" json:"azureFile,omitempty"` Cephfs *struct { Monitors *[]string `tfsdk:"monitors" json:"monitors,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretFile *string `tfsdk:"secret_file" json:"secretFile,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` User *string `tfsdk:"user" json:"user,omitempty"` } `tfsdk:"cephfs" json:"cephfs,omitempty"` Cinder *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"` } `tfsdk:"cinder" json:"cinder,omitempty"` ConfigMap *struct { DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"` Items *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"items" json:"items,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map" json:"configMap,omitempty"` Csi *struct { Driver *string `tfsdk:"driver" json:"driver,omitempty"` FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` NodePublishSecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"node_publish_secret_ref" json:"nodePublishSecretRef,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` VolumeAttributes *map[string]string `tfsdk:"volume_attributes" json:"volumeAttributes,omitempty"` } `tfsdk:"csi" json:"csi,omitempty"` DownwardAPI *struct { DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"` Items *[]struct { FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,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"` } `tfsdk:"items" json:"items,omitempty"` } `tfsdk:"downward_api" json:"downwardAPI,omitempty"` EmptyDir *struct { Medium *string `tfsdk:"medium" json:"medium,omitempty"` SizeLimit *string `tfsdk:"size_limit" json:"sizeLimit,omitempty"` } `tfsdk:"empty_dir" json:"emptyDir,omitempty"` Fc *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Lun *int64 `tfsdk:"lun" json:"lun,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` TargetWWNs *[]string `tfsdk:"target_ww_ns" json:"targetWWNs,omitempty"` Wwids *[]string `tfsdk:"wwids" json:"wwids,omitempty"` } `tfsdk:"fc" json:"fc,omitempty"` FlexVolume *struct { Driver *string `tfsdk:"driver" json:"driver,omitempty"` FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Options *map[string]string `tfsdk:"options" json:"options,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` } `tfsdk:"flex_volume" json:"flexVolume,omitempty"` Flocker *struct { DatasetName *string `tfsdk:"dataset_name" json:"datasetName,omitempty"` DatasetUUID *string `tfsdk:"dataset_uuid" json:"datasetUUID,omitempty"` } `tfsdk:"flocker" json:"flocker,omitempty"` GcePersistentDisk *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Partition *int64 `tfsdk:"partition" json:"partition,omitempty"` PdName *string `tfsdk:"pd_name" json:"pdName,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` } `tfsdk:"gce_persistent_disk" json:"gcePersistentDisk,omitempty"` GitRepo *struct { Directory *string `tfsdk:"directory" json:"directory,omitempty"` Repository *string `tfsdk:"repository" json:"repository,omitempty"` Revision *string `tfsdk:"revision" json:"revision,omitempty"` } `tfsdk:"git_repo" json:"gitRepo,omitempty"` Glusterfs *struct { Endpoints *string `tfsdk:"endpoints" json:"endpoints,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` } `tfsdk:"glusterfs" json:"glusterfs,omitempty"` HostPath *struct { Path *string `tfsdk:"path" json:"path,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"host_path" json:"hostPath,omitempty"` Iscsi *struct { ChapAuthDiscovery *bool `tfsdk:"chap_auth_discovery" json:"chapAuthDiscovery,omitempty"` ChapAuthSession *bool `tfsdk:"chap_auth_session" json:"chapAuthSession,omitempty"` FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` InitiatorName *string `tfsdk:"initiator_name" json:"initiatorName,omitempty"` Iqn *string `tfsdk:"iqn" json:"iqn,omitempty"` IscsiInterface *string `tfsdk:"iscsi_interface" json:"iscsiInterface,omitempty"` Lun *int64 `tfsdk:"lun" json:"lun,omitempty"` Portals *[]string `tfsdk:"portals" json:"portals,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` TargetPortal *string `tfsdk:"target_portal" json:"targetPortal,omitempty"` } `tfsdk:"iscsi" json:"iscsi,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Nfs *struct { Path *string `tfsdk:"path" json:"path,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` Server *string `tfsdk:"server" json:"server,omitempty"` } `tfsdk:"nfs" json:"nfs,omitempty"` PersistentVolumeClaim *struct { ClaimName *string `tfsdk:"claim_name" json:"claimName,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` } `tfsdk:"persistent_volume_claim" json:"persistentVolumeClaim,omitempty"` PhotonPersistentDisk *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` PdID *string `tfsdk:"pd_id" json:"pdID,omitempty"` } `tfsdk:"photon_persistent_disk" json:"photonPersistentDisk,omitempty"` PortworxVolume *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` VolumeID *string `tfsdk:"volume_id" json:"volumeID,omitempty"` } `tfsdk:"portworx_volume" json:"portworxVolume,omitempty"` Projected *struct { DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"` Sources *[]struct { ConfigMap *struct { Items *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"items" json:"items,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"config_map" json:"configMap,omitempty"` DownwardAPI *struct { Items *[]struct { FieldRef *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` FieldPath *string `tfsdk:"field_path" json:"fieldPath,omitempty"` } `tfsdk:"field_ref" json:"fieldRef,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,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"` } `tfsdk:"items" json:"items,omitempty"` } `tfsdk:"downward_api" json:"downwardAPI,omitempty"` Secret *struct { Items *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"items" json:"items,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` } `tfsdk:"secret" json:"secret,omitempty"` ServiceAccountToken *struct { Audience *string `tfsdk:"audience" json:"audience,omitempty"` ExpirationSeconds *int64 `tfsdk:"expiration_seconds" json:"expirationSeconds,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"service_account_token" json:"serviceAccountToken,omitempty"` } `tfsdk:"sources" json:"sources,omitempty"` } `tfsdk:"projected" json:"projected,omitempty"` Quobyte *struct { Group *string `tfsdk:"group" json:"group,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` Registry *string `tfsdk:"registry" json:"registry,omitempty"` Tenant *string `tfsdk:"tenant" json:"tenant,omitempty"` User *string `tfsdk:"user" json:"user,omitempty"` Volume *string `tfsdk:"volume" json:"volume,omitempty"` } `tfsdk:"quobyte" json:"quobyte,omitempty"` Rbd *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` Keyring *string `tfsdk:"keyring" json:"keyring,omitempty"` Monitors *[]string `tfsdk:"monitors" json:"monitors,omitempty"` Pool *string `tfsdk:"pool" json:"pool,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` User *string `tfsdk:"user" json:"user,omitempty"` } `tfsdk:"rbd" json:"rbd,omitempty"` ScaleIO *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` Gateway *string `tfsdk:"gateway" json:"gateway,omitempty"` ProtectionDomain *string `tfsdk:"protection_domain" json:"protectionDomain,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` SslEnabled *bool `tfsdk:"ssl_enabled" json:"sslEnabled,omitempty"` StorageMode *string `tfsdk:"storage_mode" json:"storageMode,omitempty"` StoragePool *string `tfsdk:"storage_pool" json:"storagePool,omitempty"` System *string `tfsdk:"system" json:"system,omitempty"` VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"` } `tfsdk:"scale_io" json:"scaleIO,omitempty"` Secret *struct { DefaultMode *int64 `tfsdk:"default_mode" json:"defaultMode,omitempty"` Items *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Mode *int64 `tfsdk:"mode" json:"mode,omitempty"` Path *string `tfsdk:"path" json:"path,omitempty"` } `tfsdk:"items" json:"items,omitempty"` Optional *bool `tfsdk:"optional" json:"optional,omitempty"` SecretName *string `tfsdk:"secret_name" json:"secretName,omitempty"` } `tfsdk:"secret" json:"secret,omitempty"` Storageos *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` ReadOnly *bool `tfsdk:"read_only" json:"readOnly,omitempty"` SecretRef *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret_ref" json:"secretRef,omitempty"` VolumeName *string `tfsdk:"volume_name" json:"volumeName,omitempty"` VolumeNamespace *string `tfsdk:"volume_namespace" json:"volumeNamespace,omitempty"` } `tfsdk:"storageos" json:"storageos,omitempty"` VsphereVolume *struct { FsType *string `tfsdk:"fs_type" json:"fsType,omitempty"` StoragePolicyID *string `tfsdk:"storage_policy_id" json:"storagePolicyID,omitempty"` StoragePolicyName *string `tfsdk:"storage_policy_name" json:"storagePolicyName,omitempty"` VolumePath *string `tfsdk:"volume_path" json:"volumePath,omitempty"` } `tfsdk:"vsphere_volume" json:"vsphereVolume,omitempty"` } `tfsdk:"volumes" json:"volumes,omitempty"` } `tfsdk:"source" json:"source,omitempty"` } `tfsdk:"cmd_probe_inputs" json:"cmdProbe/inputs,omitempty"` Data *string `tfsdk:"data" json:"data,omitempty"` HttpProbe_inputs *struct { InsecureSkipVerify *bool `tfsdk:"insecure_skip_verify" json:"insecureSkipVerify,omitempty"` Method *struct { Get *struct { Criteria *string `tfsdk:"criteria" json:"criteria,omitempty"` ResponseCode *string `tfsdk:"response_code" json:"responseCode,omitempty"` } `tfsdk:"get" json:"get,omitempty"` Post *struct { Body *string `tfsdk:"body" json:"body,omitempty"` BodyPath *string `tfsdk:"body_path" json:"bodyPath,omitempty"` ContentType *string `tfsdk:"content_type" json:"contentType,omitempty"` Criteria *string `tfsdk:"criteria" json:"criteria,omitempty"` ResponseCode *string `tfsdk:"response_code" json:"responseCode,omitempty"` } `tfsdk:"post" json:"post,omitempty"` } `tfsdk:"method" json:"method,omitempty"` Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"http_probe_inputs" json:"httpProbe/inputs,omitempty"` K8sProbe_inputs *struct { FieldSelector *string `tfsdk:"field_selector" json:"fieldSelector,omitempty"` Group *string `tfsdk:"group" json:"group,omitempty"` LabelSelector *string `tfsdk:"label_selector" json:"labelSelector,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` Operation *string `tfsdk:"operation" json:"operation,omitempty"` Resource *string `tfsdk:"resource" json:"resource,omitempty"` ResourceNames *string `tfsdk:"resource_names" json:"resourceNames,omitempty"` Version *string `tfsdk:"version" json:"version,omitempty"` } `tfsdk:"k8s_probe_inputs" json:"k8sProbe/inputs,omitempty"` Mode *string `tfsdk:"mode" json:"mode,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` PromProbe_inputs *struct { Comparator *struct { Criteria *string `tfsdk:"criteria" json:"criteria,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"comparator" json:"comparator,omitempty"` Endpoint *string `tfsdk:"endpoint" json:"endpoint,omitempty"` Query *string `tfsdk:"query" json:"query,omitempty"` QueryPath *string `tfsdk:"query_path" json:"queryPath,omitempty"` } `tfsdk:"prom_probe_inputs" json:"promProbe/inputs,omitempty"` RunProperties *struct { Attempt *int64 `tfsdk:"attempt" json:"attempt,omitempty"` EvaluationTimeout *string `tfsdk:"evaluation_timeout" json:"evaluationTimeout,omitempty"` InitialDelay *string `tfsdk:"initial_delay" json:"initialDelay,omitempty"` InitialDelaySeconds *int64 `tfsdk:"initial_delay_seconds" json:"initialDelaySeconds,omitempty"` Interval *string `tfsdk:"interval" json:"interval,omitempty"` ProbePollingInterval *string `tfsdk:"probe_polling_interval" json:"probePollingInterval,omitempty"` ProbeTimeout *string `tfsdk:"probe_timeout" json:"probeTimeout,omitempty"` Retry *int64 `tfsdk:"retry" json:"retry,omitempty"` StopOnFailure *bool `tfsdk:"stop_on_failure" json:"stopOnFailure,omitempty"` Verbosity *string `tfsdk:"verbosity" json:"verbosity,omitempty"` } `tfsdk:"run_properties" json:"runProperties,omitempty"` SloProbe_inputs *struct { Comparator *struct { Criteria *string `tfsdk:"criteria" json:"criteria,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"comparator" json:"comparator,omitempty"` EvaluationWindow *struct { EvaluationEndTime *int64 `tfsdk:"evaluation_end_time" json:"evaluationEndTime,omitempty"` EvaluationStartTime *int64 `tfsdk:"evaluation_start_time" json:"evaluationStartTime,omitempty"` } `tfsdk:"evaluation_window" json:"evaluationWindow,omitempty"` InsecureSkipVerify *bool `tfsdk:"insecure_skip_verify" json:"insecureSkipVerify,omitempty"` PlatformEndpoint *string `tfsdk:"platform_endpoint" json:"platformEndpoint,omitempty"` SloIdentifier *string `tfsdk:"slo_identifier" json:"sloIdentifier,omitempty"` SloSourceMetadata *struct { ApiTokenSecret *string `tfsdk:"api_token_secret" json:"apiTokenSecret,omitempty"` Scope *struct { AccountIdentifier *string `tfsdk:"account_identifier" json:"accountIdentifier,omitempty"` OrgIdentifier *string `tfsdk:"org_identifier" json:"orgIdentifier,omitempty"` ProjectIdentifier *string `tfsdk:"project_identifier" json:"projectIdentifier,omitempty"` } `tfsdk:"scope" json:"scope,omitempty"` } `tfsdk:"slo_source_metadata" json:"sloSourceMetadata,omitempty"` } `tfsdk:"slo_probe_inputs" json:"sloProbe/inputs,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"probe" json:"probe,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` } `tfsdk:"experiments" json:"experiments,omitempty"` JobCleanUpPolicy *string `tfsdk:"job_clean_up_policy" json:"jobCleanUpPolicy,omitempty"` Selectors *struct { Pods *[]struct { Names *string `tfsdk:"names" json:"names,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` Workloads *[]struct { Kind *string `tfsdk:"kind" json:"kind,omitempty"` Labels *string `tfsdk:"labels" json:"labels,omitempty"` Names *string `tfsdk:"names" json:"names,omitempty"` Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"` } `tfsdk:"workloads" json:"workloads,omitempty"` } `tfsdk:"selectors" json:"selectors,omitempty"` TerminationGracePeriodSeconds *int64 `tfsdk:"termination_grace_period_seconds" json:"terminationGracePeriodSeconds,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type LitmuschaosIoChaosExperimentV1Alpha1Manifest ¶
type LitmuschaosIoChaosExperimentV1Alpha1Manifest struct{}
func (*LitmuschaosIoChaosExperimentV1Alpha1Manifest) Metadata ¶
func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LitmuschaosIoChaosExperimentV1Alpha1Manifest) Read ¶
func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LitmuschaosIoChaosExperimentV1Alpha1Manifest) Schema ¶
func (r *LitmuschaosIoChaosExperimentV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LitmuschaosIoChaosExperimentV1Alpha1ManifestData ¶
type LitmuschaosIoChaosExperimentV1Alpha1ManifestData 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"` Description *map[string]string `tfsdk:"description" json:"description,omitempty"` Spec *struct { Definition *struct { Args *[]string `tfsdk:"args" json:"args,omitempty"` Command *[]string `tfsdk:"command" json:"command,omitempty"` ConfigMaps *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"config_maps" json:"configMaps,omitempty"` Env *[]struct { Name *string `tfsdk:"name" json:"name,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:"env" json:"env,omitempty"` HostFileVolumes *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` NodePath *string `tfsdk:"node_path" json:"nodePath,omitempty"` } `tfsdk:"host_file_volumes" json:"hostFileVolumes,omitempty"` HostPID *bool `tfsdk:"host_pid" json:"hostPID,omitempty"` Image *string `tfsdk:"image" json:"image,omitempty"` ImagePullPolicy *string `tfsdk:"image_pull_policy" json:"imagePullPolicy,omitempty"` Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` Permissions *[]struct { ApiGroups *[]string `tfsdk:"api_groups" json:"apiGroups,omitempty"` NonResourceURLs *[]string `tfsdk:"non_resource_urls" json:"nonResourceURLs,omitempty"` ResourceNames *[]string `tfsdk:"resource_names" json:"resourceNames,omitempty"` Resources *[]string `tfsdk:"resources" json:"resources,omitempty"` Verbs *[]string `tfsdk:"verbs" json:"verbs,omitempty"` } `tfsdk:"permissions" json:"permissions,omitempty"` Scope *string `tfsdk:"scope" json:"scope,omitempty"` Secrets *[]struct { MountPath *string `tfsdk:"mount_path" json:"mountPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secrets" json:"secrets,omitempty"` SecurityContext *map[string]string `tfsdk:"security_context" json:"securityContext,omitempty"` } `tfsdk:"definition" json:"definition,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type LitmuschaosIoChaosResultV1Alpha1Manifest ¶
type LitmuschaosIoChaosResultV1Alpha1Manifest struct{}
func (*LitmuschaosIoChaosResultV1Alpha1Manifest) Metadata ¶
func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LitmuschaosIoChaosResultV1Alpha1Manifest) Read ¶
func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LitmuschaosIoChaosResultV1Alpha1Manifest) Schema ¶
func (r *LitmuschaosIoChaosResultV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LitmuschaosIoChaosResultV1Alpha1ManifestData ¶
type LitmuschaosIoChaosResultV1Alpha1ManifestData 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 *map[string]string `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.