backend

package
Version: v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package backend is a generated protocol buffer package.

It is generated from these files:

backend.proto

It has these top-level messages:

CreateBackendRequest
CreateBackendResponse
GetBackendRequest
GetBackendResponse
ListBackendRequest
ListBackendResponse
UpdateBackendRequest
UpdateBackendResponse
DeleteBackendRequest
DeleteBackendResponse
BackendDetail
ListTypeRequest
ListTypeResponse
TypeDetail

Package backend is a generated protocol buffer package.

It is generated from these files:

backend.proto

It has these top-level messages:

CreateBackendRequest
CreateBackendResponse
GetBackendRequest
GetBackendResponse
ListBackendRequest
ListBackendResponse
UpdateBackendRequest
UpdateBackendResponse
DeleteBackendRequest
DeleteBackendResponse
BackendDetail
ListTypeRequest
ListTypeResponse
TypeDetail

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBackendHandler

func RegisterBackendHandler(s server.Server, hdlr BackendHandler, opts ...server.HandlerOption) error

Types

type BackendDetail

type BackendDetail struct {
	Id         string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	TenantId   string `protobuf:"bytes,2,opt,name=tenantId" json:"tenantId,omitempty"`
	UserId     string `protobuf:"bytes,3,opt,name=userId" json:"userId,omitempty"`
	Name       string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
	Type       string `protobuf:"bytes,5,opt,name=type" json:"type,omitempty"`
	Region     string `protobuf:"bytes,6,opt,name=region" json:"region,omitempty"`
	Endpoint   string `protobuf:"bytes,7,opt,name=endpoint" json:"endpoint,omitempty"`
	BucketName string `protobuf:"bytes,8,opt,name=bucketName" json:"bucketName,omitempty"`
	Access     string `protobuf:"bytes,9,opt,name=access" json:"access,omitempty"`
	Security   string `protobuf:"bytes,10,opt,name=security" json:"security,omitempty"`
}

func (*BackendDetail) Descriptor

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

func (*BackendDetail) GetAccess

func (m *BackendDetail) GetAccess() string

func (*BackendDetail) GetBucketName

func (m *BackendDetail) GetBucketName() string

func (*BackendDetail) GetEndpoint

func (m *BackendDetail) GetEndpoint() string

func (*BackendDetail) GetId

func (m *BackendDetail) GetId() string

func (*BackendDetail) GetName

func (m *BackendDetail) GetName() string

func (*BackendDetail) GetRegion

func (m *BackendDetail) GetRegion() string

func (*BackendDetail) GetSecurity

func (m *BackendDetail) GetSecurity() string

func (*BackendDetail) GetTenantId

func (m *BackendDetail) GetTenantId() string

func (*BackendDetail) GetType

func (m *BackendDetail) GetType() string

func (*BackendDetail) GetUserId

func (m *BackendDetail) GetUserId() string

func (*BackendDetail) ProtoMessage

func (*BackendDetail) ProtoMessage()

func (*BackendDetail) Reset

func (m *BackendDetail) Reset()

func (*BackendDetail) String

func (m *BackendDetail) String() string

type BackendService

func NewBackendService

func NewBackendService(name string, c client.Client) BackendService

type CreateBackendRequest

type CreateBackendRequest struct {
	Backend *BackendDetail `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"`
}

func (*CreateBackendRequest) Descriptor

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

func (*CreateBackendRequest) GetBackend

func (m *CreateBackendRequest) GetBackend() *BackendDetail

func (*CreateBackendRequest) ProtoMessage

func (*CreateBackendRequest) ProtoMessage()

func (*CreateBackendRequest) Reset

func (m *CreateBackendRequest) Reset()

func (*CreateBackendRequest) String

func (m *CreateBackendRequest) String() string

type CreateBackendResponse

type CreateBackendResponse struct {
	Backend *BackendDetail `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"`
}

func (*CreateBackendResponse) Descriptor

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

func (*CreateBackendResponse) GetBackend

func (m *CreateBackendResponse) GetBackend() *BackendDetail

func (*CreateBackendResponse) ProtoMessage

func (*CreateBackendResponse) ProtoMessage()

func (*CreateBackendResponse) Reset

