Help us shape the future of Go! Take the 2026 Go Developer Survey

resource

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceState_name = map[int32]string{
	0:  "Unspecified",
	1:  "Activating",
	2:  "ActivationFailed",
	3:  "Active",
	4:  "Updating",
	5:  "UpdateFailed",
	6:  "Deleting",
	7:  "DeleteFailed",
	8:  "Deleted",
	9:  "Suspended",
	10: "Expired",
}
View Source
var ResourceState_value = map[string]int32{
	"Unspecified":      0,
	"Activating":       1,
	"ActivationFailed": 2,
	"Active":           3,
	"Updating":         4,
	"UpdateFailed":     5,
	"Deleting":         6,
	"DeleteFailed":     7,
	"Deleted":          8,
	"Suspended":        9,
	"Expired":          10,
}

Functions

This section is empty.

Types

type ResourceState

type ResourceState int32
const (
	RESOURCE_STATE_UNSPECIFIED       ResourceState = 0
	RESOURCE_STATE_ACTIVATING        ResourceState = 1
	RESOURCE_STATE_ACTIVATION_FAILED ResourceState = 2
	RESOURCE_STATE_ACTIVE            ResourceState = 3
	RESOURCE_STATE_UPDATING          ResourceState = 4
	RESOURCE_STATE_UPDATE_FAILED     ResourceState = 5
	RESOURCE_STATE_DELETING          ResourceState = 6
	RESOURCE_STATE_DELETE_FAILED     ResourceState = 7
	RESOURCE_STATE_DELETED           ResourceState = 8
	RESOURCE_STATE_SUSPENDED         ResourceState = 9
	RESOURCE_STATE_EXPIRED           ResourceState = 10
)

func (ResourceState) EnumDescriptor

func (ResourceState) EnumDescriptor() ([]byte, []int)

func (ResourceState) String

func (x ResourceState) String() string

Jump to

Keyboard shortcuts

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