Go to the documentation of this file.
19 #include <ruby/ruby.h>
82 "grpc_xds_channel_credentials",
87 #ifdef RUBY_TYPED_FREE_IMMEDIATELY
88 RUBY_TYPED_FREE_IMMEDIATELY
131 VALUE fallback_creds) {
138 rb_raise(rb_eRuntimeError,
139 "the call to grpc_xds_credentials_create() failed, could not "
140 "create a credentials, , see "
141 "https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md for "
169 rb_ary_push(mark,
self);
171 for (
int i = 0;
i < argc;
i++) {
172 rb_ary_push(mark, argv[
i]);
181 rb_raise(rb_eRuntimeError,
182 "Failed to compose channel and call credentials");
static VALUE grpc_rb_xds_channel_credentials_compose(int argc, VALUE *argv, VALUE self)
static VALUE grpc_rb_xds_channel_credentials_alloc(VALUE cls)
#define GRPC_RB_MEMSIZE_UNAVAILABLE
void grpc_ruby_shutdown()
static rb_data_type_t grpc_rb_xds_channel_credentials_data_type
static VALUE grpc_rb_xds_channel_credentials_init(VALUE self, VALUE fallback_creds)
grpc_channel_credentials * grpc_rb_get_wrapped_channel_credentials(VALUE v)
static void grpc_rb_xds_channel_credentials_free_internal(void *p)
grpc_call_credentials * grpc_rb_get_wrapped_call_credentials(VALUE v)
VALUE grpc_rb_xds_wrap_channel_credentials(grpc_channel_credentials *c, VALUE mark)
GRPCAPI grpc_channel_credentials * grpc_composite_channel_credentials_create(grpc_channel_credentials *channel_creds, grpc_call_credentials *call_creds, void *reserved)
grpc_channel_wrapper * wrapper
GRPCAPI void grpc_channel_credentials_release(grpc_channel_credentials *creds)
grpc_channel_credentials * grpc_rb_get_wrapped_xds_channel_credentials(VALUE v)
#define ALLOC(class_name)
VALUE grpc_rb_cannot_init_copy(VALUE copy, VALUE self)
grpc_channel_credentials * wrapped
static void grpc_rb_xds_channel_credentials_mark(void *p)
static VALUE grpc_rb_cXdsChannelCredentials
void Init_grpc_xds_channel_credentials()
struct grpc_rb_xds_channel_credentials grpc_rb_xds_channel_credentials
GRPCAPI grpc_channel_credentials * grpc_xds_credentials_create(grpc_channel_credentials *fallback_credentials)
static void grpc_rb_xds_channel_credentials_free(void *p)
static ID id_fallback_creds
bool grpc_rb_is_xds_channel_credentials(VALUE v)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:59