v1alpha1

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "dns.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

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

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

func (*DNSResponsePolicyRuleList) DeepCopyInto

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

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

func (*DNSResponsePolicyRuleSpec) DeepCopyInto

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 *int64 `json:"observedGeneration,omitempty"`
}

func (*DNSResponsePolicyRuleStatus) DeepCopy

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

func (*DNSResponsePolicyRuleStatus) DeepCopyInto

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

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 *int64 `json:"observedGeneration,omitempty"`
}

func (*DNSResponsePolicyStatus) DeepCopy

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

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

func (*ResponsepolicyGkeClusters) DeepCopyInto

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

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

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

func (*ResponsepolicyruleLocalData) DeepCopyInto

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 *int64 `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

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

func (*ResponsepolicyruleLocalDatas) DeepCopyInto

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