arn

package
v0.0.0-...-8ff70ea Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: AGPL-3.0 Imports: 4 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    string
	Service      string
	Region       string
	ResourceType string
	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