v1alpha1

package
v0.0.0-...-3331eb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataCollectionPolicyStatus.

func (*DataCollectionPolicyStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL