Documentation ¶
Index ¶
- func FromAccessToken(at *repo.AccessToken) *types.AccessTokenModel
- func FromChangeLog(c *repo.Changelog) *types.ChangelogModel
- func FromClusterInfo(info *repo.ClusterInfo) *websocket.ClusterInfo
- func FromEvent(e *repo.Event) *types.EventModel
- func FromFile(f *repo.File) *types.FileModel
- func FromNamespace(ns *repo.Namespace) *types.NamespaceModel
- func FromProject(project *repo.Project) *types.ProjectModel
- func FromRepo(repo *repo.Repo) *types.RepoModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAccessToken ¶
func FromAccessToken(at *repo.AccessToken) *types.AccessTokenModel
FromAccessToken transform to proto model.
func FromChangeLog ¶
func FromChangeLog(c *repo.Changelog) *types.ChangelogModel
func FromClusterInfo ¶
func FromClusterInfo(info *repo.ClusterInfo) *websocket.ClusterInfo
func FromNamespace ¶
func FromNamespace(ns *repo.Namespace) *types.NamespaceModel
func FromProject ¶
func FromProject(project *repo.Project) *types.ProjectModel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.