mirror of
https://github.com/rancher/types.git
synced 2025-09-19 00:46:53 +00:00
Generated changes
This commit is contained in:
@@ -5,41 +5,39 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
NamespaceType = "namespace"
|
||||
NamespaceFieldAnnotations = "annotations"
|
||||
NamespaceFieldCreated = "created"
|
||||
NamespaceFieldCreatorID = "creatorId"
|
||||
NamespaceFieldDescription = "description"
|
||||
NamespaceFieldLabels = "labels"
|
||||
NamespaceFieldName = "name"
|
||||
NamespaceFieldOwnerReferences = "ownerReferences"
|
||||
NamespaceFieldProjectID = "projectId"
|
||||
NamespaceFieldRemoved = "removed"
|
||||
NamespaceFieldResourceQuotaAppliedTemplateID = "resourceQuotaAppliedTemplateId"
|
||||
NamespaceFieldResourceQuotaTemplateID = "resourceQuotaTemplateId"
|
||||
NamespaceFieldState = "state"
|
||||
NamespaceFieldTransitioning = "transitioning"
|
||||
NamespaceFieldTransitioningMessage = "transitioningMessage"
|
||||
NamespaceFieldUUID = "uuid"
|
||||
NamespaceType = "namespace"
|
||||
NamespaceFieldAnnotations = "annotations"
|
||||
NamespaceFieldCreated = "created"
|
||||
NamespaceFieldCreatorID = "creatorId"
|
||||
NamespaceFieldDescription = "description"
|
||||
NamespaceFieldLabels = "labels"
|
||||
NamespaceFieldName = "name"
|
||||
NamespaceFieldOwnerReferences = "ownerReferences"
|
||||
NamespaceFieldProjectID = "projectId"
|
||||
NamespaceFieldRemoved = "removed"
|
||||
NamespaceFieldResourceQuota = "resourceQuota"
|
||||
NamespaceFieldState = "state"
|
||||
NamespaceFieldTransitioning = "transitioning"
|
||||
NamespaceFieldTransitioningMessage = "transitioningMessage"
|
||||
NamespaceFieldUUID = "uuid"
|
||||
)
|
||||
|
||||
type Namespace struct {
|
||||
types.Resource
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
ResourceQuotaAppliedTemplateID string `json:"resourceQuotaAppliedTemplateId,omitempty" yaml:"resourceQuotaAppliedTemplateId,omitempty"`
|
||||
ResourceQuotaTemplateID string `json:"resourceQuotaTemplateId,omitempty" yaml:"resourceQuotaTemplateId,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
ResourceQuota *NamespaceResourceQuota `json:"resourceQuota,omitempty" yaml:"resourceQuota,omitempty"`
|
||||
State string `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
Transitioning string `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
|
||||
TransitioningMessage string `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
}
|
||||
|
||||
type NamespaceCollection struct {
|
||||
|
10
client/cluster/v3/zz_generated_namespace_resource_quota.go
Normal file
10
client/cluster/v3/zz_generated_namespace_resource_quota.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NamespaceResourceQuotaType = "namespaceResourceQuota"
|
||||
NamespaceResourceQuotaFieldLimit = "limit"
|
||||
)
|
||||
|
||||
type NamespaceResourceQuota struct {
|
||||
Limit *ResourceQuotaLimit `json:"limit,omitempty" yaml:"limit,omitempty"`
|
||||
}
|
34
client/cluster/v3/zz_generated_resource_quota_limit.go
Normal file
34
client/cluster/v3/zz_generated_resource_quota_limit.go
Normal file
@@ -0,0 +1,34 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ResourceQuotaLimitType = "resourceQuotaLimit"
|
||||
ResourceQuotaLimitFieldConfigMaps = "configMaps"
|
||||
ResourceQuotaLimitFieldLimitsCPU = "limitsCpu"
|
||||
ResourceQuotaLimitFieldLimitsMemory = "limitsMemory"
|
||||
ResourceQuotaLimitFieldPersistentVolumeClaims = "persistentVolumeClaims"
|
||||
ResourceQuotaLimitFieldPods = "pods"
|
||||
ResourceQuotaLimitFieldReplicationControllers = "replicationControllers"
|
||||
ResourceQuotaLimitFieldRequestsCPU = "requestsCpu"
|
||||
ResourceQuotaLimitFieldRequestsMemory = "requestsMemory"
|
||||
ResourceQuotaLimitFieldRequestsStorage = "requestsStorage"
|
||||
ResourceQuotaLimitFieldSecrets = "secrets"
|
||||
ResourceQuotaLimitFieldServices = "services"
|
||||
ResourceQuotaLimitFieldServicesLoadBalancers = "servicesLoadBalancers"
|
||||
ResourceQuotaLimitFieldServicesNodePorts = "servicesNodePorts"
|
||||
)
|
||||
|
||||
type ResourceQuotaLimit struct {
|
||||
ConfigMaps string `json:"configMaps,omitempty" yaml:"configMaps,omitempty"`
|
||||
LimitsCPU string `json:"limitsCpu,omitempty" yaml:"limitsCpu,omitempty"`
|
||||
LimitsMemory string `json:"limitsMemory,omitempty" yaml:"limitsMemory,omitempty"`
|
||||
PersistentVolumeClaims string `json:"persistentVolumeClaims,omitempty" yaml:"persistentVolumeClaims,omitempty"`
|
||||
Pods string `json:"pods,omitempty" yaml:"pods,omitempty"`
|
||||
ReplicationControllers string `json:"replicationControllers,omitempty" yaml:"replicationControllers,omitempty"`
|
||||
RequestsCPU string `json:"requestsCpu,omitempty" yaml:"requestsCpu,omitempty"`
|
||||
RequestsMemory string `json:"requestsMemory,omitempty" yaml:"requestsMemory,omitempty"`
|
||||
RequestsStorage string `json:"requestsStorage,omitempty" yaml:"requestsStorage,omitempty"`
|
||||
Secrets string `json:"secrets,omitempty" yaml:"secrets,omitempty"`
|
||||
Services string `json:"services,omitempty" yaml:"services,omitempty"`
|
||||
ServicesLoadBalancers string `json:"servicesLoadBalancers,omitempty" yaml:"servicesLoadBalancers,omitempty"`
|
||||
ServicesNodePorts string `json:"servicesNodePorts,omitempty" yaml:"servicesNodePorts,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user