Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=networking.gke.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ServiceAttachment
- type ServiceAttachmentList
- type ServiceAttachmentSpec
- type ServiceAttachmentStatus
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: serviceattachment.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ServiceAttachment ¶
type ServiceAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceAttachmentSpec `json:"spec,omitempty"` Status ServiceAttachmentStatus `json:"status,omitempty"` }
ServiceAttachment represents a Service Attachment associated with a service/ingress/gateway class +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*ServiceAttachment) DeepCopy ¶
func (in *ServiceAttachment) DeepCopy() *ServiceAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAttachment.
func (*ServiceAttachment) DeepCopyInto ¶
func (in *ServiceAttachment) DeepCopyInto(out *ServiceAttachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAttachment) DeepCopyObject ¶
func (in *ServiceAttachment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceAttachmentList ¶
type ServiceAttachmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ServiceAttachment `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ServiceAttachmentList is a list of ServiceAttachment resources
func (*ServiceAttachmentList) DeepCopy ¶
func (in *ServiceAttachmentList) DeepCopy() *ServiceAttachmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAttachmentList.
func (*ServiceAttachmentList) DeepCopyInto ¶
func (in *ServiceAttachmentList) DeepCopyInto(out *ServiceAttachmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAttachmentList) DeepCopyObject ¶
func (in *ServiceAttachmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceAttachmentSpec ¶
type ServiceAttachmentSpec struct { // ConnectionPreference determines how consumers are accepted. Only allowed value is `acceptAutomatic`. // +required ConnectionPreference string `json:"connectionPreference"` // NATSubnets contains the list of subnet names for PSC // +required // +listType=atomic NATSubnets []string `json:"natSubnets"` // ResourceRef is the reference to the K8s resource that created the forwarding rule // Only Services can be used as a reference // +required ResourceRef corev1.TypedLocalObjectReference `json:"resourceRef"` }
ServiceAttachmentSpec is the spec for a ServiceAttachment resource +k8s:openapi-gen=true
func (*ServiceAttachmentSpec) DeepCopy ¶
func (in *ServiceAttachmentSpec) DeepCopy() *ServiceAttachmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAttachmentSpec.
func (*ServiceAttachmentSpec) DeepCopyInto ¶
func (in *ServiceAttachmentSpec) DeepCopyInto(out *ServiceAttachmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAttachmentStatus ¶
type ServiceAttachmentStatus struct { // ServiceAttachmentURL is the URL for the GCE Service Attachment resource ServiceAttachmentURL string `json:"serviceAttachmentURL"` // ForwardingRuleURL is the URL to the GCE Forwarding Rule resource the // Service Attachment points to ForwardingRuleURL string `json:"forwardingRuleURL"` }
ServiceAttachmentStatus is the status for a ServiceAttachment resource +k8s:openapi-gen=true
func (*ServiceAttachmentStatus) DeepCopy ¶
func (in *ServiceAttachmentStatus) DeepCopy() *ServiceAttachmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAttachmentStatus.
func (*ServiceAttachmentStatus) DeepCopyInto ¶
func (in *ServiceAttachmentStatus) DeepCopyInto(out *ServiceAttachmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.