identifier

package
v0.0.1-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIdentifier

func ParseIdentifier(v any) (sdk.ResourceIdentifier, error)

func ParseIdentifierList

func ParseIdentifierList(v any) ([]sdk.ResourceIdentifier, error)

Types

type ApiConfigIdentifier

type ApiConfigIdentifier struct {
	Api         sdk.ResourceIdentifier
	ApiConfigId string
}

func ParseApiConfigIdentifier

func ParseApiConfigIdentifier(v sdk.Identifier) (ApiConfigIdentifier, error)

func (ApiConfigIdentifier) ResourceType

func (x ApiConfigIdentifier) ResourceType() string

func (ApiConfigIdentifier) ToValue

func (x ApiConfigIdentifier) ToValue() sdk.Identifier

type ApiGatewayIdentifier

type ApiGatewayIdentifier struct {
	GatewayId string
	Location  string
	Project   string
}

func ParseApiGatewayIdentifier

func ParseApiGatewayIdentifier(v sdk.Identifier) (ApiGatewayIdentifier, error)

func (ApiGatewayIdentifier) ResourceType

func (x ApiGatewayIdentifier) ResourceType() string

func (ApiGatewayIdentifier) ToValue

func (x ApiGatewayIdentifier) ToValue() sdk.Identifier

type ApiIdentifier

type ApiIdentifier struct {
	ApiId   string
	Project string
}

func ParseApiIdentifier

func ParseApiIdentifier(v sdk.Identifier) (ApiIdentifier, error)

func (ApiIdentifier) ResourceType

func (x ApiIdentifier) ResourceType() string

func (ApiIdentifier) ToValue

func (x ApiIdentifier) ToValue() sdk.Identifier

type BucketIdentifier

type BucketIdentifier struct {
	Location string
	Name     string
	Project  string
}

func ParseBucketIdentifier

func ParseBucketIdentifier(v sdk.Identifier) (BucketIdentifier, error)

func (BucketIdentifier) ResourceType

func (x BucketIdentifier) ResourceType() string

func (BucketIdentifier) ToValue

func (x BucketIdentifier) ToValue() sdk.Identifier

type BucketObjectIdentifier

type BucketObjectIdentifier struct {
	Bucket sdk.ResourceIdentifier
	Name   string
}

func ParseBucketObjectIdentifier

func ParseBucketObjectIdentifier(v sdk.Identifier) (BucketObjectIdentifier, error)

func (BucketObjectIdentifier) ResourceType

func (x BucketObjectIdentifier) ResourceType() string

func (BucketObjectIdentifier) ToValue

type FunctionIdentifier

type FunctionIdentifier struct {
	Location string
	Name     string
	Project  string
}

func ParseFunctionIdentifier

func ParseFunctionIdentifier(v sdk.Identifier) (FunctionIdentifier, error)

func (FunctionIdentifier) ResourceType

func (x FunctionIdentifier) ResourceType() string

func (FunctionIdentifier) ToValue

func (x FunctionIdentifier) ToValue() sdk.Identifier

type IamPolicyIdentifier

type IamPolicyIdentifier struct {
	Resource sdk.ResourceIdentifier
}

func ParseIamPolicyIdentifier

func ParseIamPolicyIdentifier(v sdk.Identifier) (IamPolicyIdentifier, error)

func (IamPolicyIdentifier) ResourceType

func (x IamPolicyIdentifier) ResourceType() string

func (IamPolicyIdentifier) ToValue

func (x IamPolicyIdentifier) ToValue() sdk.Identifier

type IamRoleCustomProjectIdentifier

type IamRoleCustomProjectIdentifier struct {
	Name    string
	Project string
}

func ParseIamRoleCustomProjectIdentifier

func ParseIamRoleCustomProjectIdentifier(v sdk.Identifier) (IamRoleCustomProjectIdentifier, error)

func (IamRoleCustomProjectIdentifier) ResourceType

func (x IamRoleCustomProjectIdentifier) ResourceType() string

func (IamRoleCustomProjectIdentifier) ToValue

type IamRoleIdentifier

type IamRoleIdentifier struct {
	Name string
}

func ParseIamRoleIdentifier

func ParseIamRoleIdentifier(v sdk.Identifier) (IamRoleIdentifier, error)

func (IamRoleIdentifier) ResourceType

func (x IamRoleIdentifier) ResourceType() string

func (IamRoleIdentifier) ToValue

func (x IamRoleIdentifier) ToValue() sdk.Identifier

type ServiceAccountIdentifier

type ServiceAccountIdentifier struct {
	AccountId string
	Project   string
}

func ParseServiceAccountIdentifier

func ParseServiceAccountIdentifier(v sdk.Identifier) (ServiceAccountIdentifier, error)

func (ServiceAccountIdentifier) ResourceType

func (x ServiceAccountIdentifier) ResourceType() string

func (ServiceAccountIdentifier) ToValue

Jump to

Keyboard shortcuts

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