v1

package
v0.0.0-...-6a89294 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 4 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Retcode_name = map[int32]string{
		0:   "OK",
		400: "BAD_REQEUST",
		500: "INTERNAL_ERROR",
	}
	Retcode_value = map[string]int32{
		"OK":             0,
		"BAD_REQEUST":    400,
		"INTERNAL_ERROR": 500,
	}
)

Enum value maps for Retcode.

View Source
var (
	PluginStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "WAIT_RUNNING",
		2: "ERR_REGISTER",
		3: "RUNNING",
	}
	PluginStatus_value = map[string]int32{
		"UNKNOWN":      0,
		"WAIT_RUNNING": 1,
		"ERR_REGISTER": 2,
		"RUNNING":      3,
	}
)

Enum value maps for PluginStatus.

View Source
var (
	ConsolePortal_name = map[int32]string{
		0: "admin",
		1: "tenant",
	}
	ConsolePortal_value = map[string]int32{
		"admin":  0,
		"tenant": 1,
	}
)

Enum value maps for ConsolePortal.

View Source
var File_openapi_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddonsIdentifyRequest

type AddonsIdentifyRequest struct {
	Plugin            *BriefPluginInfo     `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`                                                // implemented plugin information.
	ImplementedAddons []*ImplementedAddons `protobuf:"bytes,2,rep,name=implemented_addons,json=implementedAddons,proto3" json:"implemented_addons,omitempty"` // implemented addons.
	// contains filtered or unexported fields
}

* The request value of the POST /v1/addons/identify, used when the plugin in the registration process implements the extension point of the registered plugin.

func (*AddonsIdentifyRequest) Descriptor deprecated

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

Deprecated: Use AddonsIdentifyRequest.ProtoReflect.Descriptor instead.

func (*AddonsIdentifyRequest) GetImplementedAddons

func (x *AddonsIdentifyRequest) GetImplementedAddons() []*ImplementedAddons

func (*AddonsIdentifyRequest) GetPlugin

func (x *AddonsIdentifyRequest) GetPlugin() *BriefPluginInfo

func (*AddonsIdentifyRequest) ProtoMessage

func (*AddonsIdentifyRequest) ProtoMessage()

func (*AddonsIdentifyRequest) ProtoReflect

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

func (*AddonsIdentifyRequest) Reset

func (x *AddonsIdentifyRequest) Reset()

func (*AddonsIdentifyRequest) String

func (x *AddonsIdentifyRequest) String() string

type AddonsIdentifyResponse

type AddonsIdentifyResponse struct {
	Res *Result `protobuf:"bytes,1,opt,name=res,proto3" json:"res,omitempty"` // detail result.
	// contains filtered or unexported fields
}

* The response value of the POST /v1/addons/identify, used when the plugin in the registration process implements the extension point of the registered plugin.

func (*AddonsIdentifyResponse) Descriptor deprecated

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

Deprecated: Use AddonsIdentifyResponse.ProtoReflect.Descriptor instead.

func (*AddonsIdentifyResponse) GetRes

func (x *AddonsIdentifyResponse) GetRes() *Result

func (*AddonsIdentifyResponse) ProtoMessage

func (*AddonsIdentifyResponse) ProtoMessage()

func (*AddonsIdentifyResponse) ProtoReflect

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

func (*AddonsIdentifyResponse) Reset

func (x *AddonsIdentifyResponse) Reset()

func (*AddonsIdentifyResponse) String

func (x *AddonsIdentifyResponse) String() string

type AddonsPoint

type AddonsPoint struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // addons point name.
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // addons point description.
	// contains filtered or unexported fields
}

* message plugin declares extension point.

func (*AddonsPoint) Descriptor deprecated

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

Deprecated: Use AddonsPoint.ProtoReflect.Descriptor instead.

func (*AddonsPoint) GetDesc

func (x *AddonsPoint) GetDesc() string

func (*AddonsPoint) GetName

func (x *AddonsPoint) GetName() string

func (*AddonsPoint) ProtoMessage

func (*AddonsPoint) ProtoMessage()

func (*AddonsPoint) ProtoReflect

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

func (*AddonsPoint) Reset

func (x *AddonsPoint) Reset()

func (*AddonsPoint) String

func (x *AddonsPoint) String() string

type BriefPluginInfo

