Documentation
¶
Index ¶
- Constants
- type Service
- func (s *Service) Delete(ctx context.Context, spec interface{}) error
- func (s *Service) Get(ctx context.Context, spec interface{}) (interface{}, error)
- func (s *Service) GetNodeCount(ctx context.Context, location string) (int, error)
- func (s *Service) Reconcile(ctx context.Context, spec interface{}) error
- type Spec
Constants ¶
View Source
const ( FaultDomainCount = 2 AffinityType = "weak" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Client availabilityset.AvailabilitySetClient
NodeClient node.NodeClient
Scope scope.ScopeInterface
}
Service provides operations on resource groups
func NewService ¶
func NewService(scope scope.ScopeInterface) *Service
NewService creates a new availability set service.
func (*Service) GetNodeCount ¶
Click to show internal directories.
Click to hide internal directories.