Documentation ¶
Index ¶
- Variables
- func FromAccountAccessRole(r identity.AccountAccess_Role) (string, error)
- func FromNamespaceAccessPermission(p identity.NamespaceAccess_Permission) (string, error)
- func FromNamespaceSearchAttribute(r namespace.NamespaceSpec_SearchAttributeType) (string, error)
- func FromOwnerType(t identity.OwnerType) (string, error)
- func FromRegionCloudProvider(p region.Region_CloudProvider) (string, error)
- func FromResourceState(p resource.ResourceState) (string, error)
- func ToAccountAccessRole(s string) (identity.AccountAccess_Role, error)
- func ToNamespaceAccessPermission(s string) (identity.NamespaceAccess_Permission, error)
- func ToNamespaceSearchAttribute(s string) (namespace.NamespaceSpec_SearchAttributeType, error)
- func ToOwnerType(s string) (identity.OwnerType, error)
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 FromOwnerType ¶
func FromRegionCloudProvider ¶
func FromResourceState ¶
func ToAccountAccessRole ¶
func ToOwnerType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.