Documentation ¶
Overview ¶
+gengo:deepcopy +gengo:runtimedoc
Package v1alpha1 GENERATED BY gengo:deepcopy DON'T EDIT THIS FILE
Package v1alpha1 GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package v1alpha1 GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- Variables
- func PortNameAndHostPort(n string) (string, int32)
- func PortProtocol(n string) corev1.Protocol
- func SubResourceName(kpkg *KubePkg, name string) string
- func VolumesFrom(kpkg *KubePkg) map[string]Volume
- type ConfigurationDatabase
- type Container
- type Deploy
- func (in *Deploy) DeepCopy() *Deploy
- func (in *Deploy) DeepCopyInto(out *Deploy)
- func (Deploy) Discriminator() string
- func (Deploy) Mapping() map[string]any
- func (d Deploy) MarshalJSON() ([]byte, error)
- func (v Deploy) RuntimeDoc(names ...string) ([]string, bool)
- func (d *Deploy) UnmarshalJSON(data []byte) error
- type DeployConfigMap
- type DeployCronJob
- type DeployDaemonSet
- type DeployDeployment
- type DeployJob
- type DeploySecret
- type DeployStatefulSet
- type Deployer
- type DigestMeta
- type DigestMetaType
- type EnvVarValueOrFrom
- func (in *EnvVarValueOrFrom) DeepCopy() *EnvVarValueOrFrom
- func (in *EnvVarValueOrFrom) DeepCopyInto(out *EnvVarValueOrFrom)
- func (envVar EnvVarValueOrFrom) MarshalText() ([]byte, error)
- func (v EnvVarValueOrFrom) RuntimeDoc(names ...string) ([]string, bool)
- func (envVar *EnvVarValueOrFrom) UnmarshalText(text []byte) (err error)
- type Expose
- type FileSize
- type Image
- type KubePkg
- type KubePkgList
- type Manifests
- type MountResult
- type ScopeType
- type Service
- type ServiceAccount
- type Spec
- type SpecData
- type Status
- type Statuses
- type Volume
- func (in *Volume) DeepCopy() *Volume
- func (in *Volume) DeepCopyInto(out *Volume)
- func (Volume) Discriminator() string
- func (Volume) Mapping() map[string]any
- func (d Volume) MarshalJSON() ([]byte, error)
- func (v Volume) RuntimeDoc(names ...string) ([]string, bool)
- func (d *Volume) UnmarshalJSON(data []byte) error
- type VolumeConfigMap
- func (in *VolumeConfigMap) DeepCopy() *VolumeConfigMap
- func (in *VolumeConfigMap) DeepCopyInto(out *VolumeConfigMap)
- func (v *VolumeConfigMap) Mount(name string) *MountResult
- func (v VolumeConfigMap) RuntimeDoc(names ...string) ([]string, bool)
- func (v *VolumeConfigMap) ToResource(kpkg *KubePkg, resourceName string) (client.Object, error)
- type VolumeEmptyDir
- func (in *VolumeEmptyDir) DeepCopy() *VolumeEmptyDir
- func (in *VolumeEmptyDir) DeepCopyInto(out *VolumeEmptyDir)
- func (v *VolumeEmptyDir) Mount(name string) *MountResult
- func (v VolumeEmptyDir) RuntimeDoc(names ...string) ([]string, bool)
- func (v *VolumeEmptyDir) ToResource(kpkg *KubePkg, resourceName string) (client.Object, error)
- type VolumeHostPath
- func (in *VolumeHostPath) DeepCopy() *VolumeHostPath
- func (in *VolumeHostPath) DeepCopyInto(out *VolumeHostPath)
- func (v *VolumeHostPath) Mount(name string) *MountResult
- func (v VolumeHostPath) RuntimeDoc(names ...string) ([]string, bool)
- func (v *VolumeHostPath) ToResource(kpkg *KubePkg, resourceName string) (client.Object, error)
- type VolumeMount
- type VolumePersistentVolumeClaim
- func (in *VolumePersistentVolumeClaim) DeepCopy() *VolumePersistentVolumeClaim
- func (in *VolumePersistentVolumeClaim) DeepCopyInto(out *VolumePersistentVolumeClaim)
- func (v *VolumePersistentVolumeClaim) Mount(name string) *MountResult
- func (v VolumePersistentVolumeClaim) RuntimeDoc(names ...string) ([]string, bool)
- func (v *VolumePersistentVolumeClaim) ToResource(kpkg *KubePkg, resourceName string) (client.Object, error)
- type VolumeSecret
- func (in *VolumeSecret) DeepCopy() *VolumeSecret
- func (in *VolumeSecret) DeepCopyInto(out *VolumeSecret)
- func (v *VolumeSecret) Mount(name string) *MountResult
- func (v VolumeSecret) RuntimeDoc(names ...string) ([]string, bool)
- func (v *VolumeSecret) ToResource(kpkg *KubePkg, resourceName string) (client.Object, error)
- type VolumeSource
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{ Group: "octohelm.tech", Version: "v1alpha1", } // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{ GroupVersion: SchemeGroupVersion, } // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func PortNameAndHostPort ¶ added in v0.5.4
func PortProtocol ¶ added in v0.4.0
func SubResourceName ¶ added in v0.4.0
func VolumesFrom ¶ added in v0.4.0
Types ¶
type ConfigurationDatabase ¶ added in v0.4.0
type ConfigurationDatabase struct { Scheme string Host string Username string Password string Name string Extra string }
func (*ConfigurationDatabase) DeepCopy ¶ added in v0.4.0
func (in *ConfigurationDatabase) DeepCopy() *ConfigurationDatabase
func (*ConfigurationDatabase) DeepCopyInto ¶ added in v0.4.0
func (in *ConfigurationDatabase) DeepCopyInto(out *ConfigurationDatabase)
func (ConfigurationDatabase) Endpoint ¶ added in v0.4.0
func (c ConfigurationDatabase) Endpoint() string
func (ConfigurationDatabase) RuntimeDoc ¶ added in v0.4.0
func (v ConfigurationDatabase) RuntimeDoc(names ...string) ([]string, bool)
type Container ¶ added in v0.2.0
type Container struct { Image Image `json:"image"` WorkingDir string `json:"workingDir,omitempty"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` Env map[string]EnvVarValueOrFrom `json:"env,omitempty"` // Ports: [PortName]: ContainerPort Ports map[string]int32 `json:"ports,omitempty"` Stdin bool `json:"stdin,omitempty"` StdinOnce bool `json:"stdinOnce,omitempty"` TTY bool `json:"tty,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` StartupProbe *corev1.Probe `json:"startupProbe,omitempty"` Lifecycle *corev1.Lifecycle `json:"lifecycle,omitempty"` SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` TerminationMessagePath string `json:"terminationMessagePath,omitempty"` TerminationMessagePolicy corev1.TerminationMessagePolicy `json:"terminationMessagePolicy,omitempty"` }
func (*Container) DeepCopyInto ¶ added in v0.4.0
type Deploy ¶ added in v0.2.0
type Deploy struct {
Deployer `json:"-"`
}
+gengo:deepcopy=false
func (*Deploy) DeepCopyInto ¶ added in v0.4.0
func (Deploy) Discriminator ¶ added in v0.4.0
func (Deploy) MarshalJSON ¶ added in v0.4.0
func (Deploy) RuntimeDoc ¶ added in v0.2.0
func (*Deploy) UnmarshalJSON ¶ added in v0.4.0
type DeployConfigMap ¶ added in v0.4.0
type DeployConfigMap struct { Kind string `json:"kind" validate:"@string{ConfigMap}"` Annotations map[string]string `json:"annotations,omitempty"` }
func (*DeployConfigMap) DeepCopy ¶ added in v0.4.0
func (in *DeployConfigMap) DeepCopy() *DeployConfigMap
func (*DeployConfigMap) DeepCopyInto ¶ added in v0.4.0
func (in *DeployConfigMap) DeepCopyInto(out *DeployConfigMap)
func (DeployConfigMap) RuntimeDoc ¶ added in v0.4.0
func (v DeployConfigMap) RuntimeDoc(names ...string) ([]string, bool)
func (*DeployConfigMap) ToResource ¶ added in v0.4.0
func (x *DeployConfigMap) ToResource(kpkg *KubePkg) (client.Object, error)
type DeployCronJob ¶ added in v0.4.0
type DeployCronJob struct { Kind string `json:"kind" validate:"@string{CronJob}"` Annotations map[string]string `json:"annotations,omitempty"` Spec batchv1.CronJobSpec `json:"spec,omitempty"` }
func (*DeployCronJob) DeepCopy ¶ added in v0.4.0
func (in *DeployCronJob) DeepCopy() *DeployCronJob
func (*DeployCronJob) DeepCopyInto ¶ added in v0.4.0
func (in *DeployCronJob) DeepCopyInto(out *DeployCronJob)
func (DeployCronJob) RuntimeDoc ¶ added in v0.4.0
func (v DeployCronJob) RuntimeDoc(names ...string) ([]string, bool)
func (*DeployCronJob) ToResource ¶ added in v0.4.0
func (x *DeployCronJob) ToResource(kpkg *KubePkg) (client.Object, error)
type DeployDaemonSet ¶ added in v0.4.0
type DeployDaemonSet struct { Kind string `json:"kind" validate:"@string{DaemonSet}"` Annotations map[string]string `json:"annotations,omitempty"` Spec appsv1.DaemonSetSpec `json:"spec,omitempty"` }
func (*DeployDaemonSet) DeepCopy ¶ added in v0.4.0
func (in *DeployDaemonSet) DeepCopy() *DeployDaemonSet
func (*DeployDaemonSet) DeepCopyInto ¶ added in v0.4.0
func (in *DeployDaemonSet) DeepCopyInto(out *DeployDaemonSet)
func (DeployDaemonSet) RuntimeDoc ¶ added in v0.4.0
func (v DeployDaemonSet) RuntimeDoc(names ...string) ([]string, bool)
func (*DeployDaemonSet) ToResource ¶ added in v0.4.0
func (x *DeployDaemonSet) ToResource(kpkg *KubePkg) (client.Object, error)
type DeployDeployment ¶ added in v0.4.0
type DeployDeployment struct { Kind string `json:"kind" validate:"@string{Deployment}"` Annotations map[string]string `json:"annotations,omitempty"` Spec appsv1.DeploymentSpec `json:"spec,omitempty"` }
func (*DeployDeployment) DeepCopy ¶ added in v0.4.0
func (in *DeployDeployment) DeepCopy() *DeployDeployment
func (*DeployDeployment) DeepCopyInto ¶ added in v0.4.0
func (in *DeployDeployment) DeepCopyInto(out *DeployDeployment)
func (DeployDeployment) RuntimeDoc ¶ added in v0.4.0
func (v DeployDeployment) RuntimeDoc(names ...string) ([]string, bool)
func (*DeployDeployment) ToResource ¶ added in v0.4.0
func (x *DeployDeployment) ToResource(kpkg *KubePkg) (client.Object, error)
type DeployJob ¶ added in v0.4.0
type DeployJob struct { Kind string `json:"kind" validate:"@string{Job}"` Annotations map[string]string `json:"annotations,omitempty"` Spec batchv1.JobSpec `json:"spec,omitempty"` }
func (*DeployJob) DeepCopyInto ¶ added in v0.4.0
func (DeployJob) RuntimeDoc ¶ added in v0.4.0
type DeploySecret ¶ added in v0.4.0
type DeploySecret struct { Kind string `json:"kind" validate:"@string{Secret}"` Annotations map[string]string `json:"annotations,omitempty"` }
func (*DeploySecret) DeepCopy ¶ added in v0.4.0
func (in *DeploySecret) DeepCopy() *DeploySecret
func (*DeploySecret) DeepCopyInto ¶ added in v0.4.0
func (in *DeploySecret) DeepCopyInto(out *DeploySecret)
func (DeploySecret) RuntimeDoc ¶ added in v0.4.0
func (v DeploySecret) RuntimeDoc(names ...string) ([]string, bool)
func (*DeploySecret) ToResource ¶ added in v0.4.0
func (x *DeploySecret) ToResource(kpkg *KubePkg) (client.Object, error)
type DeployStatefulSet ¶ added in v0.4.0
type DeployStatefulSet struct { Kind string `json:"kind" validate:"@string{StatefulSet}"` Annotations map[string]string `json:"annotations,omitempty"` Spec appsv1.StatefulSetSpec `json:"spec,omitempty"` }
func (*DeployStatefulSet) DeepCopy ¶ added in v0.4.0
func (in *DeployStatefulSet) DeepCopy() *DeployStatefulSet
func (*DeployStatefulSet) DeepCopyInto ¶ added in v0.4.0
func (in *DeployStatefulSet) DeepCopyInto(out *DeployStatefulSet)
func (DeployStatefulSet) RuntimeDoc ¶ added in v0.4.0
func (v DeployStatefulSet) RuntimeDoc(names ...string) ([]string, bool)
func (*DeployStatefulSet) ToResource ¶ added in v0.4.0
func (x *DeployStatefulSet) ToResource(kpkg *KubePkg) (client.Object, error)
type DigestMeta ¶
type DigestMeta struct { Type DigestMetaType `json:"type"` Digest string `json:"digest"` Name string `json:"name"` Size FileSize `json:"size"` Tag string `json:"tag,omitempty"` Platform string `json:"platform,omitempty"` }
func (*DigestMeta) DeepCopy ¶
func (in *DigestMeta) DeepCopy() *DigestMeta
func (*DigestMeta) DeepCopyInto ¶
func (in *DigestMeta) DeepCopyInto(out *DigestMeta)
func (DigestMeta) RuntimeDoc ¶ added in v0.2.0
func (v DigestMeta) RuntimeDoc(names ...string) ([]string, bool)
type DigestMetaType ¶ added in v0.2.0
type DigestMetaType string
+gengo:enum
const ( DigestMetaManifest DigestMetaType = "manifest" DigestMetaBlob DigestMetaType = "blob" )
func (*DigestMetaType) DeepCopy ¶ added in v0.4.0
func (in *DigestMetaType) DeepCopy() *DigestMetaType
func (*DigestMetaType) DeepCopyInto ¶ added in v0.4.0
func (in *DigestMetaType) DeepCopyInto(out *DigestMetaType)
func (DigestMetaType) EnumValues ¶ added in v0.2.0
func (DigestMetaType) EnumValues() []any
func (DigestMetaType) RuntimeDoc ¶ added in v0.2.0
func (DigestMetaType) RuntimeDoc(names ...string) ([]string, bool)
type EnvVarValueOrFrom ¶ added in v0.2.0
type EnvVarValueOrFrom struct { Value string ValueFrom *corev1.EnvVarSource }
func (*EnvVarValueOrFrom) DeepCopy ¶ added in v0.4.0
func (in *EnvVarValueOrFrom) DeepCopy() *EnvVarValueOrFrom
func (*EnvVarValueOrFrom) DeepCopyInto ¶ added in v0.4.0
func (in *EnvVarValueOrFrom) DeepCopyInto(out *EnvVarValueOrFrom)
func (EnvVarValueOrFrom) MarshalText ¶ added in v0.2.0
func (envVar EnvVarValueOrFrom) MarshalText() ([]byte, error)
func (EnvVarValueOrFrom) RuntimeDoc ¶ added in v0.2.0
func (v EnvVarValueOrFrom) RuntimeDoc(names ...string) ([]string, bool)
func (*EnvVarValueOrFrom) UnmarshalText ¶ added in v0.2.0
func (envVar *EnvVarValueOrFrom) UnmarshalText(text []byte) (err error)
type Expose ¶ added in v0.2.0
type Expose struct { // Type NodePort | Ingress Type string `json:"type"` Gateway []string `json:"gateway,omitempty"` }
func (*Expose) DeepCopyInto ¶ added in v0.4.0
type FileSize ¶
type FileSize int64
func (*FileSize) DeepCopyInto ¶ added in v0.4.0
func (FileSize) RuntimeDoc ¶ added in v0.2.0
type Image ¶ added in v0.2.0
type Image struct { Name string `json:"name"` Tag string `json:"tag,omitempty"` Digest string `json:"digest,omitempty"` Platforms []string `json:"platforms,omitempty"` PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"` }
func (*Image) DeepCopyInto ¶ added in v0.4.0
type KubePkg ¶
type KubePkg struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec Spec `json:"spec"` Status *Status `json:"status,omitempty"` }
KubePkg +gengo:deepcopy:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*KubePkg) DeepCopyInto ¶
func (*KubePkg) DeepCopyObject ¶
func (in *KubePkg) DeepCopyObject() k8s_io_apimachinery_pkg_runtime.Object
type KubePkgList ¶
type KubePkgList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KubePkg `json:"items"` }
KubePkgList +gengo:deepcopy:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*KubePkgList) DeepCopy ¶
func (in *KubePkgList) DeepCopy() *KubePkgList
func (*KubePkgList) DeepCopyInto ¶
func (in *KubePkgList) DeepCopyInto(out *KubePkgList)
func (*KubePkgList) DeepCopyObject ¶
func (in *KubePkgList) DeepCopyObject() k8s_io_apimachinery_pkg_runtime.Object
func (KubePkgList) RuntimeDoc ¶ added in v0.2.0
func (v KubePkgList) RuntimeDoc(names ...string) ([]string, bool)
type Manifests ¶
func (Manifests) DeepCopyInto ¶
type MountResult ¶ added in v0.4.0
type MountResult struct { Reload string ResourceName string Volume *v1.Volume EnvFromSource *v1.EnvFromSource VolumeMount *v1.VolumeMount }
func (*MountResult) DeepCopy ¶ added in v0.4.0
func (in *MountResult) DeepCopy() *MountResult
func (*MountResult) DeepCopyInto ¶ added in v0.4.0
func (in *MountResult) DeepCopyInto(out *MountResult)
func (MountResult) RuntimeDoc ¶ added in v0.4.0
func (v MountResult) RuntimeDoc(names ...string) ([]string, bool)
type ScopeType ¶ added in v0.2.0
type ScopeType string
+gengo:enum
func (*ScopeType) DeepCopyInto ¶ added in v0.4.0
func (ScopeType) EnumValues ¶ added in v0.2.0
type Service ¶ added in v0.2.0
type Service struct { // Ports [PortName]servicePort Ports map[string]int32 `json:"ports,omitempty"` // Paths [PortName]BashPath Paths map[string]string `json:"paths,omitempty"` ClusterIP string `json:"clusterIP,omitempty"` Expose *Expose `json:"expose,omitempty"` }
func (*Service) DeepCopyInto ¶ added in v0.4.0
type ServiceAccount ¶ added in v0.2.0
type ServiceAccount struct { Scope ScopeType `json:"scope,omitempty"` Rules []rbacv1.PolicyRule `json:"rules"` }
func (*ServiceAccount) DeepCopy ¶ added in v0.4.0
func (in *ServiceAccount) DeepCopy() *ServiceAccount
func (*ServiceAccount) DeepCopyInto ¶ added in v0.4.0
func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)
func (ServiceAccount) RuntimeDoc ¶ added in v0.2.0
func (v ServiceAccount) RuntimeDoc(names ...string) ([]string, bool)
type Spec ¶ added in v0.2.0
type Spec struct { Version string `json:"version"` Deploy Deploy `json:"deploy,omitempty"` Config map[string]EnvVarValueOrFrom `json:"config,omitempty"` Containers map[string]Container `json:"containers,omitempty"` Volumes map[string]Volume `json:"volumes,omitempty"` Services map[string]Service `json:"services,omitempty"` ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"` Manifests Manifests `json:"manifests,omitempty"` }
func (*Spec) DeepCopyInto ¶ added in v0.2.0
type SpecData ¶ added in v0.4.0
func (*SpecData) DeepCopyInto ¶ added in v0.4.0
type Status ¶ added in v0.2.0
type Status struct { Endpoint map[string]string `json:"endpoint,omitempty"` Resources []map[string]any `json:"resources,omitempty"` Images map[string]string `json:"images,omitempty"` Digests []DigestMeta `json:"digests,omitempty"` }
func (*Status) AppendResourceStatus ¶ added in v0.2.0
func (*Status) DeepCopyInto ¶ added in v0.4.0
type Statuses ¶
func (Statuses) DeepCopyInto ¶
type Volume ¶ added in v0.2.0
type Volume struct {
VolumeSource `json:"-"`
}
+gengo:deepcopy=false
func (*Volume) DeepCopyInto ¶ added in v0.4.0
func (Volume) Discriminator ¶ added in v0.4.0
func (Volume) MarshalJSON ¶ added in v0.4.0
func (Volume) RuntimeDoc ¶ added in v0.2.0
func (*Volume) UnmarshalJSON ¶ added in v0.4.0
type VolumeConfigMap ¶ added in v0.4.0
type VolumeConfigMap struct { Type string `json:"type" validate:"@string{ConfigMap}"` Opt *v1.ConfigMapVolumeSource `json:"opt,omitempty"` Spec *SpecData `json:"spec,omitempty"` VolumeMount }
func (*VolumeConfigMap) DeepCopy ¶ added in v0.4.0
func (in *VolumeConfigMap) DeepCopy() *VolumeConfigMap
func (*VolumeConfigMap) DeepCopyInto ¶ added in v0.4.0
func (in *VolumeConfigMap) DeepCopyInto(out *VolumeConfigMap)
func (*VolumeConfigMap) Mount ¶ added in v0.4.0
func (v *VolumeConfigMap) Mount(name string) *MountResult
func (VolumeConfigMap) RuntimeDoc ¶ added in v0.4.0
func (v VolumeConfigMap) RuntimeDoc(names ...string) ([]string, bool)
func (*VolumeConfigMap) ToResource ¶ added in v0.4.0
type VolumeEmptyDir ¶ added in v0.4.0
type VolumeEmptyDir struct { Type string `json:"type" validate:"@string{EmptyDir}"` Opt *corev1.EmptyDirVolumeSource `json:"opt,omitempty"` VolumeMount }
func (*VolumeEmptyDir) DeepCopy ¶ added in v0.4.0
func (in *VolumeEmptyDir) DeepCopy() *VolumeEmptyDir
func (*VolumeEmptyDir) DeepCopyInto ¶ added in v0.4.0
func (in *VolumeEmptyDir) DeepCopyInto(out *VolumeEmptyDir)
func (*VolumeEmptyDir) Mount ¶ added in v0.4.0
func (v *VolumeEmptyDir) Mount(name string) *MountResult
func (VolumeEmptyDir) RuntimeDoc ¶ added in v0.4.0
func (v VolumeEmptyDir) RuntimeDoc(names ...string) ([]string, bool)
func (*VolumeEmptyDir) ToResource ¶ added in v0.4.0
type VolumeHostPath ¶ added in v0.4.0
type VolumeHostPath struct { Type string `json:"type" validate:"@string{HostPath}"` Opt *corev1.HostPathVolumeSource `json:"opt,omitempty"` VolumeMount }
func (*VolumeHostPath) DeepCopy ¶ added in v0.4.0
func (in *VolumeHostPath) DeepCopy() *VolumeHostPath
func (*VolumeHostPath) DeepCopyInto ¶ added in v0.4.0
func (in *VolumeHostPath) DeepCopyInto(out *VolumeHostPath)
func (*VolumeHostPath) Mount ¶ added in v0.4.0
func (v *VolumeHostPath) Mount(name string) *MountResult
func (VolumeHostPath) RuntimeDoc ¶ added in v0.4.0
func (v VolumeHostPath) RuntimeDoc(names ...string) ([]string, bool)
func (*VolumeHostPath) ToResource ¶ added in v0.4.0
type VolumeMount ¶ added in v0.4.0
type VolumeMount struct { MountPath string `json:"mountPath"` MountPropagation string `json:"mountPropagation,omitempty" validate:"@string{Bidirectional,HostToContainer}"` // Prefix mountPath == export, use as envFrom Prefix string `json:"prefix,omitempty"` Optional *bool `json:"optional,omitempty"` // else volumeMounts ReadOnly bool `json:"readOnly,omitempty"` SubPath string `json:"subPath,omitempty"` }
func (*VolumeMount) DeepCopy ¶ added in v0.4.0
func (in *VolumeMount) DeepCopy() *VolumeMount
func (*VolumeMount) DeepCopyInto ¶ added in v0.4.0
func (in *VolumeMount) DeepCopyInto(out *VolumeMount)
func (*VolumeMount) MountTo ¶ added in v0.5.4
func (v *VolumeMount) MountTo(vv *v1.VolumeMount)
func (VolumeMount) RuntimeDoc ¶ added in v0.4.0
func (v VolumeMount) RuntimeDoc(names ...string) ([]string, bool)
type VolumePersistentVolumeClaim ¶ added in v0.4.0
type VolumePersistentVolumeClaim struct { Type string `json:"type" validate:"@string{PersistentVolumeClaim}"` Opt *corev1.PersistentVolumeClaimVolumeSource `json:"opt,omitempty"` Spec corev1.PersistentVolumeClaimSpec `json:"spec"` VolumeMount }
func (*VolumePersistentVolumeClaim) DeepCopy ¶ added in v0.4.0
func (in *VolumePersistentVolumeClaim) DeepCopy() *VolumePersistentVolumeClaim
func (*VolumePersistentVolumeClaim) DeepCopyInto ¶ added in v0.4.0
func (in *VolumePersistentVolumeClaim) DeepCopyInto(out *VolumePersistentVolumeClaim)
func (*VolumePersistentVolumeClaim) Mount ¶ added in v0.4.0
func (v *VolumePersistentVolumeClaim) Mount(name string) *MountResult
func (VolumePersistentVolumeClaim) RuntimeDoc ¶ added in v0.4.0
func (v VolumePersistentVolumeClaim) RuntimeDoc(names ...string) ([]string, bool)
func (*VolumePersistentVolumeClaim) ToResource ¶ added in v0.4.0
type VolumeSecret ¶ added in v0.4.0
type VolumeSecret struct { Type string `json:"type" validate:"@string{Secret}"` Opt *corev1.SecretVolumeSource `json:"opt,omitempty"` Spec *SpecData `json:"spec,omitempty"` VolumeMount }
func (*VolumeSecret) DeepCopy ¶ added in v0.4.0
func (in *VolumeSecret) DeepCopy() *VolumeSecret
func (*VolumeSecret) DeepCopyInto ¶ added in v0.4.0
func (in *VolumeSecret) DeepCopyInto(out *VolumeSecret)
func (*VolumeSecret) Mount ¶ added in v0.4.0
func (v *VolumeSecret) Mount(name string) *MountResult
func (VolumeSecret) RuntimeDoc ¶ added in v0.4.0
func (v VolumeSecret) RuntimeDoc(names ...string) ([]string, bool)
func (*VolumeSecret) ToResource ¶ added in v0.4.0
type VolumeSource ¶ added in v0.4.0
Source Files ¶
- configuration_database.go
- container.go
- deploy.go
- deploy__config_map.go
- deploy__cron_job.go
- deploy__daemon_set.go
- deploy__deployment.go
- deploy__job.go
- deploy__secret.go
- deploy__stateful_set.go
- doc.go
- groupversion.go
- kube.go
- network.go
- rbac.go
- spec.go
- status.go
- volume.go
- volume__config_map.go
- volume__empty_dir.go
- volume__host_path.go
- volume__persistent_volume_claim.go
- volume__secret.go
- zz_generated.deepcopy.go
- zz_generated.enum.go
- zz_generated.runtimedoc.go
Click to show internal directories.
Click to hide internal directories.