Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Notebook
- type NotebookCondition
- type NotebookList
- type NotebookSpec
- type NotebookStatus
- type NotebookTemplateSpec
- type Plugin
- type Profile
- type ProfileCondition
- type ProfileList
- type ProfileSpec
- type ProfileStatus
Constants ¶
const ( ProfileSucceed = "Successful" ProfileFailed = "Failed" ProfileUnknown = "Unknown" )
ProfileSucceed state
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: kubeflow.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Notebook ¶
type Notebook struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotebookSpec `json:"spec,omitempty"` Status NotebookStatus `json:"status,omitempty"` }
Notebook is the Schema for the notebooks API k8s:openapi-gen=true +kubebuilder:resource:path=notebooks +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Notebook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notebook.
func (*Notebook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Notebook) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotebookCondition ¶
type NotebookCondition struct { // Type is the type of the condition. Possible values are Running|Waiting|Terminated Type string `json:"type"` // Last time we probed the condition. // +optional LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` // (brief) reason the container is in the current state // +optional Reason string `json:"reason,omitempty"` // Message regarding why the container is in the current state. // +optional Message string `json:"message,omitempty"` }
NotebookCondition defines the condition of the notebook
func (*NotebookCondition) DeepCopy ¶
func (in *NotebookCondition) DeepCopy() *NotebookCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookCondition.
func (*NotebookCondition) DeepCopyInto ¶
func (in *NotebookCondition) DeepCopyInto(out *NotebookCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotebookList ¶
type NotebookList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Notebook `json:"items"` }
NotebookList contains a list of Notebook
func (*NotebookList) DeepCopy ¶
func (in *NotebookList) DeepCopy() *NotebookList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookList.
func (*NotebookList) DeepCopyInto ¶
func (in *NotebookList) DeepCopyInto(out *NotebookList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotebookList) DeepCopyObject ¶
func (in *NotebookList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotebookSpec ¶
type NotebookSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Template NotebookTemplateSpec `json:"template,omitempty"` }
NotebookSpec defines the desired state of Notebook
func (*NotebookSpec) DeepCopy ¶
func (in *NotebookSpec) DeepCopy() *NotebookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookSpec.
func (*NotebookSpec) DeepCopyInto ¶
func (in *NotebookSpec) DeepCopyInto(out *NotebookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotebookStatus ¶
type NotebookStatus struct { // Conditions is an array of current conditions Conditions []NotebookCondition `json:"conditions"` // ReadyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. ReadyReplicas int32 `json:"readyReplicas"` // ContainerState is the state of underlying container. ContainerState corev1.ContainerState `json:"containerState"` }
NotebookStatus defines the observed state of Notebook
func (*NotebookStatus) DeepCopy ¶
func (in *NotebookStatus) DeepCopy() *NotebookStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookStatus.
func (*NotebookStatus) DeepCopyInto ¶
func (in *NotebookStatus) DeepCopyInto(out *NotebookStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotebookTemplateSpec ¶
NotebookTemplateSpec defines the desired template spec of Notebook
func (*NotebookTemplateSpec) DeepCopy ¶
func (in *NotebookTemplateSpec) DeepCopy() *NotebookTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookTemplateSpec.
func (*NotebookTemplateSpec) DeepCopyInto ¶
func (in *NotebookTemplateSpec) DeepCopyInto(out *NotebookTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plugin ¶
type Plugin struct { metav1.TypeMeta `json:",inline"` Spec *runtime.RawExtension `json:"spec,omitempty"` }
Plugin is for customize actions on different platform.
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec"` Status ProfileStatus `json:"status"` }
Profile is a specification for a Profile resource
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileCondition ¶
type ProfileCondition struct { Type string `json:"type,omitempty"` Status string `json:"status,omitempty" description:"status of the condition, one of True, False, Unknown"` Message string `json:"message,omitempty"` }
ProfileCondition is a specification for a ProfileCondition
func (*ProfileCondition) DeepCopy ¶
func (in *ProfileCondition) DeepCopy() *ProfileCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileCondition.
func (*ProfileCondition) DeepCopyInto ¶
func (in *ProfileCondition) DeepCopyInto(out *ProfileCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileList ¶
type ProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Profile `json:"items"` }
ProfileList is a list of Profile resources
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileSpec ¶
type ProfileSpec struct { // The profile owner Owner rbacv1.Subject `json:"owner,omitempty"` Plugins []Plugin `json:"plugins,omitempty"` // Resourcequota that will be applied to target namespace ResourceQuotaSpec v1.ResourceQuotaSpec `json:"resourceQuotaSpec,omitempty"` }
ProfileSpec defines the desired state of Profile
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct {
Conditions []ProfileCondition `json:"conditions,omitempty"`
}
ProfileStatus defines the observed state of Profile
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.