infov1

package
v1.36.11-2025071818194... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const License_Source_not_set_case case_License_Source = 0
View Source
const License_Text_case case_License_Source = 2
View Source
const License_Url_case case_License_Source = 3

Variables

View Source
var File_buf_plugin_info_v1_license_proto protoreflect.FileDescriptor
View Source
var File_buf_plugin_info_v1_plugin_info_proto protoreflect.FileDescriptor
View Source
var File_buf_plugin_info_v1_plugin_info_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetPluginInfoRequest

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

A request to get information about a plugin.

func (*GetPluginInfoRequest) ProtoMessage

func (*GetPluginInfoRequest) ProtoMessage()

func (*GetPluginInfoRequest) ProtoReflect

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

func (*GetPluginInfoRequest) Reset

func (x *GetPluginInfoRequest) Reset()

func (*GetPluginInfoRequest) String

func (x *GetPluginInfoRequest) String() string

type GetPluginInfoRequest_builder

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

func (GetPluginInfoRequest_builder) Build

type GetPluginInfoResponse

type GetPluginInfoResponse struct {

	// The information about the plugin.
	PluginInfo *PluginInfo `protobuf:"bytes,1,opt,name=plugin_info,json=pluginInfo,proto3" json:"plugin_info,omitempty"`
	// contains filtered or unexported fields
}

A response containing information about a plugin.

func (*GetPluginInfoResponse) ClearPluginInfo

func (x *GetPluginInfoResponse) ClearPluginInfo()

func (*GetPluginInfoResponse) GetPluginInfo

func (x *GetPluginInfoResponse) GetPluginInfo() *PluginInfo

func (*GetPluginInfoResponse) HasPluginInfo

func (x *GetPluginInfoResponse) HasPluginInfo() bool

func (*GetPluginInfoResponse) ProtoMessage

func (*GetPluginInfoResponse) ProtoMessage()

func (*GetPluginInfoResponse) ProtoReflect

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

func (*GetPluginInfoResponse) Reset

func (x *GetPluginInfoResponse) Reset()

func (*GetPluginInfoResponse) SetPluginInfo

func (x *GetPluginInfoResponse) SetPluginInfo(v *PluginInfo)

func (*GetPluginInfoResponse) String

func (x *GetPluginInfoResponse) String() string

type GetPluginInfoResponse_builder

type GetPluginInfoResponse_builder struct {

	// The information about the plugin.
	PluginInfo *PluginInfo
	// contains filtered or unexported fields
}

func (GetPluginInfoResponse_builder) Build

type License

type License struct {

	// The SPDX license ID.
	//
	// See https://spdx.org/licenses.
	SpdxLicenseId string `protobuf:"bytes,1,opt,name=spdx_license_id,json=spdxLicenseId,proto3" json:"spdx_license_id,omitempty"`
	// The source of a license is either raw text, or a URL that contains the license.
	//
	// Types that are valid to be assigned to Source:
	//
	//	*License_Text
	//	*License_Url
	Source isLicense_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

A plugin license.

func (*License) ClearSource

func (x *License) ClearSource()

func (*License) ClearText

func (x *License) ClearText()

func (*License) ClearUrl

func (x *License) ClearUrl()

func (*License) GetSource

func (x *License) GetSource() isLicense_Source

func (*License) GetSpdxLicenseId

func (x *License) GetSpdxLicenseId() string

func (*License) GetText

func (x *License) GetText() string

func (*License) GetUrl

func (x *License) GetUrl() string

func (*License) HasSource

func (x *License) HasSource() bool

func (*License) HasText

func (x *License) HasText() bool

func (*License) HasUrl

func (x *License) HasUrl() bool

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

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

func (*License) Reset

func (x *License) Reset()

func (*License) SetSpdxLicenseId

func (x *License) SetSpdxLicenseId(v string)

func (*License) SetText

func (x *License) SetText(v string)

func (*License) SetUrl

func (x *License) SetUrl(v string)

func (*License) String

func (x *License) String() string

func (*License) WhichSource

func (x *License) WhichSource() case_License_Source

type License_Text

type License_Text struct {
	// The raw text of the license.
	Text string `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
}

type License_Url

type License_Url struct {
	// The url that contains the license.
	Url string `protobuf:"bytes,3,opt,name=url,proto3,oneof"`
}

type License_builder

type License_builder struct {

	// The SPDX license ID.
	//
	// See https://spdx.org/licenses.
	SpdxLicenseId string

	// Fields of oneof Source:
	// The raw text of the license.
	Text *string
	// The url that contains the license.
	Url *string
	// contains filtered or unexported fields
}

func (License_builder) Build

func (b0 License_builder) Build() *License

type PluginInfo

type PluginInfo struct {

	// A long string providing more details on using the plugin.
	//
	// This is equivalent to a README.md in effect.
	Documentation string `protobuf:"bytes,1,opt,name=documentation,proto3" json:"documentation,omitempty"`
	// The license of the plugin.
	License *License `protobuf:"bytes,2,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

Information about a plugin.

func (*PluginInfo) ClearLicense

func (x *PluginInfo) ClearLicense()

func (*PluginInfo) GetDocumentation

func (x *PluginInfo) GetDocumentation() string

func (*PluginInfo) GetLicense

func (x *PluginInfo) GetLicense() *License

func (*PluginInfo) HasLicense

func (x *PluginInfo) HasLicense() bool

func (*PluginInfo) ProtoMessage

func (*PluginInfo) ProtoMessage()

func (*PluginInfo) ProtoReflect

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

func (*PluginInfo) Reset

func (x *PluginInfo) Reset()

func (*PluginInfo) SetDocumentation

func (x *PluginInfo) SetDocumentation(v string)

func (*PluginInfo) SetLicense

func (x *PluginInfo) SetLicense(v *License)

func (*PluginInfo) String

func (x *PluginInfo) String() string

type PluginInfo_builder

type PluginInfo_builder struct {

	// A long string providing more details on using the plugin.
	//
	// This is equivalent to a README.md in effect.
	Documentation string
	// The license of the plugin.
	License *License
	// contains filtered or unexported fields
}

func (PluginInfo_builder) Build

func (b0 PluginInfo_builder) Build() *PluginInfo

Source Files

  • license.pb.go
  • plugin_info.pb.go
  • plugin_info_service.pb.go

Jump to

Keyboard shortcuts

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