config_karmada_io_v1alpha1

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest

func NewConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest() datasource.DataSource

func NewConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest

func NewConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest() datasource.DataSource

Types

type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest

type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest struct{}

func (*ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Metadata

func (*ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Read

func (*ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Schema

type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1ManifestData

type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1ManifestData 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 {
		Customizations *struct {
			DependencyInterpretation *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"dependency_interpretation" json:"dependencyInterpretation,omitempty"`
			HealthInterpretation *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"health_interpretation" json:"healthInterpretation,omitempty"`
			ReplicaResource *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"replica_resource" json:"replicaResource,omitempty"`
			ReplicaRevision *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"replica_revision" json:"replicaRevision,omitempty"`
			Retention *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"retention" json:"retention,omitempty"`
			StatusAggregation *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"status_aggregation" json:"statusAggregation,omitempty"`
			StatusReflection *struct {
				LuaScript *string `tfsdk:"lua_script" json:"luaScript,omitempty"`
			} `tfsdk:"status_reflection" json:"statusReflection,omitempty"`
		} `tfsdk:"customizations" json:"customizations,omitempty"`
		Target *struct {
			ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
			Kind       *string `tfsdk:"kind" json:"kind,omitempty"`
		} `tfsdk:"target" json:"target,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest

type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest struct{}

func (*ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Metadata

func (*ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Read

func (*ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Schema

type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1ManifestData

type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1ManifestData 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"`

	Webhooks *[]struct {
		ClientConfig *struct {
			CaBundle *string `tfsdk:"ca_bundle" json:"caBundle,omitempty"`
			Service  *struct {
				Name      *string `tfsdk:"name" json:"name,omitempty"`
				Namespace *string `tfsdk:"namespace" json:"namespace,omitempty"`
				Path      *string `tfsdk:"path" json:"path,omitempty"`
				Port      *int64  `tfsdk:"port" json:"port,omitempty"`
			} `tfsdk:"service" json:"service,omitempty"`
			Url *string `tfsdk:"url" json:"url,omitempty"`
		} `tfsdk:"client_config" json:"clientConfig,omitempty"`
		InterpreterContextVersions *[]string `tfsdk:"interpreter_context_versions" json:"interpreterContextVersions,omitempty"`
		Name                       *string   `tfsdk:"name" json:"name,omitempty"`
		Rules                      *[]struct {
			ApiGroups   *[]string `tfsdk:"api_groups" json:"apiGroups,omitempty"`
			ApiVersions *[]string `tfsdk:"api_versions" json:"apiVersions,omitempty"`
			Kinds       *[]string `tfsdk:"kinds" json:"kinds,omitempty"`
			Operations  *[]string `tfsdk:"operations" json:"operations,omitempty"`
		} `tfsdk:"rules" json:"rules,omitempty"`
		TimeoutSeconds *int64 `tfsdk:"timeout_seconds" json:"timeoutSeconds,omitempty"`
	} `tfsdk:"webhooks" json:"webhooks,omitempty"`
}

Jump to

Keyboard shortcuts

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