type BriefPluginInfo struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`           // plugin id.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // plugin verison.
	// contains filtered or unexported fields
}

* message brief plugin information.

func (*BriefPluginInfo) Descriptor deprecated

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

Deprecated: Use BriefPluginInfo.ProtoReflect.Descriptor instead.

func (*BriefPluginInfo) GetId

func (x *BriefPluginInfo) GetId() string

func (*BriefPluginInfo) GetVersion

func (x *BriefPluginInfo) GetVersion() string

func (*BriefPluginInfo) ProtoMessage

func (*BriefPluginInfo) ProtoMessage()

func (*BriefPluginInfo) ProtoReflect

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

func (*BriefPluginInfo) Reset

func (x *BriefPluginInfo) Reset()

func (*BriefPluginInfo) String

func (x *BriefPluginInfo) String() string

type ConsoleEntry

type ConsoleEntry struct {
	Id       string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Icon     string          `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Path     string          `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Entry    string          `protobuf:"bytes,5,opt,name=entry,proto3" json:"entry,omitempty"`
	Children []*ConsoleEntry `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"`
	Portal   ConsolePortal   `protobuf:"varint,7,opt,name=portal,proto3,enum=openapi.v1.ConsolePortal" json:"portal,omitempty"`
	// contains filtered or unexported fields
}

plugin console entry.

func (*ConsoleEntry) Descriptor deprecated

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

Deprecated: Use ConsoleEntry.ProtoReflect.Descriptor instead.

func (*ConsoleEntry) GetChildren

func (x *ConsoleEntry) GetChildren() []*ConsoleEntry

func (*ConsoleEntry) GetEntry

func (x *ConsoleEntry) GetEntry() string

func (*ConsoleEntry) GetIcon

func (x *ConsoleEntry) GetIcon() string

func (*ConsoleEntry) GetId

func (x *ConsoleEntry) GetId() string

func (*ConsoleEntry) GetName

func (x *ConsoleEntry) GetName() string

func (*ConsoleEntry) GetPath

func (x *ConsoleEntry) GetPath() string

func (*ConsoleEntry) GetPortal

func (x *ConsoleEntry) GetPortal() ConsolePortal

func (*ConsoleEntry) ProtoMessage

func (*ConsoleEntry) ProtoMessage()

func (*ConsoleEntry) ProtoReflect

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

func (*ConsoleEntry) Reset

func (x *ConsoleEntry) Reset()

func (*ConsoleEntry) String

func (x *ConsoleEntry) String() string

type ConsolePortal

type ConsolePortal int32

console portal enum.

const (
	ConsolePortal_admin  ConsolePortal = 0 // admin portal.
	ConsolePortal_tenant ConsolePortal = 1 // tenant portal.
)

func (ConsolePortal) Descriptor

func (ConsolePortal) Enum

func (x ConsolePortal) Enum() *ConsolePortal

func (ConsolePortal) EnumDescriptor deprecated

func (ConsolePortal) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConsolePortal.Descriptor instead.

func (ConsolePortal) Number

func (ConsolePortal) String

func (x ConsolePortal) String() string

func (ConsolePortal) Type

type IdentifyResponse

