arn

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ARN

type ARN struct {
	Partition    arnPartition
	Service      arnService
	Region       string
	ResourceType arnResourceType
	ResourceID   string
}

ARN - representation of resources based on AWS ARNs.

func NewIAMRoleARN

func NewIAMRoleARN(resourceID, serverRegion string) (ARN, error)

NewIAMRoleARN - returns an ARN for a role in MinIO.

func Parse

func Parse(arnStr string) (arn ARN, err error)

Parse - parses an ARN string into a type.

func (ARN) String

func (arn ARN) String() string

String - returns string representation of the ARN.

Jump to

Keyboard shortcuts

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