servicepb

package
v0.0.0-...-e65cc6c Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package servicepb is a generated protocol buffer package.

It is generated from these files:

servicepb/service.proto

It has these top-level messages:

MetadataResponse
InvokeRequest
EmptyRequest
StateRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDefinitionServiceServer

func RegisterDefinitionServiceServer(s *grpc.Server, srv DefinitionServiceServer)

Types

type DefinitionServiceClient

type DefinitionServiceClient interface {
	Identity(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*puppet_datapb.Data, error)
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*puppet_datapb.Data, error)
	Metadata(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*MetadataResponse, error)
	State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*puppet_datapb.Data, error)
}

func NewDefinitionServiceClient

func NewDefinitionServiceClient(cc *grpc.ClientConn) DefinitionServiceClient

type EmptyRequest

type EmptyRequest struct {
}

func (*EmptyRequest) Descriptor

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

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) Reset

func (m *EmptyRequest) Reset()

func (*EmptyRequest) String

func (m *EmptyRequest) String() string

type InvokeRequest

type InvokeRequest struct {
	Identifier string              `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
	Method     string              `protobuf:"bytes,2,opt,name=method" json:"method,omitempty"`
	Arguments  *puppet_datapb.Data `protobuf:"bytes,3,opt,name=arguments" json:"arguments,omitempty"`
}

func (*InvokeRequest) Descriptor

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

func (*InvokeRequest) GetArguments

func (m *InvokeRequest) GetArguments() *puppet_datapb.Data

func (*InvokeRequest) GetIdentifier

func (m *InvokeRequest) GetIdentifier() string

func (*InvokeRequest) GetMethod

func (m *InvokeRequest) GetMethod() string

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) Reset

func (m *InvokeRequest) Reset()

func (*InvokeRequest) String

func (m *InvokeRequest) String() string

type MetadataResponse

type MetadataResponse struct {
	Typeset     *puppet_datapb.Data `protobuf:"bytes,1,opt,name=typeset" json:"typeset,omitempty"`
	Definitions *puppet_datapb.Data `protobuf:"bytes,2,opt,name=definitions" json:"definitions,omitempty"`
}

func (*MetadataResponse) Descriptor

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

func (*MetadataResponse) GetDefinitions

func (m *MetadataResponse) GetDefinitions() *puppet_datapb.Data

func (*MetadataResponse) GetTypeset

func (m *MetadataResponse) GetTypeset() *puppet_datapb.Data

func (*MetadataResponse) ProtoMessage

func (*MetadataResponse) ProtoMessage()

func (*MetadataResponse) Reset

func (m *MetadataResponse) Reset()

func (*MetadataResponse) String

func (m *MetadataResponse) String() string

type StateRequest

type StateRequest struct {
	Identifier string              `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
	Parameters *puppet_datapb.Data `protobuf:"bytes,2,opt,name=parameters" json:"parameters,omitempty"`
}

func (*StateRequest) Descriptor

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

func (*StateRequest) GetIdentifier

func (m *StateRequest) GetIdentifier() string

func (*StateRequest) GetParameters

func (m *StateRequest) GetParameters() *puppet_datapb.Data

func (*StateRequest) ProtoMessage

func (*StateRequest) ProtoMessage()

func (*StateRequest) Reset

func (m *StateRequest) Reset()

func (*StateRequest) String

func (m *StateRequest) String() string

Jump to

Keyboard shortcuts

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