Documentation ¶
Index ¶
- Variables
- func NewWorkloadTypeMapper() types.Mapper
- type CronJobConfig
- type DaemonSetConfig
- type DeploymentConfig
- type EnvironmentFrom
- type JobConfig
- type NodeScheduling
- type RegistryCredentialMapper
- type ReplicaSetConfig
- type ReplicationControllerConfig
- type ScalingGroup
- type Scheduling
- type ServiceSpecMapper
- type StatefulSetConfig
- type Target
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = types.APIVersion{ Version: "v3", Group: "project.cattle.io", Path: "/v3/project", SubContext: true, SubContextSchema: "/v3/schemas/project", } Schemas = factory.Schemas(&Version). Init(volumeTypes). Init(configMapTypes). Init(ingressTypes). Init(secretTypes). Init(serviceTypes). Init(podTypes). Init(deploymentTypes). Init(replicationControllerTypes). Init(replicaSetTypes). Init(statefulSetTypes). Init(daemonSetTypes). Init(jobTypes). Init(cronJobTypes). Init(podTemplateSpecTypes). Init(workloadTypes). Init(appTypes) )
Functions ¶
func NewWorkloadTypeMapper ¶
Types ¶
type CronJobConfig ¶
type CronJobConfig struct { }
type DaemonSetConfig ¶
type DaemonSetConfig struct { }
type DeploymentConfig ¶
type DeploymentConfig struct { }
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{}) error
type ReplicaSetConfig ¶
type ReplicaSetConfig struct { }
type ReplicationControllerConfig ¶
type ReplicationControllerConfig struct { }
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{}) error
type StatefulSetConfig ¶
type StatefulSetConfig struct { }
Click to show internal directories.
Click to hide internal directories.