apps_kubeblocks_io_v1beta1

package
v0.0.0-...-6209148 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppsKubeblocksIoConfigConstraintV1Beta1Manifest

func NewAppsKubeblocksIoConfigConstraintV1Beta1Manifest() datasource.DataSource

Types

type AppsKubeblocksIoConfigConstraintV1Beta1Manifest

type AppsKubeblocksIoConfigConstraintV1Beta1Manifest struct{}

func (*AppsKubeblocksIoConfigConstraintV1Beta1Manifest) Metadata

func (*AppsKubeblocksIoConfigConstraintV1Beta1Manifest) Read

func (*AppsKubeblocksIoConfigConstraintV1Beta1Manifest) Schema

type AppsKubeblocksIoConfigConstraintV1Beta1ManifestData

type AppsKubeblocksIoConfigConstraintV1Beta1ManifestData 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"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		DownwardAPIChangeTriggeredActions *[]struct {
			Command *[]string `tfsdk:"command" json:"command,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"`
			MountPoint   *string `tfsdk:"mount_point" json:"mountPoint,omitempty"`
			Name         *string `tfsdk:"name" json:"name,omitempty"`
			ScriptConfig *struct {
				Namespace          *string `tfsdk:"namespace" json:"namespace,omitempty"`
				ScriptConfigMapRef *string `tfsdk:"script_config_map_ref" json:"scriptConfigMapRef,omitempty"`
			} `tfsdk:"script_config" json:"scriptConfig,omitempty"`
		} `tfsdk:"downward_api_change_triggered_actions" json:"downwardAPIChangeTriggeredActions,omitempty"`
		DynamicParameters *[]string `tfsdk:"dynamic_parameters" json:"dynamicParameters,omitempty"`
		FileFormatConfig  *struct {
			Format    *string `tfsdk:"format" json:"format,omitempty"`
			IniConfig *struct {
				SectionName *string `tfsdk:"section_name" json:"sectionName,omitempty"`
			} `tfsdk:"ini_config" json:"iniConfig,omitempty"`
		} `tfsdk:"file_format_config" json:"fileFormatConfig,omitempty"`
		ImmutableParameters   *[]string `tfsdk:"immutable_parameters" json:"immutableParameters,omitempty"`
		MergeReloadAndRestart *bool     `tfsdk:"merge_reload_and_restart" json:"mergeReloadAndRestart,omitempty"`
		ParametersSchema      *struct {
			Cue          *string            `tfsdk:"cue" json:"cue,omitempty"`
			SchemaInJSON *map[string]string `tfsdk:"schema_in_json" json:"schemaInJSON,omitempty"`
			TopLevelKey  *string            `tfsdk:"top_level_key" json:"topLevelKey,omitempty"`
		} `tfsdk:"parameters_schema" json:"parametersSchema,omitempty"`
		ReloadAction *struct {
			AutoTrigger *struct {
				ProcessName *string `tfsdk:"process_name" json:"processName,omitempty"`
			} `tfsdk:"auto_trigger" json:"autoTrigger,omitempty"`
			ShellTrigger *struct {
				BatchParamsFormatterTemplate *string   `tfsdk:"batch_params_formatter_template" json:"batchParamsFormatterTemplate,omitempty"`
				BatchReload                  *bool     `tfsdk:"batch_reload" json:"batchReload,omitempty"`
				Command                      *[]string `tfsdk:"command" json:"command,omitempty"`
				ScriptConfig                 *struct {
					Namespace          *string `tfsdk:"namespace" json:"namespace,omitempty"`
					ScriptConfigMapRef *string `tfsdk:"script_config_map_ref" json:"scriptConfigMapRef,omitempty"`
				} `tfsdk:"script_config" json:"scriptConfig,omitempty"`
				Sync       *bool `tfsdk:"sync" json:"sync,omitempty"`
				ToolsSetup *struct {
					MountPoint  *string `tfsdk:"mount_point" json:"mountPoint,omitempty"`
					ToolConfigs *[]struct {
						AsContainerImage *bool     `tfsdk:"as_container_image" json:"asContainerImage,omitempty"`
						Command          *[]string `tfsdk:"command" json:"command,omitempty"`
						Image            *string   `tfsdk:"image" json:"image,omitempty"`
						Name             *string   `tfsdk:"name" json:"name,omitempty"`
					} `tfsdk:"tool_configs" json:"toolConfigs,omitempty"`
				} `tfsdk:"tools_setup" json:"toolsSetup,omitempty"`
			} `tfsdk:"shell_trigger" json:"shellTrigger,omitempty"`
			TargetPodSelector *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:"target_pod_selector" json:"targetPodSelector,omitempty"`
			TplScriptTrigger *struct {
				Namespace          *string `tfsdk:"namespace" json:"namespace,omitempty"`
				ScriptConfigMapRef *string `tfsdk:"script_config_map_ref" json:"scriptConfigMapRef,omitempty"`
				Sync               *bool   `tfsdk:"sync" json:"sync,omitempty"`
			} `tfsdk:"tpl_script_trigger" json:"tplScriptTrigger,omitempty"`
			UnixSignalTrigger *struct {
				ProcessName *string `tfsdk:"process_name" json:"processName,omitempty"`
				Signal      *string `tfsdk:"signal" json:"signal,omitempty"`
			} `tfsdk:"unix_signal_trigger" json:"unixSignalTrigger,omitempty"`
		} `tfsdk:"reload_action" json:"reloadAction,omitempty"`
		ReloadStaticParamsBeforeRestart *bool     `tfsdk:"reload_static_params_before_restart" json:"reloadStaticParamsBeforeRestart,omitempty"`
		StaticParameters                *[]string `tfsdk:"static_parameters" json:"staticParameters,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL