Documentation ¶
Overview ¶
Code generated with gentf. DO NOT EDIT.
Code generated with gentf. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func CaseInsensitive(_, old, new string, _ *schema.ResourceData) bool
- func ChartWidgetVisualizationSettingsColorSchemeSettingsAutomaticColorScheme(...) ([]map[string]interface{}, error)
- func ChartWidgetVisualizationSettingsColorSchemeSettingsGradientColorScheme(...) ([]map[string]interface{}, error)
- func ChartWidgetVisualizationSettingsColorSchemeSettingsStandardColorScheme(...) ([]map[string]interface{}, error)
- func ConvertableToInt() schema.SchemaValidateFunc
- func FloatAtLeast(min float64) schema.SchemaValidateFunc
- func FloatGreater(min float64) schema.SchemaValidateFunc
- func IntGreater(min int) schema.SchemaValidateFunc
- func IterateKeys(d *schema.ResourceData, key string) []string
- func Min(x, y int64) int64
- func NormalizeJsonString(jsonString interface{}) (string, error)
- func Provider() *schema.Provider
- func WebsiteDomainURL() string
- func ZipPathToBytes(root string) ([]byte, error)
- type CloudIamUpdater
- type Config
- type ContainerRegistryIamUpdater
- func (u *ContainerRegistryIamUpdater) DescribeResource() string
- func (u *ContainerRegistryIamUpdater) GetMutexKey() string
- func (u *ContainerRegistryIamUpdater) GetResourceID() string
- func (u *ContainerRegistryIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *ContainerRegistryIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type ContainerRepositoryIamUpdater
- func (u *ContainerRepositoryIamUpdater) DescribeResource() string
- func (u *ContainerRepositoryIamUpdater) GetMutexKey() string
- func (u *ContainerRepositoryIamUpdater) GetResourceID() string
- func (u *ContainerRepositoryIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *ContainerRepositoryIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type ElasticsearchHost
- type ElasticsearchHostList
- func (l ElasticsearchHostList) CountMasters() int
- func (l ElasticsearchHostList) HasMasters() bool
- func (l *ElasticsearchHostList) RemoveBy(p ElasticsearchHostPredicateFunc) (*ElasticsearchHost, bool)
- func (l *ElasticsearchHostList) RemoveByFQDN(fqdn string) (*ElasticsearchHost, bool)
- func (l *ElasticsearchHostList) RemoveByName(name string) (*ElasticsearchHost, bool)
- type ElasticsearchHostPredicateFunc
- type FolderIamUpdater
- type FunctionIamUpdater
- type GroupIamUpdater
- type HostUpdateInfo
- type KMSSymmetricKeyIamUpdater
- func (u *KMSSymmetricKeyIamUpdater) DescribeResource() string
- func (u *KMSSymmetricKeyIamUpdater) GetMutexKey() string
- func (u *KMSSymmetricKeyIamUpdater) GetResourceID() string
- func (u *KMSSymmetricKeyIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *KMSSymmetricKeyIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type KafkaConfig
- type KafkaConfigSettings
- type KafkaTopicManager
- func (tm *KafkaTopicManager) CreateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec) error
- func (tm *KafkaTopicManager) DeleteKafkaTopic(ctx context.Context, d *schema.ResourceData, topicName string) error
- func (tm *KafkaTopicManager) UpdateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec, ...) error
- type KafkaTopicModifier
- type MongodbSpecHelper
- type MySQLHostSpec
- type OrganizationIamUpdater
- func (u *OrganizationIamUpdater) DescribeResource() string
- func (u *OrganizationIamUpdater) GetMutexKey() string
- func (u *OrganizationIamUpdater) GetResourceID() string
- func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type Policy
- type PostgreSQLHostSpec
- type ReducedDiskServiceClient
- type ResourceIamUpdater
- type S3Website
- type ServerlessContainerIamUpdater
- func (u *ServerlessContainerIamUpdater) DescribeResource() string
- func (u *ServerlessContainerIamUpdater) GetMutexKey() string
- func (u *ServerlessContainerIamUpdater) GetResourceID() string
- func (u *ServerlessContainerIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *ServerlessContainerIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type ServiceAccountIamUpdater
- func (u *ServiceAccountIamUpdater) DescribeResource() string
- func (u *ServiceAccountIamUpdater) GetMutexKey() string
- func (u *ServiceAccountIamUpdater) GetResourceID() string
- func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *Policy) error
- type TopicCleanupPolicy
- type TopicConfig
- type TopicConfigSpec
- type YDBDatabaseIamUpdater
- func (u *YDBDatabaseIamUpdater) DescribeResource() string
- func (u *YDBDatabaseIamUpdater) GetMutexKey() string
- func (u *YDBDatabaseIamUpdater) GetResourceID() string
- func (u *YDBDatabaseIamUpdater) GetResourceIamPolicy() (*Policy, error)
- func (u *YDBDatabaseIamUpdater) SetResourceIamPolicy(policy *Policy) error
Constants ¶
View Source
const ( CHALLENGE_TYPE_DNS_CNAME challengeType = 0 CHALLENGE_TYPE_DNS_TXT challengeType = 1 CHALLENGE_TYPE_HTTP challengeType = 2 )
View Source
const StandardImagesFolderID = "standard-images"
Variables ¶
View Source
var ( UserSettings_OverflowMode_name = map[int32]string{ 0: "unspecified", 1: "throw", 2: "break", } UserSettings_OverflowMode_value = makeReversedMap(UserSettings_OverflowMode_name, clickhouse.UserSettings_OverflowMode_value) UserSettings_GroupByOverflowMode_name = map[int32]string{ 0: "unspecified", 1: "throw", 2: "break", 3: "any", } UserSettings_GroupByOverflowMode_value = makeReversedMap(UserSettings_GroupByOverflowMode_name, clickhouse.UserSettings_GroupByOverflowMode_value) UserSettings_DistributedProductMode_name = map[int32]string{ 0: "unspecified", 1: "deny", 2: "local", 3: "global", 4: "allow", } UserSettings_DistributedProductMode_value = makeReversedMap(UserSettings_DistributedProductMode_name, clickhouse.UserSettings_DistributedProductMode_value) UserSettings_CountDistinctImplementation_name = map[int32]string{ 0: "unspecified", 1: "uniq", 2: "uniq_combined", 3: "uniq_combined_64", 4: "uniq_hll_12", 5: "uniq_exact", } UserSettings_CountDistinctImplementation_value = makeReversedMap(UserSettings_CountDistinctImplementation_name, clickhouse.UserSettings_CountDistinctImplementation_value) UserSettings_QuotaMode_name = map[int32]string{ 0: "unspecified", 1: "default", 2: "keyed", 3: "keyed_by_ip", } UserSettings_QuotaMode_value = makeReversedMap(UserSettings_QuotaMode_name, clickhouse.UserSettings_QuotaMode_value) )
View Source
var ( Topic_CleanupPolicy_name = map[int32]string{ 0: "CLEANUP_POLICY_UNSPECIFIED", 1: "CLEANUP_POLICY_DELETE", 2: "CLEANUP_POLICY_COMPACT", 3: "CLEANUP_POLICY_COMPACT_AND_DELETE", } Topic_CleanupPolicy_value = map[string]int32{ "CLEANUP_POLICY_UNSPECIFIED": 0, "CLEANUP_POLICY_DELETE": 1, "CLEANUP_POLICY_COMPACT": 2, "CLEANUP_POLICY_COMPACT_AND_DELETE": 3, } )
Enum value maps for TopicCleanupPolicy.
View Source
var ErrUnknownGreenplumVersion = func(version string) error { return fmt.Errorf("unknown Greenplum version %s but '6.19' and '6.22' are only available", version) }
View Source
var IamCloudSchema = map[string]*schema.Schema{ "cloud_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamContainerRegistrySchema = map[string]*schema.Schema{ "registry_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamContainerRepositorySchema = map[string]*schema.Schema{ "repository_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamFolderSchema = map[string]*schema.Schema{ "folder_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamFunctionSchema = map[string]*schema.Schema{ "function_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamGroupSchema = map[string]*schema.Schema{ "group_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamKMSSymmetricKeySchema = map[string]*schema.Schema{ "symmetric_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamMemberBaseSchema = map[string]*schema.Schema{ "role": { Type: schema.TypeString, Required: true, ForceNew: true, }, "member": { Type: schema.TypeString, Required: true, ForceNew: true, ValidateFunc: validateIamMember, }, "sleep_after": { Type: schema.TypeInt, Optional: true, ForceNew: true, }, }
View Source
var IamOrganizationSchema = map[string]*schema.Schema{ "organization_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamPolicyBaseSchema = map[string]*schema.Schema{ "policy_data": { Type: schema.TypeString, Required: true, DiffSuppressFunc: shouldSuppressDiffForPolicies, ValidateFunc: validateIamPolicy, }, }
View Source
var IamServerlessContainerSchema = map[string]*schema.Schema{ "container_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamServiceAccountSchema = map[string]*schema.Schema{ "service_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
View Source
var IamYDBDatabaseSchema = map[string]*schema.Schema{ "database_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
Functions ¶
func CaseInsensitive ¶ added in v0.81.0
func CaseInsensitive(_, old, new string, _ *schema.ResourceData) bool
func ChartWidgetVisualizationSettingsColorSchemeSettingsAutomaticColorScheme ¶ added in v0.88.0
func ChartWidgetVisualizationSettingsColorSchemeSettingsGradientColorScheme ¶ added in v0.88.0
func ChartWidgetVisualizationSettingsColorSchemeSettingsStandardColorScheme ¶ added in v0.88.0
func ConvertableToInt ¶ added in v0.63.0
func ConvertableToInt() schema.SchemaValidateFunc
func FloatAtLeast ¶ added in v0.5.2
func FloatAtLeast(min float64) schema.SchemaValidateFunc
FloatAtLeast returns a SchemaValidateFunc which tests if the provided value is of type float64 and is at least min (inclusive)
func FloatGreater ¶ added in v0.44.0
func FloatGreater(min float64) schema.SchemaValidateFunc
FloatAtLeast returns a SchemaValidateFunc which tests if the provided value is of type float64 and is greater than provided min (not inclusive)
func IntGreater ¶ added in v0.44.0
func IntGreater(min int) schema.SchemaValidateFunc
IntGreater returns a SchemaValidateFunc which tests if the provided value is of type int and is greater than provided min (not inclusive)
func IterateKeys ¶ added in v0.72.0
func IterateKeys(d *schema.ResourceData, key string) []string
func NormalizeJsonString ¶ added in v0.55.0
func WebsiteDomainURL ¶ added in v0.44.0
func WebsiteDomainURL() string
func ZipPathToBytes ¶ added in v0.44.0
Types ¶
type CloudIamUpdater ¶
type CloudIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*CloudIamUpdater) DescribeResource ¶
func (u *CloudIamUpdater) DescribeResource() string
func (*CloudIamUpdater) GetMutexKey ¶
func (u *CloudIamUpdater) GetMutexKey() string
func (*CloudIamUpdater) GetResourceID ¶
func (u *CloudIamUpdater) GetResourceID() string
func (*CloudIamUpdater) GetResourceIamPolicy ¶
func (u *CloudIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*CloudIamUpdater) SetResourceIamPolicy ¶
func (u *CloudIamUpdater) SetResourceIamPolicy(policy *Policy) error
type Config ¶
type Config struct { Endpoint string FolderID string CloudID string OrganizationID string Zone string Token string ServiceAccountKeyFileOrContent string Plaintext bool Insecure bool MaxRetries int StorageEndpoint string YMQEndpoint string Region string // These storage access keys are optional and only used when // storage data/resource doesn't have own access keys explicitly specified. StorageAccessKey string StorageSecretKey string // These YMQ access keys are optional and only used when // Message Queue resource doesn't have own access keys explicitly specified. YMQAccessKey string YMQSecretKey string // contains filtered or unexported fields }
func (*Config) ContextWithTimeout ¶ added in v0.44.0
this function returns context with client trace id AND timeout
type ContainerRegistryIamUpdater ¶ added in v0.50.0
type ContainerRegistryIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ContainerRegistryIamUpdater) DescribeResource ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) DescribeResource() string
func (*ContainerRegistryIamUpdater) GetMutexKey ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) GetMutexKey() string
func (*ContainerRegistryIamUpdater) GetResourceID ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) GetResourceID() string
func (*ContainerRegistryIamUpdater) GetResourceIamPolicy ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*ContainerRegistryIamUpdater) SetResourceIamPolicy ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) SetResourceIamPolicy(policy *Policy) error
type ContainerRepositoryIamUpdater ¶ added in v0.52.0
type ContainerRepositoryIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ContainerRepositoryIamUpdater) DescribeResource ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) DescribeResource() string
func (*ContainerRepositoryIamUpdater) GetMutexKey ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) GetMutexKey() string
func (*ContainerRepositoryIamUpdater) GetResourceID ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) GetResourceID() string
func (*ContainerRepositoryIamUpdater) GetResourceIamPolicy ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*ContainerRepositoryIamUpdater) SetResourceIamPolicy ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) SetResourceIamPolicy(policy *Policy) error
type ElasticsearchHost ¶ added in v0.60.0
type ElasticsearchHostList ¶ added in v0.60.0
type ElasticsearchHostList []*ElasticsearchHost
func (ElasticsearchHostList) CountMasters ¶ added in v0.62.0
func (l ElasticsearchHostList) CountMasters() int
func (ElasticsearchHostList) HasMasters ¶ added in v0.62.0
func (l ElasticsearchHostList) HasMasters() bool
func (*ElasticsearchHostList) RemoveBy ¶ added in v0.60.0
func (l *ElasticsearchHostList) RemoveBy(p ElasticsearchHostPredicateFunc) (*ElasticsearchHost, bool)
func (*ElasticsearchHostList) RemoveByFQDN ¶ added in v0.60.0
func (l *ElasticsearchHostList) RemoveByFQDN(fqdn string) (*ElasticsearchHost, bool)
func (*ElasticsearchHostList) RemoveByName ¶ added in v0.60.0
func (l *ElasticsearchHostList) RemoveByName(name string) (*ElasticsearchHost, bool)
type ElasticsearchHostPredicateFunc ¶ added in v0.60.0
type ElasticsearchHostPredicateFunc func(h *ElasticsearchHost) bool
type FolderIamUpdater ¶
type FolderIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FolderIamUpdater) DescribeResource ¶
func (u *FolderIamUpdater) DescribeResource() string
func (*FolderIamUpdater) GetMutexKey ¶
func (u *FolderIamUpdater) GetMutexKey() string
func (*FolderIamUpdater) GetResourceID ¶
func (u *FolderIamUpdater) GetResourceID() string
func (*FolderIamUpdater) GetResourceIamPolicy ¶
func (u *FolderIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*FolderIamUpdater) SetResourceIamPolicy ¶
func (u *FolderIamUpdater) SetResourceIamPolicy(policy *Policy) error
type FunctionIamUpdater ¶ added in v0.44.0
type FunctionIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*FunctionIamUpdater) DescribeResource ¶ added in v0.44.0
func (u *FunctionIamUpdater) DescribeResource() string
func (*FunctionIamUpdater) GetMutexKey ¶ added in v0.44.0
func (u *FunctionIamUpdater) GetMutexKey() string
func (*FunctionIamUpdater) GetResourceID ¶ added in v0.44.0
func (u *FunctionIamUpdater) GetResourceID() string
func (*FunctionIamUpdater) GetResourceIamPolicy ¶ added in v0.44.0
func (u *FunctionIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*FunctionIamUpdater) SetResourceIamPolicy ¶ added in v0.44.0
func (u *FunctionIamUpdater) SetResourceIamPolicy(policy *Policy) error
type GroupIamUpdater ¶ added in v0.80.0
type GroupIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*GroupIamUpdater) DescribeResource ¶ added in v0.80.0
func (u *GroupIamUpdater) DescribeResource() string
func (*GroupIamUpdater) GetMutexKey ¶ added in v0.80.0
func (u *GroupIamUpdater) GetMutexKey() string
func (*GroupIamUpdater) GetResourceID ¶ added in v0.80.0
func (u *GroupIamUpdater) GetResourceID() string
func (*GroupIamUpdater) GetResourceIamPolicy ¶ added in v0.80.0
func (u *GroupIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*GroupIamUpdater) SetResourceIamPolicy ¶ added in v0.80.0
func (u *GroupIamUpdater) SetResourceIamPolicy(policy *Policy) error
type HostUpdateInfo ¶ added in v0.76.0
type HostUpdateInfo struct { HostName string ReplicaPriority *wrappers.Int64Value AssignPublicIp bool UpdateMask *field_mask.FieldMask }
type KMSSymmetricKeyIamUpdater ¶ added in v0.65.0
type KMSSymmetricKeyIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KMSSymmetricKeyIamUpdater) DescribeResource ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) DescribeResource() string
func (*KMSSymmetricKeyIamUpdater) GetMutexKey ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) GetMutexKey() string
func (*KMSSymmetricKeyIamUpdater) GetResourceID ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) GetResourceID() string
func (*KMSSymmetricKeyIamUpdater) GetResourceIamPolicy ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*KMSSymmetricKeyIamUpdater) SetResourceIamPolicy ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) SetResourceIamPolicy(policy *Policy) error
type KafkaConfig ¶ added in v0.63.0
type KafkaConfig struct { CompressionType kafka.CompressionType LogFlushIntervalMessages *wrappers.Int64Value LogFlushIntervalMs *wrappers.Int64Value LogFlushSchedulerIntervalMs *wrappers.Int64Value LogRetentionBytes *wrappers.Int64Value LogRetentionHours *wrappers.Int64Value LogRetentionMinutes *wrappers.Int64Value LogRetentionMs *wrappers.Int64Value LogSegmentBytes *wrappers.Int64Value LogPreallocate *wrappers.BoolValue SocketSendBufferBytes *wrappers.Int64Value SocketReceiveBufferBytes *wrappers.Int64Value AutoCreateTopicsEnable *wrappers.BoolValue NumPartitions *wrappers.Int64Value DefaultReplicationFactor *wrappers.Int64Value MessageMaxBytes *wrappers.Int64Value ReplicaFetchMaxBytes *wrappers.Int64Value SslCipherSuites []string OffsetsRetentionMinutes *wrappers.Int64Value SaslEnabledMechanisms []kafka.SaslMechanism }
type KafkaConfigSettings ¶ added in v0.63.0
type KafkaConfigSettings interface { GetCompressionType() kafka.CompressionType GetLogFlushIntervalMessages() *wrappers.Int64Value GetLogFlushIntervalMs() *wrappers.Int64Value GetLogFlushSchedulerIntervalMs() *wrappers.Int64Value GetLogRetentionBytes() *wrappers.Int64Value GetLogRetentionHours() *wrappers.Int64Value GetLogRetentionMinutes() *wrappers.Int64Value GetLogRetentionMs() *wrappers.Int64Value GetLogSegmentBytes() *wrappers.Int64Value GetLogPreallocate() *wrappers.BoolValue GetSocketSendBufferBytes() *wrappers.Int64Value GetSocketReceiveBufferBytes() *wrappers.Int64Value GetAutoCreateTopicsEnable() *wrappers.BoolValue GetNumPartitions() *wrappers.Int64Value GetDefaultReplicationFactor() *wrappers.Int64Value GetMessageMaxBytes() *wrappers.Int64Value GetReplicaFetchMaxBytes() *wrappers.Int64Value GetSslCipherSuites() []string GetOffsetsRetentionMinutes() *wrappers.Int64Value GetSaslEnabledMechanisms() []kafka.SaslMechanism }
type KafkaTopicManager ¶ added in v0.72.0
type KafkaTopicManager struct {
Config *Config
}
func NewKafkaTopicManager ¶ added in v0.72.0
func NewKafkaTopicManager(config *Config) *KafkaTopicManager
func (*KafkaTopicManager) CreateKafkaTopic ¶ added in v0.72.0
func (tm *KafkaTopicManager) CreateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec) error
func (*KafkaTopicManager) DeleteKafkaTopic ¶ added in v0.72.0
func (tm *KafkaTopicManager) DeleteKafkaTopic(ctx context.Context, d *schema.ResourceData, topicName string) error
func (*KafkaTopicManager) UpdateKafkaTopic ¶ added in v0.72.0
func (tm *KafkaTopicManager) UpdateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec, paths []string) error
type KafkaTopicModifier ¶ added in v0.72.0
type KafkaTopicModifier interface { CreateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec) error DeleteKafkaTopic(ctx context.Context, d *schema.ResourceData, topicName string) error UpdateKafkaTopic(ctx context.Context, d *schema.ResourceData, topicSpec *kafka.TopicSpec, paths []string) error }
type MongodbSpecHelper ¶ added in v0.74.0
type MongodbSpecHelper struct { FlattenResources func(c *mongodb.ClusterConfig, d *schema.ResourceData) (map[string]interface{}, error) FlattenMongod func(c *mongodb.ClusterConfig, d *schema.ResourceData) ([]map[string]interface{}, error) FlattenMongos func(c *mongodb.ClusterConfig, d *schema.ResourceData) ([]map[string]interface{}, error) FlattenMongocfg func(c *mongodb.ClusterConfig, d *schema.ResourceData) ([]map[string]interface{}, error) Expand func(d *schema.ResourceData) mongodb.ConfigSpec_MongodbSpec }
func GetMongodbSpecHelper ¶ added in v0.74.0
func GetMongodbSpecHelper(version string) *MongodbSpecHelper
type MySQLHostSpec ¶ added in v0.44.0
type OrganizationIamUpdater ¶ added in v0.62.0
type OrganizationIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*OrganizationIamUpdater) DescribeResource ¶ added in v0.62.0
func (u *OrganizationIamUpdater) DescribeResource() string
func (*OrganizationIamUpdater) GetMutexKey ¶ added in v0.62.0
func (u *OrganizationIamUpdater) GetMutexKey() string
func (*OrganizationIamUpdater) GetResourceID ¶ added in v0.62.0
func (u *OrganizationIamUpdater) GetResourceID() string
func (*OrganizationIamUpdater) GetResourceIamPolicy ¶ added in v0.62.0
func (u *OrganizationIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*OrganizationIamUpdater) SetResourceIamPolicy ¶ added in v0.62.0
func (u *OrganizationIamUpdater) SetResourceIamPolicy(policy *Policy) error
type Policy ¶
type Policy struct {
Bindings []*access.AccessBinding
}
type PostgreSQLHostSpec ¶ added in v0.44.0
type PostgreSQLHostSpec struct { HostSpec *postgresql.HostSpec Fqdn string }
type ReducedDiskServiceClient ¶
type ReducedDiskServiceClient interface {
Get(ctx context.Context, in *compute.GetDiskRequest, opts ...grpc.CallOption) (*compute.Disk, error)
}
type ResourceIamUpdater ¶
type ResourceIamUpdater interface { // Fetch the existing IAM policy attached to a resource. GetResourceIamPolicy() (*Policy, error) // Replaces the existing IAM Policy attached to a resource. SetResourceIamPolicy(policy *Policy) error // A mutex guards against concurrent call to the SetResourceIamPolicy method. // The mutex key should be made of the resource type and resource id. // For example: `iam-folder-{id}`. GetMutexKey() string // Returns the unique resource identifier. GetResourceID() string // Textual description of this resource to be used in error message. // The description should include the unique resource identifier. DescribeResource() string }
type S3Website ¶ added in v0.44.0
type S3Website struct {
Endpoint, Domain string
}
func WebsiteEndpoint ¶ added in v0.44.0
type ServerlessContainerIamUpdater ¶ added in v0.77.0
type ServerlessContainerIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ServerlessContainerIamUpdater) DescribeResource ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) DescribeResource() string
func (*ServerlessContainerIamUpdater) GetMutexKey ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) GetMutexKey() string
func (*ServerlessContainerIamUpdater) GetResourceID ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) GetResourceID() string
func (*ServerlessContainerIamUpdater) GetResourceIamPolicy ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*ServerlessContainerIamUpdater) SetResourceIamPolicy ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) SetResourceIamPolicy(policy *Policy) error
type ServiceAccountIamUpdater ¶
type ServiceAccountIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*ServiceAccountIamUpdater) DescribeResource ¶
func (u *ServiceAccountIamUpdater) DescribeResource() string
func (*ServiceAccountIamUpdater) GetMutexKey ¶
func (u *ServiceAccountIamUpdater) GetMutexKey() string
func (*ServiceAccountIamUpdater) GetResourceID ¶
func (u *ServiceAccountIamUpdater) GetResourceID() string
func (*ServiceAccountIamUpdater) GetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(policy *Policy) error
type TopicCleanupPolicy ¶ added in v0.49.0
type TopicCleanupPolicy int32
const ( Topic_CLEANUP_POLICY_UNSPECIFIED TopicCleanupPolicy = 0 // this policy discards log segments when either their retention time or log size limit is reached. See also: [KafkaConfig2_8.log_retention_ms] and other similar parameters. Topic_CLEANUP_POLICY_DELETE TopicCleanupPolicy = 1 // this policy compacts messages in log. Topic_CLEANUP_POLICY_COMPACT TopicCleanupPolicy = 2 // this policy use both compaction and deletion for messages and log segments. Topic_CLEANUP_POLICY_COMPACT_AND_DELETE TopicCleanupPolicy = 3 )
type TopicConfig ¶ added in v0.63.0
type TopicConfig struct { CleanupPolicy string CompressionType kafka.CompressionType DeleteRetentionMs *wrappers.Int64Value FileDeleteDelayMs *wrappers.Int64Value FlushMessages *wrappers.Int64Value FlushMs *wrappers.Int64Value MinCompactionLagMs *wrappers.Int64Value RetentionBytes *wrappers.Int64Value RetentionMs *wrappers.Int64Value MaxMessageBytes *wrappers.Int64Value MinInsyncReplicas *wrappers.Int64Value SegmentBytes *wrappers.Int64Value Preallocate *wrappers.BoolValue }
type TopicConfigSpec ¶ added in v0.63.0
type TopicConfigSpec interface { GetCompressionType() kafka.CompressionType GetDeleteRetentionMs() *wrappers.Int64Value GetFileDeleteDelayMs() *wrappers.Int64Value GetFlushMessages() *wrappers.Int64Value GetFlushMs() *wrappers.Int64Value GetMinCompactionLagMs() *wrappers.Int64Value GetRetentionBytes() *wrappers.Int64Value GetRetentionMs() *wrappers.Int64Value GetMaxMessageBytes() *wrappers.Int64Value GetMinInsyncReplicas() *wrappers.Int64Value GetSegmentBytes() *wrappers.Int64Value GetPreallocate() *wrappers.BoolValue }
type YDBDatabaseIamUpdater ¶ added in v0.77.0
type YDBDatabaseIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*YDBDatabaseIamUpdater) DescribeResource ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) DescribeResource() string
func (*YDBDatabaseIamUpdater) GetMutexKey ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) GetMutexKey() string
func (*YDBDatabaseIamUpdater) GetResourceID ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) GetResourceID() string
func (*YDBDatabaseIamUpdater) GetResourceIamPolicy ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) GetResourceIamPolicy() (*Policy, error)
func (*YDBDatabaseIamUpdater) SetResourceIamPolicy ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) SetResourceIamPolicy(policy *Policy) error
Source Files ¶
- alb_structures.go
- billing_service_instance_binding.go
- cdn_helpers.go
- config.go
- data_source_yandex_alb_backend_group.go
- data_source_yandex_alb_http_router.go
- data_source_yandex_alb_load_balancer.go
- data_source_yandex_alb_target_group.go
- data_source_yandex_alb_virtual_host.go
- data_source_yandex_api_gateway.go
- data_source_yandex_billing_cloud_binding.go
- data_source_yandex_cdn_origin_group.go
- data_source_yandex_cdn_resource.go
- data_source_yandex_client_config.go
- data_source_yandex_cm_certificate.go
- data_source_yandex_cm_certificate_content.go
- data_source_yandex_compute_disk.go
- data_source_yandex_compute_disk_placement_group.go
- data_source_yandex_compute_filesystem.go
- data_source_yandex_compute_gpu_cluster.go
- data_source_yandex_compute_image.go
- data_source_yandex_compute_instance.go
- data_source_yandex_compute_instance_group.go
- data_source_yandex_compute_placement_group.go
- data_source_yandex_compute_snapshot.go
- data_source_yandex_compute_snapshot_schedule.go
- data_source_yandex_container_registry.go
- data_source_yandex_container_registry_ip_permission.go
- data_source_yandex_container_repository.go
- data_source_yandex_container_repository_lifecycle_policy.go
- data_source_yandex_dataproc_cluster.go
- data_source_yandex_dns_zone.go
- data_source_yandex_function.go
- data_source_yandex_function_scaling_policy.go
- data_source_yandex_function_trigger.go
- data_source_yandex_iam_policy.go
- data_source_yandex_iam_role.go
- data_source_yandex_iam_service_account.go
- data_source_yandex_iam_user.go
- data_source_yandex_iot_core_broker.go
- data_source_yandex_iot_core_device.go
- data_source_yandex_iot_core_registry.go
- data_source_yandex_kubernetes_cluster.go
- data_source_yandex_kubernetes_node_group.go
- data_source_yandex_lb_network_load_balancer.go
- data_source_yandex_lb_target_group.go
- data_source_yandex_lockbox_secret.go
- data_source_yandex_lockbox_secret_version.go
- data_source_yandex_logging_group.go
- data_source_yandex_mdb_clickhouse_cluster.go
- data_source_yandex_mdb_elasticsearch_cluster.go
- data_source_yandex_mdb_greenplum_cluster.go
- data_source_yandex_mdb_kafka_cluster.go
- data_source_yandex_mdb_kafka_connector.go
- data_source_yandex_mdb_kafka_topic.go
- data_source_yandex_mdb_mongodb_cluster.go
- data_source_yandex_mdb_mysql_cluster.go
- data_source_yandex_mdb_mysql_database.go
- data_source_yandex_mdb_mysql_user.go
- data_source_yandex_mdb_postgresql_cluster.go
- data_source_yandex_mdb_postgresql_database.go
- data_source_yandex_mdb_postgresql_user.go
- data_source_yandex_mdb_redis_cluster.go
- data_source_yandex_mdb_sqlserver_cluster.go
- data_source_yandex_message_queue.go
- data_source_yandex_monitoring_dashboard.go
- data_source_yandex_organizationmanager_group.go
- data_source_yandex_organizationmanager_saml_federation.go
- data_source_yandex_organizationmanager_saml_federation_user_account.go
- data_source_yandex_resourcemanager_cloud.go
- data_source_yandex_resourcemanager_folder.go
- data_source_yandex_serverless_container.go
- data_source_yandex_vpc_address.go
- data_source_yandex_vpc_gateway.go
- data_source_yandex_vpc_network.go
- data_source_yandex_vpc_route_table.go
- data_source_yandex_vpc_security_group.go
- data_source_yandex_vpc_security_group_rule.go
- data_source_yandex_vpc_subnet.go
- data_source_yandex_ydb_database_dedicated.go
- data_source_yandex_ydb_database_serverless.go
- datatransfer_structures.go
- dynamic.go
- dynamic_fields.go
- dynamic_fields_fill.go
- iam.go
- iam_binding.go
- iam_cloud.go
- iam_container_registry.go
- iam_container_repository.go
- iam_folder.go
- iam_function.go
- iam_group.go
- iam_kms_symmetric_key.go
- iam_member.go
- iam_organization.go
- iam_policy.go
- iam_serverless_container.go
- iam_service_account.go
- iam_ydb_database.go
- ig_structures.go
- kafka_utils.go
- lb_structures.go
- lockbox_structures.go
- logging.go
- mdb_clickhouse_structures.go
- mdb_elasticsearch_structures.go
- mdb_greenplum_structures.go
- mdb_kafka_structures.go
- mdb_mongodb_structures.go
- mdb_mysql_structures.go
- mdb_postgresql_structures.go
- mdb_redis_structures.go
- mdb_sqlserver_structures.go
- mdb_structures.go
- monitoring_structures.go
- provider.go
- resource_yandex_alb_backend_group.go
- resource_yandex_alb_http_router.go
- resource_yandex_alb_load_balancer.go
- resource_yandex_alb_target_group.go
- resource_yandex_alb_virtual_host.go
- resource_yandex_api_gateway.go
- resource_yandex_billing_cloud_binding.go
- resource_yandex_cdn_origin_group.go
- resource_yandex_cdn_resource.go
- resource_yandex_cm_certificate.go
- resource_yandex_compute_disk.go
- resource_yandex_compute_disk_placement_group.go
- resource_yandex_compute_filesystem.go
- resource_yandex_compute_gpu_cluster.go
- resource_yandex_compute_image.go
- resource_yandex_compute_instance.go
- resource_yandex_compute_instance_group.go
- resource_yandex_compute_instance_migrate.go
- resource_yandex_compute_placement_group.go
- resource_yandex_compute_snapshot.go
- resource_yandex_compute_snapshot_schedule.go
- resource_yandex_container_registry.go
- resource_yandex_container_registry_iam_binding.go
- resource_yandex_container_registry_ip_permission.go
- resource_yandex_container_repository.go
- resource_yandex_container_repository_iam_binding.go
- resource_yandex_container_repository_lifecycle_policy.go
- resource_yandex_dataproc_cluster.go
- resource_yandex_datatransfer_endpoint.go
- resource_yandex_datatransfer_transfer.go
- resource_yandex_dns_recordset.go
- resource_yandex_dns_zone.go
- resource_yandex_function.go
- resource_yandex_function_iam_binding.go
- resource_yandex_function_scaling_policy.go
- resource_yandex_function_trigger.go
- resource_yandex_iam_service_account.go
- resource_yandex_iam_service_account_api_key.go
- resource_yandex_iam_service_account_iam_binding.go
- resource_yandex_iam_service_account_iam_member.go
- resource_yandex_iam_service_account_iam_policy.go
- resource_yandex_iam_service_account_key.go
- resource_yandex_iam_service_account_static_access_key.go
- resource_yandex_iot_core_broker.go
- resource_yandex_iot_core_device.go
- resource_yandex_iot_core_registry.go
- resource_yandex_kms_secret_ciphertext.go
- resource_yandex_kms_symmetric_key.go
- resource_yandex_kms_symmetric_key_iam_binding.go
- resource_yandex_kubernetes_cluster.go
- resource_yandex_kubernetes_node_group.go
- resource_yandex_lb_network_load_balancer.go
- resource_yandex_lb_target_group.go
- resource_yandex_lockbox_secret.go
- resource_yandex_lockbox_secret_version.go
- resource_yandex_logging_group.go
- resource_yandex_mdb_clickhouse_cluster.go
- resource_yandex_mdb_elasticsearch_cluster.go
- resource_yandex_mdb_greenplum_cluster.go
- resource_yandex_mdb_kafka_cluster.go
- resource_yandex_mdb_kafka_connector.go
- resource_yandex_mdb_kafka_topic.go
- resource_yandex_mdb_mongodb_cluster.go
- resource_yandex_mdb_mysql_cluster.go
- resource_yandex_mdb_mysql_database.go
- resource_yandex_mdb_mysql_user.go
- resource_yandex_mdb_postgresql_cluster.go
- resource_yandex_mdb_postgresql_database.go
- resource_yandex_mdb_postgresql_user.go
- resource_yandex_mdb_redis_cluster.go
- resource_yandex_mdb_sqlserver_cluster.go
- resource_yandex_message_queue.go
- resource_yandex_monitoring_dashboard.go
- resource_yandex_organizationmanager_group.go
- resource_yandex_organizationmanager_group_iam_member.go
- resource_yandex_organizationmanager_group_membership.go
- resource_yandex_organizationmanager_organization_iam_binding.go
- resource_yandex_organizationmanager_organization_iam_member.go
- resource_yandex_organizationmanager_saml_federation.go
- resource_yandex_resourcemanager_cloud.go
- resource_yandex_resourcemanager_cloud_iam_binding.go
- resource_yandex_resourcemanager_cloud_iam_member.go
- resource_yandex_resourcemanager_folder.go
- resource_yandex_resourcemanager_folder_iam_binding.go
- resource_yandex_resourcemanager_folder_iam_member.go
- resource_yandex_resourcemanager_folder_iam_policy.go
- resource_yandex_serverless_container.go
- resource_yandex_serverless_container_iam_binding.go
- resource_yandex_storage_bucket.go
- resource_yandex_storage_object.go
- resource_yandex_vpc_address.go
- resource_yandex_vpc_default_security_group.go
- resource_yandex_vpc_gateway.go
- resource_yandex_vpc_network.go
- resource_yandex_vpc_route_table.go
- resource_yandex_vpc_security_group.go
- resource_yandex_vpc_security_group_rule.go
- resource_yandex_vpc_subnet.go
- resource_yandex_ydb_database_dedicated.go
- resource_yandex_ydb_database_iam_binding.go
- resource_yandex_ydb_database_serverless.go
- resource_yandex_ydb_topic.go
- serverless_api_gateway_structures.go
- storage_client.go
- structures.go
- utils.go
- validators.go
- ydb_structures.go
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.