v1

package
v0.6.310 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_notifier_v1_notifier_proto protoreflect.FileDescriptor
View Source
var NotifierService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.metaprov.modelaapi.services.notifier.v1.NotifierService",
	HandlerType: (*NotifierServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListNotifiers",
			Handler:    _NotifierService_ListNotifiers_Handler,
		},
		{
			MethodName: "CreateNotifier",
			Handler:    _NotifierService_CreateNotifier_Handler,
		},
		{
			MethodName: "GetNotifier",
			Handler:    _NotifierService_GetNotifier_Handler,
		},
		{
			MethodName: "UpdateNotifier",
			Handler:    _NotifierService_UpdateNotifier_Handler,
		},
		{
			MethodName: "DeleteNotifier",
			Handler:    _NotifierService_DeleteNotifier_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "github.com/metaprov/modelaapi/services/notifier/v1/notifier.proto",
}

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

Functions

func RegisterNotifierServiceServer

func RegisterNotifierServiceServer(s grpc.ServiceRegistrar, srv NotifierServiceServer)

Types

type CreateNotifierRequest

type CreateNotifierRequest struct {
	Notifier *v1alpha1.Notifier `protobuf:"bytes,1,opt,name=notifier,proto3" json:"notifier,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNotifierRequest) Descriptor deprecated

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

Deprecated: Use CreateNotifierRequest.ProtoReflect.Descriptor instead.

func (*CreateNotifierRequest) GetNotifier added in v0.4.472

func (x *CreateNotifierRequest) GetNotifier() *v1alpha1.Notifier

func (*CreateNotifierRequest) ProtoMessage

func (*CreateNotifierRequest) ProtoMessage()

func (*CreateNotifierRequest) ProtoReflect

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

func (*CreateNotifierRequest) Reset

func (x *CreateNotifierRequest) Reset()

func (*CreateNotifierRequest) String

func (x *CreateNotifierRequest) String() string

type CreateNotifierResponse

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

func (*CreateNotifierResponse) Descriptor deprecated

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

Deprecated: Use CreateNotifierResponse.ProtoReflect.Descriptor instead.

func (*CreateNotifierResponse) ProtoMessage

func (*CreateNotifierResponse) ProtoMessage()

func (*CreateNotifierResponse) ProtoReflect

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

func (*CreateNotifierResponse) Reset

func (x *CreateNotifierResponse) Reset()

func (*CreateNotifierResponse) String

func (x *CreateNotifierResponse) String() string

type DeleteNotifierRequest

type DeleteNotifierRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotifierRequest) Descriptor deprecated

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

Deprecated: Use DeleteNotifierRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotifierRequest) GetName

func (x *DeleteNotifierRequest) GetName() string

func (*DeleteNotifierRequest) GetNamespace

func (x *DeleteNotifierRequest) GetNamespace() string

func (*DeleteNotifierRequest) ProtoMessage

func (*DeleteNotifierRequest) ProtoMessage()

func (*DeleteNotifierRequest) ProtoReflect

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

func (*DeleteNotifierRequest) Reset

func (x *DeleteNotifierRequest) Reset()

func (*DeleteNotifierRequest) String

func (x *DeleteNotifierRequest) String() string

type DeleteNotifierResponse

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

func (*DeleteNotifierResponse) Descriptor deprecated

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

Deprecated: Use DeleteNotifierResponse.ProtoReflect.Descriptor instead.

func (*DeleteNotifierResponse) ProtoMessage

func (*DeleteNotifierResponse) ProtoMessage()

func (*DeleteNotifierResponse) ProtoReflect

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

func (*DeleteNotifierResponse) Reset

func (x *DeleteNotifierResponse) Reset()

func (*DeleteNotifierResponse) String

func (x *DeleteNotifierResponse) String() string

type GetNotifierRequest

type GetNotifierRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifierRequest) Descriptor deprecated

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

Deprecated: Use GetNotifierRequest.ProtoReflect.Descriptor instead.

func (*GetNotifierRequest) GetName

func (x *GetNotifierRequest) GetName() string

func (*GetNotifierRequest) GetNamespace

func (x *GetNotifierRequest) GetNamespace() string

func (*GetNotifierRequest) ProtoMessage

func (*GetNotifierRequest) ProtoMessage()

func (*GetNotifierRequest) ProtoReflect

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

func (*GetNotifierRequest) Reset

func (x *GetNotifierRequest) Reset()

func (*GetNotifierRequest) String

func (x *GetNotifierRequest) String() string

type GetNotifierResponse

type GetNotifierResponse struct {
	Notifier *v1alpha1.Notifier `protobuf:"bytes,1,opt,name=notifier,proto3" json:"notifier,omitempty"`
	Yaml     string             `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotifierResponse) Descriptor deprecated

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

