Documentation
¶
Index ¶
- func DataSourceCciNamespaces() *schema.Resource
- func DataSourceV2Namespaces() *schema.Resource
- func GetCciNamespaceInfoById(c *golangsdk.ServiceClient, id string) (*namespaces.Namespace, error)
- func GetNamespaceDetail(client *golangsdk.ServiceClient, namespace string) (interface{}, error)
- func GetNetwork(client *golangsdk.ServiceClient, namespace, name string) (interface{}, error)
- func GetPvcInfoById(client *golangsdk.ServiceClient, ns, volumeType, id string) (*persistentvolumeclaims.ListResp, error)
- func GetService(client *golangsdk.ServiceClient, namespace, name string) (interface{}, error)
- func ResourceCciNamespace() *schema.Resource
- func ResourceCciNetworkV1() *schema.Resource
- func ResourceNamespace() *schema.Resource
- func ResourcePersistentVolumeClaimV1() *schema.Resource
- func ResourceV2ConfigMap() *schema.Resource
- func ResourceV2Network() *schema.Resource
- func ResourceV2Secret() *schema.Resource
- func ResourceV2Service() *schema.Resource
- type StateRefresh
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceCciNamespaces ¶ added in v1.35.0
@API CCI GET /api/v1/namespaces/{name} @API CCI GET /apis/networking.cci.io/v1beta1/namespaces/{ns}/networks @API CCI GET /api/v1/namespaces
func DataSourceV2Namespaces ¶ added in v1.73.4
@API CCI GET /apis/cci/v2/namespaces @API CCI GET /apis/cci/v2/namespaces/{name}
func GetCciNamespaceInfoById ¶
func GetCciNamespaceInfoById(c *golangsdk.ServiceClient, id string) (*namespaces.Namespace, error)
GetCciNamespaceInfoById is a method to get namespace informations by client and namespace ID.
func GetNamespaceDetail ¶ added in v1.73.4
func GetNamespaceDetail(client *golangsdk.ServiceClient, namespace string) (interface{}, error)
func GetNetwork ¶ added in v1.73.4
func GetNetwork(client *golangsdk.ServiceClient, namespace, name string) (interface{}, error)
func GetPvcInfoById ¶ added in v1.57.0
func GetPvcInfoById(client *golangsdk.ServiceClient, ns, volumeType, id string) (*persistentvolumeclaims.ListResp, error)
func GetService ¶ added in v1.73.9
func GetService(client *golangsdk.ServiceClient, namespace, name string) (interface{}, error)
func ResourceCciNamespace ¶
@API CCI DELETE /api/v1/namespaces/{name} @API CCI GET /api/v1/namespaces/{name} @API CCI GET /api/v1/namespaces @API CCI POST /api/v1/namespaces
func ResourceCciNetworkV1 ¶ added in v1.31.0
@API CCI DELETE /apis/networking.cci.io/v1beta1/namespaces/{ns}/networks/{name} @API CCI GET /apis/networking.cci.io/v1beta1/namespaces/{ns}/networks/{name} @API CCI POST /apis/networking.cci.io/v1beta1/namespaces/{ns}/networks @API VPC GET /v1/{project_id}/subnets/{subnet_id}
func ResourceNamespace ¶ added in v1.73.4
@API CCI DELETE /apis/cci/v2/namespaces/{name} @API CCI GET /apis/cci/v2/namespaces/{name} @API CCI POST /apis/cci/v2/namespaces
func ResourcePersistentVolumeClaimV1 ¶ added in v1.57.0
@API CCI GET /api/v1/namespaces/{ns}/extended-persistentvolumeclaims @API CCI POST /api/v1/namespaces/{ns}/extended-persistentvolumeclaims @API CCI DELETE /api/v1/namespaces/{ns}/persistentvolumeclaims/{name}
func ResourceV2ConfigMap ¶ added in v1.73.9
@API CCI POST /apis/cci/v2/namespaces/{namespace}/configmaps @API CCI GET /apis/cci/v2/namespaces/{namespace}/configmaps/{name} @API CCI PUT /apis/cci/v2/namespaces/{namespace}/configmaps/{name} @API CCI DELETE /apis/cci/v2/namespaces/{namespace}/configmaps/{name}
func ResourceV2Network ¶ added in v1.73.4
@API CCI POST /apis/yangtse/v2/namespaces/{namespace}/networks @API CCI GET /apis/yangtse/v2/namespaces/{namespace}/networks/{name} @API CCI PUT /apis/yangtse/v2/namespaces/{namespace}/networks/{name} @API CCI DELETE /apis/yangtse/v2/namespaces/{namespace}/networks/{name}
func ResourceV2Secret ¶ added in v1.73.9
@API CCI POST /apis/cci/v2/namespaces/{namespace}/secrets @API CCI GET /apis/cci/v2/namespaces/{namespace}/secrets/{name} @API CCI PUT /apis/cci/v2/namespaces/{namespace}/secrets/{name} @API CCI DELETE /apis/cci/v2/namespaces/{namespace}/secrets/{name}
func ResourceV2Service ¶ added in v1.73.9
@API CCI POST /apis/cci/v2/namespaces/{namespace}/services @API CCI GET /apis/cci/v2/namespaces/{namespace}/services/{name} @API CCI PUT /apis/cci/v2/namespaces/{namespace}/services/{name} @API CCI DELETE /apis/cci/v2/namespaces/{namespace}/services/{name}
Types ¶
Source Files
¶
- data_source_huaweicloud_cci_namespaces.go
- data_source_huaweicloud_cciv2_namespaces.go
- resource_huaweicloud_cci_namespace.go
- resource_huaweicloud_cci_network.go
- resource_huaweicloud_cci_pvc.go
- resource_huaweicloud_cciv2_config_map.go
- resource_huaweicloud_cciv2_namespace.go
- resource_huaweicloud_cciv2_network.go
- resource_huaweicloud_cciv2_secret.go
- resource_huaweicloud_cciv2_service.go