Documentation ¶
Index ¶
- func NewConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest() datasource.DataSource
- func NewConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest() datasource.DataSource
- type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest
- func (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1ManifestData
- type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest
- func (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1ManifestData
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 (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Read ¶
func (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Schema ¶
func (r *ConfigKarmadaIoResourceInterpreterCustomizationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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 (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Read ¶
func (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Schema ¶
func (r *ConfigKarmadaIoResourceInterpreterWebhookConfigurationV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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"` }
Click to show internal directories.
Click to hide internal directories.