type IdentifyResponse struct {
	Res                     *Result              `protobuf:"bytes,1,opt,name=res,proto3" json:"res,omitempty"`                                                      // detail result.
	PluginId                string               `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`                            // register plugin id.
	Version                 string               `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`                                              // register plugin version
	TkeelVersion            string               `protobuf:"bytes,4,opt,name=tkeel_version,json=tkeelVersion,proto3" json:"tkeel_version,omitempty"`                // register plugin depend tkeel version.
	AddonsPoint             []*AddonsPoint       `protobuf:"bytes,5,rep,name=addons_point,json=addonsPoint,proto3" json:"addons_point,omitempty"`                   // register plugin declares addons.
	ImplementedPlugin       []*ImplementedPlugin `protobuf:"bytes,6,rep,name=implemented_plugin,json=implementedPlugin,proto3" json:"implemented_plugin,omitempty"` // register plugin implemented plugin list.
	Entries                 []*ConsoleEntry      `protobuf:"bytes,7,rep,name=entries,proto3" json:"entries,omitempty"`                                              // register entries.
	Dependence              []*BriefPluginInfo   `protobuf:"bytes,8,rep,name=dependence,proto3" json:"dependence,omitempty"`                                        // dependent plugins.Dependencies must be all installed to install.
	Permissions             []*Permission        `protobuf:"bytes,9,rep,name=permissions,proto3" json:"permissions,omitempty"`                                      // plugins define permissions.
	DisableManualActivation bool                 ``                                                                                                                 // plugins disable tenant manual activation.
	/* 134-byte string literal not displayed */
	Profiles map[string]*ProfileSchema `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

* The response value of the GET /v1/identify, used when the plugin registered.

func (*IdentifyResponse) Descriptor deprecated

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

Deprecated: Use IdentifyResponse.ProtoReflect.Descriptor instead.

func (*IdentifyResponse) GetAddonsPoint

func (x *IdentifyResponse) GetAddonsPoint() []*AddonsPoint

func (*IdentifyResponse) GetDependence

func (x *IdentifyResponse) GetDependence() []*BriefPluginInfo

func (*IdentifyResponse) GetDisableManualActivation

func (x *IdentifyResponse) GetDisableManualActivation() bool

func (*IdentifyResponse) GetEntries

func (x *IdentifyResponse) GetEntries() []*ConsoleEntry

func (*IdentifyResponse) GetImplementedPlugin

func (x *IdentifyResponse) GetImplementedPlugin() []*ImplementedPlugin

func (*IdentifyResponse) GetPermissions

func (x *IdentifyResponse) GetPermissions() []*Permission

func (*IdentifyResponse) GetPluginId

func (x *IdentifyResponse) GetPluginId() string

func (*IdentifyResponse) GetProfiles

func (x *IdentifyResponse) GetProfiles() map[string]*ProfileSchema

func (*IdentifyResponse) GetRes

func (x *IdentifyResponse) GetRes() *Result

func (*IdentifyResponse) GetTkeelVersion

func (x *IdentifyResponse) GetTkeelVersion() string

func (*IdentifyResponse) GetVersion

func (x *IdentifyResponse) GetVersion() string

func (*IdentifyResponse) ProtoMessage

func (*IdentifyResponse) ProtoMessage()

func (*IdentifyResponse) ProtoReflect

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

func (*IdentifyResponse) Reset

func (x *IdentifyResponse) Reset()

func (*IdentifyResponse) String

func (x *IdentifyResponse) String() string

type ImplementedAddons

type ImplementedAddons struct {
	AddonsPoint         string `protobuf:"bytes,1,opt,name=addons_point,json=addonsPoint,proto3" json:"addons_point,omitempty"` //
	ImplementedEndpoint string `protobuf:"bytes,2,opt,name=implemented_endpoint,json=implementedEndpoint,proto3" json:"implemented_endpoint,omitempty"`
	// contains filtered or unexported fields
}

* message plugin declares implemented other plugin extension point.

func (*ImplementedAddons) Descriptor deprecated

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

Deprecated: Use ImplementedAddons.ProtoReflect.Descriptor instead.

func (*ImplementedAddons) GetAddonsPoint

func (x *ImplementedAddons) GetAddonsPoint() string

func (*ImplementedAddons) GetImplementedEndpoint

func (x *ImplementedAddons) GetImplementedEndpoint() string

func (*ImplementedAddons) ProtoMessage

func (*ImplementedAddons) ProtoMessage()

func (*ImplementedAddons) ProtoReflect

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

func (*ImplementedAddons) Reset

func (x *ImplementedAddons) Reset()

func (*ImplementedAddons) String

func (x *ImplementedAddons) String() string

type ImplementedPlugin

type ImplementedPlugin struct {
	Plugin *BriefPluginInfo     `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // implemented plugin information.
	Addons []*ImplementedAddons `protobuf:"bytes,2,rep,name=addons,proto3" json:"addons,omitempty"` // implemented addons point list.
	// contains filtered or unexported fields
}

* message plugin implemented other plugin.

func (*ImplementedPlugin) Descriptor deprecated

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

Deprecated: Use ImplementedPlugin.ProtoReflect.Descriptor instead.

func (*ImplementedPlugin) GetAddons

func (x *ImplementedPlugin) GetAddons() []*ImplementedAddons

func (*ImplementedPlugin) GetPlugin

func (x *ImplementedPlugin) GetPlugin() *BriefPluginInfo

func (*ImplementedPlugin) ProtoMessage

func (*ImplementedPlugin) ProtoMessage()

func (*ImplementedPlugin) ProtoReflect

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

func (*ImplementedPlugin) Reset

func (x *ImplementedPlugin) Reset()

func (*ImplementedPlugin) String

func (x *ImplementedPlugin) String() string

type Permission