Deprecated: Use GetNotifierResponse.ProtoReflect.Descriptor instead.

func (*GetNotifierResponse) GetNotifier added in v0.4.472

func (x *GetNotifierResponse) GetNotifier() *v1alpha1.Notifier

func (*GetNotifierResponse) GetYaml

func (x *GetNotifierResponse) GetYaml() string

func (*GetNotifierResponse) ProtoMessage

func (*GetNotifierResponse) ProtoMessage()

func (*GetNotifierResponse) ProtoReflect

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

func (*GetNotifierResponse) Reset

func (x *GetNotifierResponse) Reset()

func (*GetNotifierResponse) String

func (x *GetNotifierResponse) String() string

type ListNotifiersRequest

type ListNotifiersRequest struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Labels    map[string]string `` /* 153-byte string literal not displayed */
	PageSize  int32             `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string            `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string            `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNotifiersRequest) Descriptor deprecated

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

Deprecated: Use ListNotifiersRequest.ProtoReflect.Descriptor instead.

func (*ListNotifiersRequest) GetLabels

func (x *ListNotifiersRequest) GetLabels() map[string]string

func (*ListNotifiersRequest) GetNamespace

func (x *ListNotifiersRequest) GetNamespace() string

func (*ListNotifiersRequest) GetOrderBy added in v0.4.414

func (x *ListNotifiersRequest) GetOrderBy() string

func (*ListNotifiersRequest) GetPageSize added in v0.4.414

func (x *ListNotifiersRequest) GetPageSize() int32

func (*ListNotifiersRequest) GetPageToken added in v0.4.414

func (x *ListNotifiersRequest) GetPageToken() string

func (*ListNotifiersRequest) ProtoMessage

func (*ListNotifiersRequest) ProtoMessage()

func (*ListNotifiersRequest) ProtoReflect

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

func (*ListNotifiersRequest) Reset

func (x *ListNotifiersRequest) Reset()

func (*ListNotifiersRequest) String

func (x *ListNotifiersRequest) String() string

type ListNotifiersResponse

type ListNotifiersResponse struct {
	Notifiers     *v1alpha1.NotifierList `protobuf:"bytes,1,opt,name=notifiers,proto3" json:"notifiers,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNotifiersResponse) Descriptor deprecated

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

Deprecated: Use ListNotifiersResponse.ProtoReflect.Descriptor instead.

func (*ListNotifiersResponse) GetNextPageToken added in v0.4.472

func (x *ListNotifiersResponse) GetNextPageToken() string

func (*ListNotifiersResponse) GetNotifiers added in v0.4.472

func (x *ListNotifiersResponse) GetNotifiers() *v1alpha1.NotifierList

func (*ListNotifiersResponse) ProtoMessage

func (*ListNotifiersResponse) ProtoMessage()

func (*ListNotifiersResponse) ProtoReflect

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

func (*ListNotifiersResponse) Reset

func (x *ListNotifiersResponse) Reset()

func (*ListNotifiersResponse) String

func (x *ListNotifiersResponse) String() string

type NotifierResponse

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

func (*NotifierResponse) Descriptor deprecated

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

Deprecated: Use NotifierResponse.ProtoReflect.Descriptor instead.

func (*NotifierResponse) ProtoMessage

func (*NotifierResponse) ProtoMessage()

