cci

package
v1.70.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MPL-2.0 Imports: 18 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 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

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 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}

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