Documentation
¶
Overview ¶
Package v1 is the v1 version of the API. +kubebuilder:object:generate=true +groupName=networking.gke.io
Index ¶
Constants ¶
const GroupName = "networking.gke.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Deprecated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Condition ¶
type Condition struct { // Type is the type of the condition. // +required Type string `json:"type" protobuf:"bytes,1,opt,name=type"` // Status of the condition, one of True, False, Unknown. // +required Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,4,opt,name=lastTransitionTime"` // The reason for the condition's last transition // +optional Reason string `json:"reason" protobuf:"bytes,5,opt,name=reason"` // A human readable message indicating details about the transition. // +optional Message string `json:"message" protobuf:"bytes,6,opt,name=message"` }
PodCondition contains details for the current condition of this Node Topology resource.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
ConditionType is a valid value for Condition.Type
const ( // Synced means the NodeTopology resource has been synced. // Use Condition.Status=True to indicate the sync happened successfully, // and Condition.Status=False to indicate an error has been encountered. Synced ConditionType = "Synced" )
These are valid conditions of NodeTopology resource.
type NodeTopology ¶
type NodeTopology struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NodeTopologySpec `json:"spec,omitempty"` Status NodeTopologyStatus `json:"status,omitempty"` }
NodeTopology describes the VPC network configuration for the cluster.
This resource is a singleton.
func (*NodeTopology) DeepCopy ¶
func (in *NodeTopology) DeepCopy() *NodeTopology
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTopology.
func (*NodeTopology) DeepCopyInto ¶
func (in *NodeTopology) DeepCopyInto(out *NodeTopology)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeTopology) DeepCopyObject ¶
func (in *NodeTopology) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeTopologyList ¶
type NodeTopologyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is a list of NodeTopology. Items []NodeTopology `json:"items"` }
NodeTopologyList contains a list of NodeTopology resources.
func (*NodeTopologyList) DeepCopy ¶
func (in *NodeTopologyList) DeepCopy() *NodeTopologyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTopologyList.
func (*NodeTopologyList) DeepCopyInto ¶
func (in *NodeTopologyList) DeepCopyInto(out *NodeTopologyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeTopologyList) DeepCopyObject ¶
func (in *NodeTopologyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeTopologySpec ¶
type NodeTopologySpec struct{}
NodeTopologySpec is the spec for a NodeTopology resource
func (*NodeTopologySpec) DeepCopy ¶
func (in *NodeTopologySpec) DeepCopy() *NodeTopologySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTopologySpec.
func (*NodeTopologySpec) DeepCopyInto ¶
func (in *NodeTopologySpec) DeepCopyInto(out *NodeTopologySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeTopologyStatus ¶
type NodeTopologyStatus struct { // Zones specifies the current node zones of the GKE cluster that corresponds // to this NodeTopology Resource. // +required Zones []string `json:"zones"` // Subnets contains the list of subnets used by the GKE cluster that // corresponds to this Node Topology Resource. // +required Subnets []SubnetConfig `json:"subnets"` // Conditions contains the latest conditions observed of this Node Tolology // resource. // +optional // +listType=map // +listMapKey=type Conditions []Condition `json:"conditions,omitempty"` }
NodeTopologyStatus is the status for a NodeTopology resource +k8s:openapi-gen=true
func (*NodeTopologyStatus) DeepCopy ¶
func (in *NodeTopologyStatus) DeepCopy() *NodeTopologyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeTopologyStatus.
func (*NodeTopologyStatus) DeepCopyInto ¶
func (in *NodeTopologyStatus) DeepCopyInto(out *NodeTopologyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubnetConfig ¶
type SubnetConfig struct { // Name is the short name of the subnetwork. // More info: https://cloud.google.com/vpc/docs/subnets // +required Name string `json:"name"` // SubnetPath is the fully qualified resource path of this subnet. // Examples: projects/my-project/regions/us-central1/subnetworks/my-subnet // +required SubnetPath string `json:"subnetPath"` }
SubnetConfig describes the configuration of a GKE subnetwork.
func (*SubnetConfig) DeepCopy ¶
func (in *SubnetConfig) DeepCopy() *SubnetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetConfig.
func (*SubnetConfig) DeepCopyInto ¶
func (in *SubnetConfig) DeepCopyInto(out *SubnetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.