type Permission struct {
	Id          string                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                   // permission id,Same-level permissions cannot be repeated.
	Name        string                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`               // permission name.
	Dependences []*Permission_Dependence `protobuf:"bytes,3,rep,name=dependences,proto3" json:"dependences,omitempty"` // dependences permission.
	Desc        string                   `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`               // permission desc
	Children    []*Permission            `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`       // children permission.
	// contains filtered or unexported fields
}

plugin define permission.

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetChildren

func (x *Permission) GetChildren() []*Permission

func (*Permission) GetDependences

func (x *Permission) GetDependences() []*Permission_Dependence

func (*Permission) GetDesc

func (x *Permission) GetDesc() string

func (*Permission) GetId

func (x *Permission) GetId() string

func (*Permission) GetName

func (x *Permission) GetName() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type Permission_Dependence

type Permission_Dependence struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // dependence path,The path format is plugin ID</parent permission
	// ID>/authority ID.The content in <> is variable.
	Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // dependencs desc.
	// contains filtered or unexported fields
}

func (*Permission_Dependence) Descriptor deprecated

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

Deprecated: Use Permission_Dependence.ProtoReflect.Descriptor instead.

func (*Permission_Dependence) GetDesc

func (x *Permission_Dependence) GetDesc() string

func (*Permission_Dependence) GetPath

func (x *Permission_Dependence) GetPath() string

func (*Permission_Dependence) ProtoMessage

func (*Permission_Dependence) ProtoMessage()

func (*Permission_Dependence) ProtoReflect

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

func (*Permission_Dependence) Reset

func (x *Permission_Dependence) Reset()

func (*Permission_Dependence) String

func (x *Permission_Dependence) String() string

type PluginStatus

type PluginStatus int32

* plugin state enum.

const (
	PluginStatus_UNKNOWN      PluginStatus = 0
	PluginStatus_WAIT_RUNNING PluginStatus = 1
	PluginStatus_ERR_REGISTER PluginStatus = 2
	PluginStatus_RUNNING      PluginStatus = 3
)

func (PluginStatus) Descriptor

func (PluginStatus) Enum

func (x PluginStatus) Enum() *PluginStatus

func (PluginStatus) EnumDescriptor deprecated

func (PluginStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PluginStatus.Descriptor instead.

func (PluginStatus) Number

func (PluginStatus) String

func (x PluginStatus) String() string

func (PluginStatus) Type

type ProfileSchema

type ProfileSchema struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Title       string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Default     int32  `protobuf:"varint,4,opt,name=default,proto3" json:"default,omitempty"`
	MultipleOf  int32  `protobuf:"varint,5,opt,name=multipleOf,proto3" json:"multipleOf,omitempty"`
	Minimum     int32  `protobuf:"varint,6,opt,name=minimum,proto3" json:"minimum,omitempty"`
	Maximum     int32  `protobuf:"varint,7,opt,name=maximum,proto3" json:"maximum,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileSchema) Descriptor deprecated

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

Deprecated: Use ProfileSchema.ProtoReflect.Descriptor instead.

func (*ProfileSchema) GetDefault

func (x *ProfileSchema) GetDefault() int32

func (*ProfileSchema) GetDescription

func (x *ProfileSchema) GetDescription() string

func (*ProfileSchema) GetMaximum

func (x *ProfileSchema) GetMaximum() int32

func (*ProfileSchema) GetMinimum

func (x *ProfileSchema) GetMinimum() int32

func (*ProfileSchema) GetMultipleOf

func (x *ProfileSchema) GetMultipleOf() int32

func (*ProfileSchema) GetTitle

func (x *ProfileSchema) GetTitle() string

func (*ProfileSchema) GetType

func (x *ProfileSchema) GetType() string

func (*ProfileSchema) ProtoMessage

func (*ProfileSchema) ProtoMessage()

func (*ProfileSchema) ProtoReflect

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

func (*ProfileSchema) Reset

func (x *ProfileSchema) Reset()

func (*ProfileSchema) String

func (x *ProfileSchema) String() string

type Result

type Result struct {
	Ret Retcode `protobuf:"varint,1,opt,name=ret,proto3,enum=openapi.v1.Retcode" json:"ret,omitempty"` // response retcode.
	Msg string  `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`                          // response ret msg.
	// contains filtered or unexported fields
}

* message result.

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetMsg

func (x *Result) GetMsg() string

func (*Result) GetRet

func (x *Result) GetRet() Retcode

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Retcode

type Retcode int32

* error code enum.

const (
	Retcode_OK             Retcode = 0
	Retcode_BAD_REQEUST    Retcode = 400
	Retcode_INTERNAL_ERROR Retcode = 500
)

func (Retcode) Descriptor

func (Retcode) Descriptor() protoreflect.EnumDescriptor

func (Retcode) Enum

func (x Retcode) Enum() *Retcode

func (Retcode) EnumDescriptor deprecated

func (Retcode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Retcode.Descriptor instead.

func (Retcode) Number

func (x Retcode) Number() protoreflect.EnumNumber

func (Retcode) String

func (x Retcode) String() string

func (Retcode) Type

func (Retcode) Type() protoreflect.EnumType

type StatusResponse

type StatusResponse struct {
	Res    *Result      `protobuf:"bytes,1,opt,name=res,proto3" json:"res,omitempty"`                                     // detail result
	Status PluginStatus `protobuf:"varint,2,opt,name=status,proto3,enum=openapi.v1.PluginStatus" json:"status,omitempty"` // plugin status.
	// contains filtered or unexported fields
}

* The request value of the GET /v1/Status. used when the tkeel checks the status of plugins regularly.

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetRes

func (x *StatusResponse) GetRes() *Result

func (*StatusResponse) GetStatus

func (x *StatusResponse) GetStatus() PluginStatus

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

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

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type TenantDisableRequest

type TenantDisableRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // unique tenant id.
	Extra    []byte `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`                       // extra data
	// contains filtered or unexported fields
}

* The request value of the POST /v1/tenant/disable, used when the tenant administrator disables the plugin.

func (*TenantDisableRequest) Descriptor deprecated

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

Deprecated: Use TenantDisableRequest.ProtoReflect.Descriptor instead.

func (*TenantDisableRequest) GetExtra

func (x *TenantDisableRequest) GetExtra() []byte

func (*TenantDisableRequest) GetTenantId

func (x *TenantDisableRequest) GetTenantId() string

func (*TenantDisableRequest) ProtoMessage

func (*TenantDisableRequest) ProtoMessage()

func (*TenantDisableRequest) ProtoReflect

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

func (*TenantDisableRequest) Reset

func (x *TenantDisableRequest) Reset()

func (*TenantDisableRequest) String

func (x *TenantDisableRequest) String() string

type TenantDisableResponse

type TenantDisableResponse struct {
	Res *Result `protobuf:"bytes,1,opt,name=res,proto3" json:"res,omitempty"` // detail result
	// contains filtered or unexported fields
}

* The response value of the POST /v1/tenant/disable, used when the tenant administrator disables the plugin.

func (*TenantDisableResponse) Descriptor deprecated

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

Deprecated: Use TenantDisableResponse.ProtoReflect.Descriptor instead.

func (*TenantDisableResponse) GetRes

func (x *TenantDisableResponse) GetRes() *Result

func (*TenantDisableResponse) ProtoMessage

func (*TenantDisableResponse) ProtoMessage()

func (*TenantDisableResponse) ProtoReflect

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

func (*TenantDisableResponse) Reset

func (x *TenantDisableResponse) Reset()

func (*TenantDisableResponse) String

func (x *TenantDisableResponse) String() string

type TenantEnableRequest

type TenantEnableRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // unique tenant id.
	Extra    []byte `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`                       // extra data
	// contains filtered or unexported fields
}

