Documentation ¶
Index ¶
- func DataSourceCciNamespaces() *schema.Resource
- func GetCciNamespaceInfoById(c *golangsdk.ServiceClient, id string) (*namespaces.Namespace, error)
- func GetPvcInfoById(client *golangsdk.ServiceClient, ns, volumeType, id string) (*persistentvolumeclaims.ListResp, error)
- func ResourceCciNamespace() *schema.Resource
- func ResourceCciNetworkV1() *schema.Resource
- func ResourcePersistentVolumeClaimV1() *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 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 GetPvcInfoById ¶ added in v1.57.0
func GetPvcInfoById(client *golangsdk.ServiceClient, ns, volumeType, id string) (*persistentvolumeclaims.ListResp, 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 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}