plugin

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_plugin_desc_proto protoreflect.FileDescriptor
View Source
var File_plugin_plugin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Settings  *PluginSettings        `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Plugin) Descriptor deprecated

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

Deprecated: Use Plugin.ProtoReflect.Descriptor instead.

func (*Plugin) GetCreatedAt

func (x *Plugin) GetCreatedAt() *timestamppb.Timestamp

func (*Plugin) GetId

func (x *Plugin) GetId() string

func (*Plugin) GetSettings

func (x *Plugin) GetSettings() *PluginSettings

func (*Plugin) GetUpdatedAt

func (x *Plugin) GetUpdatedAt() *timestamppb.Timestamp

func (*Plugin) ProtoMessage

func (*Plugin) ProtoMessage()

func (*Plugin) ProtoReflect

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

func (*Plugin) Reset

func (x *Plugin) Reset()

func (*Plugin) String

func (x *Plugin) String() string

func (*Plugin) Validate

func (m *Plugin) Validate() error

Validate checks the field values on Plugin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PluginDesc

type PluginDesc struct {
	Doc     string              `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`
	Members []*PluginMemberDesc `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*PluginDesc) Descriptor deprecated

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

Deprecated: Use PluginDesc.ProtoReflect.Descriptor instead.

func (*PluginDesc) GetDoc

func (x *PluginDesc) GetDoc() string

func (*PluginDesc) GetMembers

func (x *PluginDesc) GetMembers() []*PluginMemberDesc

func (*PluginDesc) ProtoMessage

func (*PluginDesc) ProtoMessage()

func (*PluginDesc) ProtoReflect

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

func (*PluginDesc) Reset

func (x *PluginDesc) Reset()

func (*PluginDesc) String

func (x *PluginDesc) String() string

func (*PluginDesc) Validate

func (m *PluginDesc) Validate() error

Validate checks the field values on PluginDesc with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PluginDescValidationError

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

PluginDescValidationError is the validation error returned by PluginDesc.Validate if the designated constraints aren't met.

func (PluginDescValidationError) Cause

func (e PluginDescValidationError) Cause() error

Cause function returns cause value.

func (PluginDescValidationError) Error

Error satisfies the builtin error interface

func (PluginDescValidationError) ErrorName

func (e PluginDescValidationError) ErrorName() string

ErrorName returns error name.

func (PluginDescValidationError) Field

Field function returns field value.

func (PluginDescValidationError) Key

Key function returns key value.

func (PluginDescValidationError) Reason

func (e PluginDescValidationError) Reason() string

Reason function returns reason value.

type PluginExecutionSettings

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

func (*PluginExecutionSettings) Descriptor deprecated

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

Deprecated: Use PluginExecutionSettings.ProtoReflect.Descriptor instead.

func (*PluginExecutionSettings) GetPath added in v0.12.0

func (x *PluginExecutionSettings) GetPath() string

func (*PluginExecutionSettings) ProtoMessage

func (*PluginExecutionSettings) ProtoMessage()

func (*PluginExecutionSettings) ProtoReflect

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

func (*PluginExecutionSettings) Reset

func (x *PluginExecutionSettings) Reset()

func (*PluginExecutionSettings) String

func (x *PluginExecutionSettings) String() string

func (*PluginExecutionSettings) Validate

func (m *PluginExecutionSettings) Validate() error

Validate checks the field values on PluginExecutionSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PluginExecutionSettingsValidationError

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

PluginExecutionSettingsValidationError is the validation error returned by PluginExecutionSettings.Validate if the designated constraints aren't met.

func (PluginExecutionSettingsValidationError) Cause

Cause function returns cause value.

func (PluginExecutionSettingsValidationError) Error

Error satisfies the builtin error interface

func (PluginExecutionSettingsValidationError) ErrorName

ErrorName returns error name.

func (PluginExecutionSettingsValidationError) Field

Field function returns field value.

func (PluginExecutionSettingsValidationError) Key

Key function returns key value.

func (PluginExecutionSettingsValidationError) Reason

