v1

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_kubernetes_csi_csi_proxy_integrationtests_apigroups_api_dummy_v1_api_proto protoreflect.FileDescriptor

Functions

func RegisterDummyServer

func RegisterDummyServer(s *grpc.Server, srv DummyServer)

Types

type ComputeDoubleRequest

type ComputeDoubleRequest struct {
	Input64 int64 `protobuf:"varint,1,opt,name=input64,proto3" json:"input64,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputeDoubleRequest) Descriptor deprecated

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

Deprecated: Use ComputeDoubleRequest.ProtoReflect.Descriptor instead.

func (*ComputeDoubleRequest) GetInput64

func (x *ComputeDoubleRequest) GetInput64() int64

func (*ComputeDoubleRequest) ProtoMessage

func (*ComputeDoubleRequest) ProtoMessage()

func (*ComputeDoubleRequest) ProtoReflect added in v1.0.0

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

func (*ComputeDoubleRequest) Reset

func (x *ComputeDoubleRequest) Reset()

func (*ComputeDoubleRequest) String

func (x *ComputeDoubleRequest) String() string

type ComputeDoubleResponse

type ComputeDoubleResponse struct {
	Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

func (*ComputeDoubleResponse) Descriptor deprecated

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

Deprecated: Use ComputeDoubleResponse.ProtoReflect.Descriptor instead.

func (*ComputeDoubleResponse) GetResponse

func (x *ComputeDoubleResponse) GetResponse() int64

func (*ComputeDoubleResponse) ProtoMessage

func (*ComputeDoubleResponse) ProtoMessage()

func (*ComputeDoubleResponse) ProtoReflect added in v1.0.0

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

func (*ComputeDoubleResponse) Reset

func (x *ComputeDoubleResponse) Reset()

func (*ComputeDoubleResponse) String

func (x *ComputeDoubleResponse) String() string

type DummyClient

type DummyClient interface {
	// ComputeDouble computes the double of the input. Real smart stuff!
	ComputeDouble(ctx context.Context, in *ComputeDoubleRequest, opts ...grpc.CallOption) (*ComputeDoubleResponse, error)
	// TellMeAPoem returns a very poetic response.
	TellMeAPoem(ctx context.Context, in *TellMeAPoemRequest, opts ...grpc.CallOption) (*TellMeAPoemResponse, error)
}

DummyClient is the client API for Dummy service.

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

func NewDummyClient

func NewDummyClient(cc grpc.ClientConnInterface) DummyClient

type DummyServer

type DummyServer interface {
	// ComputeDouble computes the double of the input. Real smart stuff!
	ComputeDouble(context.Context, *ComputeDoubleRequest) (*ComputeDoubleResponse, error)
	// TellMeAPoem returns a very poetic response.
	TellMeAPoem(context.Context, *TellMeAPoemRequest) (*TellMeAPoemResponse, error)
}

DummyServer is the server API for Dummy service.

type TellMeAPoemRequest

type TellMeAPoemRequest struct {
	IWantATitle bool `protobuf:"varint,1,opt,name=i_want_a_title,json=iWantATitle,proto3" json:"i_want_a_title,omitempty"`
	// contains filtered or unexported fields
}

func (*TellMeAPoemRequest) Descriptor deprecated

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

Deprecated: Use TellMeAPoemRequest.ProtoReflect.Descriptor instead.

func (*TellMeAPoemRequest) GetIWantATitle

func (x *TellMeAPoemRequest) GetIWantATitle() bool

func (*TellMeAPoemRequest) ProtoMessage

func (*TellMeAPoemRequest) ProtoMessage()

func (*TellMeAPoemRequest) ProtoReflect added in v1.0.0

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

func (*TellMeAPoemRequest) Reset

func (x *TellMeAPoemRequest) Reset()

func (*TellMeAPoemRequest) String

func (x *TellMeAPoemRequest) String() string

type TellMeAPoemResponse

type TellMeAPoemResponse struct {
	Title string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Lines []string `protobuf:"bytes,2,rep,name=lines,proto3" json:"lines,omitempty"`
	// contains filtered or unexported fields
}

func (*TellMeAPoemResponse) Descriptor deprecated

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

Deprecated: Use TellMeAPoemResponse.ProtoReflect.Descriptor instead.

func (*TellMeAPoemResponse) GetLines

func (x *TellMeAPoemResponse) GetLines() []string

func (*TellMeAPoemResponse) GetTitle

func (x *TellMeAPoemResponse) GetTitle() string

func (*TellMeAPoemResponse) ProtoMessage

func (*TellMeAPoemResponse) ProtoMessage()

func (*TellMeAPoemResponse) ProtoReflect added in v1.0.0

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

func (*TellMeAPoemResponse) Reset

func (x *TellMeAPoemResponse) Reset()

func (*TellMeAPoemResponse) String

func (x *TellMeAPoemResponse) String() string

type UnimplementedDummyServer

type UnimplementedDummyServer struct {
}

UnimplementedDummyServer can be embedded to have forward compatible implementations.

func (*UnimplementedDummyServer) ComputeDouble

func (*UnimplementedDummyServer) TellMeAPoem

Jump to

Keyboard shortcuts

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