v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=dns.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dns.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ManagedZone

type ManagedZone struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagedZoneSpec   `json:"spec,omitempty"`
	Status            ManagedZoneStatus `json:"status,omitempty"`
}

func (*ManagedZone) DeepCopy

func (in *ManagedZone) DeepCopy() *ManagedZone

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZone.

func (*ManagedZone) DeepCopyInto

func (in *ManagedZone) DeepCopyInto(out *ManagedZone)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedZone) DeepCopyObject

func (in *ManagedZone) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagedZone) SetupWebhookWithManager

func (r *ManagedZone) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagedZone) ValidateCreate

func (r *ManagedZone) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagedZone) ValidateDelete

func (r *ManagedZone) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagedZone) ValidateUpdate

func (r *ManagedZone) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagedZoneList

type ManagedZoneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagedZone CRD objects
	Items []ManagedZone `json:"items,omitempty"`
}

ManagedZoneList is a list of ManagedZones

func (*ManagedZoneList) DeepCopy

func (in *ManagedZoneList) DeepCopy() *ManagedZoneList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneList.

func (*ManagedZoneList) DeepCopyInto

func (in *ManagedZoneList) DeepCopyInto(out *ManagedZoneList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ManagedZoneList) DeepCopyObject

func (in *ManagedZoneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagedZoneSpec

type ManagedZoneSpec struct {
	State *ManagedZoneSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagedZoneSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ManagedZoneSpec) DeepCopy

func (in *ManagedZoneSpec) DeepCopy() *ManagedZoneSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpec.

func (*ManagedZoneSpec) DeepCopyInto

func (in *ManagedZoneSpec) DeepCopyInto(out *ManagedZoneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecDnssecConfig

type ManagedZoneSpecDnssecConfig struct {
	// Specifies parameters that will be used for generating initial DnsKeys
	// for this ManagedZone. If you provide a spec for keySigning or zoneSigning,
	// you must also provide one for the other.
	// default_key_specs can only be updated when the state is 'off'.
	// +optional
	DefaultKeySpecs []ManagedZoneSpecDnssecConfigDefaultKeySpecs `json:"defaultKeySpecs,omitempty" tf:"default_key_specs"`
	// Identifies what kind of resource this is
	// +optional
	Kind *string `json:"kind,omitempty" tf:"kind"`
	// Specifies the mechanism used to provide authenticated denial-of-existence responses.
	// non_existence can only be updated when the state is 'off'. Possible values: ["nsec", "nsec3"]
	// +optional
	NonExistence *string `json:"nonExistence,omitempty" tf:"non_existence"`
	// Specifies whether DNSSEC is enabled, and what mode it is in Possible values: ["off", "on", "transfer"]
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
}

func (*ManagedZoneSpecDnssecConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecDnssecConfig.

func (*ManagedZoneSpecDnssecConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecDnssecConfigCodec

type ManagedZoneSpecDnssecConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedZoneSpecDnssecConfigCodec) Decode

func (ManagedZoneSpecDnssecConfigCodec) Encode

func (ManagedZoneSpecDnssecConfigCodec) IsEmpty

type ManagedZoneSpecDnssecConfigDefaultKeySpecs

type ManagedZoneSpecDnssecConfigDefaultKeySpecs struct {
	// String mnemonic specifying the DNSSEC algorithm of this key Possible values: ["ecdsap256sha256", "ecdsap384sha384", "rsasha1", "rsasha256", "rsasha512"]
	// +optional
	Algorithm *string `json:"algorithm,omitempty" tf:"algorithm"`
	// Length of the keys in bits
	// +optional
	KeyLength *int64 `json:"keyLength,omitempty" tf:"key_length"`
	// Specifies whether this is a key signing key (KSK) or a zone
	// signing key (ZSK). Key signing keys have the Secure Entry
	// Point flag set and, when active, will only be used to sign
	// resource record sets of type DNSKEY. Zone signing keys do
	// not have the Secure Entry Point flag set and will be used
	// to sign all other types of resource record sets. Possible values: ["keySigning", "zoneSigning"]
	// +optional
	KeyType *string `json:"keyType,omitempty" tf:"key_type"`
	// Identifies what kind of resource this is
	// +optional
	Kind *string `json:"kind,omitempty" tf:"kind"`
}

func (*ManagedZoneSpecDnssecConfigDefaultKeySpecs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecDnssecConfigDefaultKeySpecs.

func (*ManagedZoneSpecDnssecConfigDefaultKeySpecs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecForwardingConfig

type ManagedZoneSpecForwardingConfig struct {
	// List of target name servers to forward to. Cloud DNS will
	// select the best available name server if more than
	// one target is given.
	TargetNameServers []ManagedZoneSpecForwardingConfigTargetNameServers `json:"targetNameServers" tf:"target_name_servers"`
}

func (*ManagedZoneSpecForwardingConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecForwardingConfig.

func (*ManagedZoneSpecForwardingConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecForwardingConfigCodec

type ManagedZoneSpecForwardingConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedZoneSpecForwardingConfigCodec) Decode

func (ManagedZoneSpecForwardingConfigCodec) Encode

func (ManagedZoneSpecForwardingConfigCodec) IsEmpty

type ManagedZoneSpecForwardingConfigTargetNameServers

type ManagedZoneSpecForwardingConfigTargetNameServers struct {
	// Forwarding path for this TargetNameServer. If unset or 'default' Cloud DNS will make forwarding
	// decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
	// to the Internet. When set to 'private', Cloud DNS will always send queries through VPC for this target Possible values: ["default", "private"]
	// +optional
	ForwardingPath *string `json:"forwardingPath,omitempty" tf:"forwarding_path"`
	// IPv4 address of a target name server.
	Ipv4Address *string `json:"ipv4Address" tf:"ipv4_address"`
}

func (*ManagedZoneSpecForwardingConfigTargetNameServers) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecForwardingConfigTargetNameServers.

func (*ManagedZoneSpecForwardingConfigTargetNameServers) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecPeeringConfig

type ManagedZoneSpecPeeringConfig struct {
	// The network with which to peer.
	TargetNetwork *ManagedZoneSpecPeeringConfigTargetNetwork `json:"targetNetwork" tf:"target_network"`
}

func (*ManagedZoneSpecPeeringConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecPeeringConfig.

func (*ManagedZoneSpecPeeringConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecPeeringConfigCodec

type ManagedZoneSpecPeeringConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedZoneSpecPeeringConfigCodec) Decode

func (ManagedZoneSpecPeeringConfigCodec) Encode

func (ManagedZoneSpecPeeringConfigCodec) IsEmpty

type ManagedZoneSpecPeeringConfigTargetNetwork

type ManagedZoneSpecPeeringConfigTargetNetwork struct {
	// The id or fully qualified URL of the VPC network to forward queries to.
	// This should be formatted like 'projects/{project}/global/networks/{network}' or
	// 'https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}'
	NetworkURL *string `json:"networkURL" tf:"network_url"`
}

func (*ManagedZoneSpecPeeringConfigTargetNetwork) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecPeeringConfigTargetNetwork.

func (*ManagedZoneSpecPeeringConfigTargetNetwork) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecPeeringConfigTargetNetworkCodec

type ManagedZoneSpecPeeringConfigTargetNetworkCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedZoneSpecPeeringConfigTargetNetworkCodec) Decode

func (ManagedZoneSpecPeeringConfigTargetNetworkCodec) Encode

func (ManagedZoneSpecPeeringConfigTargetNetworkCodec) IsEmpty

type ManagedZoneSpecPrivateVisibilityConfig

type ManagedZoneSpecPrivateVisibilityConfig struct {
	// The list of VPC networks that can see this zone. Until the provider updates to use the Terraform 0.12 SDK in a future release, you
	// may experience issues with this resource while updating. If you've defined a 'networks' block and
	// add another 'networks' block while keeping the old block, Terraform will see an incorrect diff
	// and apply an incorrect update to the resource. If you encounter this issue, remove all 'networks'
	// blocks in an update and then apply another update adding all of them back simultaneously.
	Networks []ManagedZoneSpecPrivateVisibilityConfigNetworks `json:"networks" tf:"networks"`
}

func (*ManagedZoneSpecPrivateVisibilityConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecPrivateVisibilityConfig.

func (*ManagedZoneSpecPrivateVisibilityConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecPrivateVisibilityConfigCodec

type ManagedZoneSpecPrivateVisibilityConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedZoneSpecPrivateVisibilityConfigCodec) Decode

func (ManagedZoneSpecPrivateVisibilityConfigCodec) Encode

func (ManagedZoneSpecPrivateVisibilityConfigCodec) IsEmpty

type ManagedZoneSpecPrivateVisibilityConfigNetworks

type ManagedZoneSpecPrivateVisibilityConfigNetworks struct {
	// The id or fully qualified URL of the VPC network to bind to.
	// This should be formatted like 'projects/{project}/global/networks/{network}' or
	// 'https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}'
	NetworkURL *string `json:"networkURL" tf:"network_url"`
}

func (*ManagedZoneSpecPrivateVisibilityConfigNetworks) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecPrivateVisibilityConfigNetworks.

func (*ManagedZoneSpecPrivateVisibilityConfigNetworks) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneSpecResource

type ManagedZoneSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// A textual description field. Defaults to 'Managed by Terraform'.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The DNS name of this managed zone, for instance "example.com.".
	DnsName *string `json:"dnsName" tf:"dns_name"`
	// DNSSEC configuration
	// +optional
	DnssecConfig *ManagedZoneSpecDnssecConfig `json:"dnssecConfig,omitempty" tf:"dnssec_config"`
	// +optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy"`
	// The presence for this field indicates that outbound forwarding is enabled
	// for this zone. The value of this field contains the set of destinations
	// to forward to.
	// +optional
	ForwardingConfig *ManagedZoneSpecForwardingConfig `json:"forwardingConfig,omitempty" tf:"forwarding_config"`
	// A set of key/value label pairs to assign to this ManagedZone.
	// +optional
	Labels *map[string]string `json:"labels,omitempty" tf:"labels"`
	// User assigned name for this resource.
	// Must be unique within the project.
	Name *string `json:"name" tf:"name"`
	// Delegate your managed_zone to these virtual name servers;
	// defined by the server
	// +optional
	NameServers []string `json:"nameServers,omitempty" tf:"name_servers"`
	// The presence of this field indicates that DNS Peering is enabled for this
	// zone. The value of this field contains the network to peer with.
	// +optional
	PeeringConfig *ManagedZoneSpecPeeringConfig `json:"peeringConfig,omitempty" tf:"peering_config"`
	// For privately visible zones, the set of Virtual Private Cloud
	// resources that the zone is visible from.
	// +optional
	PrivateVisibilityConfig *ManagedZoneSpecPrivateVisibilityConfig `json:"privateVisibilityConfig,omitempty" tf:"private_visibility_config"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// The zone's visibility: public zones are exposed to the Internet,
	// while private zones are visible only to Virtual Private Cloud resources. Default value: "public" Possible values: ["private", "public"]
	// +optional
	Visibility *string `json:"visibility,omitempty" tf:"visibility"`
}

func (*ManagedZoneSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneSpecResource.

func (*ManagedZoneSpecResource) DeepCopyInto

func (in *ManagedZoneSpecResource) DeepCopyInto(out *ManagedZoneSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedZoneStatus

type ManagedZoneStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagedZoneStatus) DeepCopy

func (in *ManagedZoneStatus) DeepCopy() *ManagedZoneStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedZoneStatus.

func (*ManagedZoneStatus) DeepCopyInto

func (in *ManagedZoneStatus) DeepCopyInto(out *ManagedZoneStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec,omitempty"`
	Status            PolicyStatus `json:"status,omitempty"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Policy) DeepCopyObject

func (in *Policy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Policy) SetupWebhookWithManager

func (r *Policy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Policy) ValidateCreate

func (r *Policy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Policy) ValidateDelete

func (r *Policy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Policy) ValidateUpdate

func (r *Policy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PolicyList

type PolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Policy CRD objects
	Items []Policy `json:"items,omitempty"`
}

PolicyList is a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PolicyList) DeepCopyObject

func (in *PolicyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PolicySpec

type PolicySpec struct {
	State *PolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicySpecAlternativeNameServerConfig

type PolicySpecAlternativeNameServerConfig struct {
	// Sets an alternative name server for the associated networks. When specified,
	// all DNS queries are forwarded to a name server that you choose. Names such as .internal
	// are not available when an alternative name server is specified.
	TargetNameServers []PolicySpecAlternativeNameServerConfigTargetNameServers `json:"targetNameServers" tf:"target_name_servers"`
}

func (*PolicySpecAlternativeNameServerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpecAlternativeNameServerConfig.

func (*PolicySpecAlternativeNameServerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicySpecAlternativeNameServerConfigCodec

type PolicySpecAlternativeNameServerConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecAlternativeNameServerConfigCodec) Decode

func (PolicySpecAlternativeNameServerConfigCodec) Encode

func (PolicySpecAlternativeNameServerConfigCodec) IsEmpty

type PolicySpecAlternativeNameServerConfigTargetNameServers

type PolicySpecAlternativeNameServerConfigTargetNameServers struct {
	// Forwarding path for this TargetNameServer. If unset or 'default' Cloud DNS will make forwarding
	// decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
	// to the Internet. When set to 'private', Cloud DNS will always send queries through VPC for this target Possible values: ["default", "private"]
	// +optional
	ForwardingPath *string `json:"forwardingPath,omitempty" tf:"forwarding_path"`
	// IPv4 address to forward to.
	Ipv4Address *string `json:"ipv4Address" tf:"ipv4_address"`
}

func (*PolicySpecAlternativeNameServerConfigTargetNameServers) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpecAlternativeNameServerConfigTargetNameServers.

func (*PolicySpecAlternativeNameServerConfigTargetNameServers) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicySpecNetworks

type PolicySpecNetworks struct {
	// The id or fully qualified URL of the VPC network to forward queries to.
	// This should be formatted like 'projects/{project}/global/networks/{network}' or
	// 'https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}'
	NetworkURL *string `json:"networkURL" tf:"network_url"`
}

func (*PolicySpecNetworks) DeepCopy

func (in *PolicySpecNetworks) DeepCopy() *PolicySpecNetworks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpecNetworks.

func (*PolicySpecNetworks) DeepCopyInto

func (in *PolicySpecNetworks) DeepCopyInto(out *PolicySpecNetworks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicySpecResource

type PolicySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Sets an alternative name server for the associated networks.
	// When specified, all DNS queries are forwarded to a name server that you choose.
	// Names such as .internal are not available when an alternative name server is specified.
	// +optional
	AlternativeNameServerConfig *PolicySpecAlternativeNameServerConfig `json:"alternativeNameServerConfig,omitempty" tf:"alternative_name_server_config"`
	// A textual description field. Defaults to 'Managed by Terraform'.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Allows networks bound to this policy to receive DNS queries sent
	// by VMs or applications over VPN connections. When enabled, a
	// virtual IP address will be allocated from each of the sub-networks
	// that are bound to this policy.
	// +optional
	EnableInboundForwarding *bool `json:"enableInboundForwarding,omitempty" tf:"enable_inbound_forwarding"`
	// Controls whether logging is enabled for the networks bound to this policy.
	// Defaults to no logging if not set.
	// +optional
	EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging"`
	// User assigned name for this policy.
	Name *string `json:"name" tf:"name"`
	// List of network names specifying networks to which this policy is applied.
	// +optional
	Networks []PolicySpecNetworks `json:"networks,omitempty" tf:"networks"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
}

func (*PolicySpecResource) DeepCopy

func (in *PolicySpecResource) DeepCopy() *PolicySpecResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpecResource.

func (*PolicySpecResource) DeepCopyInto

func (in *PolicySpecResource) DeepCopyInto(out *PolicySpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PolicyStatus

type PolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RecordSet

type RecordSet struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RecordSetSpec   `json:"spec,omitempty"`
	Status            RecordSetStatus `json:"status,omitempty"`
}

func (*RecordSet) DeepCopy

func (in *RecordSet) DeepCopy() *RecordSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSet.

func (*RecordSet) DeepCopyInto

func (in *RecordSet) DeepCopyInto(out *RecordSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RecordSet) DeepCopyObject

func (in *RecordSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RecordSet) SetupWebhookWithManager

func (r *RecordSet) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*RecordSet) ValidateCreate

func (r *RecordSet) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*RecordSet) ValidateDelete

func (r *RecordSet) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*RecordSet) ValidateUpdate

func (r *RecordSet) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type RecordSetList

type RecordSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of RecordSet CRD objects
	Items []RecordSet `json:"items,omitempty"`
}

RecordSetList is a list of RecordSets

func (*RecordSetList) DeepCopy

func (in *RecordSetList) DeepCopy() *RecordSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetList.

func (*RecordSetList) DeepCopyInto

func (in *RecordSetList) DeepCopyInto(out *RecordSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RecordSetList) DeepCopyObject

func (in *RecordSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RecordSetSpec

type RecordSetSpec struct {
	State *RecordSetSpecResource `json:"state,omitempty" tf:"-"`

	Resource RecordSetSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*RecordSetSpec) DeepCopy

func (in *RecordSetSpec) DeepCopy() *RecordSetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetSpec.

func (*RecordSetSpec) DeepCopyInto

func (in *RecordSetSpec) DeepCopyInto(out *RecordSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RecordSetSpecResource

type RecordSetSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the zone in which this record set will reside.
	ManagedZone *string `json:"managedZone" tf:"managed_zone"`
	// The DNS name this record set will apply to.
	Name *string `json:"name" tf:"name"`
	// The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// The string data for the records in this record set whose meaning depends on the DNS type. For TXT record, if the string data contains spaces, add surrounding \" if you don't want your string to get split on spaces. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add \"\" inside the Terraform configuration string (e.g. "first255characters\"\"morecharacters").
	Rrdatas []string `json:"rrdatas" tf:"rrdatas"`
	// The time-to-live of this record set (seconds).
	// +optional
	Ttl *int64 `json:"ttl,omitempty" tf:"ttl"`
	// The DNS record set type.
	Type *string `json:"type" tf:"type"`
}

func (*RecordSetSpecResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetSpecResource.

func (*RecordSetSpecResource) DeepCopyInto

func (in *RecordSetSpecResource) DeepCopyInto(out *RecordSetSpecResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RecordSetStatus

type RecordSetStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*RecordSetStatus) DeepCopy

func (in *RecordSetStatus) DeepCopy() *RecordSetStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecordSetStatus.

func (*RecordSetStatus) DeepCopyInto

func (in *RecordSetStatus) DeepCopyInto(out *RecordSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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