func (m *CreateBackendResponse) Reset()

func (*CreateBackendResponse) String

func (m *CreateBackendResponse) String() string

type DeleteBackendRequest

type DeleteBackendRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*DeleteBackendRequest) Descriptor

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

func (*DeleteBackendRequest) GetId

func (m *DeleteBackendRequest) GetId() string

func (*DeleteBackendRequest) ProtoMessage

func (*DeleteBackendRequest) ProtoMessage()

func (*DeleteBackendRequest) Reset

func (m *DeleteBackendRequest) Reset()

func (*DeleteBackendRequest) String

func (m *DeleteBackendRequest) String() string

type DeleteBackendResponse

type DeleteBackendResponse struct {
}

func (*DeleteBackendResponse) Descriptor

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

func (*DeleteBackendResponse) ProtoMessage

func (*DeleteBackendResponse) ProtoMessage()

func (*DeleteBackendResponse) Reset

func (m *DeleteBackendResponse) Reset()

func (*DeleteBackendResponse) String

func (m *DeleteBackendResponse) String() string

type GetBackendRequest

type GetBackendRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*GetBackendRequest) Descriptor

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

func (*GetBackendRequest) GetId

func (m *GetBackendRequest) GetId() string

func (*GetBackendRequest) ProtoMessage

func (*GetBackendRequest) ProtoMessage()

func (*GetBackendRequest) Reset

func (m *GetBackendRequest) Reset()

func (*GetBackendRequest) String

func (m *GetBackendRequest) String() string

type GetBackendResponse

type GetBackendResponse struct {
	Backend *BackendDetail `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"`
}

func (*GetBackendResponse) Descriptor

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

func (*GetBackendResponse) GetBackend

func (m *GetBackendResponse) GetBackend() *BackendDetail

func (*GetBackendResponse) ProtoMessage

func (*GetBackendResponse) ProtoMessage()

func (*GetBackendResponse) Reset

func (m *GetBackendResponse) Reset()

func (*GetBackendResponse) String

func (m *GetBackendResponse) String() string

type ListBackendRequest

type ListBackendRequest struct {
	Limit    int32             `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	Offset   int32             `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	SortKeys []string          `protobuf:"bytes,3,rep,name=sortKeys" json:"sortKeys,omitempty"`
	SortDirs []string          `protobuf:"bytes,4,rep,name=sortDirs" json:"sortDirs,omitempty"`
	Filter   map[string]string `` /* 132-byte string literal not displayed */
}

func (*ListBackendRequest) Descriptor

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

func (*ListBackendRequest) GetFilter

func (m *ListBackendRequest) GetFilter() map[string]string

func (*ListBackendRequest) GetLimit

func (m *ListBackendRequest) GetLimit() int32

func (*ListBackendRequest) GetOffset

func (m *ListBackendRequest) GetOffset() int32

func (*ListBackendRequest) GetSortDirs

func (m *ListBackendRequest) GetSortDirs() []string

func (*ListBackendRequest) GetSortKeys

func (m *ListBackendRequest) GetSortKeys() []string

func (*ListBackendRequest) ProtoMessage

func (*ListBackendRequest) ProtoMessage()

func (*ListBackendRequest) Reset

func (m *ListBackendRequest) Reset()

func (*ListBackendRequest) String

func (m *ListBackendRequest) String() string

type ListBackendResponse

type ListBackendResponse struct {
	Backends []*BackendDetail `protobuf:"bytes,1,rep,name=backends" json:"backends,omitempty"`
	Next     int32            `protobuf:"varint,2,opt,name=next" json:"next,omitempty"`
}

func (*ListBackendResponse) Descriptor

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

func (*ListBackendResponse) GetBackends

func (m *ListBackendResponse) GetBackends() []*BackendDetail

func (*ListBackendResponse) GetNext

func (m *ListBackendResponse) GetNext() int32

func (*ListBackendResponse) ProtoMessage

func (*ListBackendResponse) ProtoMessage()

func (*ListBackendResponse) Reset

func (m *ListBackendResponse) Reset()

func (*ListBackendResponse) String

func (m *ListBackendResponse) String() string

type ListTypeRequest

