Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the core v1alpha2 API group +kubebuilder:object:generate=true +groupName=core.oam.dev
Index ¶
- Variables
- type ServiceExpose
- func (in *ServiceExpose) DeepCopy() *ServiceExpose
- func (in *ServiceExpose) DeepCopyInto(out *ServiceExpose)
- func (in *ServiceExpose) DeepCopyObject() runtime.Object
- func (tr *ServiceExpose) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (tr *ServiceExpose) GetWorkloadReference() runtimev1alpha1.TypedReference
- func (tr *ServiceExpose) SetConditions(c ...runtimev1alpha1.Condition)
- func (tr *ServiceExpose) SetWorkloadReference(r runtimev1alpha1.TypedReference)
- type ServiceExposeList
- type ServiceExposeSpec
- type ServiceExposeStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.oam.dev", Version: "v1alpha2"} // 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 ServiceExpose ¶
type ServiceExpose struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceExposeSpec `json:"spec,omitempty"` Status ServiceExposeStatus `json:"status,omitempty"` }
ServiceExpose is the Schema for the serviceexposes API +kubebuilder:resource:categories={crossplane,oam} +kubebuilder:subresource:status
func (*ServiceExpose) DeepCopy ¶
func (in *ServiceExpose) DeepCopy() *ServiceExpose
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExpose.
func (*ServiceExpose) DeepCopyInto ¶
func (in *ServiceExpose) DeepCopyInto(out *ServiceExpose)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceExpose) DeepCopyObject ¶
func (in *ServiceExpose) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceExpose) GetCondition ¶
func (tr *ServiceExpose) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this ServiceExpose.
func (*ServiceExpose) GetWorkloadReference ¶
func (tr *ServiceExpose) GetWorkloadReference() runtimev1alpha1.TypedReference
GetWorkloadReference of this ServiceExpose.
func (*ServiceExpose) SetConditions ¶
func (tr *ServiceExpose) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this ServiceExpose.
func (*ServiceExpose) SetWorkloadReference ¶
func (tr *ServiceExpose) SetWorkloadReference(r runtimev1alpha1.TypedReference)
SetWorkloadReference of this ServiceExpose.
type ServiceExposeList ¶
type ServiceExposeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceExpose `json:"items"` }
ServiceExposeList contains a list of ServiceExpose
func (*ServiceExposeList) DeepCopy ¶
func (in *ServiceExposeList) DeepCopy() *ServiceExposeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExposeList.
func (*ServiceExposeList) DeepCopyInto ¶
func (in *ServiceExposeList) DeepCopyInto(out *ServiceExposeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceExposeList) DeepCopyObject ¶
func (in *ServiceExposeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceExposeSpec ¶
type ServiceExposeSpec struct { // NOTE: You can add extension of ServiceExposeSpec in the future // K8S native ServiceSpec Template corev1.ServiceSpec `json:"template,omitempty"` // WorkloadReference to the workload this trait applies to. WorkloadReference runtimev1alpha1.TypedReference `json:"workloadRef"` }
ServiceExposeSpec defines the desired state of ServiceExpose
func (*ServiceExposeSpec) DeepCopy ¶
func (in *ServiceExposeSpec) DeepCopy() *ServiceExposeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExposeSpec.
func (*ServiceExposeSpec) DeepCopyInto ¶
func (in *ServiceExposeSpec) DeepCopyInto(out *ServiceExposeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceExposeStatus ¶
type ServiceExposeStatus struct { runtimev1alpha1.ConditionedStatus `json:",inline"` // Resources managed by this serviceexpose trait Resources []runtimev1alpha1.TypedReference `json:"resources,omitempty"` }
ServiceExposeStatus defines the observed state of ServiceExpose
func (*ServiceExposeStatus) DeepCopy ¶
func (in *ServiceExposeStatus) DeepCopy() *ServiceExposeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceExposeStatus.
func (*ServiceExposeStatus) DeepCopyInto ¶
func (in *ServiceExposeStatus) DeepCopyInto(out *ServiceExposeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.