Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { Acl BucketAcl `yaml:"acl"` AclType string `yaml:"acl_type,omitempty"` BucketType string `yaml:"bucket_type,omitempty"` LifecycleRules []LifecycleRule `yaml:"lifecycle_rules"` LifecycleType string `yaml:"lifecycle_type,omitempty"` Versioning string `yaml:"versioning"` VersioningType string `yaml:"versioning_type,omitempty"` // contains filtered or unexported fields }
type BucketPolicy ¶
type BucketPolicy struct { Id string `json:"Id"` Version string `json:"Version"` Statement []BucketPolicyStatement `json:"Statement"` }
type BucketPolicyPrincipal ¶
type BucketPolicyPrincipal struct {
PrincipalType []string `json:"AWS"`
}
type BucketPolicyStatement ¶
type BucketPolicyStatement struct { Sid string `json:"Sid"` Action []string `json:"Action"` Effect string `json:"Effect"` Resource []string `json:"Resource"` Principal BucketPolicyPrincipal `json:"Principal"` }
type Collector ¶
type Collector struct { EndpointUrl string `yaml:"endpoint_url"` AwsAccessKey string `yaml:"access_key"` AwsSecretKey string `yaml:"secret_key"` DisableSSL bool `yaml:"disable_ssl"` AwsRegion string `yaml:"aws_region"` BucketsPostfix string ForcePath bool AppConfigPath string CephConfigPath string CsvFilePath string YamlFilePath string CephCredentialsPath string CsvFieldSeparator string CsvFieldsNum int LoggerDebug bool Logger log.Logger CephBuckets buckets CephClient *s3.Client ParallelThreads int RetryNum int // contains filtered or unexported fields }
func (*Collector) ConfigureCephServer ¶
func (*Collector) CreateCephConfigFile ¶
func (*Collector) ParseCsvToYaml ¶
func (*Collector) ParseYamlToCsv ¶
func (*Collector) UpdateConfigFromApp ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.