Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the copilot v1alpha1 API group +kubebuilder:object:generate=true +groupName=copilot.redhataicoe.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "copilot.redhataicoe.com", Version: "v1alpha1"} // 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 DataCollectionPolicy ¶
type DataCollectionPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataCollectionPolicySpec `json:"spec,omitempty"` Status DataCollectionPolicyStatus `json:"status,omitempty"` }
DataCollectionPolicy is the Schema for the datacollectionpolicies API
func (*DataCollectionPolicy) DeepCopy ¶
func (in *DataCollectionPolicy) DeepCopy() *DataCollectionPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCollectionPolicy.
func (*DataCollectionPolicy) DeepCopyInto ¶
func (in *DataCollectionPolicy) DeepCopyInto(out *DataCollectionPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataCollectionPolicy) DeepCopyObject ¶
func (in *DataCollectionPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataCollectionPolicyList ¶
type DataCollectionPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataCollectionPolicy `json:"items"` }
DataCollectionPolicyList contains a list of DataCollectionPolicy
func (*DataCollectionPolicyList) DeepCopy ¶
func (in *DataCollectionPolicyList) DeepCopy() *DataCollectionPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCollectionPolicyList.
func (*DataCollectionPolicyList) DeepCopyInto ¶
func (in *DataCollectionPolicyList) DeepCopyInto(out *DataCollectionPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataCollectionPolicyList) DeepCopyObject ¶
func (in *DataCollectionPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataCollectionPolicySpec ¶
type DataCollectionPolicySpec struct { // Master on/off switch for data collection policy. // Explicit set to `true` is required to opt-in for the operator // to collect data from the cluster and send to a central AI server // to fine-train the completion AI model. Enabled bool `json:"enabled,omitempty"` }
DataCollectionPolicySpec defines the desired state of DataCollectionPolicy
func (*DataCollectionPolicySpec) DeepCopy ¶
func (in *DataCollectionPolicySpec) DeepCopy() *DataCollectionPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCollectionPolicySpec.
func (*DataCollectionPolicySpec) DeepCopyInto ¶
func (in *DataCollectionPolicySpec) DeepCopyInto(out *DataCollectionPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataCollectionPolicyStatus ¶
type DataCollectionPolicyStatus struct { // The latest generation of the resource which was observed by the operator. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // number of yamls collected from the cluster CollectedCount int `json:"collectedCount,omitempty"` }
DataCollectionPolicyStatus defines the observed state of DataCollectionPolicy
func (*DataCollectionPolicyStatus) DeepCopy ¶
func (in *DataCollectionPolicyStatus) DeepCopy() *DataCollectionPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCollectionPolicyStatus.
func (*DataCollectionPolicyStatus) DeepCopyInto ¶
func (in *DataCollectionPolicyStatus) DeepCopyInto(out *DataCollectionPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.