Documentation ¶
Index ¶
- func FetchStaleClusterInstances(connection *sdk.Connection, orgId string) ([]apisv1.ClusterInstance, error)
- func GenerateNotificationMessage(clusterInstances []apisv1.ClusterInstance, env apisv1.Environment) string
- func NotifyOnSlack(token, channel, message string) error
- func OcmLogin(ocmToken, gatewayURL string) (*config.Config, error)
- func PerformClustersCheckup(ocmToken string, env apisv1.Environment) apisv1.ClusterCheckupResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchStaleClusterInstances ¶
func FetchStaleClusterInstances(connection *sdk.Connection, orgId string) ([]apisv1.ClusterInstance, error)
func GenerateNotificationMessage ¶
func GenerateNotificationMessage(clusterInstances []apisv1.ClusterInstance, env apisv1.Environment) string
func NotifyOnSlack ¶
func PerformClustersCheckup ¶
func PerformClustersCheckup(ocmToken string, env apisv1.Environment) apisv1.ClusterCheckupResult
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.