Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ManifestTypes = []ManifestType{ ConfigMap, Secret, ServiceAccount, ClusterRole, ClusterRoleBinding, Role, RoleBinding, Ingress, Service, Deployment, DaemonSet, StatefulSet, ReplicaSet, Job, CronJob, HPA, }
Functions ¶
This section is empty.
Types ¶
type AppManifests ¶
type AppManifests struct { Manifests CompsMenifests []*CompManifests }
type Builder ¶
type Builder interface {
Build() *AppManifests
}
func NewTemplateBuilder ¶
func NewTemplateBuilder(template *template.AppTemplate) Builder
type CompManifests ¶
type CompManifests struct { Manifests Name string Deployment *app_v1.Deployment DaemonSet *app_v1.DaemonSet StatefulSet *app_v1.StatefulSet ReplicaSet *app_v1.ReplicaSet Job *batch_v1.Job CronJob *batch_v1.CronJob HPA *autoscaling_v1.HorizontalPodAutoscaler }
type ManifestType ¶
type ManifestType int
const ( ConfigMap ManifestType = iota Secret ServiceAccount ClusterRole ClusterRoleBinding Role RoleBinding Ingress Service Deployment DaemonSet StatefulSet ReplicaSet Job CronJob HPA )
type Manifests ¶
type Manifests struct { ConfigMaps []*core_v1.ConfigMap Secrets []*core_v1.Secret Services []*core_v1.Service ServiceAccount *core_v1.ServiceAccount ClusterRole *rbac_v1.ClusterRole ClusterRoleBinding *rbac_v1.ClusterRoleBinding Role *rbac_v1.Role RoleBinding *rbac_v1.RoleBinding Ingress *networking_v1.Ingress }
Click to show internal directories.
Click to hide internal directories.