Skip to content

Commit

Permalink
addition of KFCluster.CreatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroargentieri committed Jun 7, 2023
1 parent d56e435 commit 0bb2ed6
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions kfcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ import (
"encoding/json"
"fmt"
"strings"
"time"
)

// KfCluster represents a cluster with Kubeflow installed.
type KfCluster struct {
ID string `json:"id"`
Name string `json:"name,validate:required"`
NetworkID string `json:"network_id,validate:required"`
FirewallID string `json:"firewall_id"`
Size string `json:"size"`
KubeflowReady string `json:"kubeflow_ready"`
DashboardURL string `json:"dashboard_url"`
Namespace string `json:"-"`
ID string `json:"id"`
Name string `json:"name"`
NetworkID string `json:"network_id"`
FirewallID string `json:"firewall_id"`
Size string `json:"size"`
KubeflowReady string `json:"kubeflow_ready"`
DashboardURL string `json:"dashboard_url"`
CreatedAt time.Time `json:"created_at"`
Namespace string `json:"-"`
}

// CreateKfClusterReq is the request for creating a KfCluster.
Expand Down

0 comments on commit 0bb2ed6

Please sign in to comment.