Documentation ¶
Index ¶
- func AddConnectorIDtoAstra(m *v1.AstraConnector, astraConnectorID string, ctx context.Context) error
- func GetAstraHostURL(m *v1.AstraConnector, ctx context.Context) string
- func GetCloudId(astraHost string, accountId string, token string, cloudType string, ...) (string, error)
- func GetClusterId(astraHost string, clusterName string, accountId string, cloudId string, ...) (string, string, error)
- func GetConnectorIDFromConfigMap(cmData map[string]string) (string, error)
- func GetNatssyncClientRegistrationURL(m *v1.AstraConnector) string
- func ListClouds(astraHost string, accountId string, token string) (*http.Response, error)
- func ListClusters(astraHost string, accountId string, cloudId string, token string) (*http.Response, error)
- func LogHttpError(response *http.Response, ctx context.Context)
- func PostConnectorID(astraCloudHost string, pcloudAccountId string, token string, ...) (*http.Response, error)
- func ReadResponseBody(response *http.Response) ([]byte, error)
- func RegisterClient(m *v1.AstraConnector) (string, error)
- func RegisterConnectorID(astraCloudHost string, pcloudAccountId string, token string, ...) error
- func RemoveConnectorIDFromAstra(m *v1.AstraConnector, ctx context.Context) error
- func UnregisterClient(m *v1.AstraConnector) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddConnectorIDtoAstra ¶
func GetAstraHostURL ¶
func GetAstraHostURL(m *v1.AstraConnector, ctx context.Context) string
func GetCloudId ¶
func GetClusterId ¶
func GetNatssyncClientRegistrationURL ¶
func GetNatssyncClientRegistrationURL(m *v1.AstraConnector) string
GetNatssyncClientRegistrationURL returns NatssyncClient Registration URL
func ListClouds ¶
func ListClusters ¶
func PostConnectorID ¶
func RegisterClient ¶
func RegisterClient(m *v1.AstraConnector) (string, error)
func RegisterConnectorID ¶
func RemoveConnectorIDFromAstra ¶
func RemoveConnectorIDFromAstra(m *v1.AstraConnector, ctx context.Context) error
func UnregisterClient ¶
func UnregisterClient(m *v1.AstraConnector) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.