Skip to content

Commit

Permalink
Formatting: golang uses tabs for indentation with gofmt tool
Browse files Browse the repository at this point in the history
https://golang.org/doc/effective_go.html#formatting

Fixing all the spaces with default formatting
  • Loading branch information
venkatsc committed Feb 11, 2020
1 parent f9140c7 commit 00bf0dc
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions types.go
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
package quobyte

type retryPolicy struct {
RetryPolicy string `json:"retry,omitempty"`
RetryPolicy string `json:"retry,omitempty"`
}

// CreateVolumeRequest represents a CreateVolumeRequest
type CreateVolumeRequest struct {
Name string `json:"name,omitempty"`
RootUserID string `json:"root_user_id,omitempty"`
RootGroupID string `json:"root_group_id,omitempty"`
ReplicaDeviceIDS []uint64 `json:"replica_device_ids,string,omitempty"`
ConfigurationName string `json:"configuration_name,omitempty"`
AccessMode uint32 `json:"access_mode,uint32,omitempty"`
TenantID string `json:"tenant_id,omitempty"`
retryPolicy
Name string `json:"name,omitempty"`
RootUserID string `json:"root_user_id,omitempty"`
RootGroupID string `json:"root_group_id,omitempty"`
ReplicaDeviceIDS []uint64 `json:"replica_device_ids,string,omitempty"`
ConfigurationName string `json:"configuration_name,omitempty"`
AccessMode uint32 `json:"access_mode,uint32,omitempty"`
TenantID string `json:"tenant_id,omitempty"`
retryPolicy
}

type resolveVolumeNameRequest struct {
VolumeName string `json:"volume_name,omitempty"`
TenantDomain string `json:"tenant_domain,omitempty"`
retryPolicy
VolumeName string `json:"volume_name,omitempty"`
TenantDomain string `json:"tenant_domain,omitempty"`
retryPolicy
}

type resolveTenantNameRequest struct {
Expand All @@ -35,8 +35,8 @@ type volumeUUID struct {
}

type getClientListRequest struct {
TenantDomain string `json:"tenant_domain,omitempty"`
retryPolicy
TenantDomain string `json:"tenant_domain,omitempty"`
retryPolicy
}

type GetClientListResponse struct {
Expand Down Expand Up @@ -67,13 +67,13 @@ type quota struct {
}

type setQuotaRequest struct {
Quotas []*quota `json:"quotas,omitempty"`
retryPolicy
Quotas []*quota `json:"quotas,omitempty"`
retryPolicy
}

type getTenantRequest struct {
TenantIDs []string `json:"tenant_id,omitempty"`
retryPolicy
TenantIDs []string `json:"tenant_id,omitempty"`
retryPolicy
}

type GetTenantResponse struct {
Expand All @@ -94,8 +94,8 @@ type TenantDomainConfigurationVolumeAccess struct {
}

type setTenantRequest struct {
Tenants *TenantDomainConfiguration `json:"tenant,omitempty"`
retryPolicy
Tenants *TenantDomainConfiguration `json:"tenant,omitempty"`
retryPolicy
}

type setTenantResponse struct {
Expand Down

0 comments on commit 00bf0dc

Please sign in to comment.