Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
- func RegisterRepositoryServer(s grpc.ServiceRegistrar, srv RepositoryServer)
- type PluginClient
- type PluginInfo
- func (*PluginInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInfo) GetCapability() *_struct.Struct
- func (x *PluginInfo) GetCreatedAt() string
- func (x *PluginInfo) GetDomainId() string
- func (x *PluginInfo) GetImage() string
- func (x *PluginInfo) GetLabels() *_struct.ListValue
- func (x *PluginInfo) GetName() string
- func (x *PluginInfo) GetPluginId() string
- func (x *PluginInfo) GetProvider() string
- func (x *PluginInfo) GetRegistryConfig() *_struct.Struct
- func (x *PluginInfo) GetRegistryType() PublicRegistryType
- func (x *PluginInfo) GetRegistryUrl() string
- func (x *PluginInfo) GetRepositoryInfo() *RepositoryInfo
- func (x *PluginInfo) GetResourceType() string
- func (x *PluginInfo) GetState() PluginInfo_State
- func (x *PluginInfo) GetTags() *_struct.Struct
- func (x *PluginInfo) GetUpdatedAt() string
- func (*PluginInfo) ProtoMessage()
- func (x *PluginInfo) ProtoReflect() protoreflect.Message
- func (x *PluginInfo) Reset()
- func (x *PluginInfo) String() string
- type PluginInfo_State
- func (PluginInfo_State) Descriptor() protoreflect.EnumDescriptor
- func (x PluginInfo_State) Enum() *PluginInfo_State
- func (PluginInfo_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x PluginInfo_State) Number() protoreflect.EnumNumber
- func (x PluginInfo_State) String() string
- func (PluginInfo_State) Type() protoreflect.EnumType
- type PluginQuery
- func (*PluginQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PluginQuery) GetName() string
- func (x *PluginQuery) GetPluginId() string
- func (x *PluginQuery) GetProvider() string
- func (x *PluginQuery) GetQuery() *v2.Query
- func (x *PluginQuery) GetRegistryType() PublicRegistryType
- func (x *PluginQuery) GetRepositoryId() string
- func (x *PluginQuery) GetResourceType() string
- func (x *PluginQuery) GetState() PluginQuery_State
- func (*PluginQuery) ProtoMessage()
- func (x *PluginQuery) ProtoReflect() protoreflect.Message
- func (x *PluginQuery) Reset()
- func (x *PluginQuery) String() string
- type PluginQuery_State
- func (PluginQuery_State) Descriptor() protoreflect.EnumDescriptor
- func (x PluginQuery_State) Enum() *PluginQuery_State
- func (PluginQuery_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x PluginQuery_State) Number() protoreflect.EnumNumber
- func (x PluginQuery_State) String() string
- func (PluginQuery_State) Type() protoreflect.EnumType
- type PluginRequest
- type PluginServer
- type PluginStatQuery
- func (*PluginStatQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PluginStatQuery) GetQuery() *v2.StatisticsQuery
- func (x *PluginStatQuery) GetRepositoryId() string
- func (*PluginStatQuery) ProtoMessage()
- func (x *PluginStatQuery) ProtoReflect() protoreflect.Message
- func (x *PluginStatQuery) Reset()
- func (x *PluginStatQuery) String() string
- type PluginsInfo
- func (*PluginsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PluginsInfo) GetResults() []*PluginInfo
- func (x *PluginsInfo) GetTotalCount() int32
- func (*PluginsInfo) ProtoMessage()
- func (x *PluginsInfo) ProtoReflect() protoreflect.Message
- func (x *PluginsInfo) Reset()
- func (x *PluginsInfo) String() string
- type PublicRegistryType
- func (PublicRegistryType) Descriptor() protoreflect.EnumDescriptor
- func (x PublicRegistryType) Enum() *PublicRegistryType
- func (PublicRegistryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PublicRegistryType) Number() protoreflect.EnumNumber
- func (x PublicRegistryType) String() string
- func (PublicRegistryType) Type() protoreflect.EnumType
- type RegisterPluginRequest
- func (*RegisterPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPluginRequest) GetCapability() *_struct.Struct
- func (x *RegisterPluginRequest) GetImage() string
- func (x *RegisterPluginRequest) GetLabels() *_struct.ListValue
- func (x *RegisterPluginRequest) GetName() string
- func (x *RegisterPluginRequest) GetPluginId() string
- func (x *RegisterPluginRequest) GetProvider() string
- func (x *RegisterPluginRequest) GetRegistryConfig() *_struct.Struct
- func (x *RegisterPluginRequest) GetRegistryType() PublicRegistryType
- func (x *RegisterPluginRequest) GetResourceType() string
- func (x *RegisterPluginRequest) GetTags() *_struct.Struct
- func (*RegisterPluginRequest) ProtoMessage()
- func (x *RegisterPluginRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPluginRequest) Reset()
- func (x *RegisterPluginRequest) String() string
- type RepositoriesInfo
- func (*RepositoriesInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoriesInfo) GetResults() []*RepositoryInfo
- func (x *RepositoriesInfo) GetTotalCount() int32
- func (*RepositoriesInfo) ProtoMessage()
- func (x *RepositoriesInfo) ProtoReflect() protoreflect.Message
- func (x *RepositoriesInfo) Reset()
- func (x *RepositoriesInfo) String() string
- type RepositoryClient
- type RepositoryInfo
- func (*RepositoryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfo) GetEndpoint() string
- func (x *RepositoryInfo) GetName() string
- func (x *RepositoryInfo) GetRepositoryId() string
- func (x *RepositoryInfo) GetRepositoryType() string
- func (*RepositoryInfo) ProtoMessage()
- func (x *RepositoryInfo) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfo) Reset()
- func (x *RepositoryInfo) String() string
- type RepositoryPluginRequest
- func (*RepositoryPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryPluginRequest) GetPluginId() string
- func (x *RepositoryPluginRequest) GetRepositoryId() string
- func (*RepositoryPluginRequest) ProtoMessage()
- func (x *RepositoryPluginRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryPluginRequest) Reset()
- func (x *RepositoryPluginRequest) String() string
- type RepositoryQuery
- func (*RepositoryQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryQuery) GetRepositoryId() string
- func (x *RepositoryQuery) GetRepositoryType() string
- func (*RepositoryQuery) ProtoMessage()
- func (x *RepositoryQuery) ProtoReflect() protoreflect.Message
- func (x *RepositoryQuery) Reset()
- func (x *RepositoryQuery) String() string
- type RepositoryServer
- type UnimplementedPluginServer
- func (UnimplementedPluginServer) Deregister(context.Context, *PluginRequest) (*empty.Empty, error)
- func (UnimplementedPluginServer) Disable(context.Context, *PluginRequest) (*PluginInfo, error)
- func (UnimplementedPluginServer) Enable(context.Context, *PluginRequest) (*PluginInfo, error)
- func (UnimplementedPluginServer) Get(context.Context, *RepositoryPluginRequest) (*PluginInfo, error)
- func (UnimplementedPluginServer) GetVersions(context.Context, *RepositoryPluginRequest) (*VersionsInfo, error)
- func (UnimplementedPluginServer) List(context.Context, *PluginQuery) (*PluginsInfo, error)
- func (UnimplementedPluginServer) Register(context.Context, *RegisterPluginRequest) (*PluginInfo, error)
- func (UnimplementedPluginServer) Update(context.Context, *UpdatePluginRequest) (*PluginInfo, error)
- type UnimplementedRepositoryServer
- type UnsafePluginServer
- type UnsafeRepositoryServer
- type UpdatePluginRequest
- func (*UpdatePluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePluginRequest) GetCapability() *_struct.Struct
- func (x *UpdatePluginRequest) GetLabels() *_struct.ListValue
- func (x *UpdatePluginRequest) GetName() string
- func (x *UpdatePluginRequest) GetPluginId() string
- func (x *UpdatePluginRequest) GetTags() *_struct.Struct
- func (*UpdatePluginRequest) ProtoMessage()
- func (x *UpdatePluginRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePluginRequest) Reset()
- func (x *UpdatePluginRequest) String() string
- type VersionsInfo
- func (*VersionsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionsInfo) GetResults() []string
- func (x *VersionsInfo) GetTotalCount() int32
- func (x *VersionsInfo) GetVersion() []string
- func (*VersionsInfo) ProtoMessage()
- func (x *VersionsInfo) ProtoReflect() protoreflect.Message
- func (x *VersionsInfo) Reset()
- func (x *VersionsInfo) String() string
Constants ¶
const ( Plugin_Register_FullMethodName = "/spaceone.api.repository.v1.Plugin/register" Plugin_Update_FullMethodName = "/spaceone.api.repository.v1.Plugin/update" Plugin_Deregister_FullMethodName = "/spaceone.api.repository.v1.Plugin/deregister" Plugin_Enable_FullMethodName = "/spaceone.api.repository.v1.Plugin/enable" Plugin_Disable_FullMethodName = "/spaceone.api.repository.v1.Plugin/disable" Plugin_GetVersions_FullMethodName = "/spaceone.api.repository.v1.Plugin/get_versions" Plugin_Get_FullMethodName = "/spaceone.api.repository.v1.Plugin/get" Plugin_List_FullMethodName = "/spaceone.api.repository.v1.Plugin/list" )
const (
Repository_List_FullMethodName = "/spaceone.api.repository.v1.Repository/list"
)
Variables ¶
var ( PublicRegistryType_name = map[int32]string{ 0: "NONE_REGISTRY_TYPE", 1: "DOCKER_HUB", 2: "AWS_PRIVATE_ECR", 3: "HARBOR", 4: "GITHUB", } PublicRegistryType_value = map[string]int32{ "NONE_REGISTRY_TYPE": 0, "DOCKER_HUB": 1, "AWS_PRIVATE_ECR": 2, "HARBOR": 3, "GITHUB": 4, } )
Enum value maps for PublicRegistryType.
var ( PluginQuery_State_name = map[int32]string{ 0: "NONE", 1: "ENABLED", 2: "DISABLED", } PluginQuery_State_value = map[string]int32{ "NONE": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for PluginQuery_State.
var ( PluginInfo_State_name = map[int32]string{ 0: "NONE", 1: "ENABLED", 2: "DISABLED", } PluginInfo_State_value = map[string]int32{ "NONE": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for PluginInfo_State.
var File_spaceone_api_repository_v1_plugin_proto protoreflect.FileDescriptor
var File_spaceone_api_repository_v1_repository_proto protoreflect.FileDescriptor
var Plugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spaceone.api.repository.v1.Plugin", HandlerType: (*PluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "register", Handler: _Plugin_Register_Handler, }, { MethodName: "update", Handler: _Plugin_Update_Handler, }, { MethodName: "deregister", Handler: _Plugin_Deregister_Handler, }, { MethodName: "enable", Handler: _Plugin_Enable_Handler, }, { MethodName: "disable", Handler: _Plugin_Disable_Handler, }, { MethodName: "get_versions", Handler: _Plugin_GetVersions_Handler, }, { MethodName: "get", Handler: _Plugin_Get_Handler, }, { MethodName: "list", Handler: _Plugin_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spaceone/api/repository/v1/plugin.proto", }
Plugin_ServiceDesc is the grpc.ServiceDesc for Plugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Repository_ServiceDesc = grpc.ServiceDesc{ ServiceName: "spaceone.api.repository.v1.Repository", HandlerType: (*RepositoryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "list", Handler: _Repository_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "spaceone/api/repository/v1/repository.proto", }
Repository_ServiceDesc is the grpc.ServiceDesc for Repository service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginServer ¶
func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)
func RegisterRepositoryServer ¶
func RegisterRepositoryServer(s grpc.ServiceRegistrar, srv RepositoryServer)
Types ¶
type PluginClient ¶
type PluginClient interface { // Registers a Plugin. The parameter `registry_type`, meaning container registry type, can be either `DOCKER_HUB` or `AWS_PRIVATE_ECR`. The default value of the `registry_type` is `DOCKER_HUB`. The parameter `registry_url` is required if the `registry_type` is not `DOCKER_HUB`. The parameter `image` is limited to 40 characters. Register(ctx context.Context, in *RegisterPluginRequest, opts ...grpc.CallOption) (*PluginInfo, error) // Updates a specific Plugin registered. A Plugin can be updated only if its Repository's `repository_type` is `local`. You can make changes in Plugin settings, including `template` and its options, `schema`. Update(ctx context.Context, in *UpdatePluginRequest, opts ...grpc.CallOption) (*PluginInfo, error) // Deregisters and deletes a specific Plugin. You must specify the `plugin_id` of the Plugin to deregister. Deregister(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Enables a specific Plugin. If the Plugin is enabled, the Plugin can be used as its parameter `state` becomes `ENABLED`. Enable(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*PluginInfo, error) // Disables a specific Plugin. If the Plugin is disabled, the Plugin cannot be used as its parameter `state` becomes `DISABLED`. Disable(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*PluginInfo, error) // Gets all version data of a specific Plugin from its Repository. The parameter `plugin_id` is used as an identifier of a Plugin to get version data. GetVersions(ctx context.Context, in *RepositoryPluginRequest, opts ...grpc.CallOption) (*VersionsInfo, error) // Gets a specific Plugin. Prints detailed information about the Plugin, including `image`, `registry_url`, and `state`. Get(ctx context.Context, in *RepositoryPluginRequest, opts ...grpc.CallOption) (*PluginInfo, error) // Gets a list of all Plugins registered in a specific Repository. The parameter `repository_id` is used as an identifier of a Repository to get its list of Plugins. You can use a query to get a filtered list of Plugins. List(ctx context.Context, in *PluginQuery, opts ...grpc.CallOption) (*PluginsInfo, error) }
PluginClient is the client API for Plugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPluginClient ¶
func NewPluginClient(cc grpc.ClientConnInterface) PluginClient
type PluginInfo ¶
type PluginInfo struct { PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` State PluginInfo_State `protobuf:"varint,3,opt,name=state,proto3,enum=spaceone.api.repository.v1.PluginInfo_State" json:"state,omitempty"` ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` Provider string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"` RegistryType PublicRegistryType `` /* 149-byte string literal not displayed */ RegistryUrl string `protobuf:"bytes,8,opt,name=registry_url,json=registryUrl,proto3" json:"registry_url,omitempty"` RegistryConfig *_struct.Struct `protobuf:"bytes,9,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` Capability *_struct.Struct `protobuf:"bytes,10,opt,name=capability,proto3" json:"capability,omitempty"` Labels *_struct.ListValue `protobuf:"bytes,11,opt,name=labels,proto3" json:"labels,omitempty"` Tags *_struct.Struct `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"` DomainId string `protobuf:"bytes,21,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` RepositoryInfo *RepositoryInfo `protobuf:"bytes,22,opt,name=repository_info,json=repositoryInfo,proto3" json:"repository_info,omitempty"` CreatedAt string `protobuf:"bytes,31,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,32,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
{ "plugin_id": "plugin-jira-noti-protocol", "name": "JIRA Issue notification", "image": "pyengine/plugin-jira-noti-protocol", "registry_url": "registry.hub.docker.com", "state": "ENABLED", "service_type": "notification.Procotol", "provider": "atlassian", "registry_type": "DOCKER_HUB", "registry_config": {}, "capability": { "supported_schema": [ "atlassian_jira" ] }, "template": { "options": { "schema": { "type": "object", "required": [], "properties": { "project_id": { "type": "string", "title": "Project ID", "minLength": 4.0 }, "sa_name": { "title": "Service Account", "type": "string", "minLength": 4.0 } } } } }, "labels": [ "jira", "atlassian", "notification" ], "tags": { "description": "Atlassian JIRA Issue notification", "icon": "https://icon-path/jira-icon.png" }, "repository_info": { "repository_id": "repo-123456789012", "name": "Marketplace", "repository_type": "remote" }, "domain_id": "domain-123456789012", "created_at": "2022-01-01T08:02:38.094Z", "updated_at": "2022-01-01T08:02:38.094Z" }
func (*PluginInfo) Descriptor
deprecated
func (*PluginInfo) Descriptor() ([]byte, []int)
Deprecated: Use PluginInfo.ProtoReflect.Descriptor instead.
func (*PluginInfo) GetCapability ¶
func (x *PluginInfo) GetCapability() *_struct.Struct
func (*PluginInfo) GetCreatedAt ¶
func (x *PluginInfo) GetCreatedAt() string
func (*PluginInfo) GetDomainId ¶
func (x *PluginInfo) GetDomainId() string
func (*PluginInfo) GetImage ¶
func (x *PluginInfo) GetImage() string
func (*PluginInfo) GetLabels ¶
func (x *PluginInfo) GetLabels() *_struct.ListValue
func (*PluginInfo) GetName ¶
func (x *PluginInfo) GetName() string
func (*PluginInfo) GetPluginId ¶
func (x *PluginInfo) GetPluginId() string
func (*PluginInfo) GetProvider ¶
func (x *PluginInfo) GetProvider() string
func (*PluginInfo) GetRegistryConfig ¶
func (x *PluginInfo) GetRegistryConfig() *_struct.Struct
func (*PluginInfo) GetRegistryType ¶
func (x *PluginInfo) GetRegistryType() PublicRegistryType
func (*PluginInfo) GetRegistryUrl ¶
func (x *PluginInfo) GetRegistryUrl() string
func (*PluginInfo) GetRepositoryInfo ¶
func (x *PluginInfo) GetRepositoryInfo() *RepositoryInfo
func (*PluginInfo) GetResourceType ¶
func (x *PluginInfo) GetResourceType() string
func (*PluginInfo) GetState ¶
func (x *PluginInfo) GetState() PluginInfo_State
func (*PluginInfo) GetTags ¶
func (x *PluginInfo) GetTags() *_struct.Struct
func (*PluginInfo) GetUpdatedAt ¶
func (x *PluginInfo) GetUpdatedAt() string
func (*PluginInfo) ProtoMessage ¶
func (*PluginInfo) ProtoMessage()
func (*PluginInfo) ProtoReflect ¶
func (x *PluginInfo) ProtoReflect() protoreflect.Message
func (*PluginInfo) Reset ¶
func (x *PluginInfo) Reset()
func (*PluginInfo) String ¶
func (x *PluginInfo) String() string
type PluginInfo_State ¶
type PluginInfo_State int32
const ( PluginInfo_NONE PluginInfo_State = 0 PluginInfo_ENABLED PluginInfo_State = 1 PluginInfo_DISABLED PluginInfo_State = 2 )
func (PluginInfo_State) Descriptor ¶
func (PluginInfo_State) Descriptor() protoreflect.EnumDescriptor
func (PluginInfo_State) Enum ¶
func (x PluginInfo_State) Enum() *PluginInfo_State
func (PluginInfo_State) EnumDescriptor
deprecated
func (PluginInfo_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use PluginInfo_State.Descriptor instead.
func (PluginInfo_State) Number ¶
func (x PluginInfo_State) Number() protoreflect.EnumNumber
func (PluginInfo_State) String ¶
func (x PluginInfo_State) String() string
func (PluginInfo_State) Type ¶
func (PluginInfo_State) Type() protoreflect.EnumType
type PluginQuery ¶
type PluginQuery struct { // +optional Query *v2.Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // +optional PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // +optional Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // +optional State PluginQuery_State `protobuf:"varint,4,opt,name=state,proto3,enum=spaceone.api.repository.v1.PluginQuery_State" json:"state,omitempty"` // +optional ResourceType string `protobuf:"bytes,5,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` // +optional Provider string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"` // +optional RegistryType PublicRegistryType `` /* 149-byte string literal not displayed */ // +optional RepositoryId string `protobuf:"bytes,21,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
{ "query": {}, "repository_id": "repo-123456789012" }
func (*PluginQuery) Descriptor
deprecated
func (*PluginQuery) Descriptor() ([]byte, []int)
Deprecated: Use PluginQuery.ProtoReflect.Descriptor instead.
func (*PluginQuery) GetName ¶
func (x *PluginQuery) GetName() string
func (*PluginQuery) GetPluginId ¶
func (x *PluginQuery) GetPluginId() string
func (*PluginQuery) GetProvider ¶
func (x *PluginQuery) GetProvider() string
func (*PluginQuery) GetQuery ¶
func (x *PluginQuery) GetQuery() *v2.Query
func (*PluginQuery) GetRegistryType ¶
func (x *PluginQuery) GetRegistryType() PublicRegistryType
func (*PluginQuery) GetRepositoryId ¶
func (x *PluginQuery) GetRepositoryId() string
func (*PluginQuery) GetResourceType ¶
func (x *PluginQuery) GetResourceType() string
func (*PluginQuery) GetState ¶
func (x *PluginQuery) GetState() PluginQuery_State
func (*PluginQuery) ProtoMessage ¶
func (*PluginQuery) ProtoMessage()
func (*PluginQuery) ProtoReflect ¶
func (x *PluginQuery) ProtoReflect() protoreflect.Message
func (*PluginQuery) Reset ¶
func (x *PluginQuery) Reset()
func (*PluginQuery) String ¶
func (x *PluginQuery) String() string
type PluginQuery_State ¶
type PluginQuery_State int32
const ( PluginQuery_NONE PluginQuery_State = 0 PluginQuery_ENABLED PluginQuery_State = 1 PluginQuery_DISABLED PluginQuery_State = 2 )
func (PluginQuery_State) Descriptor ¶
func (PluginQuery_State) Descriptor() protoreflect.EnumDescriptor
func (PluginQuery_State) Enum ¶
func (x PluginQuery_State) Enum() *PluginQuery_State
func (PluginQuery_State) EnumDescriptor
deprecated
func (PluginQuery_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use PluginQuery_State.Descriptor instead.
func (PluginQuery_State) Number ¶
func (x PluginQuery_State) Number() protoreflect.EnumNumber
func (PluginQuery_State) String ¶
func (x PluginQuery_State) String() string
func (PluginQuery_State) Type ¶
func (PluginQuery_State) Type() protoreflect.EnumType
type PluginRequest ¶
type PluginRequest struct { PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // contains filtered or unexported fields }
{ "plugin_id": "plugin-aws-sns-mon-webhook", }
func (*PluginRequest) Descriptor
deprecated
func (*PluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use PluginRequest.ProtoReflect.Descriptor instead.
func (*PluginRequest) GetPluginId ¶
func (x *PluginRequest) GetPluginId() string
func (*PluginRequest) ProtoMessage ¶
func (*PluginRequest) ProtoMessage()
func (*PluginRequest) ProtoReflect ¶
func (x *PluginRequest) ProtoReflect() protoreflect.Message
func (*PluginRequest) Reset ¶
func (x *PluginRequest) Reset()
func (*PluginRequest) String ¶
func (x *PluginRequest) String() string
type PluginServer ¶
type PluginServer interface { // Registers a Plugin. The parameter `registry_type`, meaning container registry type, can be either `DOCKER_HUB` or `AWS_PRIVATE_ECR`. The default value of the `registry_type` is `DOCKER_HUB`. The parameter `registry_url` is required if the `registry_type` is not `DOCKER_HUB`. The parameter `image` is limited to 40 characters. Register(context.Context, *RegisterPluginRequest) (*PluginInfo, error) // Updates a specific Plugin registered. A Plugin can be updated only if its Repository's `repository_type` is `local`. You can make changes in Plugin settings, including `template` and its options, `schema`. Update(context.Context, *UpdatePluginRequest) (*PluginInfo, error) // Deregisters and deletes a specific Plugin. You must specify the `plugin_id` of the Plugin to deregister. Deregister(context.Context, *PluginRequest) (*empty.Empty, error) // Enables a specific Plugin. If the Plugin is enabled, the Plugin can be used as its parameter `state` becomes `ENABLED`. Enable(context.Context, *PluginRequest) (*PluginInfo, error) // Disables a specific Plugin. If the Plugin is disabled, the Plugin cannot be used as its parameter `state` becomes `DISABLED`. Disable(context.Context, *PluginRequest) (*PluginInfo, error) // Gets all version data of a specific Plugin from its Repository. The parameter `plugin_id` is used as an identifier of a Plugin to get version data. GetVersions(context.Context, *RepositoryPluginRequest) (*VersionsInfo, error) // Gets a specific Plugin. Prints detailed information about the Plugin, including `image`, `registry_url`, and `state`. Get(context.Context, *RepositoryPluginRequest) (*PluginInfo, error) // Gets a list of all Plugins registered in a specific Repository. The parameter `repository_id` is used as an identifier of a Repository to get its list of Plugins. You can use a query to get a filtered list of Plugins. List(context.Context, *PluginQuery) (*PluginsInfo, error) // contains filtered or unexported methods }
PluginServer is the server API for Plugin service. All implementations must embed UnimplementedPluginServer for forward compatibility
type PluginStatQuery ¶
type PluginStatQuery struct { Query *v2.StatisticsQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
func (*PluginStatQuery) Descriptor
deprecated
func (*PluginStatQuery) Descriptor() ([]byte, []int)
Deprecated: Use PluginStatQuery.ProtoReflect.Descriptor instead.
func (*PluginStatQuery) GetQuery ¶
func (x *PluginStatQuery) GetQuery() *v2.StatisticsQuery
func (*PluginStatQuery) GetRepositoryId ¶
func (x *PluginStatQuery) GetRepositoryId() string
func (*PluginStatQuery) ProtoMessage ¶
func (*PluginStatQuery) ProtoMessage()
func (*PluginStatQuery) ProtoReflect ¶
func (x *PluginStatQuery) ProtoReflect() protoreflect.Message
func (*PluginStatQuery) Reset ¶
func (x *PluginStatQuery) Reset()
func (*PluginStatQuery) String ¶
func (x *PluginStatQuery) String() string
type PluginsInfo ¶
type PluginsInfo struct { Results []*PluginInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
{ "results": [ { "plugin_id": "plugin-api-direct-mon-webhook", "name": "API Direct Webhook", "image": "pyengine/plugin-api-direct-mon-webhook", "registry_url": "registry.hub.docker.com", "state": "ENABLED", "service_type": "monitoring.Webhook", "registry_type": "DOCKER_HUB", "registry_config": {}, "capability": {}, "template": {}, "labels": [], "tags": { "icon": "https://icon-url/icon.svg" }, "repository_info": { "repository_id": "repo-123456789012", "name": "Marketplace", "repository_type": "remote" }, "domain_id": "domain-987654321098", "created_at": "2022-01-01T03:25:10.408Z", "updated_at": "2022-01-01T03:25:10.408Z" }, { "plugin_id": "plugin-aws-hyperbilling-cost-datasource", "name": "AWS HyperBilling Cost Analysis Data Source", "image": "pyengine/plugin-aws-hyperbilling-cost-datasource", "registry_url": "registry.hub.docker.com", "state": "ENABLED", "service_type": "cost_analysis.DataSoruce", "registry_type": "DOCKER_HUB", "registry_config": {}, "capability": {}, "template": {}, "labels": [], "tags": {}, "repository_info": { "repository_id": "repo-123456789012", "name": "Marketplace", "repository_type": "remote" }, "domain_id": "domain-987654321098", "created_at": "2022-01-01T04:56:55.082Z", "updated_at": "2022-01-01T04:56:55.082Z" } ], "total_count": 2 }
func (*PluginsInfo) Descriptor
deprecated
func (*PluginsInfo) Descriptor() ([]byte, []int)
Deprecated: Use PluginsInfo.ProtoReflect.Descriptor instead.
func (*PluginsInfo) GetResults ¶
func (x *PluginsInfo) GetResults() []*PluginInfo
func (*PluginsInfo) GetTotalCount ¶
func (x *PluginsInfo) GetTotalCount() int32
func (*PluginsInfo) ProtoMessage ¶
func (*PluginsInfo) ProtoMessage()
func (*PluginsInfo) ProtoReflect ¶
func (x *PluginsInfo) ProtoReflect() protoreflect.Message
func (*PluginsInfo) Reset ¶
func (x *PluginsInfo) Reset()
func (*PluginsInfo) String ¶
func (x *PluginsInfo) String() string
type PublicRegistryType ¶
type PublicRegistryType int32
const ( PublicRegistryType_NONE_REGISTRY_TYPE PublicRegistryType = 0 PublicRegistryType_DOCKER_HUB PublicRegistryType = 1 PublicRegistryType_AWS_PRIVATE_ECR PublicRegistryType = 2 PublicRegistryType_HARBOR PublicRegistryType = 3 PublicRegistryType_GITHUB PublicRegistryType = 4 )
func (PublicRegistryType) Descriptor ¶
func (PublicRegistryType) Descriptor() protoreflect.EnumDescriptor
func (PublicRegistryType) Enum ¶
func (x PublicRegistryType) Enum() *PublicRegistryType
func (PublicRegistryType) EnumDescriptor
deprecated
func (PublicRegistryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PublicRegistryType.Descriptor instead.
func (PublicRegistryType) Number ¶
func (x PublicRegistryType) Number() protoreflect.EnumNumber
func (PublicRegistryType) String ¶
func (x PublicRegistryType) String() string
func (PublicRegistryType) Type ¶
func (PublicRegistryType) Type() protoreflect.EnumType
type RegisterPluginRequest ¶
type RegisterPluginRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // +optional Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` // +optional RegistryType PublicRegistryType `` /* 149-byte string literal not displayed */ // +optional RegistryConfig *_struct.Struct `protobuf:"bytes,6,opt,name=registry_config,json=registryConfig,proto3" json:"registry_config,omitempty"` // +optional Capability *_struct.Struct `protobuf:"bytes,7,opt,name=capability,proto3" json:"capability,omitempty"` // +optional Labels *_struct.ListValue `protobuf:"bytes,8,opt,name=labels,proto3" json:"labels,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"` // if plugin_id is not provided, it will be generated by image name // +optional PluginId string `protobuf:"bytes,10,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // contains filtered or unexported fields }
{ "name": "JIRA Software Collector", "service_type": "inventory.Collector", "image": "cloudforet/plugin-jira-noti-protocol", "registry_type": "DOCKER_HUB", "registry_config": {}, "provider": "jira", "capability": { "supported_schema": [ "jira-software-secret-api-token" ] }, "labels": [ "jira", "atlassian", "notification" ], "tags": { "description": "Atlassian JIRA Issue notification", "icon": "https://icon-path/jira-icon.png" } }
func (*RegisterPluginRequest) Descriptor
deprecated
func (*RegisterPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPluginRequest.ProtoReflect.Descriptor instead.
func (*RegisterPluginRequest) GetCapability ¶
func (x *RegisterPluginRequest) GetCapability() *_struct.Struct
func (*RegisterPluginRequest) GetImage ¶
func (x *RegisterPluginRequest) GetImage() string
func (*RegisterPluginRequest) GetLabels ¶
func (x *RegisterPluginRequest) GetLabels() *_struct.ListValue
func (*RegisterPluginRequest) GetName ¶
func (x *RegisterPluginRequest) GetName() string
func (*RegisterPluginRequest) GetPluginId ¶
func (x *RegisterPluginRequest) GetPluginId() string
func (*RegisterPluginRequest) GetProvider ¶
func (x *RegisterPluginRequest) GetProvider() string
func (*RegisterPluginRequest) GetRegistryConfig ¶
func (x *RegisterPluginRequest) GetRegistryConfig() *_struct.Struct
func (*RegisterPluginRequest) GetRegistryType ¶
func (x *RegisterPluginRequest) GetRegistryType() PublicRegistryType
func (*RegisterPluginRequest) GetResourceType ¶
func (x *RegisterPluginRequest) GetResourceType() string
func (*RegisterPluginRequest) GetTags ¶
func (x *RegisterPluginRequest) GetTags() *_struct.Struct
func (*RegisterPluginRequest) ProtoMessage ¶
func (*RegisterPluginRequest) ProtoMessage()
func (*RegisterPluginRequest) ProtoReflect ¶
func (x *RegisterPluginRequest) ProtoReflect() protoreflect.Message
func (*RegisterPluginRequest) Reset ¶
func (x *RegisterPluginRequest) Reset()
func (*RegisterPluginRequest) String ¶
func (x *RegisterPluginRequest) String() string
type RepositoriesInfo ¶
type RepositoriesInfo struct { Results []*RepositoryInfo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
{ "results": [ { "repository_id": "repo-123456789012", "name": "Open Source Marketplace", "repository_type": "remote", "endpoint": "grpc+ssl://repository.portal.spaceone.megazone.io:443", } ], "total_count": 1 }
func (*RepositoriesInfo) Descriptor
deprecated
func (*RepositoriesInfo) Descriptor() ([]byte, []int)
Deprecated: Use RepositoriesInfo.ProtoReflect.Descriptor instead.
func (*RepositoriesInfo) GetResults ¶
func (x *RepositoriesInfo) GetResults() []*RepositoryInfo
func (*RepositoriesInfo) GetTotalCount ¶
func (x *RepositoriesInfo) GetTotalCount() int32
func (*RepositoriesInfo) ProtoMessage ¶
func (*RepositoriesInfo) ProtoMessage()
func (*RepositoriesInfo) ProtoReflect ¶
func (x *RepositoriesInfo) ProtoReflect() protoreflect.Message
func (*RepositoriesInfo) Reset ¶
func (x *RepositoriesInfo) Reset()
func (*RepositoriesInfo) String ¶
func (x *RepositoriesInfo) String() string
type RepositoryClient ¶
type RepositoryClient interface { // Gets a list of all Repositories regardless of `domain`. You can use a query to get a filtered list of Repositories. List(ctx context.Context, in *RepositoryQuery, opts ...grpc.CallOption) (*RepositoriesInfo, error) }
RepositoryClient is the client API for Repository service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRepositoryClient ¶
func NewRepositoryClient(cc grpc.ClientConnInterface) RepositoryClient
type RepositoryInfo ¶
type RepositoryInfo struct { RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` RepositoryType string `protobuf:"bytes,3,opt,name=repository_type,json=repositoryType,proto3" json:"repository_type,omitempty"` Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
{ "repository_id": "repo-123456789012", "name": "Open Source Marketplace", "repository_type": "remote", "endpoint": "grpc+ssl://repository.portal.spaceone.megazone.io:443", }
func (*RepositoryInfo) Descriptor
deprecated
func (*RepositoryInfo) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfo.ProtoReflect.Descriptor instead.
func (*RepositoryInfo) GetEndpoint ¶
func (x *RepositoryInfo) GetEndpoint() string
func (*RepositoryInfo) GetName ¶
func (x *RepositoryInfo) GetName() string
func (*RepositoryInfo) GetRepositoryId ¶
func (x *RepositoryInfo) GetRepositoryId() string
func (*RepositoryInfo) GetRepositoryType ¶
func (x *RepositoryInfo) GetRepositoryType() string
func (*RepositoryInfo) ProtoMessage ¶
func (*RepositoryInfo) ProtoMessage()
func (*RepositoryInfo) ProtoReflect ¶
func (x *RepositoryInfo) ProtoReflect() protoreflect.Message
func (*RepositoryInfo) Reset ¶
func (x *RepositoryInfo) Reset()
func (*RepositoryInfo) String ¶
func (x *RepositoryInfo) String() string
type RepositoryPluginRequest ¶
type RepositoryPluginRequest struct { PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // +optional RepositoryId string `protobuf:"bytes,21,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // contains filtered or unexported fields }
{ "plugin_id": "plugin-aws-sns-mon-webhook", }
func (*RepositoryPluginRequest) Descriptor
deprecated
func (*RepositoryPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryPluginRequest.ProtoReflect.Descriptor instead.
func (*RepositoryPluginRequest) GetPluginId ¶
func (x *RepositoryPluginRequest) GetPluginId() string
func (*RepositoryPluginRequest) GetRepositoryId ¶
func (x *RepositoryPluginRequest) GetRepositoryId() string
func (*RepositoryPluginRequest) ProtoMessage ¶
func (*RepositoryPluginRequest) ProtoMessage()
func (*RepositoryPluginRequest) ProtoReflect ¶
func (x *RepositoryPluginRequest) ProtoReflect() protoreflect.Message
func (*RepositoryPluginRequest) Reset ¶
func (x *RepositoryPluginRequest) Reset()
func (*RepositoryPluginRequest) String ¶
func (x *RepositoryPluginRequest) String() string
type RepositoryQuery ¶
type RepositoryQuery struct { // +optional RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // +optional RepositoryType string `protobuf:"bytes,2,opt,name=repository_type,json=repositoryType,proto3" json:"repository_type,omitempty"` // contains filtered or unexported fields }
{ "query": {}, "repository_id": "repo-123456789012" }
func (*RepositoryQuery) Descriptor
deprecated
func (*RepositoryQuery) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryQuery.ProtoReflect.Descriptor instead.
func (*RepositoryQuery) GetRepositoryId ¶
func (x *RepositoryQuery) GetRepositoryId() string
func (*RepositoryQuery) GetRepositoryType ¶
func (x *RepositoryQuery) GetRepositoryType() string
func (*RepositoryQuery) ProtoMessage ¶
func (*RepositoryQuery) ProtoMessage()
func (*RepositoryQuery) ProtoReflect ¶
func (x *RepositoryQuery) ProtoReflect() protoreflect.Message
func (*RepositoryQuery) Reset ¶
func (x *RepositoryQuery) Reset()
func (*RepositoryQuery) String ¶
func (x *RepositoryQuery) String() string
type RepositoryServer ¶
type RepositoryServer interface { // Gets a list of all Repositories regardless of `domain`. You can use a query to get a filtered list of Repositories. List(context.Context, *RepositoryQuery) (*RepositoriesInfo, error) // contains filtered or unexported methods }
RepositoryServer is the server API for Repository service. All implementations must embed UnimplementedRepositoryServer for forward compatibility
type UnimplementedPluginServer ¶
type UnimplementedPluginServer struct { }
UnimplementedPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedPluginServer) Deregister ¶
func (UnimplementedPluginServer) Deregister(context.Context, *PluginRequest) (*empty.Empty, error)
func (UnimplementedPluginServer) Disable ¶
func (UnimplementedPluginServer) Disable(context.Context, *PluginRequest) (*PluginInfo, error)
func (UnimplementedPluginServer) Enable ¶
func (UnimplementedPluginServer) Enable(context.Context, *PluginRequest) (*PluginInfo, error)
func (UnimplementedPluginServer) Get ¶
func (UnimplementedPluginServer) Get(context.Context, *RepositoryPluginRequest) (*PluginInfo, error)
func (UnimplementedPluginServer) GetVersions ¶
func (UnimplementedPluginServer) GetVersions(context.Context, *RepositoryPluginRequest) (*VersionsInfo, error)
func (UnimplementedPluginServer) List ¶
func (UnimplementedPluginServer) List(context.Context, *PluginQuery) (*PluginsInfo, error)
func (UnimplementedPluginServer) Register ¶
func (UnimplementedPluginServer) Register(context.Context, *RegisterPluginRequest) (*PluginInfo, error)
func (UnimplementedPluginServer) Update ¶
func (UnimplementedPluginServer) Update(context.Context, *UpdatePluginRequest) (*PluginInfo, error)
type UnimplementedRepositoryServer ¶
type UnimplementedRepositoryServer struct { }
UnimplementedRepositoryServer must be embedded to have forward compatible implementations.
func (UnimplementedRepositoryServer) List ¶
func (UnimplementedRepositoryServer) List(context.Context, *RepositoryQuery) (*RepositoriesInfo, error)
type UnsafePluginServer ¶
type UnsafePluginServer interface {
// contains filtered or unexported methods
}
UnsafePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServer will result in compilation errors.
type UnsafeRepositoryServer ¶
type UnsafeRepositoryServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServer will result in compilation errors.
type UpdatePluginRequest ¶
type UpdatePluginRequest struct { PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"` // +optional Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // +optional Capability *_struct.Struct `protobuf:"bytes,3,opt,name=capability,proto3" json:"capability,omitempty"` // +optional Labels *_struct.ListValue `protobuf:"bytes,4,opt,name=labels,proto3" json:"labels,omitempty"` // +optional Tags *_struct.Struct `protobuf:"bytes,5,opt,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
{ "name": "JIRA Software Collector", "capability": { "supported_schema": [ "jira-software-secret-api-token" ] }, "labels": [ "jira", "atlassian", "notification" ], "tags": { "description": "Atlassian JIRA Issue notification", "icon": "https://icon-path/jira-icon.png" } }
func (*UpdatePluginRequest) Descriptor
deprecated
func (*UpdatePluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePluginRequest.ProtoReflect.Descriptor instead.
func (*UpdatePluginRequest) GetCapability ¶
func (x *UpdatePluginRequest) GetCapability() *_struct.Struct
func (*UpdatePluginRequest) GetLabels ¶
func (x *UpdatePluginRequest) GetLabels() *_struct.ListValue
func (*UpdatePluginRequest) GetName ¶
func (x *UpdatePluginRequest) GetName() string
func (*UpdatePluginRequest) GetPluginId ¶
func (x *UpdatePluginRequest) GetPluginId() string
func (*UpdatePluginRequest) GetTags ¶
func (x *UpdatePluginRequest) GetTags() *_struct.Struct
func (*UpdatePluginRequest) ProtoMessage ¶
func (*UpdatePluginRequest) ProtoMessage()
func (*UpdatePluginRequest) ProtoReflect ¶
func (x *UpdatePluginRequest) ProtoReflect() protoreflect.Message
func (*UpdatePluginRequest) Reset ¶
func (x *UpdatePluginRequest) Reset()
func (*UpdatePluginRequest) String ¶
func (x *UpdatePluginRequest) String() string
type VersionsInfo ¶
type VersionsInfo struct { // deprecated field Version []string `protobuf:"bytes,1,rep,name=version,proto3" json:"version,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` Results []string `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
{ "total_count": 1, "results": [ "1.2.2", "1.2.1.20220429.104002", "1.2.1.20220422.161421", "1.2.1.20220411.113807", "1.2.1" ] }
func (*VersionsInfo) Descriptor
deprecated
func (*VersionsInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionsInfo.ProtoReflect.Descriptor instead.
func (*VersionsInfo) GetResults ¶
func (x *VersionsInfo) GetResults() []string
func (*VersionsInfo) GetTotalCount ¶
func (x *VersionsInfo) GetTotalCount() int32
func (*VersionsInfo) GetVersion ¶
func (x *VersionsInfo) GetVersion() []string
func (*VersionsInfo) ProtoMessage ¶
func (*VersionsInfo) ProtoMessage()
func (*VersionsInfo) ProtoReflect ¶
func (x *VersionsInfo) ProtoReflect() protoreflect.Message
func (*VersionsInfo) Reset ¶
func (x *VersionsInfo) Reset()
func (*VersionsInfo) String ¶
func (x *VersionsInfo) String() string