Documentation ¶
Index ¶
- func AtlasClusterExists(clusters []atlas.Cluster, name string) bool
- func ClusterExists(c *opsmngr.AutomationConfig, name string) bool
- func DefaultRegion(regions []atlasv2.AvailableCloudProviderRegion) int
- func StringInSlice(a []string, x string) bool
- func StringInSliceFold(a []string, x string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtlasClusterExists ¶
AtlasClusterExists returns true if a cluster exists for the given name.
func ClusterExists ¶
func ClusterExists(c *opsmngr.AutomationConfig, name string) bool
ClusterExists returns true if a cluster exists in the automation config for the given name.
func DefaultRegion ¶
func DefaultRegion(regions []atlasv2.AvailableCloudProviderRegion) int
DefaultRegion returns the index of the default region.
func StringInSlice ¶
func StringInSliceFold ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.