cce

package
v1.64.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MPL-2.0 Imports: 37 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceAddonTemplate added in v1.49.0

func DataSourceAddonTemplate() *schema.Resource

@API CCE GET /api/v3/addontemplates

func DataSourceCCEClusterCertificate added in v1.60.1

func DataSourceCCEClusterCertificate() *schema.Resource

@API CCE POST /api/v3/projects/{project_id}/clusters/{id}/clustercert

func DataSourceCCEClusterV3 added in v1.42.0

func DataSourceCCEClusterV3() *schema.Resource

@API CCE POST /api/v3/projects/{project_id}/clusters/{id}/clustercert @API CCE GET /api/v3/projects/{project_id}/clusters

func DataSourceCCEClusters added in v1.31.0

func DataSourceCCEClusters() *schema.Resource

@API CCE POST /api/v3/projects/{project_id}/clusters/{id}/clustercert @API CCE GET /api/v3/projects/{project_id}/clusters

func DataSourceCCENodePoolV3 added in v1.42.0

func DataSourceCCENodePoolV3() *schema.Resource

@API CCE GET /api/v3/projects/{project_id}/clusters/{clusterid}/nodepools

func DataSourceNode added in v1.49.0

func DataSourceNode() *schema.Resource

@API CCE GET /api/v3/projects/{project_id}/clusters/{clusterid}/nodes @API ECS GET /v1/{project_id}/cloudservers/{id}/tags

func DataSourceNodes added in v1.49.0

func DataSourceNodes() *schema.Resource

@API CCE GET /api/v3/projects/{project_id}/clusters/{clusterid}/nodes @API ECS GET /v1/{project_id}/cloudservers/{id}/tags

func GetCcePvcInfoById

func GetCcePvcInfoById(c *golangsdk.ServiceClient, clusterId, namespace,
	id string) (*persistentvolumeclaims.PersistentVolumeClaim, error)

func ResourceAddon added in v1.49.0

func ResourceAddon() *schema.Resource

@API CCE DELETE /api/v3/addons/{id} @API CCE GET /api/v3/addons/{id} @API CCE PUT /api/v3/addons/{id} @API CCE POST /api/v3/addons

func ResourceCCEClusterV3 added in v1.42.0

func ResourceCCEClusterV3() *schema.Resource

ResourceCCEClusterV3 defines the CCE cluster resource schema and functions. Deprecated: It's a deprecated function, please refer to the function 'ResourceCluster'.

func ResourceCCENamespaceV1 added in v1.30.0

func ResourceCCENamespaceV1() *schema.Resource

@API CCE DELETE /api/v1/namespaces/{name} @API CCE GET /api/v1/namespaces/{name} @API CCE POST /api/v1/namespaces

func ResourceCcePersistentVolumeClaimsV1

func ResourceCcePersistentVolumeClaimsV1() *schema.Resource

@API CCE DELETE /api/v1/namespaces/{ns}/persistentvolumeclaims/{name} @API CCE POST /api/v1/namespaces/{ns}/persistentvolumeclaims @API CCE GET /api/v1/namespaces/{ns}/persistentvolumeclaims

func ResourceChart added in v1.60.0

func ResourceChart() *schema.Resource

func ResourceCluster added in v1.49.0

func ResourceCluster() *schema.Resource

ResourceCluster defines the CCE cluster resource schema and functions.

func ResourceNode added in v1.49.0

func ResourceNode() *schema.Resource

func ResourceNodeAttach added in v1.53.0

func ResourceNodeAttach() *schema.Resource

func ResourceNodePool added in v1.53.0

func ResourceNodePool() *schema.Resource

func ResourcePartition added in v1.49.0

func ResourcePartition() *schema.Resource

func ServerV1StateRefreshFunc added in v1.42.0

func ServerV1StateRefreshFunc(client *golangsdk.ServiceClient, instanceID string) resource.StateRefreshFunc

ServerV1StateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an instance.

Types

type StateRefresh

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

type Template added in v1.42.0

type Template struct {
	UID             string
	Name            string
	Version         string
	Description     string
	Spec            string
	Stable          bool
	SupportVersions []addons.SupportVersions
}

func (Template) IsEmpty added in v1.42.0

func (t Template) IsEmpty() bool

Jump to

Keyboard shortcuts

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