Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  const ( // Deprecated: InstanceStatusUnspecified is deprecated and will be removed after 14th November 2025. Use [loadbalancer.LOADBALANCERSTATUS_UNSPECIFIED] instead. InstanceStatusUnspecified = "STATUS_UNSPECIFIED" // Deprecated: InstanceStatusPending is deprecated and will be removed after 14th November 2025. Use [loadbalancer.LOADBALANCERSTATUS_PENDING] instead. InstanceStatusPending = "STATUS_PENDING" // Deprecated: InstanceStatusReady is deprecated and will be removed after 14th November 2025. Use [loadbalancer.LOADBALANCERSTATUS_READY] instead. InstanceStatusReady = "STATUS_READY" // Deprecated: InstanceStatusError is deprecated and will be removed after 14th November 2025. Use [loadbalancer.LOADBALANCERSTATUS_ERROR] instead. InstanceStatusError = "STATUS_ERROR" // Deprecated: InstanceStatusTerminating is deprecated and will be removed after 12th November 2025. Use [loadbalancer.LOADBALANCERSTATUS_TERMINATING] instead. InstanceStatusTerminating = "STATUS_TERMINATING" )
Load balancer instance status
Variables ¶
This section is empty.
Functions ¶
func CreateLoadBalancerWaitHandler ¶
func CreateLoadBalancerWaitHandler(ctx context.Context, a APIClientInterface, projectId, region, instanceName string) *wait.AsyncActionHandler[loadbalancer.LoadBalancer]
CreateLoadBalancerWaitHandler will wait for load balancer creation
func DeleteLoadBalancerWaitHandler ¶
func DeleteLoadBalancerWaitHandler(ctx context.Context, a APIClientInterface, projectId, region, instanceId string) *wait.AsyncActionHandler[struct{}]
DeleteLoadBalancerWaitHandler will wait for load balancer deletion
Types ¶
type APIClientInterface ¶
type APIClientInterface interface {
	GetLoadBalancerExecute(ctx context.Context, projectId, region, name string) (*loadbalancer.LoadBalancer, error)
}
    Interface needed for tests
 Click to show internal directories. 
   Click to hide internal directories.