Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

TemplateRepo Auth pointer #497

Merged
merged 1 commit into from
Jun 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pkg/utils/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ import "fmt"
type (
// TemplateRepo represents a template repository.
TemplateRepo struct {
Description string `json:"description"`
URL string `json:"url"`
Name string `json:"name"`
ID string `json:"id"`
Enabled bool `json:"enabled"`
Protected bool `json:"protected"`
ProjectStyles []string `json:"projectStyles"`
Authentication Authentication `json:"authentication,omitempty"`
Description string `json:"description"`
URL string `json:"url"`
Name string `json:"name"`
ID string `json:"id"`
Enabled bool `json:"enabled"`
Protected bool `json:"protected"`
ProjectStyles []string `json:"projectStyles"`
Authentication *Authentication `json:"authentication,omitempty"`
}
// Authentication represents a template respository's authentication.
Authentication struct {
Expand Down