cci

package
v1.73.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2025 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceCciNamespaces added in v1.35.0

func DataSourceCciNamespaces() *schema.Resource

@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

func DataSourceV2Namespaces() *schema.Resource

@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

func ResourceCciNamespace() *schema.Resource

@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

func ResourceCciNetworkV1() *schema.Resource

@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

func ResourceNamespace() *schema.Resource

@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

func ResourcePersistentVolumeClaimV1() *schema.Resource

@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

func ResourceV2ConfigMap() *schema.Resource

@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

func ResourceV2Network() *schema.Resource

@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

func ResourceV2Secret() *schema.Resource

@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

func ResourceV2Service() *schema.Resource

@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

type StateRefresh added in v1.57.0

type StateRefresh struct {
	Pending      []string
	Target       []string
	Delay        time.Duration
	Timeout      time.Duration
	PollInterval time.Duration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL