Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.knotfree.io
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.knotfree.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "app.knotfree.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type AppService ¶
type AppService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppServiceSpec `json:"spec,omitempty"` Status AppServiceStatus `json:"status,omitempty"` }
AppService is the Schema for the appservices API +kubebuilder:subresource:status +kubebuilder:resource:path=appservices,scope=Namespaced
func (*AppService) DeepCopy ¶
func (in *AppService) DeepCopy() *AppService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppService.
func (*AppService) DeepCopyInto ¶
func (in *AppService) DeepCopyInto(out *AppService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppService) DeepCopyObject ¶
func (in *AppService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppServiceList ¶
type AppServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppService `json:"items"` }
AppServiceList contains a list of AppService
func (*AppServiceList) DeepCopy ¶
func (in *AppServiceList) DeepCopy() *AppServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceList.
func (*AppServiceList) DeepCopyInto ¶
func (in *AppServiceList) DeepCopyInto(out *AppServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppServiceList) DeepCopyObject ¶
func (in *AppServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppServiceSpec ¶
type AppServiceSpec struct {
Ce *ClusterState
}
AppServiceSpec defines the desired state of AppService
func (*AppServiceSpec) DeepCopy ¶
func (in *AppServiceSpec) DeepCopy() *AppServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceSpec.
func (*AppServiceSpec) DeepCopyInto ¶
func (in *AppServiceSpec) DeepCopyInto(out *AppServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppServiceStatus ¶
type AppServiceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html //Size int `json:"size"` // AideCount int `json:"aidecount"` // GuruNames []string `json:"gurunames"` //GuruAddresses []string `json:"guruaddresses"` Ce *ClusterState }
AppServiceStatus defines the observed state of AppService
func (*AppServiceStatus) DeepCopy ¶
func (in *AppServiceStatus) DeepCopy() *AppServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppServiceStatus.
func (*AppServiceStatus) DeepCopyInto ¶
func (in *AppServiceStatus) DeepCopyInto(out *AppServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterState ¶
type ClusterState struct { GuruNames []string `json:"gurunames"` //this specifies an ordering // name to stats Nodes map[string]*iot.ExecutiveStats // includes aides GuruNamesPending uint32 // when we started last guru pod or zero if none }
ClusterState is too much like see iot.ClusterExecutive
func (*ClusterState) DeepCopy ¶
func (in *ClusterState) DeepCopy() *ClusterState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterState.
func (*ClusterState) DeepCopyInto ¶
func (in *ClusterState) DeepCopyInto(out *ClusterState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.