rancher v2.15.1

DynamicSchema.spec

Specification of the desired behavior of the the dynamic schema. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

13 fields
DynamicSchema.spec fields and descriptions
Field / TypeDescription
map[string]object

CollectionActions is the list of custom actions for collections of resources of this schema in the Norman API. No action handlers can be defined for dynamic schemas, so the behavior of these actions cannot be defined.

map[string]object

CollectionFields has no effect.

map[string]object

CollectionFilters are filters for listing collections of resources of this schema. Each map key is a field that can be used as a filter. No Norman stores are defined for dynamic schemas, so no collections can be retrieved to be filtered.

string[]

CollectionMethods is a list of http methods available for collections of resources of this schema in the Norman API. No Norman stores are defined for dynamic schemas, so these methods will always return an error.

dynamicSchemaVersion
string

DynamicSchemaVersion is used to determine whether the Norman schema should be updated when this object is updated. The schema is only updated if the previous version differs. Rancher overwrites this field.

embed
boolean

Embed determines whether the ResourceFields of this schema should be embedded into another Norman schema (EmbedType). When Embed is true, updates after creation to this object don't affect its corresponding Norman schema and will only change the fields of the EmbedType schema.

embedType
string

EmbedType identifies the Norman schema into which the ResourceFields of this object should be embedded in, when Embed is true.

string[]

IncludeableLinks has no effect.

pluralName
string

PluralName is an alternate name used to reference collections of resources of this schema in the Norman API. No Norman stores are defined for dynamic schemas, so no collections can be retrieved through this name.

map[string]object

ResourceActions is the list of custom actions for this resource in the Norman API. No API action handlers can be defined for dynamic schemas, so the behavior of these actions cannot be defined.

map[string]object

ResourceFields defines the schema fields and their types.

string[]

ResourceMethods is a list of http methods available for resources of this Norman schema in the Norman API. No Norman stores are defined for dynamic schemas, so these methods will always return an error.

schemaName
string

SchemaName is the id under which the schema will be registered in the Norman API collection of schemas. If unset, the dynamic schema resource name will be used.