Documentation ¶
Overview ¶
Code generated with gentf. DO NOT EDIT.
Code generated with gentf. DO NOT EDIT.
Code generated with gentf. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func AllowHostsSortedToStr(allowHosts []string) string
- 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 DestroyOutputToLockboxVersion(ctx context.Context, d *schema.ResourceData, config *Config) error
- func ExtendWithOutputToLockbox(resourceSchema map[string]*schema.Schema, sensitiveAttrs []string) map[string]*schema.Schema
- 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 LockboxSecretIDParseFunc(d *schema.ResourceData, _ *Config) error
- func ManageOutputToLockbox(ctx context.Context, d *schema.ResourceData, config *Config, ...) error
- func Map[F, T any](s []F, f func(F) T) []T
- func Min(x, y int64) int64
- func NewSDKProvider() *schema.Provider
- func NormalizeJsonString(jsonString interface{}) (string, error)
- func UserPermissionsToStr(permissions []*kafka.Permission) string
- func WebsiteDomainURL() string
- func WithImporter(importer *schema.ResourceImporter) func(resource *schema.Resource)
- func WithTimeout(timeout *schema.ResourceTimeout) func(*schema.Resource)
- func ZipPathToBytes(root string) ([]byte, error)
- type AwsCode
- type CloudIamUpdater
- func (u *CloudIamUpdater) DescribeResource() string
- func (u *CloudIamUpdater) GetMutexKey() string
- func (u *CloudIamUpdater) GetResourceID() string
- func (u *CloudIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *CloudIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *CloudIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type Config
- type ContainerRegistryIamUpdater
- func (u *ContainerRegistryIamUpdater) DescribeResource() string
- func (u *ContainerRegistryIamUpdater) GetMutexKey() string
- func (u *ContainerRegistryIamUpdater) GetResourceID() string
- func (u *ContainerRegistryIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *ContainerRegistryIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *ContainerRegistryIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type ContainerRepositoryIamUpdater
- func (u *ContainerRepositoryIamUpdater) DescribeResource() string
- func (u *ContainerRepositoryIamUpdater) GetMutexKey() string
- func (u *ContainerRepositoryIamUpdater) GetResourceID() string
- func (u *ContainerRepositoryIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *ContainerRepositoryIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *ContainerRepositoryIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type DnsZoneIamUpdater
- func (u *DnsZoneIamUpdater) DescribeResource() string
- func (u *DnsZoneIamUpdater) GetMutexKey() string
- func (u *DnsZoneIamUpdater) GetResourceID() string
- func (u *DnsZoneIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *DnsZoneIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *DnsZoneIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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
- func (u *FolderIamUpdater) DescribeResource() string
- func (u *FolderIamUpdater) GetMutexKey() string
- func (u *FolderIamUpdater) GetResourceID() string
- func (u *FolderIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *FolderIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *FolderIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type FunctionIamUpdater
- func (u *FunctionIamUpdater) DescribeResource() string
- func (u *FunctionIamUpdater) GetMutexKey() string
- func (u *FunctionIamUpdater) GetResourceID() string
- func (u *FunctionIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *FunctionIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *FunctionIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type GroupIamUpdater
- func (u *GroupIamUpdater) DescribeResource() string
- func (u *GroupIamUpdater) GetMutexKey() string
- func (u *GroupIamUpdater) GetResourceID() string
- func (u *GroupIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *GroupIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *GroupIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type HostUpdateInfo
- type KMSAsymmetricEncryptionKeyIamUpdater
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) DescribeResource() string
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetMutexKey() string
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetResourceID() string
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *KMSAsymmetricEncryptionKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type KMSAsymmetricSignatureKeyIamUpdater
- func (u *KMSAsymmetricSignatureKeyIamUpdater) DescribeResource() string
- func (u *KMSAsymmetricSignatureKeyIamUpdater) GetMutexKey() string
- func (u *KMSAsymmetricSignatureKeyIamUpdater) GetResourceID() string
- func (u *KMSAsymmetricSignatureKeyIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *KMSAsymmetricSignatureKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *KMSAsymmetricSignatureKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type KMSSymmetricKeyIamUpdater
- func (u *KMSSymmetricKeyIamUpdater) DescribeResource() string
- func (u *KMSSymmetricKeyIamUpdater) GetMutexKey() string
- func (u *KMSSymmetricKeyIamUpdater) GetResourceID() string
- func (u *KMSSymmetricKeyIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *KMSSymmetricKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *KMSSymmetricKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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 LockboxSecretIamUpdater
- func (u *LockboxSecretIamUpdater) DescribeResource() string
- func (u *LockboxSecretIamUpdater) GetMutexKey() string
- func (u *LockboxSecretIamUpdater) GetResourceID() string
- func (u *LockboxSecretIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *LockboxSecretIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *LockboxSecretIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- 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(ctx context.Context) (*Policy, error)
- func (u *OrganizationIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *OrganizationIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type Policy
- type PolicyDelta
- type PostgreSQLHostSpec
- type Profile
- type RawCredentials
- type ReducedDiskServiceClient
- type ResourceIamUpdater
- type S3Website
- type SchemaOption
- type ServerlessContainerIamUpdater
- func (u *ServerlessContainerIamUpdater) DescribeResource() string
- func (u *ServerlessContainerIamUpdater) GetMutexKey() string
- func (u *ServerlessContainerIamUpdater) GetResourceID() string
- func (u *ServerlessContainerIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *ServerlessContainerIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *ServerlessContainerIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type ServiceAccountIamUpdater
- func (u *ServiceAccountIamUpdater) DescribeResource() string
- func (u *ServiceAccountIamUpdater) GetMutexKey() string
- func (u *ServiceAccountIamUpdater) GetResourceID() string
- func (u *ServiceAccountIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *ServiceAccountIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
- type SharedCredentials
- type SharedCredentialsProvider
- type TopicCleanupPolicy
- type TopicConfig
- type TopicConfigSpec
- type Wrapper
- type YDBDatabaseIamUpdater
- func (u *YDBDatabaseIamUpdater) DescribeResource() string
- func (u *YDBDatabaseIamUpdater) GetMutexKey() string
- func (u *YDBDatabaseIamUpdater) GetResourceID() string
- func (u *YDBDatabaseIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
- func (u *YDBDatabaseIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
- func (u *YDBDatabaseIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
Constants ¶
const ( CHALLENGE_TYPE_DNS_CNAME challengeType = 0 CHALLENGE_TYPE_DNS_TXT challengeType = 1 CHALLENGE_TYPE_HTTP challengeType = 2 )
const (
ReadModeKey key = iota
)
const StandardImagesFolderID = "standard-images"
Variables ¶
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) UserSettings_LocalFilesystemReadMethod_name = map[int32]string{ 0: "unspecified", 1: "read", 2: "pread_threadpool", 3: "pread", 4: "nmap", } UserSettings_RemoteFilesystemReadMethod_name = map[int32]string{ 0: "unspecified", 1: "read", 2: "threadpool", } UserSettings_LoadBalancing_name = map[int32]string{ 0: "unspecified", 1: "random", 2: "nearest_hostname", 3: "in_order", 4: "first_or_random", 5: "round_robin", } UserSettings_LocalFilesystemReadMethod_value = makeReversedMap(UserSettings_LocalFilesystemReadMethod_name, clickhouse.UserSettings_LocalFilesystemReadMethod_value) UserSettings_RemoteFilesystemReadMethod_value = makeReversedMap(UserSettings_RemoteFilesystemReadMethod_name, clickhouse.UserSettings_RemoteFilesystemReadMethod_value) UserSettings_LoadBalancing_value = makeReversedMap(UserSettings_LoadBalancing_name, clickhouse.UserSettings_LoadBalancing_value) )
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.
var IamCloudSchema = map[string]*schema.Schema{ "cloud_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamContainerRegistrySchema = map[string]*schema.Schema{ "registry_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamContainerRepositorySchema = map[string]*schema.Schema{ "repository_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamDnsZoneSchema = map[string]*schema.Schema{ "dns_zone_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamFolderSchema = map[string]*schema.Schema{ "folder_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamFunctionSchema = map[string]*schema.Schema{ "function_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamGroupSchema = map[string]*schema.Schema{ "group_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKMSAsymmetricEncryptionKeySchema = map[string]*schema.Schema{ "asymmetric_encryption_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKMSAsymmetricSignatureKeySchema = map[string]*schema.Schema{ "asymmetric_signature_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamKMSSymmetricKeySchema = map[string]*schema.Schema{ "symmetric_key_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamLockboxSecretSchema = map[string]*schema.Schema{ "secret_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
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, }, }
var IamOrganizationSchema = map[string]*schema.Schema{ "organization_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamPolicyBaseSchema = map[string]*schema.Schema{ "policy_data": { Type: schema.TypeString, Required: true, DiffSuppressFunc: shouldSuppressDiffForPolicies, ValidateFunc: validateIamPolicy, }, }
var IamServerlessContainerSchema = map[string]*schema.Schema{ "container_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamServiceAccountSchema = map[string]*schema.Schema{ "service_account_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
var IamYDBDatabaseSchema = map[string]*schema.Schema{ "database_id": { Type: schema.TypeString, Required: true, ForceNew: true, }, }
Functions ¶
func AllowHostsSortedToStr ¶ added in v0.99.0
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 DestroyOutputToLockboxVersion ¶ added in v0.129.0
func DestroyOutputToLockboxVersion(ctx context.Context, d *schema.ResourceData, config *Config) error
DestroyOutputToLockboxVersion destroys the Lockbox version if output_to_lockbox is being used. Should be called in the resource Delete method.
func ExtendWithOutputToLockbox ¶ added in v0.127.0
func ExtendWithOutputToLockbox(resourceSchema map[string]*schema.Schema, sensitiveAttrs []string) map[string]*schema.Schema
ExtendWithOutputToLockbox adds output_to_lockbox attributes, used by ManageOutputToLockbox
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 LockboxSecretIDParseFunc ¶ added in v0.92.0
func LockboxSecretIDParseFunc(d *schema.ResourceData, _ *Config) error
func ManageOutputToLockbox ¶ added in v0.127.0
func ManageOutputToLockbox(ctx context.Context, d *schema.ResourceData, config *Config, sensitiveAttrs []string) error
ManageOutputToLockbox moves sensitive values between state and Lockbox. If output_to_lockbox is removed: restores the sensitive attributes from the Lockbox secret (and destroys the secret version). If output_to_lockbox is added: moves sensitive attributes to a Lockbox secret (adds a secret version), and removes the sensitive values from the state. If output_to_lockbox is modified: it's equivalent to remove it and then add it (old version will be destroyed, and a new version will be added).
This method should be called at the end of the resource Create and Updated methods (e.g. just after calling Read). If both Create and Updated methods call Read, then we could call ManageOutputToLockbox at the end of the Read method.
func NewSDKProvider ¶ added in v0.97.0
func NormalizeJsonString ¶ added in v0.55.0
func UserPermissionsToStr ¶ added in v0.99.0
func UserPermissionsToStr(permissions []*kafka.Permission) string
func WebsiteDomainURL ¶ added in v0.44.0
func WebsiteDomainURL() string
func WithImporter ¶ added in v0.94.0
func WithImporter(importer *schema.ResourceImporter) func(resource *schema.Resource)
func WithTimeout ¶ added in v0.94.0
func WithTimeout(timeout *schema.ResourceTimeout) func(*schema.Resource)
func ZipPathToBytes ¶ added in v0.44.0
Types ¶
type AwsCode ¶ added in v0.129.0
type AwsCode string
const ( AwsNoSuchBucket AwsCode = s3.ErrCodeNoSuchBucket AwsAccessDenied AwsCode = "AccessDenied" AwsForbidden AwsCode = "Forbidden" AwsMalformedPolicy AwsCode = "MalformedPolicy" AwsOperationAborted AwsCode = "OperationAborted" AwsBucketNotEmpty AwsCode = "BucketNotEmpty" AwsNoSuchBucketPolicy AwsCode = "NoSuchBucketPolicy" AwsNoSuchCORSConfiguration AwsCode = "NoSuchCORSConfiguration" AwsNotImplemented AwsCode = "NotImplemented" AwsNoSuchWebsiteConfiguration AwsCode = "NoSuchWebsiteConfiguration" AwsObjectLockConfigurationNotFoundError AwsCode = "ObjectLockConfigurationNotFoundError" AwsNoSuchLifecycleConfiguration AwsCode = "NoSuchLifecycleConfiguration" AwsServerSideEncryptionConfigurationNotFoundError AwsCode = "ServerSideEncryptionConfigurationNotFoundError" AwsNoSuchEncryptionConfiguration AwsCode = "NoSuchEncryptionConfiguration" )
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(ctx context.Context) (*Policy, error)
func (*CloudIamUpdater) SetResourceIamPolicy ¶
func (u *CloudIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*CloudIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *CloudIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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 Profile 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(ctx context.Context) (*Policy, error)
func (*ContainerRegistryIamUpdater) SetResourceIamPolicy ¶ added in v0.50.0
func (u *ContainerRegistryIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*ContainerRegistryIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *ContainerRegistryIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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(ctx context.Context) (*Policy, error)
func (*ContainerRepositoryIamUpdater) SetResourceIamPolicy ¶ added in v0.52.0
func (u *ContainerRepositoryIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*ContainerRepositoryIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *ContainerRepositoryIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type DnsZoneIamUpdater ¶ added in v0.110.0
type DnsZoneIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*DnsZoneIamUpdater) DescribeResource ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) DescribeResource() string
func (*DnsZoneIamUpdater) GetMutexKey ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) GetMutexKey() string
func (*DnsZoneIamUpdater) GetResourceID ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) GetResourceID() string
func (*DnsZoneIamUpdater) GetResourceIamPolicy ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
func (*DnsZoneIamUpdater) SetResourceIamPolicy ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*DnsZoneIamUpdater) UpdateResourceIamPolicy ¶ added in v0.110.0
func (u *DnsZoneIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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(ctx context.Context) (*Policy, error)
func (*FolderIamUpdater) SetResourceIamPolicy ¶
func (u *FolderIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*FolderIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *FolderIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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(ctx context.Context) (*Policy, error)
func (*FunctionIamUpdater) SetResourceIamPolicy ¶ added in v0.44.0
func (u *FunctionIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*FunctionIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *FunctionIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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(ctx context.Context) (*Policy, error)
func (*GroupIamUpdater) SetResourceIamPolicy ¶ added in v0.80.0
func (u *GroupIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*GroupIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *GroupIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type HostUpdateInfo ¶ added in v0.76.0
type HostUpdateInfo struct { HostName string ReplicaPriority *wrappers.Int64Value AssignPublicIp bool UpdateMask *field_mask.FieldMask }
type KMSAsymmetricEncryptionKeyIamUpdater ¶ added in v0.95.0
type KMSAsymmetricEncryptionKeyIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KMSAsymmetricEncryptionKeyIamUpdater) DescribeResource ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) DescribeResource() string
func (*KMSAsymmetricEncryptionKeyIamUpdater) GetMutexKey ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetMutexKey() string
func (*KMSAsymmetricEncryptionKeyIamUpdater) GetResourceID ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetResourceID() string
func (*KMSAsymmetricEncryptionKeyIamUpdater) GetResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
func (*KMSAsymmetricEncryptionKeyIamUpdater) SetResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*KMSAsymmetricEncryptionKeyIamUpdater) UpdateResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricEncryptionKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type KMSAsymmetricSignatureKeyIamUpdater ¶ added in v0.95.0
type KMSAsymmetricSignatureKeyIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*KMSAsymmetricSignatureKeyIamUpdater) DescribeResource ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) DescribeResource() string
func (*KMSAsymmetricSignatureKeyIamUpdater) GetMutexKey ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) GetMutexKey() string
func (*KMSAsymmetricSignatureKeyIamUpdater) GetResourceID ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) GetResourceID() string
func (*KMSAsymmetricSignatureKeyIamUpdater) GetResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
func (*KMSAsymmetricSignatureKeyIamUpdater) SetResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*KMSAsymmetricSignatureKeyIamUpdater) UpdateResourceIamPolicy ¶ added in v0.95.0
func (u *KMSAsymmetricSignatureKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
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(ctx context.Context) (*Policy, error)
func (*KMSSymmetricKeyIamUpdater) SetResourceIamPolicy ¶ added in v0.65.0
func (u *KMSSymmetricKeyIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*KMSSymmetricKeyIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *KMSSymmetricKeyIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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 LockboxSecretIamUpdater ¶ added in v0.92.0
type LockboxSecretIamUpdater struct { Config *Config // contains filtered or unexported fields }
func (*LockboxSecretIamUpdater) DescribeResource ¶ added in v0.92.0
func (u *LockboxSecretIamUpdater) DescribeResource() string
func (*LockboxSecretIamUpdater) GetMutexKey ¶ added in v0.92.0
func (u *LockboxSecretIamUpdater) GetMutexKey() string
func (*LockboxSecretIamUpdater) GetResourceID ¶ added in v0.92.0
func (u *LockboxSecretIamUpdater) GetResourceID() string
func (*LockboxSecretIamUpdater) GetResourceIamPolicy ¶ added in v0.92.0
func (u *LockboxSecretIamUpdater) GetResourceIamPolicy(ctx context.Context) (*Policy, error)
func (*LockboxSecretIamUpdater) SetResourceIamPolicy ¶ added in v0.92.0
func (u *LockboxSecretIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*LockboxSecretIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *LockboxSecretIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type MongodbSpecHelper ¶ added in v0.74.0
type MongodbSpecHelper struct { FlattenResources func(c *mongodb.ClusterConfig, d *schema.ResourceData) (map[string]interface{}, error) FlattenDiskSizeAutoscaling 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.MongodbSpec }
func GetMongodbSpecHelper ¶ added in v0.74.0
func GetMongodbSpecHelper() *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(ctx context.Context) (*Policy, error)
func (*OrganizationIamUpdater) SetResourceIamPolicy ¶ added in v0.62.0
func (u *OrganizationIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*OrganizationIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *OrganizationIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type Policy ¶
type Policy struct {
Bindings []*access.AccessBinding
}
type PolicyDelta ¶ added in v0.94.0
type PolicyDelta struct {
Deltas []*access.AccessBindingDelta
}
type PostgreSQLHostSpec ¶ added in v0.44.0
type PostgreSQLHostSpec struct { HostSpec *postgresql.HostSpec Fqdn string }
type RawCredentials ¶ added in v0.96.0
type ReducedDiskServiceClient ¶
type ReducedDiskServiceClient interface {
Get(ctx context.Context, in *compute.GetDiskRequest, opts ...grpc.CallOption) (*compute.Disk, error)
}
type ResourceIamUpdater ¶
type ResourceIamUpdater interface { // GetResourceIamPolicy Fetch the existing IAM policy attached to a resource. GetResourceIamPolicy(ctx context.Context) (*Policy, error) // SetResourceIamPolicy Replaces the existing IAM Policy attached to a resource. // Useful for `iam_binding` and `iam_policy` resources SetResourceIamPolicy(ctx context.Context, policy *Policy) error // UpdateResourceIamPolicy Updates the existing IAM Policy attached to a resource. // Useful for `iam_member` resources UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error // GetMutexKey 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 // GetResourceID Returns the unique resource identifier. GetResourceID() string // DescribeResource 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 SchemaOption ¶ added in v0.94.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(ctx context.Context) (*Policy, error)
func (*ServerlessContainerIamUpdater) SetResourceIamPolicy ¶ added in v0.77.0
func (u *ServerlessContainerIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*ServerlessContainerIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *ServerlessContainerIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) 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(ctx context.Context) (*Policy, error)
func (*ServiceAccountIamUpdater) SetResourceIamPolicy ¶
func (u *ServiceAccountIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*ServiceAccountIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *ServiceAccountIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
type SharedCredentials ¶ added in v0.96.0
type SharedCredentials struct {}
func (*SharedCredentials) HasStorageAccessKeys ¶ added in v0.96.0
func (p *SharedCredentials) HasStorageAccessKeys() bool
type SharedCredentialsProvider ¶ added in v0.96.0
A SharedCredentialsProvider retrieves credentials for the selected profile from the given file.
func (*SharedCredentialsProvider) Retrieve ¶ added in v0.96.0
func (p *SharedCredentialsProvider) Retrieve() (*SharedCredentials, error)
Retrieve reads and extracts the credentials for the selected profile from the given file.
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(ctx context.Context) (*Policy, error)
func (*YDBDatabaseIamUpdater) SetResourceIamPolicy ¶ added in v0.77.0
func (u *YDBDatabaseIamUpdater) SetResourceIamPolicy(ctx context.Context, policy *Policy) error
func (*YDBDatabaseIamUpdater) UpdateResourceIamPolicy ¶ added in v0.94.0
func (u *YDBDatabaseIamUpdater) UpdateResourceIamPolicy(ctx context.Context, policy *PolicyDelta) error
Source Files ¶
- alb_structures.go
- backup_helpers.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_audit_trails_trail.go
- data_source_yandex_backup_policy.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_service_agent.go
- data_source_yandex_iam_user.go
- data_source_yandex_iam_workload_identity_federated_credential.go
- data_source_yandex_iam_workload_identity_oidc_federation.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_kms_asymmetric_encryption_key.go
- data_source_yandex_kms_asymmetric_signature_key.go
- data_source_yandex_kms_symmetric_key.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_loadtesting_agent.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_kafka_user.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_os_login_settings.go
- data_source_yandex_organizationmanager_saml_federation.go
- data_source_yandex_organizationmanager_saml_federation_user_account.go
- data_source_yandex_organizationmanager_user_ssh_key.go
- data_source_yandex_resourcemanager_cloud.go
- data_source_yandex_resourcemanager_folder.go
- data_source_yandex_serverless_container.go
- data_source_yandex_smartcaptcha_captcha.go
- data_source_yandex_sws_security_profile.go
- data_source_yandex_vpc_address.go
- data_source_yandex_vpc_gateway.go
- data_source_yandex_vpc_network.go
- data_source_yandex_vpc_private_endpoint.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_dns_zone.go
- iam_folder.go
- iam_function.go
- iam_group.go
- iam_kms_asymmetric_encryption_key.go
- iam_kms_asymmetric_signature_key.go
- iam_kms_symmetric_key.go
- iam_lockbox_secret.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_outputs.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_audit_trails_trail.go
- resource_yandex_backup_policy.go
- resource_yandex_backup_policy_bindings.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_dns_zone_iam_binding.go
- resource_yandex_function.go
- resource_yandex_function_iam_binding.go
- resource_yandex_function_migrate.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_iam_workload_identity_federated_credential.go
- resource_yandex_iam_workload_identity_oidc_federation.go
- resource_yandex_iot_core_broker.go
- resource_yandex_iot_core_device.go
- resource_yandex_iot_core_registry.go
- resource_yandex_kms_asymmetric_encryption_key.go
- resource_yandex_kms_asymmetric_encryption_key_iam_binding.go
- resource_yandex_kms_asymmetric_signature_key.go
- resource_yandex_kms_asymmetric_signature_key_iam_binding.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_loadtesting_agent.go
- resource_yandex_lockbox_secret.go
- resource_yandex_lockbox_secret_iam_binding.go
- resource_yandex_lockbox_secret_version.go
- resource_yandex_lockbox_secret_version_hashed.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_kafka_user.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_os_login_settings.go
- resource_yandex_organizationmanager_saml_federation.go
- resource_yandex_organizationmanager_saml_federation_user_account.go
- resource_yandex_organizationmanager_user_ssh_key.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_smartcaptcha_captcha.go
- resource_yandex_storage_bucket.go
- resource_yandex_storage_bucket_migrate.go
- resource_yandex_storage_object.go
- resource_yandex_sws_security_profile.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_private_endpoint.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_table.go
- resource_yandex_ydb_table_changefeed.go
- resource_yandex_ydb_table_index.go
- resource_yandex_ydb_topic.go
- schema_options.go
- serverless_api_gateway_structures.go
- shared_credentials.go
- storage_client.go
- structures.go
- sws_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. |