minio_internal

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Allow = s3_api.Allow
	Deny  = s3_api.Deny
)
View Source
const (
	S3GetBucketLocation = s3_api.S3GetBucketLocation
	S3GetObject         = s3_api.S3GetObject
)

readonly

View Source
const (
	AdminAll                     = "admin:*"
	AdminHeal                    = "admin:Heal"
	AdminStorageInfo             = "admin:StorageInfo"
	AdminDataUsageInfo           = "admin:DataUsageInfo"
	AdminTopLocksInfo            = "admin:TopLocksInfo"
	AdminProfiling               = "admin:Profiling"
	AdminServerTrace             = "admin:ServerTrace"
	AdminConsoleLog              = "admin:ConsoleLog"
	AdminKMSCreateKey            = "admin:KMSCreateKey"
	AdminKMSKeyStatus            = "admin:KMSKeyStatus"
	AdminServerInfo              = "admin:ServerInfo"
	AdminOBDInfo                 = "admin:OBDInfo"
	AdminServerUpdate            = "admin:ServerUpdate"
	AdminServiceRestart          = "admin:ServiceRestart"
	AdminServiceStop             = "admin:ServiceStop"
	AdminConfigUpdate            = "admin:ConfigUpdate"
	AdminCreateUser              = "admin:CreateUser"
	AdminDeleteUser              = "admin:DeleteUser"
	AdminListUsers               = "admin:ListUsers"
	AdminEnableUser              = "admin:EnableUser"
	AdminDisableUser             = "admin:DisableUser"
	AdminGetUser                 = "admin:GetUser"
	AdminAddUserToGroup          = "admin:AddUserToGroup"
	AdminRemoveUserFromGroup     = "admin:RemoveUserFromGroup"
	AdminGetGroup                = "admin:GetGroup"
	AdminListGroups              = "admin:ListGroups"
	AdminEnableGroup             = "admin:EnableGroup"
	AdminDisableGroup            = "admin:DisableGroup"
	AdminCreatePolicy            = "admin:CreatePolicy"
	AdminDeletePolicy            = "admin:DeletePolicy"
	AdminGetPolicy               = "admin:GetPolicy"
	AdminAttachUserOrGroupPolicy = "admin:AttachUserOrGroupPolicy"
	AdminListUserPolicies        = "admin:ListUserPolicies"
	AdminCreateServiceAccount    = "admin:CreateServiceAccount"
	AdminUpdateServiceAccount    = "admin:UpdateServiceAccount"
	AdminRemoveServiceAccount    = "admin:RemoveServiceAccount"
	AdminListServiceAccounts     = "admin:ListServiceAccounts"
	AdminSetBucketQuota          = "admin:SetBucketQuota"
	AdminGetBucketQuota          = "admin:GetBucketQuota"
	AdminSetBucketTarget         = "admin:SetBucketTarget"
	AdminGetBucketTarget         = "admin:GetBucketTarget"
	AdminSetTier                 = "admin:SetTier"
	AdminListTier                = "admin:ListTier"
	AdminBandwidthMonitor        = "admin:BandwidthMonitor"
	AdminPrometheus              = "admin:Prometheus"
	AdminListBatchJobs           = "admin:ListBatchJobs"
	AdminDescribeBatchJobs       = "admin:DescribeBatchJobs"
	AdminStartBatchJob           = "admin:StartBatchJob"
	AdminCancelBatchJob          = "admin:CancelBatchJob"
	AdminRebalance               = "admin:Rebalance"
)

referred from: https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html#id7 minio admin Policy Action Keys minio admin API exclusive, not compatible with S3 API

View Source
const (
	AWSReferer         = s3_api.AWSReferer
	AWSSourceIp        = s3_api.AWSSourceIp
	AWSUserAgent       = s3_api.AWSUserAgent
	AWSSecureTransport = s3_api.AWSSecureTransport
	AWSCurrentTime     = s3_api.AWSCurrentTime
	AWSEpochTime       = s3_api.AWSEpochTime
)

referred from: https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html#id8 minio admin Policy Condition Keys compatible with S3 API

View Source
const (
	AWS = "AWS"
)
View Source
const (
	KMSAll = "kms:*"
)
View Source
const (
	ResourceARNS3All = s3_api.ResourceARNS3All
)
View Source
const (
	S3All = s3_api.S3All
)

consoleAdmin

View Source
const (
	S3PutObject = s3_api.S3PutObject
)

writeonly

View Source
const (
	S3RW = S3All
)

readwrite

View Source
const (
	Version = s3_api.Version
)

Variables

This section is empty.

Functions

func ConsoleAdminPolicy

func ConsoleAdminPolicy() string

func DiagnosticsPolicy

func DiagnosticsPolicy() string

func ReadOnlyPolicy

func ReadOnlyPolicy() string

func ReadWritePolicy

func ReadWritePolicy() string

func WriteOnlyPolicy

func WriteOnlyPolicy() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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