Updating api documentation

This commit is contained in:
chrislovecnm 2017-11-10 11:41:41 -07:00
parent f1fddb5512
commit cd37a85dcd
4 changed files with 242 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -193,6 +193,9 @@
{ {
"filename": "_generated_topologyspec_v1alpha2_kops_definition.md" "filename": "_generated_topologyspec_v1alpha2_kops_definition.md"
}, },
{
"filename": "_generated_userdata_v1alpha2_kops_definition.md"
},
{ {
"filename": "_generated_watchevent_v1_meta_definition.md" "filename": "_generated_watchevent_v1_meta_definition.md"
}, },

File diff suppressed because one or more lines are too long

View File

@ -22616,6 +22616,19 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
}, },
}, },
}, },
"additionalUserData": {
SchemaProps: spec.SchemaProps{
Description: "AdditionalUserData is any aditional user-data to be passed to the host",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Ref: ref("k8s.io/kops/pkg/apis/kops/v1alpha1.UserData"),
},
},
},
},
},
"zones": { "zones": {
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
Description: "Zones is the names of the Zones where machines in this instance group should be placed This is needed for regional subnets (e.g. GCE), to restrict placement to particular zones", Description: "Zones is the names of the Zones where machines in this instance group should be placed This is needed for regional subnets (e.g. GCE), to restrict placement to particular zones",
@ -22634,7 +22647,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
}, },
}, },
Dependencies: []string{ Dependencies: []string{
"k8s.io/kops/pkg/apis/kops/v1alpha1.FileAssetSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.HookSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.KubeletConfigSpec"}, "k8s.io/kops/pkg/apis/kops/v1alpha1.FileAssetSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.HookSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.KubeletConfigSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.UserData"},
}, },
"k8s.io/kops/pkg/apis/kops/v1alpha1.KopeioAuthenticationSpec": { "k8s.io/kops/pkg/apis/kops/v1alpha1.KopeioAuthenticationSpec": {
Schema: spec.Schema{ Schema: spec.Schema{
@ -23058,6 +23071,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
}, },
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -23171,6 +23198,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -23326,6 +23367,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Format: "", Format: "",
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -24035,6 +24090,37 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Dependencies: []string{ Dependencies: []string{
"k8s.io/kops/pkg/apis/kops/v1alpha1.BastionSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.DNSSpec"}, "k8s.io/kops/pkg/apis/kops/v1alpha1.BastionSpec", "k8s.io/kops/pkg/apis/kops/v1alpha1.DNSSpec"},
}, },
"k8s.io/kops/pkg/apis/kops/v1alpha1.UserData": {
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "UserData defines a user-data section",
Properties: map[string]spec.Schema{
"name": {
SchemaProps: spec.SchemaProps{
Description: "Name is the name of the user-data",
Type: []string{"string"},
Format: "",
},
},
"type": {
SchemaProps: spec.SchemaProps{
Description: "Type is the type of user-data",
Type: []string{"string"},
Format: "",
},
},
"content": {
SchemaProps: spec.SchemaProps{
Description: "Content is the user-data content",
Type: []string{"string"},
Format: "",
},
},
},
},
},
Dependencies: []string{},
},
"k8s.io/kops/pkg/apis/kops/v1alpha1.WeaveNetworkingSpec": { "k8s.io/kops/pkg/apis/kops/v1alpha1.WeaveNetworkingSpec": {
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{
@ -25907,11 +25993,24 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
}, },
}, },
}, },
"additionalUserData": {
SchemaProps: spec.SchemaProps{
Description: "AdditionalUserData is any aditional user-data to be passed to the host",
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Ref: ref("k8s.io/kops/pkg/apis/kops/v1alpha2.UserData"),
},
},
},
},
},
}, },
}, },
}, },
Dependencies: []string{ Dependencies: []string{
"k8s.io/kops/pkg/apis/kops/v1alpha2.FileAssetSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.HookSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.KubeletConfigSpec"}, "k8s.io/kops/pkg/apis/kops/v1alpha2.FileAssetSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.HookSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.KubeletConfigSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.UserData"},
}, },
"k8s.io/kops/pkg/apis/kops/v1alpha2.Keyset": { "k8s.io/kops/pkg/apis/kops/v1alpha2.Keyset": {
Schema: spec.Schema{ Schema: spec.Schema{
@ -26475,6 +26574,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
}, },
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -26588,6 +26701,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"),
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -26740,6 +26867,20 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Format: "", Format: "",
}, },
}, },
"featureGates": {
SchemaProps: spec.SchemaProps{
Description: "FeatureGates is set of key=value pairs that describe feature gates for alpha/experimental features.",
Type: []string{"object"},
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"string"},
Format: "",
},
},
},
},
},
}, },
}, },
}, },
@ -27449,6 +27590,37 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
Dependencies: []string{ Dependencies: []string{
"k8s.io/kops/pkg/apis/kops/v1alpha2.BastionSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.DNSSpec"}, "k8s.io/kops/pkg/apis/kops/v1alpha2.BastionSpec", "k8s.io/kops/pkg/apis/kops/v1alpha2.DNSSpec"},
}, },
"k8s.io/kops/pkg/apis/kops/v1alpha2.UserData": {
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "UserData defines a user-data section",
Properties: map[string]spec.Schema{
"name": {
SchemaProps: spec.SchemaProps{
Description: "Name is the name of the user-data",
Type: []string{"string"},
Format: "",
},
},
"type": {
SchemaProps: spec.SchemaProps{
Description: "Type is the type of user-data",
Type: []string{"string"},
Format: "",
},
},
"content": {
SchemaProps: spec.SchemaProps{
Description: "Content is the user-data content",
Type: []string{"string"},
Format: "",
},
},
},
},
},
Dependencies: []string{},
},
"k8s.io/kops/pkg/apis/kops/v1alpha2.WeaveNetworkingSpec": { "k8s.io/kops/pkg/apis/kops/v1alpha2.WeaveNetworkingSpec": {
Schema: spec.Schema{ Schema: spec.Schema{
SchemaProps: spec.SchemaProps{ SchemaProps: spec.SchemaProps{