info

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInfo = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterInfoServer

func RegisterInfoServer(s *grpc.Server, srv InfoServer)

Types

type InfoClient

type InfoClient interface {
	WorkflowInfo(ctx context.Context, in *WorkflowInfoRequest, opts ...grpc.CallOption) (*WorkflowInfoResponse, error)
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
}

InfoClient is the client API for Info service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewInfoClient

func NewInfoClient(cc *grpc.ClientConn) InfoClient

type InfoServer

type InfoServer interface {
	WorkflowInfo(context.Context, *WorkflowInfoRequest) (*WorkflowInfoResponse, error)
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
}

InfoServer is the server API for Info service.

type UnimplementedInfoServer

type UnimplementedInfoServer struct {
}

UnimplementedInfoServer can be embedded to have forward compatible implementations.

func (*UnimplementedInfoServer) Version

func (*UnimplementedInfoServer) WorkflowInfo added in v0.3.1

type VersionRequest

type VersionRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionRequest) Descriptor

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

func (*VersionRequest) Marshal

func (m *VersionRequest) Marshal() (dAtA []byte, err error)

func (*VersionRequest) MarshalTo

func (m *VersionRequest) MarshalTo(dAtA []byte) (int, error)

func (*VersionRequest) MarshalToSizedBuffer

func (m *VersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) Reset

func (m *VersionRequest) Reset()

func (*VersionRequest) Size

func (m *VersionRequest) Size() (n int)

func (*VersionRequest) String

func (m *VersionRequest) String() string

func (*VersionRequest) Unmarshal

func (m *VersionRequest) Unmarshal(dAtA []byte) error

func (*VersionRequest) XXX_DiscardUnknown

func (m *VersionRequest) XXX_DiscardUnknown()

func (*VersionRequest) XXX_Marshal

func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionRequest) XXX_Merge

func (m *VersionRequest) XXX_Merge(src proto.Message)

func (*VersionRequest) XXX_Size

func (m *VersionRequest) XXX_Size() int

func (*VersionRequest) XXX_Unmarshal

func (m *VersionRequest) XXX_Unmarshal(b []byte) error

type VersionResponse

type VersionResponse struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Build                string   `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
	Commit               string   `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
	Authenticator        string   `protobuf:"bytes,5,opt,name=authenticator,proto3" json:"authenticator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetAuthenticator

func (m *VersionResponse) GetAuthenticator() string

func (*VersionResponse) GetBuild

func (m *VersionResponse) GetBuild() string

func (*VersionResponse) GetCommit

func (m *VersionResponse) GetCommit() string

func (*VersionResponse) GetName

func (m *VersionResponse) GetName() string

func (*VersionResponse) GetVersion

func (m *VersionResponse) GetVersion() string

func (*VersionResponse) Marshal

func (m *VersionResponse) Marshal() (dAtA []byte, err error)

func (*VersionResponse) MarshalTo

func (m *VersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*VersionResponse) MarshalToSizedBuffer

func (m *VersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) Size

func (m *VersionResponse) Size() (n int)

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) Unmarshal

func (m *VersionResponse) Unmarshal(dAtA []byte) error

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionResponse) XXX_Merge

func (m *VersionResponse) XXX_Merge(src proto.Message)

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

func (m *VersionResponse) XXX_Unmarshal(b []byte) error

type WorkflowInfoRequest added in v0.3.1

type WorkflowInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WorkflowInfoRequest) Descriptor added in v0.3.1

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

func (*WorkflowInfoRequest) Marshal added in v0.3.1

func (m *WorkflowInfoRequest) Marshal() (dAtA []byte, err error)

func (*WorkflowInfoRequest) MarshalTo added in v0.3.1

func (m *WorkflowInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowInfoRequest) MarshalToSizedBuffer added in v0.3.1

func (m *WorkflowInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowInfoRequest) ProtoMessage added in v0.3.1

func (*WorkflowInfoRequest) ProtoMessage()

func (*WorkflowInfoRequest) Reset added in v0.3.1

func (m *WorkflowInfoRequest) Reset()

func (*WorkflowInfoRequest) Size added in v0.3.1

func (m *WorkflowInfoRequest) Size() (n int)

func (*WorkflowInfoRequest) String added in v0.3.1

func (m *WorkflowInfoRequest) String() string

func (*WorkflowInfoRequest) Unmarshal added in v0.3.1

func (m *WorkflowInfoRequest) Unmarshal(dAtA []byte) error

func (*WorkflowInfoRequest) XXX_DiscardUnknown added in v0.3.1

func (m *WorkflowInfoRequest) XXX_DiscardUnknown()

func (*WorkflowInfoRequest) XXX_Marshal added in v0.3.1

func (m *WorkflowInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowInfoRequest) XXX_Merge added in v0.3.1

func (m *WorkflowInfoRequest) XXX_Merge(src proto.Message)

func (*WorkflowInfoRequest) XXX_Size added in v0.3.1

func (m *WorkflowInfoRequest) XXX_Size() int

func (*WorkflowInfoRequest) XXX_Unmarshal added in v0.3.1

func (m *WorkflowInfoRequest) XXX_Unmarshal(b []byte) error

type WorkflowInfoResponse added in v0.3.1

type WorkflowInfoResponse struct {
	TotalWorkflows       uint64   `protobuf:"varint,1,opt,name=total_workflows,json=totalWorkflows,proto3" json:"total_workflows,omitempty"`
	PendingWorkflows     uint64   `protobuf:"varint,2,opt,name=pending_workflows,json=pendingWorkflows,proto3" json:"pending_workflows,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WorkflowInfoResponse) Descriptor added in v0.3.1

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

func (*WorkflowInfoResponse) GetPendingWorkflows added in v0.3.1

func (m *WorkflowInfoResponse) GetPendingWorkflows() uint64

func (*WorkflowInfoResponse) GetTotalWorkflows added in v0.3.1

func (m *WorkflowInfoResponse) GetTotalWorkflows() uint64

func (*WorkflowInfoResponse) Marshal added in v0.3.1

func (m *WorkflowInfoResponse) Marshal() (dAtA []byte, err error)

func (*WorkflowInfoResponse) MarshalTo added in v0.3.1

func (m *WorkflowInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*WorkflowInfoResponse) MarshalToSizedBuffer added in v0.3.1

func (m *WorkflowInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WorkflowInfoResponse) ProtoMessage added in v0.3.1

func (*WorkflowInfoResponse) ProtoMessage()

func (*WorkflowInfoResponse) Reset added in v0.3.1

func (m *WorkflowInfoResponse) Reset()

func (*WorkflowInfoResponse) Size added in v0.3.1

func (m *WorkflowInfoResponse) Size() (n int)

func (*WorkflowInfoResponse) String added in v0.3.1

func (m *WorkflowInfoResponse) String() string

func (*WorkflowInfoResponse) Unmarshal added in v0.3.1

func (m *WorkflowInfoResponse) Unmarshal(dAtA []byte) error

func (*WorkflowInfoResponse) XXX_DiscardUnknown added in v0.3.1

func (m *WorkflowInfoResponse) XXX_DiscardUnknown()

func (*WorkflowInfoResponse) XXX_Marshal added in v0.3.1

func (m *WorkflowInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WorkflowInfoResponse) XXX_Merge added in v0.3.1

func (m *WorkflowInfoResponse) XXX_Merge(src proto.Message)

func (*WorkflowInfoResponse) XXX_Size added in v0.3.1

func (m *WorkflowInfoResponse) XXX_Size() int

func (*WorkflowInfoResponse) XXX_Unmarshal added in v0.3.1

func (m *WorkflowInfoResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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