Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileTensorBoard ¶
func ReconcileTensorBoard(jc job_controller.JobController, c client.Client, object client.Object, masterType apiv1.ReplicaType, spec *apiv1.ReplicaSpec, jobStatus apiv1.JobStatus, result *reconcile.Result) error
ReconcileTensorBoard reads that state of the cluster for the TensorBoard object and makes changes based on the state read.
Types ¶
type IngressSpec ¶
type IngressSpec struct { // Host is only checked if the Type is Ingress. Host *string `json:"host,omitempty"` // PathPrefix is only checked if the Type is Ingress. PathPrefix *string `json:"pathPrefix,omitempty"` // Annotations is an unstructured key value map stored for ingress. Annotations map[string]string `json:"annotations,omitempty"` }
IngressSpec defines the desired state of ingress
type TensorBoard ¶
type TensorBoard struct { // LogDir is the location of the log directory to be read by tensorboard. LogDir string `json:"logDir,omitempty"` // TTLSecondsAfterJobFinished is the TTL to clean up the tensorboard after the job is finished. TTLSecondsAfterJobFinished int32 `json:"ttlSecondsAfterJobFinished,omitempty"` // UpdateTimestamp is the timestamp of the last update UpdateTimestamp metav1.Time `json:"updateTimestamp,omitempty"` // Image is tensorboard container image. Image *string `json:"image,omitempty"` // Ingress defines the desired state of ingress Ingress *IngressSpec `json:"ingressSpec,omitempty"` }
TensorBoard defines the desired state of tensorboard
Click to show internal directories.
Click to hide internal directories.