v1

package
v0.0.0-...-bf6092e Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

Functions

func RegisterMinioadminHandler

func RegisterMinioadminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMinioadminHandler registers the http handlers for service Minioadmin to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMinioadminHandlerClient

func RegisterMinioadminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MinioadminClient) error

RegisterMinioadminHandlerClient registers the http handlers for service Minioadmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MinioadminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MinioadminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MinioadminClient" to call the correct interceptors.

func RegisterMinioadminHandlerFromEndpoint

func RegisterMinioadminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMinioadminHandlerFromEndpoint is same as RegisterMinioadminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMinioadminHandlerServer

func RegisterMinioadminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MinioadminServer) error

RegisterMinioadminHandlerServer registers the http handlers for service Minioadmin to "mux". UnaryRPC :call MinioadminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMinioadminHandlerFromEndpoint instead.

func RegisterMinioadminServer

func RegisterMinioadminServer(s *grpc.Server, srv MinioadminServer)

Types

type Endpoint

type Endpoint struct {
	Endpoint        string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	AccessKeyId     string `protobuf:"bytes,2,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
	Ssl             bool   `protobuf:"varint,4,opt,name=ssl,proto3" json:"ssl,omitempty"`
	// contains filtered or unexported fields
}

func (*Endpoint) Descriptor deprecated

func (*Endpoint) Descriptor() ([]byte, []int)

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) GetAccessKeyId

func (x *Endpoint) GetAccessKeyId() string

func (*Endpoint) GetEndpoint

func (x *Endpoint) GetEndpoint() string

func (*Endpoint) GetSecretAccessKey

func (x *Endpoint) GetSecretAccessKey() string

func (*Endpoint) GetSsl

func (x *Endpoint) GetSsl() bool

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

func (x *Endpoint) ProtoReflect() protoreflect.Message

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) String

func (x *Endpoint) String() string

type GetServerInformationMsg

type GetServerInformationMsg struct {
	Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationMsg) Descriptor deprecated

func (*GetServerInformationMsg) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationMsg.ProtoReflect.Descriptor instead.

func (*GetServerInformationMsg) GetEndpoint

func (x *GetServerInformationMsg) GetEndpoint() *Endpoint

func (*GetServerInformationMsg) ProtoMessage

func (*GetServerInformationMsg) ProtoMessage()

func (*GetServerInformationMsg) ProtoReflect

func (x *GetServerInformationMsg) ProtoReflect() protoreflect.Message

func (*GetServerInformationMsg) Reset

func (x *GetServerInformationMsg) Reset()

func (*GetServerInformationMsg) String

func (x *GetServerInformationMsg) String() string

type GetServerInformationReply

type GetServerInformationReply struct {
	Mode         string                              `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	Domain       []string                            `protobuf:"bytes,2,rep,name=domain,proto3" json:"domain,omitempty"`
	Region       string                              `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
	SqsArn       []string                            `protobuf:"bytes,4,rep,name=sqs_arn,json=sqsArn,proto3" json:"sqs_arn,omitempty"`
	DeploymentId string                              `protobuf:"bytes,5,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"`
	Buckets      *GetServerInformationReply_Buckets  `protobuf:"bytes,6,opt,name=buckets,proto3" json:"buckets,omitempty"`
	Objects      *GetServerInformationReply_Objects  `protobuf:"bytes,7,opt,name=objects,proto3" json:"objects,omitempty"`
	Usage        *GetServerInformationReply_Usage    `protobuf:"bytes,8,opt,name=usage,proto3" json:"usage,omitempty"`
	Services     *GetServerInformationReply_Services `protobuf:"bytes,9,opt,name=services,proto3" json:"services,omitempty"`
	// Types that are assignable to Backend:
	//	*GetServerInformationReply_FsBackend
	//	*GetServerInformationReply_ErasureBackend
	Backend isGetServerInformationReply_Backend           `protobuf_oneof:"backend"`
	Servers []*GetServerInformationReply_ServerProperties `protobuf:"bytes,12,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply) Descriptor deprecated

func (*GetServerInformationReply) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply) GetBackend

