Documentation ¶
Index ¶
- Variables
- func RegisterContoursServer(s grpc.ServiceRegistrar, srv ContoursServer)
- type ContourId
- type ContourIdAndName
- func (*ContourIdAndName) Descriptor() ([]byte, []int)deprecated
- func (x *ContourIdAndName) GetAppId() string
- func (x *ContourIdAndName) GetId() string
- func (x *ContourIdAndName) GetName() string
- func (*ContourIdAndName) ProtoMessage()
- func (x *ContourIdAndName) ProtoReflect() protoreflect.Message
- func (x *ContourIdAndName) Reset()
- func (x *ContourIdAndName) String() string
- type ContourInfo
- func (*ContourInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ContourInfo) GetAppId() string
- func (x *ContourInfo) GetDescription() string
- func (x *ContourInfo) GetId() string
- func (x *ContourInfo) GetName() string
- func (x *ContourInfo) GetServices() []*ServiceInfo
- func (*ContourInfo) ProtoMessage()
- func (x *ContourInfo) ProtoReflect() protoreflect.Message
- func (x *ContourInfo) Reset()
- func (x *ContourInfo) String() string
- type ContourInfoWithoutServices
- func (*ContourInfoWithoutServices) Descriptor() ([]byte, []int)deprecated
- func (x *ContourInfoWithoutServices) GetAppId() string
- func (x *ContourInfoWithoutServices) GetDescription() string
- func (x *ContourInfoWithoutServices) GetId() string
- func (x *ContourInfoWithoutServices) GetName() string
- func (*ContourInfoWithoutServices) ProtoMessage()
- func (x *ContourInfoWithoutServices) ProtoReflect() protoreflect.Message
- func (x *ContourInfoWithoutServices) Reset()
- func (x *ContourInfoWithoutServices) String() string
- type ContourNameAndDescription
- func (*ContourNameAndDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ContourNameAndDescription) GetAppId() string
- func (x *ContourNameAndDescription) GetDescription() string
- func (x *ContourNameAndDescription) GetName() string
- func (*ContourNameAndDescription) ProtoMessage()
- func (x *ContourNameAndDescription) ProtoReflect() protoreflect.Message
- func (x *ContourNameAndDescription) Reset()
- func (x *ContourNameAndDescription) String() string
- type ContoursClient
- type ContoursListOption
- func (*ContoursListOption) Descriptor() ([]byte, []int)deprecated
- func (x *ContoursListOption) GetAppId() string
- func (*ContoursListOption) ProtoMessage()
- func (x *ContoursListOption) ProtoReflect() protoreflect.Message
- func (x *ContoursListOption) Reset()
- func (x *ContoursListOption) String() string
- type ContoursServer
- type Contours_ListClient
- type Contours_ListServer
- type RepeatedServiceWithId
- func (*RepeatedServiceWithId) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedServiceWithId) GetAppId() string
- func (x *RepeatedServiceWithId) GetContourId() string
- func (x *RepeatedServiceWithId) GetServices() []*ServiceInfo
- func (*RepeatedServiceWithId) ProtoMessage()
- func (x *RepeatedServiceWithId) ProtoReflect() protoreflect.Message
- func (x *RepeatedServiceWithId) Reset()
- func (x *RepeatedServiceWithId) String() string
- type RepeatedServiceWithoutId
- func (*RepeatedServiceWithoutId) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedServiceWithoutId) GetAppId() string
- func (x *RepeatedServiceWithoutId) GetContourId() string
- func (x *RepeatedServiceWithoutId) GetServices() []*ServiceWithoutId
- func (*RepeatedServiceWithoutId) ProtoMessage()
- func (x *RepeatedServiceWithoutId) ProtoReflect() protoreflect.Message
- func (x *RepeatedServiceWithoutId) Reset()
- func (x *RepeatedServiceWithoutId) String() string
- type ServiceIdAndContourId
- func (*ServiceIdAndContourId) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceIdAndContourId) GetAppId() string
- func (x *ServiceIdAndContourId) GetContourId() string
- func (x *ServiceIdAndContourId) GetServiceId() string
- func (*ServiceIdAndContourId) ProtoMessage()
- func (x *ServiceIdAndContourId) ProtoReflect() protoreflect.Message
- func (x *ServiceIdAndContourId) Reset()
- func (x *ServiceIdAndContourId) String() string
- type ServiceInfo
- func (*ServiceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInfo) GetEnvironment() int64
- func (x *ServiceInfo) GetId() string
- func (x *ServiceInfo) GetProject() int64
- func (*ServiceInfo) ProtoMessage()
- func (x *ServiceInfo) ProtoReflect() protoreflect.Message
- func (x *ServiceInfo) Reset()
- func (x *ServiceInfo) String() string
- type ServiceWithoutId
- func (*ServiceWithoutId) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceWithoutId) GetEnvironment() int64
- func (x *ServiceWithoutId) GetProject() int64
- func (*ServiceWithoutId) ProtoMessage()
- func (x *ServiceWithoutId) ProtoReflect() protoreflect.Message
- func (x *ServiceWithoutId) Reset()
- func (x *ServiceWithoutId) String() string
- type UnimplementedContoursServer
- func (UnimplementedContoursServer) AddServices(context.Context, *RepeatedServiceWithoutId) (*common.EmptyMessage, error)
- func (UnimplementedContoursServer) Create(context.Context, *ContourNameAndDescription) (*ContourInfoWithoutServices, error)
- func (UnimplementedContoursServer) Delete(context.Context, *ContourIdAndName) (*common.EmptyMessage, error)
- func (UnimplementedContoursServer) Get(context.Context, *ContourId) (*ContourInfo, error)
- func (UnimplementedContoursServer) List(*ContoursListOption, Contours_ListServer) error
- func (UnimplementedContoursServer) RemoveService(context.Context, *ServiceIdAndContourId) (*common.EmptyMessage, error)
- func (UnimplementedContoursServer) Update(context.Context, *ContourInfoWithoutServices) (*ContourInfoWithoutServices, error)
- type UnsafeContoursServer
Constants ¶
This section is empty.
Variables ¶
var Contours_ServiceDesc = grpc.ServiceDesc{ ServiceName: "apps.Contours", HandlerType: (*ContoursServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Contours_Create_Handler, }, { MethodName: "Get", Handler: _Contours_Get_Handler, }, { MethodName: "Update", Handler: _Contours_Update_Handler, }, { MethodName: "Delete", Handler: _Contours_Delete_Handler, }, { MethodName: "AddServices", Handler: _Contours_AddServices_Handler, }, { MethodName: "RemoveService", Handler: _Contours_RemoveService_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _Contours_List_Handler, ServerStreams: true, }, }, Metadata: "apps/contours/contours_v1.proto", }
Contours_ServiceDesc is the grpc.ServiceDesc for Contours service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_apps_contours_contours_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContoursServer ¶
func RegisterContoursServer(s grpc.ServiceRegistrar, srv ContoursServer)
Types ¶
type ContourId ¶
type ContourId struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Contour ID: UUID // contains filtered or unexported fields }
* Represents an contour UUID only
func (*ContourId) Descriptor
deprecated
func (*ContourId) ProtoMessage ¶
func (*ContourId) ProtoMessage()
func (*ContourId) ProtoReflect ¶
func (x *ContourId) ProtoReflect() protoreflect.Message
type ContourIdAndName ¶
type ContourIdAndName struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Contour name: Unique string AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
func (*ContourIdAndName) Descriptor
deprecated
func (*ContourIdAndName) Descriptor() ([]byte, []int)
Deprecated: Use ContourIdAndName.ProtoReflect.Descriptor instead.
func (*ContourIdAndName) GetAppId ¶
func (x *ContourIdAndName) GetAppId() string
func (*ContourIdAndName) GetId ¶
func (x *ContourIdAndName) GetId() string
func (*ContourIdAndName) GetName ¶
func (x *ContourIdAndName) GetName() string
func (*ContourIdAndName) ProtoMessage ¶
func (*ContourIdAndName) ProtoMessage()
func (*ContourIdAndName) ProtoReflect ¶
func (x *ContourIdAndName) ProtoReflect() protoreflect.Message
func (*ContourIdAndName) Reset ¶
func (x *ContourIdAndName) Reset()
func (*ContourIdAndName) String ¶
func (x *ContourIdAndName) String() string
type ContourInfo ¶
type ContourInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Contour name: Unique string Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Services []*ServiceInfo `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"` // Array of maps <projectID:environmentID> AppId string `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
* Represents a full contour
func (*ContourInfo) Descriptor
deprecated
func (*ContourInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContourInfo.ProtoReflect.Descriptor instead.
func (*ContourInfo) GetAppId ¶
func (x *ContourInfo) GetAppId() string
func (*ContourInfo) GetDescription ¶
func (x *ContourInfo) GetDescription() string
func (*ContourInfo) GetId ¶
func (x *ContourInfo) GetId() string
func (*ContourInfo) GetName ¶
func (x *ContourInfo) GetName() string
func (*ContourInfo) GetServices ¶
func (x *ContourInfo) GetServices() []*ServiceInfo
func (*ContourInfo) ProtoMessage ¶
func (*ContourInfo) ProtoMessage()
func (*ContourInfo) ProtoReflect ¶
func (x *ContourInfo) ProtoReflect() protoreflect.Message
func (*ContourInfo) Reset ¶
func (x *ContourInfo) Reset()
func (*ContourInfo) String ¶
func (x *ContourInfo) String() string
type ContourInfoWithoutServices ¶
type ContourInfoWithoutServices struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` AppId string `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
func (*ContourInfoWithoutServices) Descriptor
deprecated
func (*ContourInfoWithoutServices) Descriptor() ([]byte, []int)
Deprecated: Use ContourInfoWithoutServices.ProtoReflect.Descriptor instead.
func (*ContourInfoWithoutServices) GetAppId ¶
func (x *ContourInfoWithoutServices) GetAppId() string
func (*ContourInfoWithoutServices) GetDescription ¶
func (x *ContourInfoWithoutServices) GetDescription() string
func (*ContourInfoWithoutServices) GetId ¶
func (x *ContourInfoWithoutServices) GetId() string
func (*ContourInfoWithoutServices) GetName ¶
func (x *ContourInfoWithoutServices) GetName() string
func (*ContourInfoWithoutServices) ProtoMessage ¶
func (*ContourInfoWithoutServices) ProtoMessage()
func (*ContourInfoWithoutServices) ProtoReflect ¶
func (x *ContourInfoWithoutServices) ProtoReflect() protoreflect.Message
func (*ContourInfoWithoutServices) Reset ¶
func (x *ContourInfoWithoutServices) Reset()
func (*ContourInfoWithoutServices) String ¶
func (x *ContourInfoWithoutServices) String() string
type ContourNameAndDescription ¶
type ContourNameAndDescription struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
func (*ContourNameAndDescription) Descriptor
deprecated
func (*ContourNameAndDescription) Descriptor() ([]byte, []int)
Deprecated: Use ContourNameAndDescription.ProtoReflect.Descriptor instead.
func (*ContourNameAndDescription) GetAppId ¶
func (x *ContourNameAndDescription) GetAppId() string
func (*ContourNameAndDescription) GetDescription ¶
func (x *ContourNameAndDescription) GetDescription() string
func (*ContourNameAndDescription) GetName ¶
func (x *ContourNameAndDescription) GetName() string
func (*ContourNameAndDescription) ProtoMessage ¶
func (*ContourNameAndDescription) ProtoMessage()
func (*ContourNameAndDescription) ProtoReflect ¶
func (x *ContourNameAndDescription) ProtoReflect() protoreflect.Message
func (*ContourNameAndDescription) Reset ¶
func (x *ContourNameAndDescription) Reset()
func (*ContourNameAndDescription) String ¶
func (x *ContourNameAndDescription) String() string
type ContoursClient ¶
type ContoursClient interface { /// Use to add a whole new app Create(ctx context.Context, in *ContourNameAndDescription, opts ...grpc.CallOption) (*ContourInfoWithoutServices, error) /// Use to get app by ProjectID Get(ctx context.Context, in *ContourId, opts ...grpc.CallOption) (*ContourInfo, error) /// Use to list all apps in db List(ctx context.Context, in *ContoursListOption, opts ...grpc.CallOption) (Contours_ListClient, error) /// Use to update an app (add/edit contour, edit name) Update(ctx context.Context, in *ContourInfoWithoutServices, opts ...grpc.CallOption) (*ContourInfoWithoutServices, error) /// Use to delete an app (❗️not implemented yet❗️) Delete(ctx context.Context, in *ContourIdAndName, opts ...grpc.CallOption) (*common.EmptyMessage, error) /// Use to add a services to the contour AddServices(ctx context.Context, in *RepeatedServiceWithoutId, opts ...grpc.CallOption) (*common.EmptyMessage, error) /// Use to rmove services from the contour RemoveService(ctx context.Context, in *ServiceIdAndContourId, opts ...grpc.CallOption) (*common.EmptyMessage, error) }
ContoursClient is the client API for Contours 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.
func NewContoursClient ¶
func NewContoursClient(cc grpc.ClientConnInterface) ContoursClient
type ContoursListOption ¶
type ContoursListOption struct { AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
func (*ContoursListOption) Descriptor
deprecated
func (*ContoursListOption) Descriptor() ([]byte, []int)
Deprecated: Use ContoursListOption.ProtoReflect.Descriptor instead.
func (*ContoursListOption) GetAppId ¶
func (x *ContoursListOption) GetAppId() string
func (*ContoursListOption) ProtoMessage ¶
func (*ContoursListOption) ProtoMessage()
func (*ContoursListOption) ProtoReflect ¶
func (x *ContoursListOption) ProtoReflect() protoreflect.Message
func (*ContoursListOption) Reset ¶
func (x *ContoursListOption) Reset()
func (*ContoursListOption) String ¶
func (x *ContoursListOption) String() string
type ContoursServer ¶
type ContoursServer interface { /// Use to add a whole new app Create(context.Context, *ContourNameAndDescription) (*ContourInfoWithoutServices, error) /// Use to get app by ProjectID Get(context.Context, *ContourId) (*ContourInfo, error) /// Use to list all apps in db List(*ContoursListOption, Contours_ListServer) error /// Use to update an app (add/edit contour, edit name) Update(context.Context, *ContourInfoWithoutServices) (*ContourInfoWithoutServices, error) /// Use to delete an app (❗️not implemented yet❗️) Delete(context.Context, *ContourIdAndName) (*common.EmptyMessage, error) /// Use to add a services to the contour AddServices(context.Context, *RepeatedServiceWithoutId) (*common.EmptyMessage, error) /// Use to rmove services from the contour RemoveService(context.Context, *ServiceIdAndContourId) (*common.EmptyMessage, error) // contains filtered or unexported methods }
ContoursServer is the server API for Contours service. All implementations must embed UnimplementedContoursServer for forward compatibility
type Contours_ListClient ¶
type Contours_ListClient interface { Recv() (*ContourInfo, error) grpc.ClientStream }
type Contours_ListServer ¶
type Contours_ListServer interface { Send(*ContourInfo) error grpc.ServerStream }
type RepeatedServiceWithId ¶
type RepeatedServiceWithId struct { ContourId string `protobuf:"bytes,1,opt,name=contour_id,json=contourId,proto3" json:"contour_id,omitempty"` Services []*ServiceInfo `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
* Represents an array of services
func (*RepeatedServiceWithId) Descriptor
deprecated
func (*RepeatedServiceWithId) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedServiceWithId.ProtoReflect.Descriptor instead.
func (*RepeatedServiceWithId) GetAppId ¶
func (x *RepeatedServiceWithId) GetAppId() string
func (*RepeatedServiceWithId) GetContourId ¶
func (x *RepeatedServiceWithId) GetContourId() string
func (*RepeatedServiceWithId) GetServices ¶
func (x *RepeatedServiceWithId) GetServices() []*ServiceInfo
func (*RepeatedServiceWithId) ProtoMessage ¶
func (*RepeatedServiceWithId) ProtoMessage()
func (*RepeatedServiceWithId) ProtoReflect ¶
func (x *RepeatedServiceWithId) ProtoReflect() protoreflect.Message
func (*RepeatedServiceWithId) Reset ¶
func (x *RepeatedServiceWithId) Reset()
func (*RepeatedServiceWithId) String ¶
func (x *RepeatedServiceWithId) String() string
type RepeatedServiceWithoutId ¶
type RepeatedServiceWithoutId struct { ContourId string `protobuf:"bytes,1,opt,name=contour_id,json=contourId,proto3" json:"contour_id,omitempty"` Services []*ServiceWithoutId `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
* Represents an array of services
func (*RepeatedServiceWithoutId) Descriptor
deprecated
func (*RepeatedServiceWithoutId) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedServiceWithoutId.ProtoReflect.Descriptor instead.
func (*RepeatedServiceWithoutId) GetAppId ¶
func (x *RepeatedServiceWithoutId) GetAppId() string
func (*RepeatedServiceWithoutId) GetContourId ¶
func (x *RepeatedServiceWithoutId) GetContourId() string
func (*RepeatedServiceWithoutId) GetServices ¶
func (x *RepeatedServiceWithoutId) GetServices() []*ServiceWithoutId
func (*RepeatedServiceWithoutId) ProtoMessage ¶
func (*RepeatedServiceWithoutId) ProtoMessage()
func (*RepeatedServiceWithoutId) ProtoReflect ¶
func (x *RepeatedServiceWithoutId) ProtoReflect() protoreflect.Message
func (*RepeatedServiceWithoutId) Reset ¶
func (x *RepeatedServiceWithoutId) Reset()
func (*RepeatedServiceWithoutId) String ¶
func (x *RepeatedServiceWithoutId) String() string
type ServiceIdAndContourId ¶
type ServiceIdAndContourId struct { ContourId string `protobuf:"bytes,1,opt,name=contour_id,json=contourId,proto3" json:"contour_id,omitempty"` ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Applcation ID: UUID // contains filtered or unexported fields }
func (*ServiceIdAndContourId) Descriptor
deprecated
func (*ServiceIdAndContourId) Descriptor() ([]byte, []int)
Deprecated: Use ServiceIdAndContourId.ProtoReflect.Descriptor instead.
func (*ServiceIdAndContourId) GetAppId ¶
func (x *ServiceIdAndContourId) GetAppId() string
func (*ServiceIdAndContourId) GetContourId ¶
func (x *ServiceIdAndContourId) GetContourId() string
func (*ServiceIdAndContourId) GetServiceId ¶
func (x *ServiceIdAndContourId) GetServiceId() string
func (*ServiceIdAndContourId) ProtoMessage ¶
func (*ServiceIdAndContourId) ProtoMessage()
func (*ServiceIdAndContourId) ProtoReflect ¶
func (x *ServiceIdAndContourId) ProtoReflect() protoreflect.Message
func (*ServiceIdAndContourId) Reset ¶
func (x *ServiceIdAndContourId) Reset()
func (*ServiceIdAndContourId) String ¶
func (x *ServiceIdAndContourId) String() string
type ServiceInfo ¶
type ServiceInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Project int64 `protobuf:"varint,2,opt,name=project,proto3" json:"project,omitempty"` // Project ID from Gitlab Environment int64 `protobuf:"varint,3,opt,name=environment,proto3" json:"environment,omitempty"` // Environment ID from Gitlab // contains filtered or unexported fields }
* Represents a service
func (*ServiceInfo) Descriptor
deprecated
func (*ServiceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.
func (*ServiceInfo) GetEnvironment ¶
func (x *ServiceInfo) GetEnvironment() int64
func (*ServiceInfo) GetId ¶
func (x *ServiceInfo) GetId() string
func (*ServiceInfo) GetProject ¶
func (x *ServiceInfo) GetProject() int64
func (*ServiceInfo) ProtoMessage ¶
func (*ServiceInfo) ProtoMessage()
func (*ServiceInfo) ProtoReflect ¶
func (x *ServiceInfo) ProtoReflect() protoreflect.Message
func (*ServiceInfo) Reset ¶
func (x *ServiceInfo) Reset()
func (*ServiceInfo) String ¶
func (x *ServiceInfo) String() string
type ServiceWithoutId ¶
type ServiceWithoutId struct { Project int64 `protobuf:"varint,1,opt,name=project,proto3" json:"project,omitempty"` // Project ID from Gitlab Environment int64 `protobuf:"varint,2,opt,name=environment,proto3" json:"environment,omitempty"` // Environment ID from Gitlab // contains filtered or unexported fields }
* Represents a service without ID
func (*ServiceWithoutId) Descriptor
deprecated
func (*ServiceWithoutId) Descriptor() ([]byte, []int)
Deprecated: Use ServiceWithoutId.ProtoReflect.Descriptor instead.
func (*ServiceWithoutId) GetEnvironment ¶
func (x *ServiceWithoutId) GetEnvironment() int64
func (*ServiceWithoutId) GetProject ¶
func (x *ServiceWithoutId) GetProject() int64
func (*ServiceWithoutId) ProtoMessage ¶
func (*ServiceWithoutId) ProtoMessage()
func (*ServiceWithoutId) ProtoReflect ¶
func (x *ServiceWithoutId) ProtoReflect() protoreflect.Message
func (*ServiceWithoutId) Reset ¶
func (x *ServiceWithoutId) Reset()
func (*ServiceWithoutId) String ¶
func (x *ServiceWithoutId) String() string
type UnimplementedContoursServer ¶
type UnimplementedContoursServer struct { }
UnimplementedContoursServer must be embedded to have forward compatible implementations.
func (UnimplementedContoursServer) AddServices ¶
func (UnimplementedContoursServer) AddServices(context.Context, *RepeatedServiceWithoutId) (*common.EmptyMessage, error)
func (UnimplementedContoursServer) Create ¶
func (UnimplementedContoursServer) Create(context.Context, *ContourNameAndDescription) (*ContourInfoWithoutServices, error)
func (UnimplementedContoursServer) Delete ¶
func (UnimplementedContoursServer) Delete(context.Context, *ContourIdAndName) (*common.EmptyMessage, error)
func (UnimplementedContoursServer) Get ¶
func (UnimplementedContoursServer) Get(context.Context, *ContourId) (*ContourInfo, error)
func (UnimplementedContoursServer) List ¶
func (UnimplementedContoursServer) List(*ContoursListOption, Contours_ListServer) error
func (UnimplementedContoursServer) RemoveService ¶
func (UnimplementedContoursServer) RemoveService(context.Context, *ServiceIdAndContourId) (*common.EmptyMessage, error)
func (UnimplementedContoursServer) Update ¶
func (UnimplementedContoursServer) Update(context.Context, *ContourInfoWithoutServices) (*ContourInfoWithoutServices, error)
type UnsafeContoursServer ¶
type UnsafeContoursServer interface {
// contains filtered or unexported methods
}
UnsafeContoursServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContoursServer will result in compilation errors.