* The request value of the POST /v1/tenant/enable, used when the tenant administrator enables the plugin.

func (*TenantEnableRequest) Descriptor deprecated

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

Deprecated: Use TenantEnableRequest.ProtoReflect.Descriptor instead.

func (*TenantEnableRequest) GetExtra

func (x *TenantEnableRequest) GetExtra() []byte

func (*TenantEnableRequest) GetTenantId

func (x *TenantEnableRequest) GetTenantId() string

func (*TenantEnableRequest) ProtoMessage

func (*TenantEnableRequest) ProtoMessage()

func (*TenantEnableRequest) ProtoReflect

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

func (*TenantEnableRequest) Reset

func (x *TenantEnableRequest) Reset()

func (*TenantEnableRequest) String

func (x *TenantEnableRequest) String() string

type TenantEnableResponse

type TenantEnableResponse struct {
	Res *Result `protobuf:"bytes,1,opt,name=res,proto3" json:"res,omitempty"` // detail result
	// contains filtered or unexported fields
}

* The response value of the POST /v1/tenant/enable, used when the tenant administrator enables the plugin.

func (*TenantEnableResponse) Descriptor deprecated

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

Deprecated: Use TenantEnableResponse.ProtoReflect.Descriptor instead.

func (*TenantEnableResponse) GetRes

func (x *TenantEnableResponse) GetRes() *Result

func (*TenantEnableResponse) ProtoMessage

func (*TenantEnableResponse) ProtoMessage()

func (*TenantEnableResponse) ProtoReflect

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

func (*TenantEnableResponse) Reset

func (x *TenantEnableResponse) Reset()

func (*TenantEnableResponse) String

func (x *TenantEnableResponse) String() string

Jump to

Keyboard shortcuts

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