func (m *GetServerInformationReply) GetBackend() isGetServerInformationReply_Backend

func (*GetServerInformationReply) GetBuckets

func (*GetServerInformationReply) GetDeploymentId

func (x *GetServerInformationReply) GetDeploymentId() string

func (*GetServerInformationReply) GetDomain

func (x *GetServerInformationReply) GetDomain() []string

func (*GetServerInformationReply) GetErasureBackend

func (*GetServerInformationReply) GetFsBackend

func (*GetServerInformationReply) GetMode

func (x *GetServerInformationReply) GetMode() string

func (*GetServerInformationReply) GetObjects

func (*GetServerInformationReply) GetRegion

func (x *GetServerInformationReply) GetRegion() string

func (*GetServerInformationReply) GetServers

func (*GetServerInformationReply) GetServices

func (*GetServerInformationReply) GetSqsArn

func (x *GetServerInformationReply) GetSqsArn() []string

func (*GetServerInformationReply) GetUsage

func (*GetServerInformationReply) ProtoMessage

func (*GetServerInformationReply) ProtoMessage()

func (*GetServerInformationReply) ProtoReflect

func (*GetServerInformationReply) Reset

func (x *GetServerInformationReply) Reset()

func (*GetServerInformationReply) String

func (x *GetServerInformationReply) String() string

type GetServerInformationReply_Buckets

type GetServerInformationReply_Buckets struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Buckets) Descriptor deprecated

func (*GetServerInformationReply_Buckets) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Buckets.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Buckets) GetCount

func (*GetServerInformationReply_Buckets) ProtoMessage

func (*GetServerInformationReply_Buckets) ProtoMessage()

func (*GetServerInformationReply_Buckets) ProtoReflect

func (*GetServerInformationReply_Buckets) Reset

func (*GetServerInformationReply_Buckets) String

type GetServerInformationReply_ErasureBackend

type GetServerInformationReply_ErasureBackend struct {
	ErasureBackend *GetServerInformationReply_ErasureBackendType `protobuf:"bytes,11,opt,name=erasure_backend,json=erasureBackend,proto3,oneof"`
}

type GetServerInformationReply_ErasureBackendType

type GetServerInformationReply_ErasureBackendType struct {
	BackendType      string `protobuf:"bytes,1,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"`
	OnlineDisks      int32  `protobuf:"varint,2,opt,name=online_disks,json=onlineDisks,proto3" json:"online_disks,omitempty"`
	OfflineDisks     int32  `protobuf:"varint,3,opt,name=offline_disks,json=offlineDisks,proto3" json:"offline_disks,omitempty"`
	StandardScData   int32  `protobuf:"varint,4,opt,name=standard_sc_data,json=standardScData,proto3" json:"standard_sc_data,omitempty"`
	StandardScParity int32  `protobuf:"varint,5,opt,name=standard_sc_parity,json=standardScParity,proto3" json:"standard_sc_parity,omitempty"`
	RrscData         int32  `protobuf:"varint,6,opt,name=rrsc_data,json=rrscData,proto3" json:"rrsc_data,omitempty"`
	RrscParity       int32  `protobuf:"varint,7,opt,name=rrsc_parity,json=rrscParity,proto3" json:"rrsc_parity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_ErasureBackendType) Descriptor deprecated

Deprecated: Use GetServerInformationReply_ErasureBackendType.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_ErasureBackendType) GetBackendType

func (*GetServerInformationReply_ErasureBackendType) GetOfflineDisks

func (*GetServerInformationReply_ErasureBackendType) GetOnlineDisks

func (*GetServerInformationReply_ErasureBackendType) GetRrscData

func (*GetServerInformationReply_ErasureBackendType) GetRrscParity

func (*GetServerInformationReply_ErasureBackendType) GetStandardScData

func (x *GetServerInformationReply_ErasureBackendType) GetStandardScData() int32

func (*GetServerInformationReply_ErasureBackendType) GetStandardScParity

func (x *GetServerInformationReply_ErasureBackendType) GetStandardScParity() int32

func (*GetServerInformationReply_ErasureBackendType) ProtoMessage

func (*GetServerInformationReply_ErasureBackendType) ProtoReflect

func (*GetServerInformationReply_ErasureBackendType) Reset

func (*GetServerInformationReply_ErasureBackendType) String

type GetServerInformationReply_FSBackendType

type GetServerInformationReply_FSBackendType struct {
	BackendType string `protobuf:"bytes,1,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_FSBackendType) Descriptor deprecated

func (*GetServerInformationReply_FSBackendType) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_FSBackendType.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_FSBackendType) GetBackendType

