Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterEnvironmentSvcServer(s grpc.ServiceRegistrar, srv EnvironmentSvcServer)
- type CreateEnvironmentRequest
- func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnvironmentRequest) GetCountCapacity() string
- func (x *CreateEnvironmentRequest) GetDisplayName() string
- func (x *CreateEnvironmentRequest) GetDnssuffix() string
- func (x *CreateEnvironmentRequest) GetEnvironmentSpecifics() string
- func (x *CreateEnvironmentRequest) GetIpTranslationMap() string
- func (x *CreateEnvironmentRequest) GetProvider() string
- func (x *CreateEnvironmentRequest) GetTemplateMapping() string
- func (x *CreateEnvironmentRequest) GetWsEndpoint() string
- func (*CreateEnvironmentRequest) ProtoMessage()
- func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnvironmentRequest) Reset()
- func (x *CreateEnvironmentRequest) String() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetAnnotations() map[string]string
- func (x *Environment) GetCountCapacity() map[string]uint32
- func (x *Environment) GetDisplayName() string
- func (x *Environment) GetDnssuffix() string
- func (x *Environment) GetEnvironmentSpecifics() map[string]string
- func (x *Environment) GetId() string
- func (x *Environment) GetIpTranslationMap() map[string]string
- func (x *Environment) GetProvider() string
- func (x *Environment) GetTemplateMapping() map[string]*general.StringMap
- func (x *Environment) GetUid() string
- func (x *Environment) GetWsEndpoint() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type EnvironmentSvcClient
- type EnvironmentSvcServer
- type ListEnvironmentsResponse
- func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
- func (*ListEnvironmentsResponse) ProtoMessage()
- func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEnvironmentsResponse) Reset()
- func (x *ListEnvironmentsResponse) String() string
- type UnimplementedEnvironmentSvcServer
- func (UnimplementedEnvironmentSvcServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*general.ResourceId, error)
- func (UnimplementedEnvironmentSvcServer) DeleteCollectionEnvironment(context.Context, *general.ListOptions) (*emptypb.Empty, error)
- func (UnimplementedEnvironmentSvcServer) DeleteEnvironment(context.Context, *general.ResourceId) (*emptypb.Empty, error)
- func (UnimplementedEnvironmentSvcServer) GetEnvironment(context.Context, *general.GetRequest) (*Environment, error)
- func (UnimplementedEnvironmentSvcServer) ListEnvironment(context.Context, *general.ListOptions) (*ListEnvironmentsResponse, error)
- func (UnimplementedEnvironmentSvcServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*emptypb.Empty, error)
- type UnsafeEnvironmentSvcServer
- type UpdateEnvironmentRequest
- func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnvironmentRequest) GetCountCapacity() string
- func (x *UpdateEnvironmentRequest) GetDisplayName() string
- func (x *UpdateEnvironmentRequest) GetDnssuffix() *wrapperspb.StringValue
- func (x *UpdateEnvironmentRequest) GetEnvironmentSpecifics() string
- func (x *UpdateEnvironmentRequest) GetId() string
- func (x *UpdateEnvironmentRequest) GetIpTranslationMap() string
- func (x *UpdateEnvironmentRequest) GetProvider() string
- func (x *UpdateEnvironmentRequest) GetTemplateMapping() string
- func (x *UpdateEnvironmentRequest) GetWsEndpoint() string
- func (*UpdateEnvironmentRequest) ProtoMessage()
- func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvironmentRequest) Reset()
- func (x *UpdateEnvironmentRequest) String() string
Constants ¶
const ( EnvironmentSvc_CreateEnvironment_FullMethodName = "/environment.EnvironmentSvc/CreateEnvironment" EnvironmentSvc_GetEnvironment_FullMethodName = "/environment.EnvironmentSvc/GetEnvironment" EnvironmentSvc_UpdateEnvironment_FullMethodName = "/environment.EnvironmentSvc/UpdateEnvironment" EnvironmentSvc_DeleteEnvironment_FullMethodName = "/environment.EnvironmentSvc/DeleteEnvironment" EnvironmentSvc_DeleteCollectionEnvironment_FullMethodName = "/environment.EnvironmentSvc/DeleteCollectionEnvironment" EnvironmentSvc_ListEnvironment_FullMethodName = "/environment.EnvironmentSvc/ListEnvironment" )
Variables ¶
var EnvironmentSvc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "environment.EnvironmentSvc", HandlerType: (*EnvironmentSvcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEnvironment", Handler: _EnvironmentSvc_CreateEnvironment_Handler, }, { MethodName: "GetEnvironment", Handler: _EnvironmentSvc_GetEnvironment_Handler, }, { MethodName: "UpdateEnvironment", Handler: _EnvironmentSvc_UpdateEnvironment_Handler, }, { MethodName: "DeleteEnvironment", Handler: _EnvironmentSvc_DeleteEnvironment_Handler, }, { MethodName: "DeleteCollectionEnvironment", Handler: _EnvironmentSvc_DeleteCollectionEnvironment_Handler, }, { MethodName: "ListEnvironment", Handler: _EnvironmentSvc_ListEnvironment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "environment/environment.proto", }
EnvironmentSvc_ServiceDesc is the grpc.ServiceDesc for EnvironmentSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_environment_environment_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEnvironmentSvcServer ¶
func RegisterEnvironmentSvcServer(s grpc.ServiceRegistrar, srv EnvironmentSvcServer)
Types ¶
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Dnssuffix string `protobuf:"bytes,2,opt,name=dnssuffix,proto3" json:"dnssuffix,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` TemplateMapping string `protobuf:"bytes,4,opt,name=template_mapping,json=templateMapping,proto3" json:"template_mapping,omitempty"` EnvironmentSpecifics string `protobuf:"bytes,5,opt,name=environment_specifics,json=environmentSpecifics,proto3" json:"environment_specifics,omitempty"` IpTranslationMap string `protobuf:"bytes,6,opt,name=ip_translation_map,json=ipTranslationMap,proto3" json:"ip_translation_map,omitempty"` WsEndpoint string `protobuf:"bytes,7,opt,name=ws_endpoint,json=wsEndpoint,proto3" json:"ws_endpoint,omitempty"` CountCapacity string `protobuf:"bytes,8,opt,name=count_capacity,json=countCapacity,proto3" json:"count_capacity,omitempty"` // contains filtered or unexported fields }
func (*CreateEnvironmentRequest) Descriptor
deprecated
func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*CreateEnvironmentRequest) GetCountCapacity ¶
func (x *CreateEnvironmentRequest) GetCountCapacity() string
func (*CreateEnvironmentRequest) GetDisplayName ¶
func (x *CreateEnvironmentRequest) GetDisplayName() string
func (*CreateEnvironmentRequest) GetDnssuffix ¶
func (x *CreateEnvironmentRequest) GetDnssuffix() string
func (*CreateEnvironmentRequest) GetEnvironmentSpecifics ¶
func (x *CreateEnvironmentRequest) GetEnvironmentSpecifics() string
func (*CreateEnvironmentRequest) GetIpTranslationMap ¶
func (x *CreateEnvironmentRequest) GetIpTranslationMap() string
func (*CreateEnvironmentRequest) GetProvider ¶
func (x *CreateEnvironmentRequest) GetProvider() string
func (*CreateEnvironmentRequest) GetTemplateMapping ¶
func (x *CreateEnvironmentRequest) GetTemplateMapping() string
func (*CreateEnvironmentRequest) GetWsEndpoint ¶
func (x *CreateEnvironmentRequest) GetWsEndpoint() string
func (*CreateEnvironmentRequest) ProtoMessage ¶
func (*CreateEnvironmentRequest) ProtoMessage()
func (*CreateEnvironmentRequest) ProtoReflect ¶
func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*CreateEnvironmentRequest) Reset ¶
func (x *CreateEnvironmentRequest) Reset()
func (*CreateEnvironmentRequest) String ¶
func (x *CreateEnvironmentRequest) String() string
type Environment ¶
type Environment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Dnssuffix string `protobuf:"bytes,4,opt,name=dnssuffix,proto3" json:"dnssuffix,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` TemplateMapping map[string]*general.StringMap `` /* 194-byte string literal not displayed */ EnvironmentSpecifics map[string]string `` /* 209-byte string literal not displayed */ IpTranslationMap map[string]string `` /* 199-byte string literal not displayed */ WsEndpoint string `protobuf:"bytes,9,opt,name=ws_endpoint,json=wsEndpoint,proto3" json:"ws_endpoint,omitempty"` CountCapacity map[string]uint32 `` /* 190-byte string literal not displayed */ Annotations map[string]string `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetAnnotations ¶
func (x *Environment) GetAnnotations() map[string]string
func (*Environment) GetCountCapacity ¶
func (x *Environment) GetCountCapacity() map[string]uint32
func (*Environment) GetDisplayName ¶
func (x *Environment) GetDisplayName() string
func (*Environment) GetDnssuffix ¶
func (x *Environment) GetDnssuffix() string
func (*Environment) GetEnvironmentSpecifics ¶
func (x *Environment) GetEnvironmentSpecifics() map[string]string
func (*Environment) GetId ¶
func (x *Environment) GetId() string
func (*Environment) GetIpTranslationMap ¶
func (x *Environment) GetIpTranslationMap() map[string]string
func (*Environment) GetProvider ¶
func (x *Environment) GetProvider() string
func (*Environment) GetTemplateMapping ¶
func (x *Environment) GetTemplateMapping() map[string]*general.StringMap
func (*Environment) GetUid ¶
func (x *Environment) GetUid() string
func (*Environment) GetWsEndpoint ¶
func (x *Environment) GetWsEndpoint() string
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type EnvironmentSvcClient ¶
type EnvironmentSvcClient interface { CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*general.ResourceId, error) GetEnvironment(ctx context.Context, in *general.GetRequest, opts ...grpc.CallOption) (*Environment, error) UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteEnvironment(ctx context.Context, in *general.ResourceId, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteCollectionEnvironment(ctx context.Context, in *general.ListOptions, opts ...grpc.CallOption) (*emptypb.Empty, error) ListEnvironment(ctx context.Context, in *general.ListOptions, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) }
EnvironmentSvcClient is the client API for EnvironmentSvc 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 NewEnvironmentSvcClient ¶
func NewEnvironmentSvcClient(cc grpc.ClientConnInterface) EnvironmentSvcClient
type EnvironmentSvcServer ¶
type EnvironmentSvcServer interface { CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*general.ResourceId, error) GetEnvironment(context.Context, *general.GetRequest) (*Environment, error) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*emptypb.Empty, error) DeleteEnvironment(context.Context, *general.ResourceId) (*emptypb.Empty, error) DeleteCollectionEnvironment(context.Context, *general.ListOptions) (*emptypb.Empty, error) ListEnvironment(context.Context, *general.ListOptions) (*ListEnvironmentsResponse, error) // contains filtered or unexported methods }
EnvironmentSvcServer is the server API for EnvironmentSvc service. All implementations must embed UnimplementedEnvironmentSvcServer for forward compatibility
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // contains filtered or unexported fields }
func (*ListEnvironmentsResponse) Descriptor
deprecated
func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsResponse) GetEnvironments ¶
func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
func (*ListEnvironmentsResponse) ProtoMessage ¶
func (*ListEnvironmentsResponse) ProtoMessage()
func (*ListEnvironmentsResponse) ProtoReflect ¶
func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
func (*ListEnvironmentsResponse) Reset ¶
func (x *ListEnvironmentsResponse) Reset()
func (*ListEnvironmentsResponse) String ¶
func (x *ListEnvironmentsResponse) String() string
type UnimplementedEnvironmentSvcServer ¶
type UnimplementedEnvironmentSvcServer struct { }
UnimplementedEnvironmentSvcServer must be embedded to have forward compatible implementations.
func (UnimplementedEnvironmentSvcServer) CreateEnvironment ¶
func (UnimplementedEnvironmentSvcServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*general.ResourceId, error)
func (UnimplementedEnvironmentSvcServer) DeleteCollectionEnvironment ¶
func (UnimplementedEnvironmentSvcServer) DeleteCollectionEnvironment(context.Context, *general.ListOptions) (*emptypb.Empty, error)
func (UnimplementedEnvironmentSvcServer) DeleteEnvironment ¶
func (UnimplementedEnvironmentSvcServer) DeleteEnvironment(context.Context, *general.ResourceId) (*emptypb.Empty, error)
func (UnimplementedEnvironmentSvcServer) GetEnvironment ¶
func (UnimplementedEnvironmentSvcServer) GetEnvironment(context.Context, *general.GetRequest) (*Environment, error)
func (UnimplementedEnvironmentSvcServer) ListEnvironment ¶
func (UnimplementedEnvironmentSvcServer) ListEnvironment(context.Context, *general.ListOptions) (*ListEnvironmentsResponse, error)
func (UnimplementedEnvironmentSvcServer) UpdateEnvironment ¶
func (UnimplementedEnvironmentSvcServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*emptypb.Empty, error)
type UnsafeEnvironmentSvcServer ¶
type UnsafeEnvironmentSvcServer interface {
// contains filtered or unexported methods
}
UnsafeEnvironmentSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnvironmentSvcServer will result in compilation errors.
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Dnssuffix *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=dnssuffix,proto3" json:"dnssuffix,omitempty"` // optional Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` TemplateMapping string `protobuf:"bytes,5,opt,name=template_mapping,json=templateMapping,proto3" json:"template_mapping,omitempty"` EnvironmentSpecifics string `protobuf:"bytes,6,opt,name=environment_specifics,json=environmentSpecifics,proto3" json:"environment_specifics,omitempty"` IpTranslationMap string `protobuf:"bytes,7,opt,name=ip_translation_map,json=ipTranslationMap,proto3" json:"ip_translation_map,omitempty"` WsEndpoint string `protobuf:"bytes,8,opt,name=ws_endpoint,json=wsEndpoint,proto3" json:"ws_endpoint,omitempty"` CountCapacity string `protobuf:"bytes,9,opt,name=count_capacity,json=countCapacity,proto3" json:"count_capacity,omitempty"` // contains filtered or unexported fields }
func (*UpdateEnvironmentRequest) Descriptor
deprecated
func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentRequest) GetCountCapacity ¶
func (x *UpdateEnvironmentRequest) GetCountCapacity() string
func (*UpdateEnvironmentRequest) GetDisplayName ¶
func (x *UpdateEnvironmentRequest) GetDisplayName() string
func (*UpdateEnvironmentRequest) GetDnssuffix ¶
func (x *UpdateEnvironmentRequest) GetDnssuffix() *wrapperspb.StringValue
func (*UpdateEnvironmentRequest) GetEnvironmentSpecifics ¶
func (x *UpdateEnvironmentRequest) GetEnvironmentSpecifics() string
func (*UpdateEnvironmentRequest) GetId ¶
func (x *UpdateEnvironmentRequest) GetId() string
func (*UpdateEnvironmentRequest) GetIpTranslationMap ¶
func (x *UpdateEnvironmentRequest) GetIpTranslationMap() string
func (*UpdateEnvironmentRequest) GetProvider ¶
func (x *UpdateEnvironmentRequest) GetProvider() string
func (*UpdateEnvironmentRequest) GetTemplateMapping ¶
func (x *UpdateEnvironmentRequest) GetTemplateMapping() string
func (*UpdateEnvironmentRequest) GetWsEndpoint ¶
func (x *UpdateEnvironmentRequest) GetWsEndpoint() string
func (*UpdateEnvironmentRequest) ProtoMessage ¶
func (*UpdateEnvironmentRequest) ProtoMessage()
func (*UpdateEnvironmentRequest) ProtoReflect ¶
func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateEnvironmentRequest) Reset ¶
func (x *UpdateEnvironmentRequest) Reset()
func (*UpdateEnvironmentRequest) String ¶
func (x *UpdateEnvironmentRequest) String() string