Documentation
¶
Index ¶
- Variables
- func ConfigMapTypes(version *types.APIVersion, schemas *types.Schemas) *types.Schemas
- func NamespaceTypes(version *types.APIVersion, schemas *types.Schemas) *types.Schemas
- type EnvironmentFrom
- type NodeScheduling
- type RegistryCredentialMapper
- type ResourceRequest
- type Resources
- type ScalingGroup
- type Scheduling
- type ServiceSpecMapper
- type Target
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = types.APIVersion{ Version: "v3", Group: "project.cattle.io", Path: "/v3/projects", SubContexts: map[string]bool{ "projects": true, }, } Schemas = factory.Schemas(&Version). Init(namespaceTypes). Init(volumeTypes). Init(ingressTypes). Init(secretTypes). Init(serviceTypes). Init(podTypes). Init(deploymentTypes). Init(statefulSetTypes). Init(replicaSet). Init(replicationController). Init(daemonSet). Init(workloadTypes). Init(configMapTypes) )
Functions ¶
func ConfigMapTypes ¶
func NamespaceTypes ¶
Types ¶
type EnvironmentFrom ¶
type NodeScheduling ¶
type RegistryCredentialMapper ¶
type RegistryCredentialMapper struct {
}
func (RegistryCredentialMapper) FromInternal ¶
func (e RegistryCredentialMapper) FromInternal(data map[string]interface{})
func (RegistryCredentialMapper) ModifySchema ¶
func (RegistryCredentialMapper) ToInternal ¶
func (e RegistryCredentialMapper) ToInternal(data map[string]interface{})
type ResourceRequest ¶
type Resources ¶
type Resources struct {
CPU *ResourceRequest
Memory *ResourceRequest
NvidiaGPU *ResourceRequest
}
type ScalingGroup ¶
type ScalingGroup struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec interface{} `json:"spec"`
Status interface{} `json:"status"`
}
type Scheduling ¶
type Scheduling struct {
Node *NodeScheduling
Tolerate []v1.Toleration
Scheduler string
Priority *int64
PriorityClassName string
}
type ServiceSpecMapper ¶
type ServiceSpecMapper struct {
}
func (ServiceSpecMapper) FromInternal ¶
func (e ServiceSpecMapper) FromInternal(data map[string]interface{})
func (ServiceSpecMapper) ModifySchema ¶
func (ServiceSpecMapper) ToInternal ¶
func (e ServiceSpecMapper) ToInternal(data map[string]interface{})
Click to show internal directories.
Click to hide internal directories.