Documentation ¶
Index ¶
- Constants
- type GrpcClient
- func (gc *GrpcClient) SetConnection(ansibleServiceAddr string)
- func (gc *GrpcClient) SetLogger(l *log.Logger)
- func (gc GrpcClient) StartClusterCreation(c *protobuf.Cluster)
- func (gc GrpcClient) StartClusterDestroying(c *protobuf.Cluster)
- func (gc GrpcClient) StartClusterModification(c *protobuf.Cluster)
Constants ¶
View Source
const ( EMPTY_BODY = 0 ERROR_NUM = -1 WAITING_TIME = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcClient ¶
func (*GrpcClient) SetConnection ¶
func (gc *GrpcClient) SetConnection(ansibleServiceAddr string)
SetConnection will set connection with both of ansible and db services
func (*GrpcClient) SetLogger ¶
func (gc *GrpcClient) SetLogger(l *log.Logger)
func (GrpcClient) StartClusterCreation ¶
func (gc GrpcClient) StartClusterCreation(c *protobuf.Cluster)
StartClusterCreation will send cluster struct to ansible-service for run ansible
func (GrpcClient) StartClusterDestroying ¶
func (gc GrpcClient) StartClusterDestroying(c *protobuf.Cluster)
StartClusterDestroying will send cluster struct to ansible-service for run ansible delete
func (GrpcClient) StartClusterModification ¶
func (gc GrpcClient) StartClusterModification(c *protobuf.Cluster)
StartClusterDestroying will send cluster struct to ansible-service for run ansible delete
Click to show internal directories.
Click to hide internal directories.