generated from broadinstitute/golang-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
v2controllers_editable_chart.go
77 lines (58 loc) · 2.13 KB
/
v2controllers_editable_chart.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// V2controllersEditableChart v2controllers editable chart
//
// swagger:model v2controllers.EditableChart
type V2controllersEditableChart struct {
// app image git main branch
AppImageGitMainBranch string `json:"appImageGitMainBranch,omitempty"`
// app image git repo
AppImageGitRepo string `json:"appImageGitRepo,omitempty"`
// Indicates if the default subdomain, protocol, and port fields are relevant for this chart
ChartExposesEndpoint *bool `json:"chartExposesEndpoint,omitempty"`
// chart repo
ChartRepo *string `json:"chartRepo,omitempty"`
// default port
DefaultPort *int64 `json:"defaultPort,omitempty"`
// default protocol
DefaultProtocol *string `json:"defaultProtocol,omitempty"`
// When creating, will default to the name of the chart
DefaultSubdomain string `json:"defaultSubdomain,omitempty"`
// description
Description string `json:"description,omitempty"`
// Indicates whether a chart requires config rendering from firecloud-develop
LegacyConfigsEnabled *bool `json:"legacyConfigsEnabled,omitempty"`
// playbook URL
PlaybookURL string `json:"playbookURL,omitempty"`
}
// Validate validates this v2controllers editable chart
func (m *V2controllersEditableChart) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this v2controllers editable chart based on context it is used
func (m *V2controllersEditableChart) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *V2controllersEditableChart) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *V2controllersEditableChart) UnmarshalBinary(b []byte) error {
var res V2controllersEditableChart
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}