Documentation ¶
Index ¶
- type ChartDirectory
- type ImageCatalog
- type PachydermCluster
- func (c *PachydermCluster) ConfigMaps() []*corev1.ConfigMap
- func (c *PachydermCluster) Deployments() []*appsv1.Deployment
- func (c *PachydermCluster) EtcdStatefulSet() *appsv1.StatefulSet
- func (c *PachydermCluster) Pachyderm() *aimlv1beta1.Pachyderm
- func (c *PachydermCluster) PostgreStatefulset() *appsv1.StatefulSet
- func (c *PachydermCluster) Secrets() []*corev1.Secret
- func (c *PachydermCluster) StorageClasses() []*storagev1.StorageClass
- type Resources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartDirectory ¶
type ChartDirectory struct { // Path to the chart values.yaml file Values string // Name of .tgz file containing chart Chart string // Images is the name of the file // containing default certified images Images string }
ChartDirectory contains information on the helm charts available to the the operator
type ImageCatalog ¶
type ImageCatalog struct { Pachd *aimlv1beta1.ImageOverride `json:"pachd,omitempty"` Console *aimlv1beta1.ImageOverride `json:"console,omitempty"` Postgres *aimlv1beta1.ImageOverride `json:"postgres,omitempty"` Etcd *aimlv1beta1.ImageOverride `json:"etcd,omitempty"` Worker *aimlv1beta1.ImageOverride `json:"worker,omitempty"` PgBouncer *aimlv1beta1.ImageOverride `json:"pgbouncer,omitempty"` Utilities *aimlv1beta1.ImageOverride `json:"utilities,omitempty"` }
ImageCatalog consists the certified images required to deploy a Pachyderm cluster
type PachydermCluster ¶
type PachydermCluster struct { Pod *corev1.Pod ClusterRoleBindings []*rbacv1.ClusterRoleBinding ClusterRoles []*rbacv1.ClusterRole RoleBindings []*rbacv1.RoleBinding Roles []*rbacv1.Role ServiceAccounts []*corev1.ServiceAccount Services []*corev1.Service // contains filtered or unexported fields }
PachydermCluster is a structure that contains all the Kubernetes resources that make up a Pachyderm cluster
func PrepareCluster ¶
func PrepareCluster(pd *aimlv1beta1.Pachyderm) (*PachydermCluster, error)
PrepareCluster takes a pachyderm custom resource and returns child resources based on the pachyderm custom resource TODO: decode any input here
func (*PachydermCluster) ConfigMaps ¶
func (c *PachydermCluster) ConfigMaps() []*corev1.ConfigMap
ConfigMaps returns a slice of pachyderm cluster configmaps
func (*PachydermCluster) Deployments ¶
func (c *PachydermCluster) Deployments() []*appsv1.Deployment
Deployments returns slice of deployments generated by the helm template command
func (*PachydermCluster) EtcdStatefulSet ¶
func (c *PachydermCluster) EtcdStatefulSet() *appsv1.StatefulSet
EtcdStatefulSet returns the etcd statefulset resource
func (*PachydermCluster) Pachyderm ¶
func (c *PachydermCluster) Pachyderm() *aimlv1beta1.Pachyderm
Pachyderm returns the pachyderm resource used to configure components
func (*PachydermCluster) PostgreStatefulset ¶
func (c *PachydermCluster) PostgreStatefulset() *appsv1.StatefulSet
PostgreStatefulset returns the postgresql statefulset resource
func (*PachydermCluster) Secrets ¶
func (c *PachydermCluster) Secrets() []*corev1.Secret
Secrets returns secrets used by the pachyderm resource
func (*PachydermCluster) StorageClasses ¶
func (c *PachydermCluster) StorageClasses() []*storagev1.StorageClass
StorageClasses returns a new etcd storage class if an existing one is not used or provided