provider

package
Version: v0.0.0-...-c7a9b3a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_provider_provider_proto protoreflect.FileDescriptor

Functions

func RegisterIBMProviderServer

func RegisterIBMProviderServer(s *grpc.Server, srv IBMProviderServer)

Types

type IBMProviderClient

type IBMProviderClient interface {
	GetProviderType(ctx context.Context, in *ProviderTypeRequest, opts ...grpc.CallOption) (*ProviderTypeReply, error)
	GetVPCSvcEndpoint(ctx context.Context, in *VPCSvcEndpointRequest, opts ...grpc.CallOption) (*VPCSvcEndpointReply, error)
}

IBMProviderClient is the client API for IBMProvider 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.

type IBMProviderClientFactory

type IBMProviderClientFactory interface {

	// NewIBMProviderClient method creates a new NewIBMProviderClient instance
	NewIBMProviderClient(cc grpc.ClientConnInterface) IBMProviderClient
}

type IBMProviderClnt

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

func (*IBMProviderClnt) GetProviderType

func (c *IBMProviderClnt) GetProviderType(
	ctx context.Context, in *ProviderTypeRequest,
	opts ...grpc.CallOption,
) (*ProviderTypeReply, error)

func (*IBMProviderClnt) GetVPCSvcEndpoint

func (c *IBMProviderClnt) GetVPCSvcEndpoint(
	ctx context.Context, in *VPCSvcEndpointRequest,
	opts ...grpc.CallOption,
) (*VPCSvcEndpointReply, error)

type IBMProviderClntFactory

type IBMProviderClntFactory struct{}

func (*IBMProviderClntFactory) NewIBMProviderClient

NewIBMProviderClient method creates a new NewIBMProviderClient instance

type IBMProviderServer

type IBMProviderServer interface {
	GetProviderType(context.Context, *ProviderTypeRequest) (*ProviderTypeReply, error)
	GetVPCSvcEndpoint(context.Context, *VPCSvcEndpointRequest) (*VPCSvcEndpointReply, error)
	// contains filtered or unexported methods
}

IBMProviderServer is the server API for IBMProvider service. All implementations must embed UnimplementedIBMProviderServer for forward compatibility

type ProviderTypeReply

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

The provider type reply

func (*ProviderTypeReply) Descriptor deprecated

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

Deprecated: Use ProviderTypeReply.ProtoReflect.Descriptor instead.

func (*ProviderTypeReply) GetType

func (x *ProviderTypeReply) GetType() string

func (*ProviderTypeReply) ProtoMessage

func (*ProviderTypeReply) ProtoMessage()

func (*ProviderTypeReply) ProtoReflect

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

func (*ProviderTypeReply) Reset

func (x *ProviderTypeReply) Reset()

func (*ProviderTypeReply) String

func (x *ProviderTypeReply) String() string

type ProviderTypeRequest

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

The provider type request

func (*ProviderTypeRequest) Descriptor deprecated

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

Deprecated: Use ProviderTypeRequest.ProtoReflect.Descriptor instead.

func (*ProviderTypeRequest) GetId

func (x *ProviderTypeRequest) GetId() string

func (*ProviderTypeRequest) ProtoMessage

func (*ProviderTypeRequest) ProtoMessage()

func (*ProviderTypeRequest) ProtoReflect

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

func (*ProviderTypeRequest) Reset

func (x *ProviderTypeRequest) Reset()

func (*ProviderTypeRequest) String

func (x *ProviderTypeRequest) String() string

type UnimplementedIBMProviderServer

type UnimplementedIBMProviderServer struct {
}

UnimplementedIBMProviderServer must be embedded to have forward compatible implementations.

func (*UnimplementedIBMProviderServer) GetProviderType

func (*UnimplementedIBMProviderServer) GetVPCSvcEndpoint

type VPCSvcEndpointReply

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

The VPC cloud service endpoint reply

func (*VPCSvcEndpointReply) Descriptor deprecated

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

Deprecated: Use VPCSvcEndpointReply.ProtoReflect.Descriptor instead.

func (*VPCSvcEndpointReply) GetCse

func (x *VPCSvcEndpointReply) GetCse() string

func (*VPCSvcEndpointReply) ProtoMessage

func (*VPCSvcEndpointReply) ProtoMessage()

func (*VPCSvcEndpointReply) ProtoReflect

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

func (*VPCSvcEndpointReply) Reset

func (x *VPCSvcEndpointReply) Reset()

func (*VPCSvcEndpointReply) String

func (x *VPCSvcEndpointReply) String() string

type VPCSvcEndpointRequest

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

The VPC cloud service endpoint request

func (*VPCSvcEndpointRequest) Descriptor deprecated

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

Deprecated: Use VPCSvcEndpointRequest.ProtoReflect.Descriptor instead.

func (*VPCSvcEndpointRequest) GetId

func (x *VPCSvcEndpointRequest) GetId() string

func (*VPCSvcEndpointRequest) ProtoMessage

func (*VPCSvcEndpointRequest) ProtoMessage()

func (*VPCSvcEndpointRequest) ProtoReflect

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

func (*VPCSvcEndpointRequest) Reset

func (x *VPCSvcEndpointRequest) Reset()

func (*VPCSvcEndpointRequest) String

func (x *VPCSvcEndpointRequest) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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