func (x *GetServerInformationReply_FSBackendType) GetBackendType() string

func (*GetServerInformationReply_FSBackendType) ProtoMessage

func (*GetServerInformationReply_FSBackendType) ProtoReflect

func (*GetServerInformationReply_FSBackendType) Reset

func (*GetServerInformationReply_FSBackendType) String

type GetServerInformationReply_FsBackend

type GetServerInformationReply_FsBackend struct {
	FsBackend *GetServerInformationReply_FSBackendType `protobuf:"bytes,10,opt,name=fs_backend,json=fsBackend,proto3,oneof"`
}

type GetServerInformationReply_Objects

type GetServerInformationReply_Objects struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Objects) Descriptor deprecated

func (*GetServerInformationReply_Objects) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Objects.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Objects) GetCount

func (*GetServerInformationReply_Objects) ProtoMessage

func (*GetServerInformationReply_Objects) ProtoMessage()

func (*GetServerInformationReply_Objects) ProtoReflect

func (*GetServerInformationReply_Objects) Reset

func (*GetServerInformationReply_Objects) String

type GetServerInformationReply_ServerProperties

type GetServerInformationReply_ServerProperties struct {
	State    string                                                `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Endpoint string                                                `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Uptime   int64                                                 `protobuf:"varint,3,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Version  string                                                `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	CommitId string                                                `protobuf:"bytes,5,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	Network  []*GetServerInformationReply_ServerProperties_Network `protobuf:"bytes,6,rep,name=network,proto3" json:"network,omitempty"`
	Disks    []*GetServerInformationReply_ServerProperties_Disk    `protobuf:"bytes,7,rep,name=disks,proto3" json:"disks,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_ServerProperties) Descriptor deprecated

Deprecated: Use GetServerInformationReply_ServerProperties.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_ServerProperties) GetCommitId

func (*GetServerInformationReply_ServerProperties) GetDisks

func (*GetServerInformationReply_ServerProperties) GetEndpoint

func (*GetServerInformationReply_ServerProperties) GetNetwork

func (*GetServerInformationReply_ServerProperties) GetState

func (*GetServerInformationReply_ServerProperties) GetUptime

func (*GetServerInformationReply_ServerProperties) GetVersion

func (*GetServerInformationReply_ServerProperties) ProtoMessage

func (*GetServerInformationReply_ServerProperties) ProtoReflect

func (*GetServerInformationReply_ServerProperties) Reset

func (*GetServerInformationReply_ServerProperties) String

type GetServerInformationReply_ServerProperties_Disk

