enums

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidOwnerType                 = errors.New("invalid owner type")
	ErrInvalidAccountAccessRole         = errors.New("invalid account access role")
	ErrInvalidNamespaceAccessPermission = errors.New("invalid namespace access permission")
)
View Source
var (
	ErrInvalidNamespaceSearchAttribute = errors.New("invalid namespace search attribute")
)
View Source
var (
	ErrInvalidRegionCloudProvider = errors.New("invalid region cloud provider")
)
View Source
var (
	ErrInvalidResourceState = errors.New("invalid resource state")
)

Functions

func FromAccountAccessRole

func FromAccountAccessRole(r identity.AccountAccess_Role) (string, error)

func FromNamespaceAccessPermission

func FromNamespaceAccessPermission(p identity.NamespaceAccess_Permission) (string, error)

func FromNamespaceSearchAttribute

func FromNamespaceSearchAttribute(r namespace.NamespaceSpec_SearchAttributeType) (string, error)

func FromOwnerType

func FromOwnerType(t identity.OwnerType) (string, error)

func FromRegionCloudProvider

func FromRegionCloudProvider(p region.Region_CloudProvider) (string, error)

func FromResourceState

func FromResourceState(p resource.ResourceState) (string, error)

func ToAccountAccessRole

func ToAccountAccessRole(s string) (identity.AccountAccess_Role, error)

func ToNamespaceAccessPermission

func ToNamespaceAccessPermission(s string) (identity.NamespaceAccess_Permission, error)

func ToNamespaceSearchAttribute

func ToNamespaceSearchAttribute(s string) (namespace.NamespaceSpec_SearchAttributeType, error)

func ToOwnerType

func ToOwnerType(s string) (identity.OwnerType, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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