Documentation ¶
Index ¶
- func LabelsForNatssyncClient(name string) map[string]string
- type Deployer
- func (d *Deployer) GetClusterServiceObject(m *v1.AstraConnector) (*corev1.Service, error)
- func (d *Deployer) GetConfigMapObject(m *v1.AstraConnector) (*corev1.ConfigMap, error)
- func (d *Deployer) GetDeploymentObject(m *v1.AstraConnector, ctx context.Context) (*appsv1.Deployment, error)
- func (d *Deployer) GetRoleBindingObject(m *v1.AstraConnector) (*rbacv1.RoleBinding, error)
- func (d *Deployer) GetRoleObject(m *v1.AstraConnector) (*rbacv1.Role, error)
- func (d *Deployer) GetServiceAccountObject(m *v1.AstraConnector) (*corev1.ServiceAccount, error)
- func (d *Deployer) GetServiceObject(m *v1.AstraConnector, serviceName string) (*corev1.Service, error)
- func (d *Deployer) GetStatefulsetObject(m *v1.AstraConnector, ctx context.Context) (*appsv1.StatefulSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelsForNatssyncClient ¶
LabelsForNatssyncClient returns the labels for selecting the NatssyncClient
Types ¶
type Deployer ¶
type Deployer struct{}
func NewNatssyncClientDeployer ¶
func NewNatssyncClientDeployer() *Deployer
func (*Deployer) GetClusterServiceObject ¶
func (*Deployer) GetConfigMapObject ¶
GetConfigMapObject returns a ConfigMap object for NatssyncClient
func (*Deployer) GetDeploymentObject ¶
func (d *Deployer) GetDeploymentObject(m *v1.AstraConnector, ctx context.Context) (*appsv1.Deployment, error)
GetDeploymentObject returns a Natssync-client Deployment object
func (*Deployer) GetRoleBindingObject ¶
func (d *Deployer) GetRoleBindingObject(m *v1.AstraConnector) (*rbacv1.RoleBinding, error)
GetRoleBindingObject returns a Natssync-Client ConfigMapRoleBinding object
func (*Deployer) GetRoleObject ¶
GetRoleObject returns a ConfigMapRole object for NatssyncClient
func (*Deployer) GetServiceAccountObject ¶
func (d *Deployer) GetServiceAccountObject(m *v1.AstraConnector) (*corev1.ServiceAccount, error)
GetServiceAccountObject returns a ServiceAccount object for NatssyncClient
func (*Deployer) GetServiceObject ¶
func (d *Deployer) GetServiceObject(m *v1.AstraConnector, serviceName string) (*corev1.Service, error)
GetServiceObject returns a Natssync-client Service object
func (*Deployer) GetStatefulsetObject ¶
func (d *Deployer) GetStatefulsetObject(m *v1.AstraConnector, ctx context.Context) (*appsv1.StatefulSet, error)
Click to show internal directories.
Click to hide internal directories.