type GetServerInformationReply_ServerProperties_Disk struct {
	Endpoint        string  `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	RootDisk        bool    `protobuf:"varint,2,opt,name=root_disk,json=rootDisk,proto3" json:"root_disk,omitempty"`
	DrivePath       string  `protobuf:"bytes,3,opt,name=drive_path,json=drivePath,proto3" json:"drive_path,omitempty"`
	Healing         bool    `protobuf:"varint,4,opt,name=healing,proto3" json:"healing,omitempty"`
	State           string  `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	Uuid            string  `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Model           string  `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
	TotalSpace      uint64  `protobuf:"varint,8,opt,name=total_space,json=totalSpace,proto3" json:"total_space,omitempty"`
	UsedSpace       uint64  `protobuf:"varint,9,opt,name=used_space,json=usedSpace,proto3" json:"used_space,omitempty"`
	AvailableSpace  uint64  `protobuf:"varint,10,opt,name=available_space,json=availableSpace,proto3" json:"available_space,omitempty"`
	ReadThroughput  float32 `protobuf:"fixed32,11,opt,name=read_throughput,json=readThroughput,proto3" json:"read_throughput,omitempty"`
	WriteThroughput float32 `protobuf:"fixed32,12,opt,name=write_throughput,json=writeThroughput,proto3" json:"write_throughput,omitempty"`
	ReadLatency     float32 `protobuf:"fixed32,13,opt,name=read_latency,json=readLatency,proto3" json:"read_latency,omitempty"`
	WriteLatency    float32 `protobuf:"fixed32,14,opt,name=write_latency,json=writeLatency,proto3" json:"write_latency,omitempty"`
	Utilization     float32 `protobuf:"fixed32,15,opt,name=utilization,proto3" json:"utilization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_ServerProperties_Disk) Descriptor deprecated

Deprecated: Use GetServerInformationReply_ServerProperties_Disk.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_ServerProperties_Disk) GetAvailableSpace

func (*GetServerInformationReply_ServerProperties_Disk) GetDrivePath

func (*GetServerInformationReply_ServerProperties_Disk) GetEndpoint

func (*GetServerInformationReply_ServerProperties_Disk) GetHealing

func (*GetServerInformationReply_ServerProperties_Disk) GetModel

func (*GetServerInformationReply_ServerProperties_Disk) GetReadLatency

func (*GetServerInformationReply_ServerProperties_Disk) GetReadThroughput

func (*GetServerInformationReply_ServerProperties_Disk) GetRootDisk

func (*GetServerInformationReply_ServerProperties_Disk) GetState

func (*GetServerInformationReply_ServerProperties_Disk) GetTotalSpace

func (*GetServerInformationReply_ServerProperties_Disk) GetUsedSpace

func (*GetServerInformationReply_ServerProperties_Disk) GetUtilization

func (*GetServerInformationReply_ServerProperties_Disk) GetUuid

func (*GetServerInformationReply_ServerProperties_Disk) GetWriteLatency

func (*GetServerInformationReply_ServerProperties_Disk) GetWriteThroughput

func (*GetServerInformationReply_ServerProperties_Disk) ProtoMessage

func (*GetServerInformationReply_ServerProperties_Disk) ProtoReflect

func (*GetServerInformationReply_ServerProperties_Disk) Reset

func (*GetServerInformationReply_ServerProperties_Disk) String

type GetServerInformationReply_ServerProperties_Network

type GetServerInformationReply_ServerProperties_Network struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_ServerProperties_Network) Descriptor deprecated

Deprecated: Use GetServerInformationReply_ServerProperties_Network.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_ServerProperties_Network) GetName

func (*GetServerInformationReply_ServerProperties_Network) GetValue

func (*GetServerInformationReply_ServerProperties_Network) ProtoMessage

func (*GetServerInformationReply_ServerProperties_Network) ProtoReflect

func (*GetServerInformationReply_ServerProperties_Network) Reset

func (*GetServerInformationReply_ServerProperties_Network) String

type GetServerInformationReply_Services

type GetServerInformationReply_Services struct {
	Vault         *GetServerInformationReply_Services_Vault           `protobuf:"bytes,1,opt,name=vault,proto3" json:"vault,omitempty"`
	Ldap          *GetServerInformationReply_Services_LDAP            `protobuf:"bytes,2,opt,name=ldap,proto3" json:"ldap,omitempty"`
	Loggers       []*GetServerInformationReply_Services_Logger        `protobuf:"bytes,3,rep,name=loggers,proto3" json:"loggers,omitempty"`
	Audits        []*GetServerInformationReply_Services_Audit         `protobuf:"bytes,4,rep,name=audits,proto3" json:"audits,omitempty"`
	Notifications []*GetServerInformationReply_Services_Notifications `protobuf:"bytes,5,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services) Descriptor deprecated

func (*GetServerInformationReply_Services) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Services.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services) GetAudits

func (*GetServerInformationReply_Services) GetLdap

func (*GetServerInformationReply_Services) GetLoggers

func (*GetServerInformationReply_Services) GetNotifications

func (*GetServerInformationReply_Services) GetVault

func (*GetServerInformationReply_Services) ProtoMessage

