Documentation ¶
Index ¶
- type Deployer
- 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 ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct{}
func NewEchoClientDeployer ¶
func NewEchoClientDeployer() *Deployer
func (*Deployer) GetConfigMapObject ¶
func (*Deployer) GetDeploymentObject ¶
func (d *Deployer) GetDeploymentObject(m *v1.AstraConnector, ctx context.Context) (*appsv1.Deployment, error)
GetDeploymentObject returns an EchoClient Deployment object
func (*Deployer) GetRoleBindingObject ¶
func (d *Deployer) GetRoleBindingObject(m *v1.AstraConnector) (*rbacv1.RoleBinding, error)
func (*Deployer) GetRoleObject ¶
func (*Deployer) GetServiceAccountObject ¶
func (d *Deployer) GetServiceAccountObject(m *v1.AstraConnector) (*corev1.ServiceAccount, error)
func (*Deployer) GetServiceObject ¶
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.