Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the devcloud v1 API group +kubebuilder:object:generate=true +groupName=devcloud.go7
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "devcloud.go7", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type DevcloudService ¶
type DevcloudService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DevcloudServiceSpec `json:"spec,omitempty"` Status DevcloudServiceStatus `json:"status,omitempty"` }
DevcloudService is the Schema for the devcloudservices API
func (*DevcloudService) DeepCopy ¶
func (in *DevcloudService) DeepCopy() *DevcloudService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevcloudService.
func (*DevcloudService) DeepCopyInto ¶
func (in *DevcloudService) DeepCopyInto(out *DevcloudService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevcloudService) DeepCopyObject ¶
func (in *DevcloudService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevcloudServiceList ¶
type DevcloudServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DevcloudService `json:"items"` }
DevcloudServiceList contains a list of DevcloudService
func (*DevcloudServiceList) DeepCopy ¶
func (in *DevcloudServiceList) DeepCopy() *DevcloudServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevcloudServiceList.
func (*DevcloudServiceList) DeepCopyInto ¶
func (in *DevcloudServiceList) DeepCopyInto(out *DevcloudServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevcloudServiceList) DeepCopyObject ¶
func (in *DevcloudServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevcloudServiceSpec ¶
type DevcloudServiceSpec struct { // 服务实例的URL地址, 比如 10.10.10.20:8010 URL string `json:"url"` }
DevcloudServiceSpec defines the desired state of DevcloudService
func (*DevcloudServiceSpec) DeepCopy ¶
func (in *DevcloudServiceSpec) DeepCopy() *DevcloudServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevcloudServiceSpec.
func (*DevcloudServiceSpec) DeepCopyInto ¶
func (in *DevcloudServiceSpec) DeepCopyInto(out *DevcloudServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevcloudServiceStatus ¶
type DevcloudServiceStatus struct { // 是否已经同步到traefik IsSync bool `json:"is_sync"` }
DevcloudServiceStatus defines the observed state of DevcloudService
func (*DevcloudServiceStatus) DeepCopy ¶
func (in *DevcloudServiceStatus) DeepCopy() *DevcloudServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevcloudServiceStatus.
func (*DevcloudServiceStatus) DeepCopyInto ¶
func (in *DevcloudServiceStatus) DeepCopyInto(out *DevcloudServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.