Reason function returns reason value.

type PluginMemberDesc

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

func (*PluginMemberDesc) Descriptor deprecated

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

Deprecated: Use PluginMemberDesc.ProtoReflect.Descriptor instead.

func (*PluginMemberDesc) GetDoc

func (x *PluginMemberDesc) GetDoc() string

func (*PluginMemberDesc) GetName

func (x *PluginMemberDesc) GetName() string

func (*PluginMemberDesc) ProtoMessage

func (*PluginMemberDesc) ProtoMessage()

func (*PluginMemberDesc) ProtoReflect

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

func (*PluginMemberDesc) Reset

func (x *PluginMemberDesc) Reset()

func (*PluginMemberDesc) String

func (x *PluginMemberDesc) String() string

func (*PluginMemberDesc) Validate

func (m *PluginMemberDesc) Validate() error

Validate checks the field values on PluginMemberDesc with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PluginMemberDescValidationError

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

PluginMemberDescValidationError is the validation error returned by PluginMemberDesc.Validate if the designated constraints aren't met.

func (PluginMemberDescValidationError) Cause

Cause function returns cause value.

func (PluginMemberDescValidationError) Error

Error satisfies the builtin error interface

func (PluginMemberDescValidationError) ErrorName

ErrorName returns error name.

func (PluginMemberDescValidationError) Field

Field function returns field value.

func (PluginMemberDescValidationError) Key

Key function returns key value.

func (PluginMemberDescValidationError) Reason

Reason function returns reason value.

type PluginSettings

type PluginSettings struct {
	Enabled bool                     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Address string                   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Port    uint32                   `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	Exec    *PluginExecutionSettings `protobuf:"bytes,4,opt,name=exec,proto3" json:"exec,omitempty"`
	// contains filtered or unexported fields
}

func (*PluginSettings) Descriptor deprecated

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

Deprecated: Use PluginSettings.ProtoReflect.Descriptor instead.

func (*PluginSettings) GetAddress

func (x *PluginSettings) GetAddress() string

func (*PluginSettings) GetEnabled

func (x *PluginSettings) GetEnabled() bool

func (*PluginSettings) GetExec

func (*PluginSettings) GetPort

func (x *PluginSettings) GetPort() uint32

func (*PluginSettings) ProtoMessage

func (*PluginSettings) ProtoMessage()

func (*PluginSettings) ProtoReflect

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

func (*PluginSettings) Reset

func (x *PluginSettings) Reset()

func (*PluginSettings) String

func (x *PluginSettings) String() string

func (*PluginSettings) Validate

func (m *PluginSettings) Validate() error

Validate checks the field values on PluginSettings with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PluginSettingsValidationError

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

PluginSettingsValidationError is the validation error returned by PluginSettings.Validate if the designated constraints aren't met.

func (PluginSettingsValidationError) Cause

Cause function returns cause value.

func (PluginSettingsValidationError) Error

Error satisfies the builtin error interface

func (PluginSettingsValidationError) ErrorName

func (e PluginSettingsValidationError) ErrorName() string

ErrorName returns error name.

func (PluginSettingsValidationError) Field

Field function returns field value.

func (PluginSettingsValidationError) Key

Key function returns key value.

func (PluginSettingsValidationError) Reason

Reason function returns reason value.

type PluginValidationError

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

PluginValidationError is the validation error returned by Plugin.Validate if the designated constraints aren't met.

func (PluginValidationError) Cause

func (e PluginValidationError) Cause() error

Cause function returns cause value.

func (PluginValidationError) Error

func (e PluginValidationError) Error() string

Error satisfies the builtin error interface

func (PluginValidationError) ErrorName

func (e PluginValidationError) ErrorName() string

ErrorName returns error name.

func (PluginValidationError) Field

func (e PluginValidationError) Field() string

Field function returns field value.

func (PluginValidationError) Key

func (e PluginValidationError) Key() bool

Key function returns key value.

func (PluginValidationError) Reason

func (e PluginValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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