func (*GetServerInformationReply_Services) ProtoMessage()

func (*GetServerInformationReply_Services) ProtoReflect

func (*GetServerInformationReply_Services) Reset

func (*GetServerInformationReply_Services) String

type GetServerInformationReply_Services_Audit

type GetServerInformationReply_Services_Audit struct {
	AuditMap []*GetServerInformationReply_Services_Audit_AuditMap `protobuf:"bytes,1,rep,name=audit_map,json=auditMap,proto3" json:"audit_map,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Audit) Descriptor deprecated

func (*GetServerInformationReply_Services_Audit) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Services_Audit.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Audit) GetAuditMap

func (*GetServerInformationReply_Services_Audit) ProtoMessage

func (*GetServerInformationReply_Services_Audit) ProtoReflect

func (*GetServerInformationReply_Services_Audit) Reset

func (*GetServerInformationReply_Services_Audit) String

type GetServerInformationReply_Services_Audit_AuditMap

type GetServerInformationReply_Services_Audit_AuditMap struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Audit_AuditMap) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Audit_AuditMap.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Audit_AuditMap) GetKey

func (*GetServerInformationReply_Services_Audit_AuditMap) GetStatus

func (*GetServerInformationReply_Services_Audit_AuditMap) ProtoMessage

func (*GetServerInformationReply_Services_Audit_AuditMap) ProtoReflect

func (*GetServerInformationReply_Services_Audit_AuditMap) Reset

func (*GetServerInformationReply_Services_Audit_AuditMap) String

type GetServerInformationReply_Services_LDAP

type GetServerInformationReply_Services_LDAP struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_LDAP) Descriptor deprecated

func (*GetServerInformationReply_Services_LDAP) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Services_LDAP.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_LDAP) GetStatus

func (*GetServerInformationReply_Services_LDAP) ProtoMessage

func (*GetServerInformationReply_Services_LDAP) ProtoReflect

func (*GetServerInformationReply_Services_LDAP) Reset

func (*GetServerInformationReply_Services_LDAP) String

type GetServerInformationReply_Services_Logger

type GetServerInformationReply_Services_Logger struct {
	LoggerMap []*GetServerInformationReply_Services_Logger_LoggerMap `protobuf:"bytes,1,rep,name=logger_map,json=loggerMap,proto3" json:"logger_map,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Logger) Descriptor deprecated

func (*GetServerInformationReply_Services_Logger) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Services_Logger.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Logger) GetLoggerMap

func (*GetServerInformationReply_Services_Logger) ProtoMessage

func (*GetServerInformationReply_Services_Logger) ProtoReflect

func (*GetServerInformationReply_Services_Logger) Reset

func (*GetServerInformationReply_Services_Logger) String

type GetServerInformationReply_Services_Logger_LoggerMap

type GetServerInformationReply_Services_Logger_LoggerMap struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Logger_LoggerMap) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Logger_LoggerMap.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Logger_LoggerMap) GetKey

func (*GetServerInformationReply_Services_Logger_LoggerMap) GetStatus

func (*GetServerInformationReply_Services_Logger_LoggerMap) ProtoMessage

func (*GetServerInformationReply_Services_Logger_LoggerMap) ProtoReflect

func (*GetServerInformationReply_Services_Logger_LoggerMap) Reset

func (*GetServerInformationReply_Services_Logger_LoggerMap) String

type GetServerInformationReply_Services_Notifications