type ListTypeRequest struct {
	Limit    int32             `protobuf:"varint,1,opt,name=limit" json:"limit,omitempty"`
	Offset   int32             `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	SortKeys []string          `protobuf:"bytes,3,rep,name=sortKeys" json:"sortKeys,omitempty"`
	SortDirs []string          `protobuf:"bytes,4,rep,name=sortDirs" json:"sortDirs,omitempty"`
	Filter   map[string]string `` /* 132-byte string literal not displayed */
}

func (*ListTypeRequest) Descriptor

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

func (*ListTypeRequest) GetFilter

func (m *ListTypeRequest) GetFilter() map[string]string

func (*ListTypeRequest) GetLimit

func (m *ListTypeRequest) GetLimit() int32

func (*ListTypeRequest) GetOffset

func (m *ListTypeRequest) GetOffset() int32

func (*ListTypeRequest) GetSortDirs

func (m *ListTypeRequest) GetSortDirs() []string

func (*ListTypeRequest) GetSortKeys

func (m *ListTypeRequest) GetSortKeys() []string

func (*ListTypeRequest) ProtoMessage

func (*ListTypeRequest) ProtoMessage()

func (*ListTypeRequest) Reset

func (m *ListTypeRequest) Reset()

func (*ListTypeRequest) String

func (m *ListTypeRequest) String() string

type ListTypeResponse

type ListTypeResponse struct {
	Types []*TypeDetail `protobuf:"bytes,1,rep,name=types" json:"types,omitempty"`
	Next  int32         `protobuf:"varint,2,opt,name=next" json:"next,omitempty"`
}

func (*ListTypeResponse) Descriptor

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

func (*ListTypeResponse) GetNext

func (m *ListTypeResponse) GetNext() int32

func (*ListTypeResponse) GetTypes

func (m *ListTypeResponse) GetTypes() []*TypeDetail

func (*ListTypeResponse) ProtoMessage

func (*ListTypeResponse) ProtoMessage()

func (*ListTypeResponse) Reset

func (m *ListTypeResponse) Reset()

func (*ListTypeResponse) String

func (m *ListTypeResponse) String() string

type TypeDetail

type TypeDetail struct {
	Name        string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

func (*TypeDetail) Descriptor

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

func (*TypeDetail) GetDescription

func (m *TypeDetail) GetDescription() string

func (*TypeDetail) GetName

func (m *TypeDetail) GetName() string

func (*TypeDetail) ProtoMessage

func (*TypeDetail) ProtoMessage()

func (*TypeDetail) Reset

func (m *TypeDetail) Reset()

func (*TypeDetail) String

func (m *TypeDetail) String() string

type UpdateBackendRequest

type UpdateBackendRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Access   string `protobuf:"bytes,2,opt,name=access" json:"access,omitempty"`
	Security string `protobuf:"bytes,3,opt,name=security" json:"security,omitempty"`
}

func (*UpdateBackendRequest) Descriptor

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

func (*UpdateBackendRequest) GetAccess

func (m *UpdateBackendRequest) GetAccess() string

func (*UpdateBackendRequest) GetId

func (m *UpdateBackendRequest) GetId() string

func (*UpdateBackendRequest) GetSecurity

func (m *UpdateBackendRequest) GetSecurity() string

func (*UpdateBackendRequest) ProtoMessage

func (*UpdateBackendRequest) ProtoMessage()

func (*UpdateBackendRequest) Reset

func (m *UpdateBackendRequest) Reset()

func (*UpdateBackendRequest) String

func (m *UpdateBackendRequest) String() string

type UpdateBackendResponse

type UpdateBackendResponse struct {
	Backend *BackendDetail `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"`
}

func (*UpdateBackendResponse) Descriptor

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

func (*UpdateBackendResponse) GetBackend

func (m *UpdateBackendResponse) GetBackend() *BackendDetail

func (*UpdateBackendResponse) ProtoMessage

func (*UpdateBackendResponse) ProtoMessage()

func (*UpdateBackendResponse) Reset

func (m *UpdateBackendResponse) Reset()

func (*UpdateBackendResponse) String

func (m *UpdateBackendResponse) String() string

Jump to

Keyboard shortcuts

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