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
7fd7beba
Commit
7fd7beba
authored
Mar 23, 2016
by
jackgr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post rebase fixups
parent
677ab300
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
28 deletions
+2
-28
types.go
pkg/common/types.go
+1
-27
types.go
pkg/expander/types.go
+1
-1
No files found.
pkg/common/types.go
View file @
7fd7beba
...
...
@@ -81,16 +81,6 @@ type CreateDeploymentRequest struct {
ChartInvocation
*
Resource
`json:"chart_invocation"`
}
// TypeInstance defines the metadata for an instantiation of a template type
// in a deployment.
type
TypeInstance
struct
{
Name
string
`json:"name"`
// instance name
Type
string
`json:"type"`
// instance type
Deployment
string
`json:"deployment"`
// deployment name
Manifest
string
`json:"manifest"`
// manifest name
Path
string
`json:"path"`
// JSON path within manifest
}
// ChartInstance defines the metadata for an instantiation of a chart.
type
ChartInstance
struct
{
Name
string
`json:"name"`
// instance name
...
...
@@ -100,22 +90,6 @@ type ChartInstance struct {
Path
string
`json:"path"`
// JSON path within manifest
}
// KubernetesObject represents a native 'bare' Kubernetes object.
type
KubernetesObject
struct
{
Kind
string
`json:"kind"`
APIVersion
string
`json:"apiVersion"`
Metadata
map
[
string
]
interface
{}
`json:"metadata"`
Spec
map
[
string
]
interface
{}
`json:"spec"`
}
// KubernetesSecret represents a Kubernetes secret
type
KubernetesSecret
struct
{
Kind
string
`json:"kind"`
APIVersion
string
`json:"apiVersion"`
Metadata
map
[
string
]
string
`json:"metadata"`
Data
map
[
string
]
string
`json:"data,omitempty"`
}
// TODO: Remove the following section when the refactoring of templates is complete.
// Template describes a set of resources to be deployed.
...
...
@@ -159,7 +133,7 @@ type Layout struct {
// ExpansionRequest defines the API to expander.
type
ExpansionRequest
struct
{
ChartInvocation
*
Resource
`json:"chart_invocation"`
Chart
*
chart
.
C
hartC
ontent
`json:"chart"`
Chart
*
chart
.
Content
`json:"chart"`
}
// ExpansionResponse defines the API to expander.
...
...
pkg/expander/types.go
View file @
7fd7beba
...
...
@@ -45,7 +45,7 @@ type Layout struct {
// ExpansionRequest defines the API to expander.
type
ExpansionRequest
struct
{
ChartInvocation
*
Resource
`json:"chart_invocation"`
Chart
*
chart
.
C
hartC
ontent
`json:"chart"`
Chart
*
chart
.
Content
`json:"chart"`
}
// ExpansionResponse defines the API to expander.
...
...
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