Documentation ¶
Overview ¶
Generate deepcopy object for dns/v1alpha1 API group
Package v1alpha1 contains API Schema definitions for the dns v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/dns +k8s:defaulter-gen=TypeMeta +groupName=dns.cnrm.cloud.google.com
Index ¶
- Variables
- type DNSResponsePolicy
- type DNSResponsePolicyList
- type DNSResponsePolicyRule
- type DNSResponsePolicyRuleList
- type DNSResponsePolicyRuleSpec
- type DNSResponsePolicyRuleStatus
- type DNSResponsePolicySpec
- type DNSResponsePolicyStatus
- type ResponsepolicyGkeClusters
- type ResponsepolicyNetworks
- type ResponsepolicyruleLocalData
- type ResponsepolicyruleLocalDatas
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "dns.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme DNSResponsePolicyGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(DNSResponsePolicy{}).Name(), } DNSResponsePolicyRuleGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(DNSResponsePolicyRule{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type DNSResponsePolicy ¶
type DNSResponsePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DNSResponsePolicySpec `json:"spec,omitempty"` Status DNSResponsePolicyStatus `json:"status,omitempty"` }
DNSResponsePolicy is the Schema for the dns API +k8s:openapi-gen=true
func (*DNSResponsePolicy) DeepCopy ¶
func (in *DNSResponsePolicy) DeepCopy() *DNSResponsePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicy.
func (*DNSResponsePolicy) DeepCopyInto ¶
func (in *DNSResponsePolicy) DeepCopyInto(out *DNSResponsePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSResponsePolicy) DeepCopyObject ¶
func (in *DNSResponsePolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSResponsePolicyList ¶
type DNSResponsePolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DNSResponsePolicy `json:"items"` }
DNSResponsePolicyList contains a list of DNSResponsePolicy
func (*DNSResponsePolicyList) DeepCopy ¶
func (in *DNSResponsePolicyList) DeepCopy() *DNSResponsePolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyList.
func (*DNSResponsePolicyList) DeepCopyInto ¶
func (in *DNSResponsePolicyList) DeepCopyInto(out *DNSResponsePolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSResponsePolicyList) DeepCopyObject ¶
func (in *DNSResponsePolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSResponsePolicyRule ¶
type DNSResponsePolicyRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DNSResponsePolicyRuleSpec `json:"spec,omitempty"` Status DNSResponsePolicyRuleStatus `json:"status,omitempty"` }
DNSResponsePolicyRule is the Schema for the dns API +k8s:openapi-gen=true
func (*DNSResponsePolicyRule) DeepCopy ¶
func (in *DNSResponsePolicyRule) DeepCopy() *DNSResponsePolicyRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRule.
func (*DNSResponsePolicyRule) DeepCopyInto ¶
func (in *DNSResponsePolicyRule) DeepCopyInto(out *DNSResponsePolicyRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSResponsePolicyRule) DeepCopyObject ¶
func (in *DNSResponsePolicyRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSResponsePolicyRuleList ¶
type DNSResponsePolicyRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DNSResponsePolicyRule `json:"items"` }
DNSResponsePolicyRuleList contains a list of DNSResponsePolicyRule
func (*DNSResponsePolicyRuleList) DeepCopy ¶
func (in *DNSResponsePolicyRuleList) DeepCopy() *DNSResponsePolicyRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleList.
func (*DNSResponsePolicyRuleList) DeepCopyInto ¶
func (in *DNSResponsePolicyRuleList) DeepCopyInto(out *DNSResponsePolicyRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DNSResponsePolicyRuleList) DeepCopyObject ¶
func (in *DNSResponsePolicyRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DNSResponsePolicyRuleSpec ¶
type DNSResponsePolicyRuleSpec struct { /* Answer this query with a behavior rather than DNS data. Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy'. */ // +optional Behavior *string `json:"behavior,omitempty"` /* The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. */ DnsName string `json:"dnsName"` /* Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed. */ // +optional LocalData *ResponsepolicyruleLocalData `json:"localData,omitempty"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The ruleName of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Identifies the response policy addressed by this request. */ ResponsePolicy string `json:"responsePolicy"` }
func (*DNSResponsePolicyRuleSpec) DeepCopy ¶
func (in *DNSResponsePolicyRuleSpec) DeepCopy() *DNSResponsePolicyRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleSpec.
func (*DNSResponsePolicyRuleSpec) DeepCopyInto ¶
func (in *DNSResponsePolicyRuleSpec) DeepCopyInto(out *DNSResponsePolicyRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSResponsePolicyRuleStatus ¶
type DNSResponsePolicyRuleStatus struct { /* Conditions represent the latest available observations of the DNSResponsePolicyRule's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int `json:"observedGeneration,omitempty"` }
func (*DNSResponsePolicyRuleStatus) DeepCopy ¶
func (in *DNSResponsePolicyRuleStatus) DeepCopy() *DNSResponsePolicyRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyRuleStatus.
func (*DNSResponsePolicyRuleStatus) DeepCopyInto ¶
func (in *DNSResponsePolicyRuleStatus) DeepCopyInto(out *DNSResponsePolicyRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSResponsePolicySpec ¶
type DNSResponsePolicySpec struct { /* The description of the response policy, such as 'My new response policy'. */ // +optional Description *string `json:"description,omitempty"` /* The list of Google Kubernetes Engine clusters that can see this zone. */ // +optional GkeClusters []ResponsepolicyGkeClusters `json:"gkeClusters,omitempty"` /* The list of network names specifying networks to which this policy is applied. */ // +optional Networks []ResponsepolicyNetworks `json:"networks,omitempty"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The responsePolicyName of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*DNSResponsePolicySpec) DeepCopy ¶
func (in *DNSResponsePolicySpec) DeepCopy() *DNSResponsePolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicySpec.
func (*DNSResponsePolicySpec) DeepCopyInto ¶
func (in *DNSResponsePolicySpec) DeepCopyInto(out *DNSResponsePolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSResponsePolicyStatus ¶
type DNSResponsePolicyStatus struct { /* Conditions represent the latest available observations of the DNSResponsePolicy's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int `json:"observedGeneration,omitempty"` }
func (*DNSResponsePolicyStatus) DeepCopy ¶
func (in *DNSResponsePolicyStatus) DeepCopy() *DNSResponsePolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSResponsePolicyStatus.
func (*DNSResponsePolicyStatus) DeepCopyInto ¶
func (in *DNSResponsePolicyStatus) DeepCopyInto(out *DNSResponsePolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponsepolicyGkeClusters ¶
type ResponsepolicyGkeClusters struct { /* The resource name of the cluster to bind this ManagedZone to. This should be specified in the format like 'projects/* /locations/* /clusters/*'. */ GkeClusterName string `json:"gkeClusterName"` }
func (*ResponsepolicyGkeClusters) DeepCopy ¶
func (in *ResponsepolicyGkeClusters) DeepCopy() *ResponsepolicyGkeClusters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyGkeClusters.
func (*ResponsepolicyGkeClusters) DeepCopyInto ¶
func (in *ResponsepolicyGkeClusters) DeepCopyInto(out *ResponsepolicyGkeClusters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponsepolicyNetworks ¶
type ResponsepolicyNetworks struct { /* The fully qualified URL of the VPC network to bind to. This should be formatted like 'https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}'. */ NetworkUrl string `json:"networkUrl"` }
func (*ResponsepolicyNetworks) DeepCopy ¶
func (in *ResponsepolicyNetworks) DeepCopy() *ResponsepolicyNetworks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyNetworks.
func (*ResponsepolicyNetworks) DeepCopyInto ¶
func (in *ResponsepolicyNetworks) DeepCopyInto(out *ResponsepolicyNetworks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponsepolicyruleLocalData ¶
type ResponsepolicyruleLocalData struct { /* All resource record sets for this selector, one per resource record type. The name must match the dns_name. */ LocalDatas []ResponsepolicyruleLocalDatas `json:"localDatas"` }
func (*ResponsepolicyruleLocalData) DeepCopy ¶
func (in *ResponsepolicyruleLocalData) DeepCopy() *ResponsepolicyruleLocalData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyruleLocalData.
func (*ResponsepolicyruleLocalData) DeepCopyInto ¶
func (in *ResponsepolicyruleLocalData) DeepCopyInto(out *ResponsepolicyruleLocalData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponsepolicyruleLocalDatas ¶
type ResponsepolicyruleLocalDatas struct { /* For example, www.example.com. */ Name string `json:"name"` /* As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */ // +optional Rrdatas []string `json:"rrdatas,omitempty"` /* Number of seconds that this ResourceRecordSet can be cached by resolvers. */ // +optional Ttl *int `json:"ttl,omitempty"` /* One of valid DNS resource types. Possible values: ["A", "AAAA", "CAA", "CNAME", "DNSKEY", "DS", "HTTPS", "IPSECVPNKEY", "MX", "NAPTR", "NS", "PTR", "SOA", "SPF", "SRV", "SSHFP", "SVCB", "TLSA", "TXT"]. */ Type string `json:"type"` }
func (*ResponsepolicyruleLocalDatas) DeepCopy ¶
func (in *ResponsepolicyruleLocalDatas) DeepCopy() *ResponsepolicyruleLocalDatas
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsepolicyruleLocalDatas.
func (*ResponsepolicyruleLocalDatas) DeepCopyInto ¶
func (in *ResponsepolicyruleLocalDatas) DeepCopyInto(out *ResponsepolicyruleLocalDatas)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.