mirror of
https://github.com/rancher/rke.git
synced 2025-09-06 01:10:15 +00:00
generated code
This commit is contained in:
committed by
Darren Shepherd
parent
319c383f13
commit
9ac09485d6
@@ -24,4 +24,4 @@ github.com/coreos/go-semver e214231b295a8ea9479f11b70b35d5acf3556d9
|
|||||||
github.com/ugorji/go/codec ccfe18359b55b97855cee1d3f74e5efbda4869dc
|
github.com/ugorji/go/codec ccfe18359b55b97855cee1d3f74e5efbda4869dc
|
||||||
|
|
||||||
github.com/rancher/norman 151aa66e3e99de7e0d195e2d5ca96b1f95544555
|
github.com/rancher/norman 151aa66e3e99de7e0d195e2d5ca96b1f95544555
|
||||||
github.com/rancher/types 7baa43c5d1a5f9385a1e791f85151978553bf38d
|
github.com/rancher/types 2c8d9e23dd981e05d48fb1105c346480d1bc697e https://github.com/moelsayed/types
|
||||||
|
1
vendor/github.com/rancher/types/apis/management.cattle.io/v3/authz_types.go
generated
vendored
1
vendor/github.com/rancher/types/apis/management.cattle.io/v3/authz_types.go
generated
vendored
@@ -12,6 +12,7 @@ import (
|
|||||||
var (
|
var (
|
||||||
NamespaceBackedResource condition.Cond = "BackingNamespaceCreated"
|
NamespaceBackedResource condition.Cond = "BackingNamespaceCreated"
|
||||||
CreatorMadeOwner condition.Cond = "CreatorMadeOwner"
|
CreatorMadeOwner condition.Cond = "CreatorMadeOwner"
|
||||||
|
DefaultNetworkPolicyCreated condition.Cond = "DefaultNetworkPolicyCreated"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Project struct {
|
type Project struct {
|
||||||
|
6
vendor/github.com/rancher/types/apis/management.cattle.io/v3/rke_types.go
generated
vendored
6
vendor/github.com/rancher/types/apis/management.cattle.io/v3/rke_types.go
generated
vendored
@@ -251,13 +251,15 @@ type RKEPlan struct {
|
|||||||
type RKEConfigNodePlan struct {
|
type RKEConfigNodePlan struct {
|
||||||
// Node address
|
// Node address
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address,omitempty"`
|
||||||
// List of processes that should run on the node
|
// map of named processes that should run on the node
|
||||||
Processes []Process `json:"processes,omitempty"`
|
Processes map[string]Process `json:"processes,omitempty"`
|
||||||
// List of portchecks that should be open on the node
|
// List of portchecks that should be open on the node
|
||||||
PortChecks []PortCheck `json:"portChecks,omitempty"`
|
PortChecks []PortCheck `json:"portChecks,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Process struct {
|
type Process struct {
|
||||||
|
// Process name, this should be the container name
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
// Process Entrypoint command
|
// Process Entrypoint command
|
||||||
Command []string `json:"command,omitempty"`
|
Command []string `json:"command,omitempty"`
|
||||||
// Process args
|
// Process args
|
||||||
|
@@ -4838,9 +4838,9 @@ func (in *RKEConfigNodePlan) DeepCopyInto(out *RKEConfigNodePlan) {
|
|||||||
*out = *in
|
*out = *in
|
||||||
if in.Processes != nil {
|
if in.Processes != nil {
|
||||||
in, out := &in.Processes, &out.Processes
|
in, out := &in.Processes, &out.Processes
|
||||||
*out = make([]Process, len(*in))
|
*out = make(map[string]Process, len(*in))
|
||||||
for i := range *in {
|
for key, val := range *in {
|
||||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
(*out)[key] = *val.DeepCopy()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if in.PortChecks != nil {
|
if in.PortChecks != nil {
|
||||||
|
Reference in New Issue
Block a user