Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
c2d1aff0
Commit
c2d1aff0
authored
Mar 16, 2016
by
Dave Cunningham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add chart representation to types.go
parent
759d80dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
types.go
pkg/common/types.go
+22
-0
No files found.
pkg/common/types.go
View file @
c2d1aff0
...
...
@@ -97,6 +97,28 @@ type Manifest struct {
Layout
*
Layout
`json:"layout,omitempty"`
}
// Expander controls how template/ is evaluated.
type
Expander
struct
{
// Currently just Expandybird or GoTemplate
Name
string
`json:"name"`
// During evaluation, which file to start from.
Entrypoint
string
`json:"entry_point"`
}
// ChartFile is a file in a chart that is not chart.yaml.
type
ChartFile
struct
{
Path
string
`json:"path"`
// Path from the root of the chart.
Content
string
`json:"content"`
// Base64 encoded file content.
}
// Chart is our internal representation of the chart.yaml (in structured form) + all supporting files.
type
Chart
struct
{
Name
string
`json:"name"`
Expander
*
Expander
`json:"expander"`
Schema
interface
{}
`json:"schema"`
Files
[]
*
ChartFile
`json:"files"`
}
// Template describes a set of resources to be deployed.
// Manager expands a Template into a Configuration, which
// describes the set in a form that can be instantiated.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment