Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProviderPluginServer(s grpc.ServiceRegistrar, srv ProviderPluginServer)
- type Client
- func (c *Client) CreateRelease(config *CreateReleaseConfig) error
- func (c *Client) GetCommits(fromSha, toSha string) ([]*semrel.RawCommit, error)
- func (c *Client) GetInfo() (*RepositoryInfo, error)
- func (c *Client) GetReleases(re string) ([]*semrel.Release, error)
- func (c *Client) Init(m map[string]string) error
- func (c *Client) Name() string
- func (c *Client) Version() string
- type CreateRelease
- type CreateReleaseConfig
- func (*CreateReleaseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReleaseConfig) GetBranch() string
- func (x *CreateReleaseConfig) GetChangelog() string
- func (x *CreateReleaseConfig) GetNewVersion() string
- func (x *CreateReleaseConfig) GetPrerelease() bool
- func (x *CreateReleaseConfig) GetSHA() string
- func (*CreateReleaseConfig) ProtoMessage()
- func (x *CreateReleaseConfig) ProtoReflect() protoreflect.Message
- func (x *CreateReleaseConfig) Reset()
- func (x *CreateReleaseConfig) String() string
- type CreateRelease_Request
- func (*CreateRelease_Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRelease_Request) GetConfig() *CreateReleaseConfig
- func (*CreateRelease_Request) ProtoMessage()
- func (x *CreateRelease_Request) ProtoReflect() protoreflect.Message
- func (x *CreateRelease_Request) Reset()
- func (x *CreateRelease_Request) String() string
- type CreateRelease_Response
- func (*CreateRelease_Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRelease_Response) GetError() string
- func (*CreateRelease_Response) ProtoMessage()
- func (x *CreateRelease_Response) ProtoReflect() protoreflect.Message
- func (x *CreateRelease_Response) Reset()
- func (x *CreateRelease_Response) String() string
- type GetCommits
- type GetCommits_Request
- func (*GetCommits_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommits_Request) GetFromSha() string
- func (x *GetCommits_Request) GetToSha() string
- func (*GetCommits_Request) ProtoMessage()
- func (x *GetCommits_Request) ProtoReflect() protoreflect.Message
- func (x *GetCommits_Request) Reset()
- func (x *GetCommits_Request) String() string
- type GetCommits_Response
- func (*GetCommits_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommits_Response) GetError() string
- func (x *GetCommits_Response) GetRawCommits() []*semrel.RawCommit
- func (*GetCommits_Response) ProtoMessage()
- func (x *GetCommits_Response) ProtoReflect() protoreflect.Message
- func (x *GetCommits_Response) Reset()
- func (x *GetCommits_Response) String() string
- type GetInfo
- type GetInfo_Request
- type GetInfo_Response
- func (*GetInfo_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfo_Response) GetError() string
- func (x *GetInfo_Response) GetInfo() *RepositoryInfo
- func (*GetInfo_Response) ProtoMessage()
- func (x *GetInfo_Response) ProtoReflect() protoreflect.Message
- func (x *GetInfo_Response) Reset()
- func (x *GetInfo_Response) String() string
- type GetReleases
- type GetReleases_Request
- func (*GetReleases_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetReleases_Request) GetRegexp() string
- func (*GetReleases_Request) ProtoMessage()
- func (x *GetReleases_Request) ProtoReflect() protoreflect.Message
- func (x *GetReleases_Request) Reset()
- func (x *GetReleases_Request) String() string
- type GetReleases_Response
- func (*GetReleases_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetReleases_Response) GetError() string
- func (x *GetReleases_Response) GetReleases() []*semrel.Release
- func (*GetReleases_Response) ProtoMessage()
- func (x *GetReleases_Response) ProtoReflect() protoreflect.Message
- func (x *GetReleases_Response) Reset()
- func (x *GetReleases_Response) String() string
- type Provider
- type ProviderInit
- type ProviderInit_Request
- func (*ProviderInit_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderInit_Request) GetConfig() map[string]string
- func (*ProviderInit_Request) ProtoMessage()
- func (x *ProviderInit_Request) ProtoReflect() protoreflect.Message
- func (x *ProviderInit_Request) Reset()
- func (x *ProviderInit_Request) String() string
- type ProviderInit_Response
- func (*ProviderInit_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderInit_Response) GetError() string
- func (*ProviderInit_Response) ProtoMessage()
- func (x *ProviderInit_Response) ProtoReflect() protoreflect.Message
- func (x *ProviderInit_Response) Reset()
- func (x *ProviderInit_Response) String() string
- type ProviderName
- type ProviderName_Request
- type ProviderName_Response
- func (*ProviderName_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderName_Response) GetName() string
- func (*ProviderName_Response) ProtoMessage()
- func (x *ProviderName_Response) ProtoReflect() protoreflect.Message
- func (x *ProviderName_Response) Reset()
- func (x *ProviderName_Response) String() string
- type ProviderPluginClient
- type ProviderPluginServer
- type ProviderVersion
- type ProviderVersion_Request
- type ProviderVersion_Response
- func (*ProviderVersion_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderVersion_Response) GetVersion() string
- func (*ProviderVersion_Response) ProtoMessage()
- func (x *ProviderVersion_Response) ProtoReflect() protoreflect.Message
- func (x *ProviderVersion_Response) Reset()
- func (x *ProviderVersion_Response) String() string
- type RepositoryInfo
- func (*RepositoryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfo) GetDefaultBranch() string
- func (x *RepositoryInfo) GetOwner() string
- func (x *RepositoryInfo) GetPrivate() bool
- func (x *RepositoryInfo) GetRepo() string
- func (*RepositoryInfo) ProtoMessage()
- func (x *RepositoryInfo) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfo) Reset()
- func (x *RepositoryInfo) String() string
- type Server
- func (s *Server) CreateRelease(ctx context.Context, request *CreateRelease_Request) (*CreateRelease_Response, error)
- func (s *Server) GetCommits(ctx context.Context, request *GetCommits_Request) (*GetCommits_Response, error)
- func (s *Server) GetInfo(ctx context.Context, request *GetInfo_Request) (*GetInfo_Response, error)
- func (s *Server) GetReleases(ctx context.Context, request *GetReleases_Request) (*GetReleases_Response, error)
- func (s *Server) Init(ctx context.Context, request *ProviderInit_Request) (*ProviderInit_Response, error)
- func (s *Server) Name(ctx context.Context, request *ProviderName_Request) (*ProviderName_Response, error)
- func (s *Server) Version(ctx context.Context, request *ProviderVersion_Request) (*ProviderVersion_Response, error)
- type UnimplementedProviderPluginServer
- func (UnimplementedProviderPluginServer) CreateRelease(context.Context, *CreateRelease_Request) (*CreateRelease_Response, error)
- func (UnimplementedProviderPluginServer) GetCommits(context.Context, *GetCommits_Request) (*GetCommits_Response, error)
- func (UnimplementedProviderPluginServer) GetInfo(context.Context, *GetInfo_Request) (*GetInfo_Response, error)
- func (UnimplementedProviderPluginServer) GetReleases(context.Context, *GetReleases_Request) (*GetReleases_Response, error)
- func (UnimplementedProviderPluginServer) Init(context.Context, *ProviderInit_Request) (*ProviderInit_Response, error)
- func (UnimplementedProviderPluginServer) Name(context.Context, *ProviderName_Request) (*ProviderName_Response, error)
- func (UnimplementedProviderPluginServer) Version(context.Context, *ProviderVersion_Request) (*ProviderVersion_Response, error)
- type UnsafeProviderPluginServer
Constants ¶
const PluginName = "provider"
Variables ¶
var File_pkg_provider_provider_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProviderPluginServer ¶
func RegisterProviderPluginServer(s grpc.ServiceRegistrar, srv ProviderPluginServer)
Types ¶
type Client ¶
type Client struct {
Impl ProviderPluginClient
}
func (*Client) CreateRelease ¶
func (c *Client) CreateRelease(config *CreateReleaseConfig) error
func (*Client) GetCommits ¶
func (*Client) GetInfo ¶
func (c *Client) GetInfo() (*RepositoryInfo, error)
type CreateRelease ¶
type CreateRelease struct {
// contains filtered or unexported fields
}
func (*CreateRelease) Descriptor
deprecated
func (*CreateRelease) Descriptor() ([]byte, []int)
Deprecated: Use CreateRelease.ProtoReflect.Descriptor instead.
func (*CreateRelease) ProtoMessage ¶
func (*CreateRelease) ProtoMessage()
func (*CreateRelease) ProtoReflect ¶
func (x *CreateRelease) ProtoReflect() protoreflect.Message
func (*CreateRelease) Reset ¶
func (x *CreateRelease) Reset()
func (*CreateRelease) String ¶
func (x *CreateRelease) String() string
type CreateReleaseConfig ¶
type CreateReleaseConfig struct { Changelog string `protobuf:"bytes,1,opt,name=changelog,proto3" json:"changelog,omitempty"` NewVersion string `protobuf:"bytes,2,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty"` Prerelease bool `protobuf:"varint,3,opt,name=prerelease,proto3" json:"prerelease,omitempty"` Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` SHA string `protobuf:"bytes,5,opt,name=SHA,proto3" json:"SHA,omitempty"` // contains filtered or unexported fields }
func (*CreateReleaseConfig) Descriptor
deprecated
func (*CreateReleaseConfig) Descriptor() ([]byte, []int)
Deprecated: Use CreateReleaseConfig.ProtoReflect.Descriptor instead.
func (*CreateReleaseConfig) GetBranch ¶
func (x *CreateReleaseConfig) GetBranch() string
func (*CreateReleaseConfig) GetChangelog ¶
func (x *CreateReleaseConfig) GetChangelog() string
func (*CreateReleaseConfig) GetNewVersion ¶
func (x *CreateReleaseConfig) GetNewVersion() string
func (*CreateReleaseConfig) GetPrerelease ¶
func (x *CreateReleaseConfig) GetPrerelease() bool
func (*CreateReleaseConfig) GetSHA ¶
func (x *CreateReleaseConfig) GetSHA() string
func (*CreateReleaseConfig) ProtoMessage ¶
func (*CreateReleaseConfig) ProtoMessage()
func (*CreateReleaseConfig) ProtoReflect ¶
func (x *CreateReleaseConfig) ProtoReflect() protoreflect.Message
func (*CreateReleaseConfig) Reset ¶
func (x *CreateReleaseConfig) Reset()
func (*CreateReleaseConfig) String ¶
func (x *CreateReleaseConfig) String() string
type CreateRelease_Request ¶
type CreateRelease_Request struct { Config *CreateReleaseConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*CreateRelease_Request) Descriptor
deprecated
func (*CreateRelease_Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateRelease_Request.ProtoReflect.Descriptor instead.
func (*CreateRelease_Request) GetConfig ¶
func (x *CreateRelease_Request) GetConfig() *CreateReleaseConfig
func (*CreateRelease_Request) ProtoMessage ¶
func (*CreateRelease_Request) ProtoMessage()
func (*CreateRelease_Request) ProtoReflect ¶
func (x *CreateRelease_Request) ProtoReflect() protoreflect.Message
func (*CreateRelease_Request) Reset ¶
func (x *CreateRelease_Request) Reset()
func (*CreateRelease_Request) String ¶
func (x *CreateRelease_Request) String() string
type CreateRelease_Response ¶
type CreateRelease_Response struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CreateRelease_Response) Descriptor
deprecated
func (*CreateRelease_Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateRelease_Response.ProtoReflect.Descriptor instead.
func (*CreateRelease_Response) GetError ¶
func (x *CreateRelease_Response) GetError() string
func (*CreateRelease_Response) ProtoMessage ¶
func (*CreateRelease_Response) ProtoMessage()
func (*CreateRelease_Response) ProtoReflect ¶
func (x *CreateRelease_Response) ProtoReflect() protoreflect.Message
func (*CreateRelease_Response) Reset ¶
func (x *CreateRelease_Response) Reset()
func (*CreateRelease_Response) String ¶
func (x *CreateRelease_Response) String() string
type GetCommits ¶
type GetCommits struct {
// contains filtered or unexported fields
}
func (*GetCommits) Descriptor
deprecated
func (*GetCommits) Descriptor() ([]byte, []int)
Deprecated: Use GetCommits.ProtoReflect.Descriptor instead.
func (*GetCommits) ProtoMessage ¶
func (*GetCommits) ProtoMessage()
func (*GetCommits) ProtoReflect ¶
func (x *GetCommits) ProtoReflect() protoreflect.Message
func (*GetCommits) Reset ¶
func (x *GetCommits) Reset()
func (*GetCommits) String ¶
func (x *GetCommits) String() string
type GetCommits_Request ¶
type GetCommits_Request struct { ToSha string `protobuf:"bytes,1,opt,name=to_sha,json=toSha,proto3" json:"to_sha,omitempty"` FromSha string `protobuf:"bytes,2,opt,name=from_sha,json=fromSha,proto3" json:"from_sha,omitempty"` // contains filtered or unexported fields }
func (*GetCommits_Request) Descriptor
deprecated
func (*GetCommits_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetCommits_Request.ProtoReflect.Descriptor instead.
func (*GetCommits_Request) GetFromSha ¶ added in v2.7.0
func (x *GetCommits_Request) GetFromSha() string
func (*GetCommits_Request) GetToSha ¶ added in v2.7.0
func (x *GetCommits_Request) GetToSha() string
func (*GetCommits_Request) ProtoMessage ¶
func (*GetCommits_Request) ProtoMessage()
func (*GetCommits_Request) ProtoReflect ¶
func (x *GetCommits_Request) ProtoReflect() protoreflect.Message
func (*GetCommits_Request) Reset ¶
func (x *GetCommits_Request) Reset()
func (*GetCommits_Request) String ¶
func (x *GetCommits_Request) String() string
type GetCommits_Response ¶
type GetCommits_Response struct { RawCommits []*semrel.RawCommit `protobuf:"bytes,1,rep,name=raw_commits,json=rawCommits,proto3" json:"raw_commits,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetCommits_Response) Descriptor
deprecated
func (*GetCommits_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetCommits_Response.ProtoReflect.Descriptor instead.
func (*GetCommits_Response) GetError ¶
func (x *GetCommits_Response) GetError() string
func (*GetCommits_Response) GetRawCommits ¶
func (x *GetCommits_Response) GetRawCommits() []*semrel.RawCommit
func (*GetCommits_Response) ProtoMessage ¶
func (*GetCommits_Response) ProtoMessage()
func (*GetCommits_Response) ProtoReflect ¶
func (x *GetCommits_Response) ProtoReflect() protoreflect.Message
func (*GetCommits_Response) Reset ¶
func (x *GetCommits_Response) Reset()
func (*GetCommits_Response) String ¶
func (x *GetCommits_Response) String() string
type GetInfo ¶
type GetInfo struct {
// contains filtered or unexported fields
}
func (*GetInfo) Descriptor
deprecated
func (*GetInfo) ProtoMessage ¶
func (*GetInfo) ProtoMessage()
func (*GetInfo) ProtoReflect ¶
func (x *GetInfo) ProtoReflect() protoreflect.Message
type GetInfo_Request ¶
type GetInfo_Request struct {
// contains filtered or unexported fields
}
func (*GetInfo_Request) Descriptor
deprecated
func (*GetInfo_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetInfo_Request.ProtoReflect.Descriptor instead.
func (*GetInfo_Request) ProtoMessage ¶
func (*GetInfo_Request) ProtoMessage()
func (*GetInfo_Request) ProtoReflect ¶
func (x *GetInfo_Request) ProtoReflect() protoreflect.Message
func (*GetInfo_Request) Reset ¶
func (x *GetInfo_Request) Reset()
func (*GetInfo_Request) String ¶
func (x *GetInfo_Request) String() string
type GetInfo_Response ¶
type GetInfo_Response struct { Info *RepositoryInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetInfo_Response) Descriptor
deprecated
func (*GetInfo_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetInfo_Response.ProtoReflect.Descriptor instead.
func (*GetInfo_Response) GetError ¶
func (x *GetInfo_Response) GetError() string
func (*GetInfo_Response) GetInfo ¶
func (x *GetInfo_Response) GetInfo() *RepositoryInfo
func (*GetInfo_Response) ProtoMessage ¶
func (*GetInfo_Response) ProtoMessage()
func (*GetInfo_Response) ProtoReflect ¶
func (x *GetInfo_Response) ProtoReflect() protoreflect.Message
func (*GetInfo_Response) Reset ¶
func (x *GetInfo_Response) Reset()
func (*GetInfo_Response) String ¶
func (x *GetInfo_Response) String() string
type GetReleases ¶
type GetReleases struct {
// contains filtered or unexported fields
}
func (*GetReleases) Descriptor
deprecated
func (*GetReleases) Descriptor() ([]byte, []int)
Deprecated: Use GetReleases.ProtoReflect.Descriptor instead.
func (*GetReleases) ProtoMessage ¶
func (*GetReleases) ProtoMessage()
func (*GetReleases) ProtoReflect ¶
func (x *GetReleases) ProtoReflect() protoreflect.Message
func (*GetReleases) Reset ¶
func (x *GetReleases) Reset()
func (*GetReleases) String ¶
func (x *GetReleases) String() string
type GetReleases_Request ¶
type GetReleases_Request struct { Regexp string `protobuf:"bytes,1,opt,name=regexp,proto3" json:"regexp,omitempty"` // contains filtered or unexported fields }
func (*GetReleases_Request) Descriptor
deprecated
func (*GetReleases_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetReleases_Request.ProtoReflect.Descriptor instead.
func (*GetReleases_Request) GetRegexp ¶
func (x *GetReleases_Request) GetRegexp() string
func (*GetReleases_Request) ProtoMessage ¶
func (*GetReleases_Request) ProtoMessage()
func (*GetReleases_Request) ProtoReflect ¶
func (x *GetReleases_Request) ProtoReflect() protoreflect.Message
func (*GetReleases_Request) Reset ¶
func (x *GetReleases_Request) Reset()
func (*GetReleases_Request) String ¶
func (x *GetReleases_Request) String() string
type GetReleases_Response ¶
type GetReleases_Response struct { Releases []*semrel.Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetReleases_Response) Descriptor
deprecated
func (*GetReleases_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetReleases_Response.ProtoReflect.Descriptor instead.
func (*GetReleases_Response) GetError ¶
func (x *GetReleases_Response) GetError() string
func (*GetReleases_Response) GetReleases ¶
func (x *GetReleases_Response) GetReleases() []*semrel.Release
func (*GetReleases_Response) ProtoMessage ¶
func (*GetReleases_Response) ProtoMessage()
func (*GetReleases_Response) ProtoReflect ¶
func (x *GetReleases_Response) ProtoReflect() protoreflect.Message
func (*GetReleases_Response) Reset ¶
func (x *GetReleases_Response) Reset()
func (*GetReleases_Response) String ¶
func (x *GetReleases_Response) String() string
type ProviderInit ¶
type ProviderInit struct {
// contains filtered or unexported fields
}
func (*ProviderInit) Descriptor
deprecated
func (*ProviderInit) Descriptor() ([]byte, []int)
Deprecated: Use ProviderInit.ProtoReflect.Descriptor instead.
func (*ProviderInit) ProtoMessage ¶
func (*ProviderInit) ProtoMessage()
func (*ProviderInit) ProtoReflect ¶
func (x *ProviderInit) ProtoReflect() protoreflect.Message
func (*ProviderInit) Reset ¶
func (x *ProviderInit) Reset()
func (*ProviderInit) String ¶
func (x *ProviderInit) String() string
type ProviderInit_Request ¶
type ProviderInit_Request struct { Config map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProviderInit_Request) Descriptor
deprecated
func (*ProviderInit_Request) Descriptor() ([]byte, []int)
Deprecated: Use ProviderInit_Request.ProtoReflect.Descriptor instead.
func (*ProviderInit_Request) GetConfig ¶
func (x *ProviderInit_Request) GetConfig() map[string]string
func (*ProviderInit_Request) ProtoMessage ¶
func (*ProviderInit_Request) ProtoMessage()
func (*ProviderInit_Request) ProtoReflect ¶
func (x *ProviderInit_Request) ProtoReflect() protoreflect.Message
func (*ProviderInit_Request) Reset ¶
func (x *ProviderInit_Request) Reset()
func (*ProviderInit_Request) String ¶
func (x *ProviderInit_Request) String() string
type ProviderInit_Response ¶
type ProviderInit_Response struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ProviderInit_Response) Descriptor
deprecated
func (*ProviderInit_Response) Descriptor() ([]byte, []int)
Deprecated: Use ProviderInit_Response.ProtoReflect.Descriptor instead.
func (*ProviderInit_Response) GetError ¶
func (x *ProviderInit_Response) GetError() string
func (*ProviderInit_Response) ProtoMessage ¶
func (*ProviderInit_Response) ProtoMessage()
func (*ProviderInit_Response) ProtoReflect ¶
func (x *ProviderInit_Response) ProtoReflect() protoreflect.Message
func (*ProviderInit_Response) Reset ¶
func (x *ProviderInit_Response) Reset()
func (*ProviderInit_Response) String ¶
func (x *ProviderInit_Response) String() string
type ProviderName ¶
type ProviderName struct {
// contains filtered or unexported fields
}
func (*ProviderName) Descriptor
deprecated
func (*ProviderName) Descriptor() ([]byte, []int)
Deprecated: Use ProviderName.ProtoReflect.Descriptor instead.
func (*ProviderName) ProtoMessage ¶
func (*ProviderName) ProtoMessage()
func (*ProviderName) ProtoReflect ¶
func (x *ProviderName) ProtoReflect() protoreflect.Message
func (*ProviderName) Reset ¶
func (x *ProviderName) Reset()
func (*ProviderName) String ¶
func (x *ProviderName) String() string
type ProviderName_Request ¶
type ProviderName_Request struct {
// contains filtered or unexported fields
}
func (*ProviderName_Request) Descriptor
deprecated
func (*ProviderName_Request) Descriptor() ([]byte, []int)
Deprecated: Use ProviderName_Request.ProtoReflect.Descriptor instead.
func (*ProviderName_Request) ProtoMessage ¶
func (*ProviderName_Request) ProtoMessage()
func (*ProviderName_Request) ProtoReflect ¶
func (x *ProviderName_Request) ProtoReflect() protoreflect.Message
func (*ProviderName_Request) Reset ¶
func (x *ProviderName_Request) Reset()
func (*ProviderName_Request) String ¶
func (x *ProviderName_Request) String() string
type ProviderName_Response ¶
type ProviderName_Response struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProviderName_Response) Descriptor
deprecated
func (*ProviderName_Response) Descriptor() ([]byte, []int)
Deprecated: Use ProviderName_Response.ProtoReflect.Descriptor instead.
func (*ProviderName_Response) GetName ¶
func (x *ProviderName_Response) GetName() string
func (*ProviderName_Response) ProtoMessage ¶
func (*ProviderName_Response) ProtoMessage()
func (*ProviderName_Response) ProtoReflect ¶
func (x *ProviderName_Response) ProtoReflect() protoreflect.Message
func (*ProviderName_Response) Reset ¶
func (x *ProviderName_Response) Reset()
func (*ProviderName_Response) String ¶
func (x *ProviderName_Response) String() string
type ProviderPluginClient ¶
type ProviderPluginClient interface { Init(ctx context.Context, in *ProviderInit_Request, opts ...grpc.CallOption) (*ProviderInit_Response, error) Name(ctx context.Context, in *ProviderName_Request, opts ...grpc.CallOption) (*ProviderName_Response, error) Version(ctx context.Context, in *ProviderVersion_Request, opts ...grpc.CallOption) (*ProviderVersion_Response, error) GetInfo(ctx context.Context, in *GetInfo_Request, opts ...grpc.CallOption) (*GetInfo_Response, error) GetCommits(ctx context.Context, in *GetCommits_Request, opts ...grpc.CallOption) (*GetCommits_Response, error) GetReleases(ctx context.Context, in *GetReleases_Request, opts ...grpc.CallOption) (*GetReleases_Response, error) CreateRelease(ctx context.Context, in *CreateRelease_Request, opts ...grpc.CallOption) (*CreateRelease_Response, error) }
ProviderPluginClient is the client API for ProviderPlugin 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 NewProviderPluginClient ¶
func NewProviderPluginClient(cc grpc.ClientConnInterface) ProviderPluginClient
type ProviderPluginServer ¶
type ProviderPluginServer interface { Init(context.Context, *ProviderInit_Request) (*ProviderInit_Response, error) Name(context.Context, *ProviderName_Request) (*ProviderName_Response, error) Version(context.Context, *ProviderVersion_Request) (*ProviderVersion_Response, error) GetInfo(context.Context, *GetInfo_Request) (*GetInfo_Response, error) GetCommits(context.Context, *GetCommits_Request) (*GetCommits_Response, error) GetReleases(context.Context, *GetReleases_Request) (*GetReleases_Response, error) CreateRelease(context.Context, *CreateRelease_Request) (*CreateRelease_Response, error) // contains filtered or unexported methods }
ProviderPluginServer is the server API for ProviderPlugin service. All implementations must embed UnimplementedProviderPluginServer for forward compatibility
type ProviderVersion ¶ added in v2.3.0
type ProviderVersion struct {
// contains filtered or unexported fields
}
func (*ProviderVersion) Descriptor
deprecated
added in
v2.3.0
func (*ProviderVersion) Descriptor() ([]byte, []int)
Deprecated: Use ProviderVersion.ProtoReflect.Descriptor instead.
func (*ProviderVersion) ProtoMessage ¶ added in v2.3.0
func (*ProviderVersion) ProtoMessage()
func (*ProviderVersion) ProtoReflect ¶ added in v2.3.0
func (x *ProviderVersion) ProtoReflect() protoreflect.Message
func (*ProviderVersion) Reset ¶ added in v2.3.0
func (x *ProviderVersion) Reset()
func (*ProviderVersion) String ¶ added in v2.3.0
func (x *ProviderVersion) String() string
type ProviderVersion_Request ¶ added in v2.3.0
type ProviderVersion_Request struct {
// contains filtered or unexported fields
}
func (*ProviderVersion_Request) Descriptor
deprecated
added in
v2.3.0
func (*ProviderVersion_Request) Descriptor() ([]byte, []int)
Deprecated: Use ProviderVersion_Request.ProtoReflect.Descriptor instead.
func (*ProviderVersion_Request) ProtoMessage ¶ added in v2.3.0
func (*ProviderVersion_Request) ProtoMessage()
func (*ProviderVersion_Request) ProtoReflect ¶ added in v2.3.0
func (x *ProviderVersion_Request) ProtoReflect() protoreflect.Message
func (*ProviderVersion_Request) Reset ¶ added in v2.3.0
func (x *ProviderVersion_Request) Reset()
func (*ProviderVersion_Request) String ¶ added in v2.3.0
func (x *ProviderVersion_Request) String() string
type ProviderVersion_Response ¶ added in v2.3.0
type ProviderVersion_Response struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ProviderVersion_Response) Descriptor
deprecated
added in
v2.3.0
func (*ProviderVersion_Response) Descriptor() ([]byte, []int)
Deprecated: Use ProviderVersion_Response.ProtoReflect.Descriptor instead.
func (*ProviderVersion_Response) GetVersion ¶ added in v2.3.0
func (x *ProviderVersion_Response) GetVersion() string
func (*ProviderVersion_Response) ProtoMessage ¶ added in v2.3.0
func (*ProviderVersion_Response) ProtoMessage()
func (*ProviderVersion_Response) ProtoReflect ¶ added in v2.3.0
func (x *ProviderVersion_Response) ProtoReflect() protoreflect.Message
func (*ProviderVersion_Response) Reset ¶ added in v2.3.0
func (x *ProviderVersion_Response) Reset()
func (*ProviderVersion_Response) String ¶ added in v2.3.0
func (x *ProviderVersion_Response) String() string
type RepositoryInfo ¶
type RepositoryInfo struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` DefaultBranch string `protobuf:"bytes,3,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*RepositoryInfo) Descriptor
deprecated
func (*RepositoryInfo) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfo.ProtoReflect.Descriptor instead.
func (*RepositoryInfo) GetDefaultBranch ¶
func (x *RepositoryInfo) GetDefaultBranch() string
func (*RepositoryInfo) GetOwner ¶
func (x *RepositoryInfo) GetOwner() string
func (*RepositoryInfo) GetPrivate ¶
func (x *RepositoryInfo) GetPrivate() bool
func (*RepositoryInfo) GetRepo ¶
func (x *RepositoryInfo) GetRepo() 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 Server ¶
type Server struct { Impl Provider UnimplementedProviderPluginServer }
func (*Server) CreateRelease ¶
func (s *Server) CreateRelease(ctx context.Context, request *CreateRelease_Request) (*CreateRelease_Response, error)
func (*Server) GetCommits ¶
func (s *Server) GetCommits(ctx context.Context, request *GetCommits_Request) (*GetCommits_Response, error)
func (*Server) GetInfo ¶
func (s *Server) GetInfo(ctx context.Context, request *GetInfo_Request) (*GetInfo_Response, error)
func (*Server) GetReleases ¶
func (s *Server) GetReleases(ctx context.Context, request *GetReleases_Request) (*GetReleases_Response, error)
func (*Server) Init ¶
func (s *Server) Init(ctx context.Context, request *ProviderInit_Request) (*ProviderInit_Response, error)
func (*Server) Name ¶
func (s *Server) Name(ctx context.Context, request *ProviderName_Request) (*ProviderName_Response, error)
func (*Server) Version ¶ added in v2.3.0
func (s *Server) Version(ctx context.Context, request *ProviderVersion_Request) (*ProviderVersion_Response, error)
type UnimplementedProviderPluginServer ¶
type UnimplementedProviderPluginServer struct { }
UnimplementedProviderPluginServer must be embedded to have forward compatible implementations.
func (UnimplementedProviderPluginServer) CreateRelease ¶
func (UnimplementedProviderPluginServer) CreateRelease(context.Context, *CreateRelease_Request) (*CreateRelease_Response, error)
func (UnimplementedProviderPluginServer) GetCommits ¶
func (UnimplementedProviderPluginServer) GetCommits(context.Context, *GetCommits_Request) (*GetCommits_Response, error)
func (UnimplementedProviderPluginServer) GetInfo ¶
func (UnimplementedProviderPluginServer) GetInfo(context.Context, *GetInfo_Request) (*GetInfo_Response, error)
func (UnimplementedProviderPluginServer) GetReleases ¶
func (UnimplementedProviderPluginServer) GetReleases(context.Context, *GetReleases_Request) (*GetReleases_Response, error)
func (UnimplementedProviderPluginServer) Init ¶
func (UnimplementedProviderPluginServer) Init(context.Context, *ProviderInit_Request) (*ProviderInit_Response, error)
func (UnimplementedProviderPluginServer) Name ¶
func (UnimplementedProviderPluginServer) Name(context.Context, *ProviderName_Request) (*ProviderName_Response, error)
func (UnimplementedProviderPluginServer) Version ¶ added in v2.3.0
func (UnimplementedProviderPluginServer) Version(context.Context, *ProviderVersion_Request) (*ProviderVersion_Response, error)
type UnsafeProviderPluginServer ¶ added in v2.12.0
type UnsafeProviderPluginServer interface {
// contains filtered or unexported methods
}
UnsafeProviderPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProviderPluginServer will result in compilation errors.