dns

package
v5.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DNSManagedZoneAssetType string = "dns.googleapis.com/ManagedZone"
View Source
const DNSManagedZoneIAMAssetType string = "dns.googleapis.com/ManagedZone"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

View Source
const DNSPolicyAssetType string = "dns.googleapis.com/Policy"
View Source
const DNSResponsePolicyAssetType string = "dns.googleapis.com/ResponsePolicy"
View Source
const DNSResponsePolicyRuleAssetType string = "dns.googleapis.com/ResponsePolicyRule"

Variables

View Source
var DNSManagedZoneIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"managed_zone": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func DNSManagedZoneIdParseFunc

func DNSManagedZoneIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func FetchDNSManagedZoneIamPolicy

func FetchDNSManagedZoneIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GetDNSManagedZoneApiObject

func GetDNSManagedZoneApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetDNSManagedZoneCaiObject

func GetDNSManagedZoneCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSManagedZoneIamBindingCaiObject

func GetDNSManagedZoneIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSManagedZoneIamMemberCaiObject

func GetDNSManagedZoneIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSManagedZoneIamPolicyCaiObject

func GetDNSManagedZoneIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSPolicyApiObject

func GetDNSPolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetDNSPolicyCaiObject

func GetDNSPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSResponsePolicyApiObject

func GetDNSResponsePolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetDNSResponsePolicyCaiObject

func GetDNSResponsePolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetDNSResponsePolicyRuleApiObject

func GetDNSResponsePolicyRuleApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetDNSResponsePolicyRuleCaiObject

func GetDNSResponsePolicyRuleCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeDNSManagedZoneIamBinding

func MergeDNSManagedZoneIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeDNSManagedZoneIamBindingDelete

func MergeDNSManagedZoneIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeDNSManagedZoneIamMember

func MergeDNSManagedZoneIamMember(existing, incoming cai.Asset) cai.Asset

func MergeDNSManagedZoneIamMemberDelete

func MergeDNSManagedZoneIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeDNSManagedZoneIamPolicy

func MergeDNSManagedZoneIamPolicy(existing, incoming cai.Asset) cai.Asset

func ResourceConverterDNSManagedZone

func ResourceConverterDNSManagedZone() cai.ResourceConverter

func ResourceConverterDNSManagedZoneIamBinding

func ResourceConverterDNSManagedZoneIamBinding() cai.ResourceConverter

func ResourceConverterDNSManagedZoneIamMember

func ResourceConverterDNSManagedZoneIamMember() cai.ResourceConverter

func ResourceConverterDNSManagedZoneIamPolicy

func ResourceConverterDNSManagedZoneIamPolicy() cai.ResourceConverter

func ResourceConverterDNSPolicy

func ResourceConverterDNSPolicy() cai.ResourceConverter

func ResourceConverterDNSResponsePolicy

func ResourceConverterDNSResponsePolicy() cai.ResourceConverter

func ResourceConverterDNSResponsePolicyRule

func ResourceConverterDNSResponsePolicyRule() cai.ResourceConverter

Types

type DNSManagedZoneIamUpdater

type DNSManagedZoneIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*DNSManagedZoneIamUpdater) DescribeResource

func (u *DNSManagedZoneIamUpdater) DescribeResource() string

func (*DNSManagedZoneIamUpdater) GetMutexKey

func (u *DNSManagedZoneIamUpdater) GetMutexKey() string

func (*DNSManagedZoneIamUpdater) GetResourceIamPolicy

func (u *DNSManagedZoneIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*DNSManagedZoneIamUpdater) GetResourceId

func (u *DNSManagedZoneIamUpdater) GetResourceId() string

func (*DNSManagedZoneIamUpdater) SetResourceIamPolicy

func (u *DNSManagedZoneIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

Jump to

Keyboard shortcuts

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