type GetServerInformationReply_Services_Notifications struct {
	NotificationMap []*GetServerInformationReply_Services_Notifications_NotificationMap `protobuf:"bytes,1,rep,name=notification_map,json=notificationMap,proto3" json:"notification_map,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Notifications) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Notifications.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Notifications) GetNotificationMap

func (*GetServerInformationReply_Services_Notifications) ProtoMessage

func (*GetServerInformationReply_Services_Notifications) ProtoReflect

func (*GetServerInformationReply_Services_Notifications) Reset

func (*GetServerInformationReply_Services_Notifications) String

type GetServerInformationReply_Services_Notifications_NotificationMap

type GetServerInformationReply_Services_Notifications_NotificationMap struct {
	Key            string                                                                             `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	TargetIdStatus []*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus `protobuf:"bytes,2,rep,name=target_id_status,json=targetIdStatus,proto3" json:"target_id_status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Notifications_NotificationMap) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Notifications_NotificationMap.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Notifications_NotificationMap) GetKey

func (*GetServerInformationReply_Services_Notifications_NotificationMap) GetTargetIdStatus

func (*GetServerInformationReply_Services_Notifications_NotificationMap) ProtoMessage

func (*GetServerInformationReply_Services_Notifications_NotificationMap) ProtoReflect

func (*GetServerInformationReply_Services_Notifications_NotificationMap) Reset

func (*GetServerInformationReply_Services_Notifications_NotificationMap) String

type GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus

type GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus struct {
	TargetIdStatusMap []*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap `protobuf:"bytes,1,rep,name=target_id_status_map,json=targetIdStatusMap,proto3" json:"target_id_status_map,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus) ProtoMessage

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus) ProtoReflect

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus) Reset

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus) String

type GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap

type GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) Descriptor deprecated

Deprecated: Use GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) GetKey

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) GetStatus

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) ProtoMessage

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) ProtoReflect

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) Reset

func (*GetServerInformationReply_Services_Notifications_NotificationMap_TargetIDStatus_TargetIDStatusMap) String

type GetServerInformationReply_Services_Vault

