apiextensions

package
v0.5.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_plugins_apis_apiextensions_apiextensions_proto protoreflect.FileDescriptor
View Source
var GatewayAPIExtension_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "apiextensions.GatewayAPIExtension",
	HandlerType: (*GatewayAPIExtensionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Configure",
			Handler:    _GatewayAPIExtension_Configure_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/plugins/apis/apiextensions/apiextensions.proto",
}

GatewayAPIExtension_ServiceDesc is the grpc.ServiceDesc for GatewayAPIExtension service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ManagementAPIExtension_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "apiextensions.ManagementAPIExtension",
	HandlerType: (*ManagementAPIExtensionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Descriptor",
			Handler:    _ManagementAPIExtension_Descriptor_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/plugins/apis/apiextensions/apiextensions.proto",
}

ManagementAPIExtension_ServiceDesc is the grpc.ServiceDesc for ManagementAPIExtension service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGatewayAPIExtensionServer

func RegisterGatewayAPIExtensionServer(s grpc.ServiceRegistrar, srv GatewayAPIExtensionServer)

func RegisterManagementAPIExtensionServer

func RegisterManagementAPIExtensionServer(s grpc.ServiceRegistrar, srv ManagementAPIExtensionServer)

Types

type CertConfig

type CertConfig struct {
	Ca       string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	CaData   string `protobuf:"bytes,2,opt,name=caData,proto3" json:"caData,omitempty"`
	Cert     string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
	CertData string `protobuf:"bytes,4,opt,name=certData,proto3" json:"certData,omitempty"`
	Key      string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"`
	KeyData  string `protobuf:"bytes,6,opt,name=keyData,proto3" json:"keyData,omitempty"`
	// contains filtered or unexported fields
}

func NewCertConfig

func NewCertConfig(certs v1beta1.CertsSpec) *CertConfig

func (*CertConfig) Descriptor deprecated

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

Deprecated: Use CertConfig.ProtoReflect.Descriptor instead.

func (*CertConfig) GetCa

func (x *CertConfig) GetCa() string

func (*CertConfig) GetCaData

func (x *CertConfig) GetCaData() string

func (*CertConfig) GetCert

func (x *CertConfig) GetCert() string

func (*CertConfig) GetCertData

func (x *CertConfig) GetCertData() string

func (*CertConfig) GetKey

func (x *CertConfig) GetKey() string

func (*CertConfig) GetKeyData

func (x *CertConfig) GetKeyData() string

func (*CertConfig) ProtoMessage

func (*CertConfig) ProtoMessage()

func (*CertConfig) ProtoReflect

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

func (*CertConfig) Reset

func (x *CertConfig) Reset()

func (*CertConfig) String

func (x *CertConfig) String() string

func (*CertConfig) TLSConfig

func (tc *CertConfig) TLSConfig() (*tls.Config, error)

type GatewayAPIExtensionClient

type GatewayAPIExtensionClient interface {
	Configure(ctx context.Context, in *CertConfig, opts ...grpc.CallOption) (*GatewayAPIExtensionConfig, error)
}

GatewayAPIExtensionClient is the client API for GatewayAPIExtension 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 GatewayAPIExtensionConfig

type GatewayAPIExtensionConfig struct {
	HttpAddr     string   `protobuf:"bytes,1,opt,name=HttpAddr,proto3" json:"HttpAddr,omitempty"`
	PathPrefixes []string `protobuf:"bytes,2,rep,name=pathPrefixes,proto3" json:"pathPrefixes,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayAPIExtensionConfig) Descriptor deprecated

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

Deprecated: Use GatewayAPIExtensionConfig.ProtoReflect.Descriptor instead.

func (*GatewayAPIExtensionConfig) GetHttpAddr

func (x *GatewayAPIExtensionConfig) GetHttpAddr() string

func (*GatewayAPIExtensionConfig) GetPathPrefixes

func (x *GatewayAPIExtensionConfig) GetPathPrefixes() []string

func (*GatewayAPIExtensionConfig) ProtoMessage

func (*GatewayAPIExtensionConfig) ProtoMessage()

func (*GatewayAPIExtensionConfig) ProtoReflect

func (*GatewayAPIExtensionConfig) Reset

func (x *GatewayAPIExtensionConfig) Reset()

func (*GatewayAPIExtensionConfig) String

func (x *GatewayAPIExtensionConfig) String() string

type GatewayAPIExtensionServer

type GatewayAPIExtensionServer interface {
	Configure(context.Context, *CertConfig) (*GatewayAPIExtensionConfig, error)
	// contains filtered or unexported methods
}

GatewayAPIExtensionServer is the server API for GatewayAPIExtension service. All implementations must embed UnimplementedGatewayAPIExtensionServer for forward compatibility

type ManagementAPIExtensionClient

type ManagementAPIExtensionClient interface {
	Descriptor(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*descriptorpb.ServiceDescriptorProto, error)
}

ManagementAPIExtensionClient is the client API for ManagementAPIExtension 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 ManagementAPIExtensionServer

type ManagementAPIExtensionServer interface {
	Descriptor(context.Context, *emptypb.Empty) (*descriptorpb.ServiceDescriptorProto, error)
	// contains filtered or unexported methods
}

ManagementAPIExtensionServer is the server API for ManagementAPIExtension service. All implementations must embed UnimplementedManagementAPIExtensionServer for forward compatibility

type UnimplementedGatewayAPIExtensionServer

type UnimplementedGatewayAPIExtensionServer struct {
}

UnimplementedGatewayAPIExtensionServer must be embedded to have forward compatible implementations.

func (UnimplementedGatewayAPIExtensionServer) Configure

type UnimplementedManagementAPIExtensionServer

type UnimplementedManagementAPIExtensionServer struct {
}

UnimplementedManagementAPIExtensionServer must be embedded to have forward compatible implementations.

func (UnimplementedManagementAPIExtensionServer) Descriptor

type UnsafeGatewayAPIExtensionServer

type UnsafeGatewayAPIExtensionServer interface {
	// contains filtered or unexported methods
}

UnsafeGatewayAPIExtensionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayAPIExtensionServer will result in compilation errors.

type UnsafeManagementAPIExtensionServer

type UnsafeManagementAPIExtensionServer interface {
	// contains filtered or unexported methods
}

UnsafeManagementAPIExtensionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagementAPIExtensionServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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