Documentation ¶
Index ¶
- func New(kind string) (core.ApiObject, error)
- type AdditionalConfigs
- type AnsibleConfig
- type AnsibleGroupVars
- type AnsibleInventory
- type AnsiblePlaybook
- type AppInstance
- func (src AppInstance) DeepCopy() *AppInstance
- func (src AppInstance) DeepCopyApiObject() core.ApiObject
- func (src AppInstance) DeepCopyInto(dst *AppInstance) error
- func (obj *AppInstance) FromJSON(data []byte) error
- func (obj *AppInstance) FromYAML(data []byte) error
- func (obj AppInstance) Sha256() string
- func (obj *AppInstance) SpecDecode(data []byte) error
- func (obj AppInstance) SpecEncode() ([]byte, error)
- func (obj AppInstance) SpecHash() string
- func (obj AppInstance) ToJSON() ([]byte, error)
- func (obj AppInstance) ToJSONPretty() ([]byte, error)
- func (obj AppInstance) ToYAML() ([]byte, error)
- type AppInstanceArgs
- type AppInstanceGlobal
- type AppInstanceHostAliases
- type AppInstanceModule
- type AppInstanceModuleReplica
- type AppInstanceRef
- type AppInstanceSpec
- type AppRef
- type CPU
- type ConfigMap
- type ConfigMapRef
- type Disk
- type GPUInfo
- type Helper
- type Host
- func (src Host) DeepCopy() *Host
- func (src Host) DeepCopyApiObject() core.ApiObject
- func (src Host) DeepCopyInto(dst *Host) error
- func (obj *Host) FromJSON(data []byte) error
- func (obj *Host) FromYAML(data []byte) error
- func (obj Host) Sha256() string
- func (obj *Host) SpecDecode(data []byte) error
- func (obj Host) SpecEncode() ([]byte, error)
- func (obj Host) SpecHash() string
- func (obj Host) ToJSON() ([]byte, error)
- func (obj Host) ToJSONPretty() ([]byte, error)
- func (obj Host) ToYAML() ([]byte, error)
- type HostInfo
- type HostPlugin
- type HostSSH
- type HostSpec
- type Job
- func (src Job) DeepCopy() *Job
- func (src Job) DeepCopyApiObject() core.ApiObject
- func (src Job) DeepCopyInto(dst *Job) error
- func (obj *Job) FromJSON(data []byte) error
- func (obj *Job) FromYAML(data []byte) error
- func (obj Job) Sha256() string
- func (obj *Job) SpecDecode(data []byte) error
- func (obj Job) SpecEncode() ([]byte, error)
- func (obj Job) SpecHash() string
- func (obj Job) ToJSON() ([]byte, error)
- func (obj Job) ToJSONPretty() ([]byte, error)
- func (obj Job) ToYAML() ([]byte, error)
- type JobAnsible
- type JobAnsiblePlay
- type JobExec
- type JobSpec
- type LivenessProbe
- type Memory
- type OS
- type ValueFrom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdditionalConfigs ¶
type AdditionalConfigs struct { Enabled bool ConfigMapRef ConfigMapRef Args []AppInstanceArgs }
type AnsibleConfig ¶
type AnsibleGroupVars ¶
type AnsibleInventory ¶
type AnsiblePlaybook ¶
type AppInstance ¶
type AppInstance struct { core.BaseApiObj `json:",inline" yaml:",inline"` Spec AppInstanceSpec }
func NewAppInstance ¶
func NewAppInstance() *AppInstance
func (AppInstance) DeepCopy ¶
func (src AppInstance) DeepCopy() *AppInstance
DeepCopy is auto generated by codegen, create and copy public fields into the new *AppInstance
func (AppInstance) DeepCopyApiObject ¶
func (src AppInstance) DeepCopyApiObject() core.ApiObject
DeepCopyApiObject is auto generated by codegen, deep copy and return as ApiObject
func (AppInstance) DeepCopyInto ¶
func (src AppInstance) DeepCopyInto(dst *AppInstance) error
DeepCopyInto is auto generated by codegen, copy public fields into the *AppInstance
func (*AppInstance) FromJSON ¶
func (obj *AppInstance) FromJSON(data []byte) error
FromJSON is auto generated by codegen, unmarshal from json bytes
func (*AppInstance) FromYAML ¶
func (obj *AppInstance) FromYAML(data []byte) error
FromYAML is auto generated by codegen, unmarshal from yaml bytes
func (AppInstance) Sha256 ¶
func (obj AppInstance) Sha256() string
func (*AppInstance) SpecDecode ¶
func (obj *AppInstance) SpecDecode(data []byte) error
func (AppInstance) SpecEncode ¶
func (obj AppInstance) SpecEncode() ([]byte, error)
func (AppInstance) SpecHash ¶
func (obj AppInstance) SpecHash() string
func (AppInstance) ToJSON ¶
func (obj AppInstance) ToJSON() ([]byte, error)
ToJSON is auto generated by codegen, marshal to json bytes
func (AppInstance) ToJSONPretty ¶
func (obj AppInstance) ToJSONPretty() ([]byte, error)
ToJSONPretty is auto generated by codegen, marshal to json bytes with pretty format
func (AppInstance) ToYAML ¶
func (obj AppInstance) ToYAML() ([]byte, error)
ToYAML is auto generated by codegen, marshal to yaml bytes
type AppInstanceArgs ¶
type AppInstanceArgs struct { Name string Value interface{} }
type AppInstanceGlobal ¶
type AppInstanceGlobal struct { Args []AppInstanceArgs ConfigMapRef ConfigMapRef }
type AppInstanceHostAliases ¶
type AppInstanceModule ¶
type AppInstanceModule struct { Name string AppVersion string Replicas []AppInstanceModuleReplica }
type AppInstanceModuleReplica ¶
type AppInstanceModuleReplica struct { Args []AppInstanceArgs HostRefs []string HostAliases []AppInstanceHostAliases Notes string ConfigMapRef ConfigMapRef AdditionalConfigs AdditionalConfigs }
type AppInstanceRef ¶
type AppInstanceSpec ¶
type AppInstanceSpec struct { Category string AppRef AppRef Action string LivenessProbe LivenessProbe Modules []AppInstanceModule Global AppInstanceGlobal K8sRef string }
type ConfigMap ¶
type ConfigMap struct { core.BaseRuntimeObj `json:",inline" yaml:",inline"` Spec map[string]string `json:"spec" yaml:"spec"` }
type ConfigMapRef ¶
type Host ¶
type Host struct { core.BaseApiObj `json:",inline" yaml:",inline"` Spec HostSpec Info HostInfo }
func (Host) DeepCopy ¶
DeepCopy is auto generated by codegen, create and copy public fields into the new *Host
func (Host) DeepCopyApiObject ¶
DeepCopyApiObject is auto generated by codegen, deep copy and return as ApiObject
func (Host) DeepCopyInto ¶
DeepCopyInto is auto generated by codegen, copy public fields into the *Host
func (*Host) SpecDecode ¶
func (Host) SpecEncode ¶
func (Host) ToJSONPretty ¶
ToJSONPretty is auto generated by codegen, marshal to json bytes with pretty format
type HostPlugin ¶
type HostPlugin struct { AppInstanceRef AppInstanceRef AppRef AppRef }
type Job ¶
type Job struct { core.BaseApiObj `json:",inline" yaml:",inline"` Spec JobSpec }
func (Job) DeepCopy ¶
DeepCopy is auto generated by codegen, create and copy public fields into the new *Job
func (Job) DeepCopyApiObject ¶
DeepCopyApiObject is auto generated by codegen, deep copy and return as ApiObject
func (Job) DeepCopyInto ¶
DeepCopyInto is auto generated by codegen, copy public fields into the *Job
func (*Job) SpecDecode ¶
func (Job) SpecEncode ¶
func (Job) ToJSONPretty ¶
ToJSONPretty is auto generated by codegen, marshal to json bytes with pretty format
type JobAnsible ¶
type JobAnsible struct { Bin string Plays []JobAnsiblePlay RecklessMode bool }
type JobAnsiblePlay ¶
type JobAnsiblePlay struct { Name string Envs []string Tags []string Playbook AnsiblePlaybook Configs []AnsibleConfig GroupVars AnsibleGroupVars Inventory AnsibleInventory }
type JobExec ¶
type JobExec struct { Type string Ansible JobAnsible }
type LivenessProbe ¶
type ValueFrom ¶
type ValueFrom struct {
ConfigMapRef ConfigMapRef
}