func (*NotifierResponse) ProtoReflect

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

func (*NotifierResponse) Reset

func (x *NotifierResponse) Reset()

func (*NotifierResponse) String

func (x *NotifierResponse) String() string

type NotifierServiceClient

type NotifierServiceClient interface {
	ListNotifiers(ctx context.Context, in *ListNotifiersRequest, opts ...grpc.CallOption) (*ListNotifiersResponse, error)
	CreateNotifier(ctx context.Context, in *CreateNotifierRequest, opts ...grpc.CallOption) (*CreateNotifierResponse, error)
	GetNotifier(ctx context.Context, in *GetNotifierRequest, opts ...grpc.CallOption) (*GetNotifierResponse, error)
	UpdateNotifier(ctx context.Context, in *UpdateNotifierRequest, opts ...grpc.CallOption) (*UpdateNotifierResponse, error)
	DeleteNotifier(ctx context.Context, in *DeleteNotifierRequest, opts ...grpc.CallOption) (*DeleteNotifierResponse, error)
}

NotifierServiceClient is the client API for NotifierService 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 NotifierServiceServer

type NotifierServiceServer interface {
	ListNotifiers(context.Context, *ListNotifiersRequest) (*ListNotifiersResponse, error)
	CreateNotifier(context.Context, *CreateNotifierRequest) (*CreateNotifierResponse, error)
	GetNotifier(context.Context, *GetNotifierRequest) (*GetNotifierResponse, error)
	UpdateNotifier(context.Context, *UpdateNotifierRequest) (*UpdateNotifierResponse, error)
	DeleteNotifier(context.Context, *DeleteNotifierRequest) (*DeleteNotifierResponse, error)
	// contains filtered or unexported methods
}

NotifierServiceServer is the server API for NotifierService service. All implementations must embed UnimplementedNotifierServiceServer for forward compatibility

type UnimplementedNotifierServiceServer

type UnimplementedNotifierServiceServer struct {
}

UnimplementedNotifierServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNotifierServiceServer) CreateNotifier

func (UnimplementedNotifierServiceServer) DeleteNotifier

func (UnimplementedNotifierServiceServer) GetNotifier

func (UnimplementedNotifierServiceServer) ListNotifiers

func (UnimplementedNotifierServiceServer) UpdateNotifier

type UnsafeNotifierServiceServer added in v0.4.687

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

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

type UpdateNotifierRequest

type UpdateNotifierRequest struct {
	Notifier  *v1alpha1.Notifier    `protobuf:"bytes,1,opt,name=notifier,proto3" json:"notifier,omitempty"`
	FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNotifierRequest) Descriptor deprecated

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

Deprecated: Use UpdateNotifierRequest.ProtoReflect.Descriptor instead.

func (*UpdateNotifierRequest) GetFieldMask added in v0.4.422

func (x *UpdateNotifierRequest) GetFieldMask() *field_mask.FieldMask

func (*UpdateNotifierRequest) GetNotifier added in v0.4.472

func (x *UpdateNotifierRequest) GetNotifier() *v1alpha1.Notifier

func (*UpdateNotifierRequest) ProtoMessage

func (*UpdateNotifierRequest) ProtoMessage()

func (*UpdateNotifierRequest) ProtoReflect

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

func (*UpdateNotifierRequest) Reset

func (x *UpdateNotifierRequest) Reset()

func (*UpdateNotifierRequest) String

func (x *UpdateNotifierRequest) String() string

type UpdateNotifierResponse

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

func (*UpdateNotifierResponse) Descriptor deprecated

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

Deprecated: Use UpdateNotifierResponse.ProtoReflect.Descriptor instead.

func (*UpdateNotifierResponse) ProtoMessage

func (*UpdateNotifierResponse) ProtoMessage()

func (*UpdateNotifierResponse) ProtoReflect

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

func (*UpdateNotifierResponse) Reset

func (x *UpdateNotifierResponse) Reset()

func (*UpdateNotifierResponse) String

func (x *UpdateNotifierResponse) String() string

Jump to

Keyboard shortcuts

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