type GetServerInformationReply_Services_Vault struct {
	Status  string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Encrypt string `protobuf:"bytes,2,opt,name=encrypt,proto3" json:"encrypt,omitempty"`
	Decrypt string `protobuf:"bytes,3,opt,name=decrypt,proto3" json:"decrypt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Services_Vault) Descriptor deprecated

func (*GetServerInformationReply_Services_Vault) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Services_Vault.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Services_Vault) GetDecrypt

func (*GetServerInformationReply_Services_Vault) GetEncrypt

func (*GetServerInformationReply_Services_Vault) GetStatus

func (*GetServerInformationReply_Services_Vault) ProtoMessage

func (*GetServerInformationReply_Services_Vault) ProtoReflect

func (*GetServerInformationReply_Services_Vault) Reset

func (*GetServerInformationReply_Services_Vault) String

type GetServerInformationReply_Usage

type GetServerInformationReply_Usage struct {
	Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServerInformationReply_Usage) Descriptor deprecated

func (*GetServerInformationReply_Usage) Descriptor() ([]byte, []int)

Deprecated: Use GetServerInformationReply_Usage.ProtoReflect.Descriptor instead.

func (*GetServerInformationReply_Usage) GetSize

func (*GetServerInformationReply_Usage) ProtoMessage

func (*GetServerInformationReply_Usage) ProtoMessage()

func (*GetServerInformationReply_Usage) ProtoReflect

func (*GetServerInformationReply_Usage) Reset

func (*GetServerInformationReply_Usage) String

type GetVersionMsg

type GetVersionMsg struct {
	// contains filtered or unexported fields
}

func (*GetVersionMsg) Descriptor deprecated

func (*GetVersionMsg) Descriptor() ([]byte, []int)

Deprecated: Use GetVersionMsg.ProtoReflect.Descriptor instead.

func (*GetVersionMsg) ProtoMessage

func (*GetVersionMsg) ProtoMessage()

func (*GetVersionMsg) ProtoReflect

func (x *GetVersionMsg) ProtoReflect() protoreflect.Message

func (*GetVersionMsg) Reset

func (x *GetVersionMsg) Reset()

func (*GetVersionMsg) String

func (x *GetVersionMsg) String() string

type GetVersionReply

type GetVersionReply struct {

	// If operation was OK
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// Version Information
	VersionInformation *GetVersionReply_VersionInformation `protobuf:"bytes,2,opt,name=version_information,json=versionInformation,proto3" json:"version_information,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVersionReply) Descriptor deprecated

func (*GetVersionReply) Descriptor() ([]byte, []int)

Deprecated: Use GetVersionReply.ProtoReflect.Descriptor instead.

func (*GetVersionReply) GetOk

func (x *GetVersionReply) GetOk() bool

func (*GetVersionReply) GetVersionInformation

func (x *GetVersionReply) GetVersionInformation() *GetVersionReply_VersionInformation

func (*GetVersionReply) ProtoMessage

func (*GetVersionReply) ProtoMessage()

func (*GetVersionReply) ProtoReflect

func (x *GetVersionReply) ProtoReflect() protoreflect.Message

func (*GetVersionReply) Reset

func (x *GetVersionReply) Reset()

func (*GetVersionReply) String

func (x *GetVersionReply) String() string

type GetVersionReply_VersionInformation

type GetVersionReply_VersionInformation struct {

	// The tag on the git repository
	GitVersion string `protobuf:"bytes,1,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
	// The hash of the git commit
	GitCommit string `protobuf:"bytes,2,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"`
	// Whether or not the tree was clean when built
	GitTreeState string `protobuf:"bytes,3,opt,name=git_tree_state,json=gitTreeState,proto3" json:"git_tree_state,omitempty"`
	// Date of build
	BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// Version of go used to compile
	GoVersion string `protobuf:"bytes,5,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	// Compiler used
	Compiler string `protobuf:"bytes,6,opt,name=compiler,proto3" json:"compiler,omitempty"`
	// Platform it was compiled for / running on
	Platform string `protobuf:"bytes,7,opt,name=platform,proto3" json:"platform,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVersionReply_VersionInformation) Descriptor deprecated

func (*GetVersionReply_VersionInformation) Descriptor() ([]byte, []int)

Deprecated: Use GetVersionReply_VersionInformation.ProtoReflect.Descriptor instead.

func (*GetVersionReply_VersionInformation) GetBuildDate

func (x *GetVersionReply_VersionInformation) GetBuildDate() string

func (*GetVersionReply_VersionInformation) GetCompiler

func (x *GetVersionReply_VersionInformation) GetCompiler() string

func (*GetVersionReply_VersionInformation) GetGitCommit

func (x *GetVersionReply_VersionInformation) GetGitCommit() string

func (*GetVersionReply_VersionInformation) GetGitTreeState

func (x *GetVersionReply_VersionInformation) GetGitTreeState() string

func (*GetVersionReply_VersionInformation) GetGitVersion

func (x *GetVersionReply_VersionInformation) GetGitVersion() string

func (*GetVersionReply_VersionInformation) GetGoVersion

func (x *GetVersionReply_VersionInformation) GetGoVersion() string

func (*GetVersionReply_VersionInformation) GetPlatform

func (x *GetVersionReply_VersionInformation) GetPlatform() string

func (*GetVersionReply_VersionInformation) ProtoMessage

func (*GetVersionReply_VersionInformation) ProtoMessage()

func (*GetVersionReply_VersionInformation) ProtoReflect

func (*GetVersionReply_VersionInformation) Reset

func (*GetVersionReply_VersionInformation) String

type MinioadminClient

type MinioadminClient interface {
	// Will return version information about api server
	GetVersionInformation(ctx context.Context, in *GetVersionMsg, opts ...grpc.CallOption) (*GetVersionReply, error)
	GetServerInformation(ctx context.Context, in *GetServerInformationMsg, opts ...grpc.CallOption) (*GetServerInformationReply, error)
}

MinioadminClient is the client API for Minioadmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMinioadminClient

func NewMinioadminClient(cc grpc.ClientConnInterface) MinioadminClient

type MinioadminServer

type MinioadminServer interface {
	// Will return version information about api server
	GetVersionInformation(context.Context, *GetVersionMsg) (*GetVersionReply, error)
	GetServerInformation(context.Context, *GetServerInformationMsg) (*GetServerInformationReply, error)
}

MinioadminServer is the server API for Minioadmin service.

type UnimplementedMinioadminServer

type UnimplementedMinioadminServer struct {
}

UnimplementedMinioadminServer can be embedded to have forward compatible implementations.

func (*UnimplementedMinioadminServer) GetServerInformation

func (*UnimplementedMinioadminServer) GetVersionInformation

Jump to

Keyboard shortcuts

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