Documentation ¶
Index ¶
- type KubeMapper
- func (w *KubeMapper) ConfigMaps() ([]v1.ConfigMap, error)
- func (w *KubeMapper) CustomResourceDefinition() (*ext.PrsnExternalResource, error)
- func (w *KubeMapper) Deployment() (*apps_v1.Deployment, error)
- func (w *KubeMapper) ExternalSecretTLS() (*ext.ExternalSecret, error)
- func (w *KubeMapper) HPA() (*autoscale_v2beta2.HorizontalPodAutoscaler, error)
- func (w *KubeMapper) HeadlessService() (*v1.Service, error)
- func (w *KubeMapper) Ingress() (*netwk_v1beta1.Ingress, error)
- func (w *KubeMapper) PersistentVolumeClaims() ([]v1.PersistentVolumeClaim, error)
- func (w *KubeMapper) Service() (*v1.Service, error)
- func (w *KubeMapper) ServiceMeshGateway() (*ext.PrsnExternalResource, error)
- func (w *KubeMapper) ServiceMeshVirtualService() (*ext.PrsnExternalResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeMapper ¶
type KubeMapper struct { BiteService *bitesize.Service Gists *bitesize.Gists Namespace string Config struct { Project string DockerRegistry string } }
KubeMapper maps BitesizeService object to Kubernetes objects
func (*KubeMapper) ConfigMaps ¶
func (w *KubeMapper) ConfigMaps() ([]v1.ConfigMap, error)
ConfigMaps returns a list of ConfigMaps defined in the service definition
func (*KubeMapper) CustomResourceDefinition ¶
func (w *KubeMapper) CustomResourceDefinition() (*ext.PrsnExternalResource, error)
CustomResourceDefinition extracts Kubernetes object from BiteSize definition
func (*KubeMapper) Deployment ¶
func (w *KubeMapper) Deployment() (*apps_v1.Deployment, error)
Deployment extracts Kubernetes object from BiteSize definition
func (*KubeMapper) ExternalSecretTLS ¶
func (w *KubeMapper) ExternalSecretTLS() (*ext.ExternalSecret, error)
func (*KubeMapper) HPA ¶
func (w *KubeMapper) HPA() (*autoscale_v2beta2.HorizontalPodAutoscaler, error)
HPA extracts Kubernetes object from Bitesize definition
func (*KubeMapper) HeadlessService ¶
func (w *KubeMapper) HeadlessService() (*v1.Service, error)
HeadlessService extracts Kubernetes Headless Service object (No ClusterIP) from Bitesize definition
func (*KubeMapper) Ingress ¶
func (w *KubeMapper) Ingress() (*netwk_v1beta1.Ingress, error)
Ingress extracts Kubernetes object from BiteSize definition
func (*KubeMapper) PersistentVolumeClaims ¶
func (w *KubeMapper) PersistentVolumeClaims() ([]v1.PersistentVolumeClaim, error)
PersistentVolumeClaims returns a list of claims for a BiteService
func (*KubeMapper) Service ¶
func (w *KubeMapper) Service() (*v1.Service, error)
Service extracts Kubernetes object from Bitesize definition
func (*KubeMapper) ServiceMeshGateway ¶
func (w *KubeMapper) ServiceMeshGateway() (*ext.PrsnExternalResource, error)
ServiceMeshGateway extracts Kubernetes object from BiteSize definition
func (*KubeMapper) ServiceMeshVirtualService ¶
func (w *KubeMapper) ServiceMeshVirtualService() (*ext.PrsnExternalResource, error)
ServiceMeshVirtualService extracts Kubernetes object from BiteSize definition