Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { AppConfigName string `json:"appName" binding:"required,max=64"` Definition runtime.RawExtension `json:"definition" binding:"required"` DefinitionType string `json:"definitionType" binding:"required,max=32"` DefinitionName string `json:"definitionName" binding:"required,max=64"` }
type ApplicationStatusMeta ¶
type ApplicationStatusMeta struct { Status string `json:"Status,omitempty"` Workload corev1alpha2.ComponentSpec `json:"Workload,omitempty"` Traits []corev1alpha2.ComponentTrait `json:"Traits,omitempty"` }
type CapabilityCenterMeta ¶
type CapabilityMeta ¶
type CommonFlag ¶
type Environment ¶
type EnvironmentBody ¶
type EnvironmentBody struct {
Namespace string `json:"namespace" binding:"required,min=1,max=32"`
}
type TraitBody ¶
type TraitBody struct { EnvName string `json:"env_name"` Name string `json:"name"` Flags []CommonFlag `json:"flags"` WorkloadName string `json:"workload_name"` AppGroup string `json:"app_group,omitempty"` Staging string `json:"staging,omitempty"` }
used to present trait which is to be attached and, of which parameters are set
type WorkloadMeta ¶
type WorkloadRunBody ¶
type WorkloadRunBody struct { EnvName string `json:"env_name"` WorkloadType string `json:"workload_type"` WorkloadName string `json:"workload_name"` AppGroup string `json:"app_group,omitempty"` Flags []CommonFlag `json:"flags"` Staging bool `json:"staging,omitempty"` Traits []TraitBody `json:"traits,omitempty"` }
Click to show internal directories.
Click to hide internal directories.