Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type AddEnvironmentRequest
- func (*AddEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddEnvironmentRequest) GetEnvironment() *Environment
- func (*AddEnvironmentRequest) ProtoMessage()
- func (x *AddEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *AddEnvironmentRequest) Reset()
- func (x *AddEnvironmentRequest) String() string
- func (m *AddEnvironmentRequest) Validate() error
- func (m *AddEnvironmentRequest) ValidateAll() error
- type AddEnvironmentRequestMultiError
- type AddEnvironmentRequestValidationError
- func (e AddEnvironmentRequestValidationError) Cause() error
- func (e AddEnvironmentRequestValidationError) Error() string
- func (e AddEnvironmentRequestValidationError) ErrorName() string
- func (e AddEnvironmentRequestValidationError) Field() string
- func (e AddEnvironmentRequestValidationError) Key() bool
- func (e AddEnvironmentRequestValidationError) Reason() string
- type AddEnvironmentResponse
- func (*AddEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddEnvironmentResponse) ProtoMessage()
- func (x *AddEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *AddEnvironmentResponse) Reset()
- func (x *AddEnvironmentResponse) String() string
- func (m *AddEnvironmentResponse) Validate() error
- func (m *AddEnvironmentResponse) ValidateAll() error
- type AddEnvironmentResponseMultiError
- type AddEnvironmentResponseValidationError
- func (e AddEnvironmentResponseValidationError) Cause() error
- func (e AddEnvironmentResponseValidationError) Error() string
- func (e AddEnvironmentResponseValidationError) ErrorName() string
- func (e AddEnvironmentResponseValidationError) Field() string
- func (e AddEnvironmentResponseValidationError) Key() bool
- func (e AddEnvironmentResponseValidationError) Reason() string
- type AllEnvironmentRequest
- func (*AllEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (*AllEnvironmentRequest) ProtoMessage()
- func (x *AllEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *AllEnvironmentRequest) Reset()
- func (x *AllEnvironmentRequest) String() string
- func (m *AllEnvironmentRequest) Validate() error
- func (m *AllEnvironmentRequest) ValidateAll() error
- type AllEnvironmentRequestMultiError
- type AllEnvironmentRequestValidationError
- func (e AllEnvironmentRequestValidationError) Cause() error
- func (e AllEnvironmentRequestValidationError) Error() string
- func (e AllEnvironmentRequestValidationError) ErrorName() string
- func (e AllEnvironmentRequestValidationError) Field() string
- func (e AllEnvironmentRequestValidationError) Key() bool
- func (e AllEnvironmentRequestValidationError) Reason() string
- type AllEnvironmentResponse
- func (*AllEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllEnvironmentResponse) GetEnvironments() []*Environment
- func (*AllEnvironmentResponse) ProtoMessage()
- func (x *AllEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *AllEnvironmentResponse) Reset()
- func (x *AllEnvironmentResponse) String() string
- func (m *AllEnvironmentResponse) Validate() error
- func (m *AllEnvironmentResponse) ValidateAll() error
- type AllEnvironmentResponseMultiError
- type AllEnvironmentResponseValidationError
- func (e AllEnvironmentResponseValidationError) Cause() error
- func (e AllEnvironmentResponseValidationError) Error() string
- func (e AllEnvironmentResponseValidationError) ErrorName() string
- func (e AllEnvironmentResponseValidationError) Field() string
- func (e AllEnvironmentResponseValidationError) Key() bool
- func (e AllEnvironmentResponseValidationError) Reason() string
- type DeleteEnvironmentRequest
- func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEnvironmentRequest) GetEnvironment() *Environment
- func (x *DeleteEnvironmentRequest) GetId() int64
- func (*DeleteEnvironmentRequest) ProtoMessage()
- func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvironmentRequest) Reset()
- func (x *DeleteEnvironmentRequest) String() string
- func (m *DeleteEnvironmentRequest) Validate() error
- func (m *DeleteEnvironmentRequest) ValidateAll() error
- type DeleteEnvironmentRequestMultiError
- type DeleteEnvironmentRequestValidationError
- func (e DeleteEnvironmentRequestValidationError) Cause() error
- func (e DeleteEnvironmentRequestValidationError) Error() string
- func (e DeleteEnvironmentRequestValidationError) ErrorName() string
- func (e DeleteEnvironmentRequestValidationError) Field() string
- func (e DeleteEnvironmentRequestValidationError) Key() bool
- func (e DeleteEnvironmentRequestValidationError) Reason() string
- type DeleteEnvironmentResponse
- func (*DeleteEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteEnvironmentResponse) ProtoMessage()
- func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvironmentResponse) Reset()
- func (x *DeleteEnvironmentResponse) String() string
- func (m *DeleteEnvironmentResponse) Validate() error
- func (m *DeleteEnvironmentResponse) ValidateAll() error
- type DeleteEnvironmentResponseMultiError
- type DeleteEnvironmentResponseValidationError
- func (e DeleteEnvironmentResponseValidationError) Cause() error
- func (e DeleteEnvironmentResponseValidationError) Error() string
- func (e DeleteEnvironmentResponseValidationError) ErrorName() string
- func (e DeleteEnvironmentResponseValidationError) Field() string
- func (e DeleteEnvironmentResponseValidationError) Key() bool
- func (e DeleteEnvironmentResponseValidationError) Reason() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetDescription() string
- func (x *Environment) GetKeyword() string
- func (x *Environment) GetOperator() string
- func (x *Environment) GetOperatorId() int64
- func (x *Environment) GetStatus() bool
- func (x *Environment) GetTitle() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- func (m *Environment) Validate() error
- func (m *Environment) ValidateAll() error
- type EnvironmentMultiError
- type EnvironmentValidationError
- func (e EnvironmentValidationError) Cause() error
- func (e EnvironmentValidationError) Error() string
- func (e EnvironmentValidationError) ErrorName() string
- func (e EnvironmentValidationError) Field() string
- func (e EnvironmentValidationError) Key() bool
- func (e EnvironmentValidationError) Reason() string
- type ServiceClient
- type ServiceHTTPClient
- type ServiceHTTPClientImpl
- type ServiceHTTPServer
- type ServiceServer
- type UnimplementedServiceServer
- type UnsafeServiceServer
- type UpdateEnvironmentRequest
- func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
- func (x *UpdateEnvironmentRequest) GetId() int64
- func (*UpdateEnvironmentRequest) ProtoMessage()
- func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvironmentRequest) Reset()
- func (x *UpdateEnvironmentRequest) String() string
- func (m *UpdateEnvironmentRequest) Validate() error
- func (m *UpdateEnvironmentRequest) ValidateAll() error
- type UpdateEnvironmentRequestMultiError
- type UpdateEnvironmentRequestValidationError
- func (e UpdateEnvironmentRequestValidationError) Cause() error
- func (e UpdateEnvironmentRequestValidationError) Error() string
- func (e UpdateEnvironmentRequestValidationError) ErrorName() string
- func (e UpdateEnvironmentRequestValidationError) Field() string
- func (e UpdateEnvironmentRequestValidationError) Key() bool
- func (e UpdateEnvironmentRequestValidationError) Reason() string
- type UpdateEnvironmentResponse
- func (*UpdateEnvironmentResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEnvironmentResponse) ProtoMessage()
- func (x *UpdateEnvironmentResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvironmentResponse) Reset()
- func (x *UpdateEnvironmentResponse) String() string
- func (m *UpdateEnvironmentResponse) Validate() error
- func (m *UpdateEnvironmentResponse) ValidateAll() error
- type UpdateEnvironmentResponseMultiError
- type UpdateEnvironmentResponseValidationError
- func (e UpdateEnvironmentResponseValidationError) Cause() error
- func (e UpdateEnvironmentResponseValidationError) Error() string
- func (e UpdateEnvironmentResponseValidationError) ErrorName() string
- func (e UpdateEnvironmentResponseValidationError) Field() string
- func (e UpdateEnvironmentResponseValidationError) Key() bool
- func (e UpdateEnvironmentResponseValidationError) Reason() string
Constants ¶
const OperationServiceAllEnvironment = "/v1.Service/AllEnvironment"
const (
Service_AllEnvironment_FullMethodName = "/v1.Service/AllEnvironment"
)
Variables ¶
var File_environment_proto protoreflect.FileDescriptor
var File_service_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v1.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AllEnvironment", Handler: _Service_AllEnvironment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceHTTPServer ¶
func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type AddEnvironmentRequest ¶
type AddEnvironmentRequest struct {
Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
func (*AddEnvironmentRequest) Descriptor
deprecated
func (*AddEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*AddEnvironmentRequest) GetEnvironment ¶
func (x *AddEnvironmentRequest) GetEnvironment() *Environment
func (*AddEnvironmentRequest) ProtoMessage ¶
func (*AddEnvironmentRequest) ProtoMessage()
func (*AddEnvironmentRequest) ProtoReflect ¶
func (x *AddEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*AddEnvironmentRequest) Reset ¶
func (x *AddEnvironmentRequest) Reset()
func (*AddEnvironmentRequest) String ¶
func (x *AddEnvironmentRequest) String() string
func (*AddEnvironmentRequest) Validate ¶
func (m *AddEnvironmentRequest) Validate() error
Validate checks the field values on AddEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddEnvironmentRequest) ValidateAll ¶
func (m *AddEnvironmentRequest) ValidateAll() error
ValidateAll checks the field values on AddEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddEnvironmentRequestMultiError, or nil if none found.
type AddEnvironmentRequestMultiError ¶
type AddEnvironmentRequestMultiError []error
AddEnvironmentRequestMultiError is an error wrapping multiple validation errors returned by AddEnvironmentRequest.ValidateAll() if the designated constraints aren't met.
func (AddEnvironmentRequestMultiError) AllErrors ¶
func (m AddEnvironmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddEnvironmentRequestMultiError) Error ¶
func (m AddEnvironmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddEnvironmentRequestValidationError ¶
type AddEnvironmentRequestValidationError struct {
// contains filtered or unexported fields
}
AddEnvironmentRequestValidationError is the validation error returned by AddEnvironmentRequest.Validate if the designated constraints aren't met.
func (AddEnvironmentRequestValidationError) Cause ¶
func (e AddEnvironmentRequestValidationError) Cause() error
Cause function returns cause value.
func (AddEnvironmentRequestValidationError) Error ¶
func (e AddEnvironmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddEnvironmentRequestValidationError) ErrorName ¶
func (e AddEnvironmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddEnvironmentRequestValidationError) Field ¶
func (e AddEnvironmentRequestValidationError) Field() string
Field function returns field value.
func (AddEnvironmentRequestValidationError) Key ¶
func (e AddEnvironmentRequestValidationError) Key() bool
Key function returns key value.
func (AddEnvironmentRequestValidationError) Reason ¶
func (e AddEnvironmentRequestValidationError) Reason() string
Reason function returns reason value.
type AddEnvironmentResponse ¶
type AddEnvironmentResponse struct {
// contains filtered or unexported fields
}
func (*AddEnvironmentResponse) Descriptor
deprecated
func (*AddEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*AddEnvironmentResponse) ProtoMessage ¶
func (*AddEnvironmentResponse) ProtoMessage()
func (*AddEnvironmentResponse) ProtoReflect ¶
func (x *AddEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*AddEnvironmentResponse) Reset ¶
func (x *AddEnvironmentResponse) Reset()
func (*AddEnvironmentResponse) String ¶
func (x *AddEnvironmentResponse) String() string
func (*AddEnvironmentResponse) Validate ¶
func (m *AddEnvironmentResponse) Validate() error
Validate checks the field values on AddEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddEnvironmentResponse) ValidateAll ¶
func (m *AddEnvironmentResponse) ValidateAll() error
ValidateAll checks the field values on AddEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddEnvironmentResponseMultiError, or nil if none found.
type AddEnvironmentResponseMultiError ¶
type AddEnvironmentResponseMultiError []error
AddEnvironmentResponseMultiError is an error wrapping multiple validation errors returned by AddEnvironmentResponse.ValidateAll() if the designated constraints aren't met.
func (AddEnvironmentResponseMultiError) AllErrors ¶
func (m AddEnvironmentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddEnvironmentResponseMultiError) Error ¶
func (m AddEnvironmentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddEnvironmentResponseValidationError ¶
type AddEnvironmentResponseValidationError struct {
// contains filtered or unexported fields
}
AddEnvironmentResponseValidationError is the validation error returned by AddEnvironmentResponse.Validate if the designated constraints aren't met.
func (AddEnvironmentResponseValidationError) Cause ¶
func (e AddEnvironmentResponseValidationError) Cause() error
Cause function returns cause value.
func (AddEnvironmentResponseValidationError) Error ¶
func (e AddEnvironmentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AddEnvironmentResponseValidationError) ErrorName ¶
func (e AddEnvironmentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AddEnvironmentResponseValidationError) Field ¶
func (e AddEnvironmentResponseValidationError) Field() string
Field function returns field value.
func (AddEnvironmentResponseValidationError) Key ¶
func (e AddEnvironmentResponseValidationError) Key() bool
Key function returns key value.
func (AddEnvironmentResponseValidationError) Reason ¶
func (e AddEnvironmentResponseValidationError) Reason() string
Reason function returns reason value.
type AllEnvironmentRequest ¶
type AllEnvironmentRequest struct {
// contains filtered or unexported fields
}
func (*AllEnvironmentRequest) Descriptor
deprecated
func (*AllEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*AllEnvironmentRequest) ProtoMessage ¶
func (*AllEnvironmentRequest) ProtoMessage()
func (*AllEnvironmentRequest) ProtoReflect ¶
func (x *AllEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*AllEnvironmentRequest) Reset ¶
func (x *AllEnvironmentRequest) Reset()
func (*AllEnvironmentRequest) String ¶
func (x *AllEnvironmentRequest) String() string
func (*AllEnvironmentRequest) Validate ¶
func (m *AllEnvironmentRequest) Validate() error
Validate checks the field values on AllEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllEnvironmentRequest) ValidateAll ¶
func (m *AllEnvironmentRequest) ValidateAll() error
ValidateAll checks the field values on AllEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllEnvironmentRequestMultiError, or nil if none found.
type AllEnvironmentRequestMultiError ¶
type AllEnvironmentRequestMultiError []error
AllEnvironmentRequestMultiError is an error wrapping multiple validation errors returned by AllEnvironmentRequest.ValidateAll() if the designated constraints aren't met.
func (AllEnvironmentRequestMultiError) AllErrors ¶
func (m AllEnvironmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllEnvironmentRequestMultiError) Error ¶
func (m AllEnvironmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllEnvironmentRequestValidationError ¶
type AllEnvironmentRequestValidationError struct {
// contains filtered or unexported fields
}
AllEnvironmentRequestValidationError is the validation error returned by AllEnvironmentRequest.Validate if the designated constraints aren't met.
func (AllEnvironmentRequestValidationError) Cause ¶
func (e AllEnvironmentRequestValidationError) Cause() error
Cause function returns cause value.
func (AllEnvironmentRequestValidationError) Error ¶
func (e AllEnvironmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AllEnvironmentRequestValidationError) ErrorName ¶
func (e AllEnvironmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AllEnvironmentRequestValidationError) Field ¶
func (e AllEnvironmentRequestValidationError) Field() string
Field function returns field value.
func (AllEnvironmentRequestValidationError) Key ¶
func (e AllEnvironmentRequestValidationError) Key() bool
Key function returns key value.
func (AllEnvironmentRequestValidationError) Reason ¶
func (e AllEnvironmentRequestValidationError) Reason() string
Reason function returns reason value.
type AllEnvironmentResponse ¶
type AllEnvironmentResponse struct {
Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
// contains filtered or unexported fields
}
func (*AllEnvironmentResponse) Descriptor
deprecated
func (*AllEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*AllEnvironmentResponse) GetEnvironments ¶
func (x *AllEnvironmentResponse) GetEnvironments() []*Environment
func (*AllEnvironmentResponse) ProtoMessage ¶
func (*AllEnvironmentResponse) ProtoMessage()
func (*AllEnvironmentResponse) ProtoReflect ¶
func (x *AllEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*AllEnvironmentResponse) Reset ¶
func (x *AllEnvironmentResponse) Reset()
func (*AllEnvironmentResponse) String ¶
func (x *AllEnvironmentResponse) String() string
func (*AllEnvironmentResponse) Validate ¶
func (m *AllEnvironmentResponse) Validate() error
Validate checks the field values on AllEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AllEnvironmentResponse) ValidateAll ¶
func (m *AllEnvironmentResponse) ValidateAll() error
ValidateAll checks the field values on AllEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllEnvironmentResponseMultiError, or nil if none found.
type AllEnvironmentResponseMultiError ¶
type AllEnvironmentResponseMultiError []error
AllEnvironmentResponseMultiError is an error wrapping multiple validation errors returned by AllEnvironmentResponse.ValidateAll() if the designated constraints aren't met.
func (AllEnvironmentResponseMultiError) AllErrors ¶
func (m AllEnvironmentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllEnvironmentResponseMultiError) Error ¶
func (m AllEnvironmentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllEnvironmentResponseValidationError ¶
type AllEnvironmentResponseValidationError struct {
// contains filtered or unexported fields
}
AllEnvironmentResponseValidationError is the validation error returned by AllEnvironmentResponse.Validate if the designated constraints aren't met.
func (AllEnvironmentResponseValidationError) Cause ¶
func (e AllEnvironmentResponseValidationError) Cause() error
Cause function returns cause value.
func (AllEnvironmentResponseValidationError) Error ¶
func (e AllEnvironmentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AllEnvironmentResponseValidationError) ErrorName ¶
func (e AllEnvironmentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AllEnvironmentResponseValidationError) Field ¶
func (e AllEnvironmentResponseValidationError) Field() string
Field function returns field value.
func (AllEnvironmentResponseValidationError) Key ¶
func (e AllEnvironmentResponseValidationError) Key() bool
Key function returns key value.
func (AllEnvironmentResponseValidationError) Reason ¶
func (e AllEnvironmentResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteEnvironmentRequest ¶
type DeleteEnvironmentRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteEnvironmentRequest) Descriptor
deprecated
func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnvironmentRequest) GetEnvironment ¶
func (x *DeleteEnvironmentRequest) GetEnvironment() *Environment
func (*DeleteEnvironmentRequest) GetId ¶
func (x *DeleteEnvironmentRequest) GetId() int64
func (*DeleteEnvironmentRequest) ProtoMessage ¶
func (*DeleteEnvironmentRequest) ProtoMessage()
func (*DeleteEnvironmentRequest) ProtoReflect ¶
func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteEnvironmentRequest) Reset ¶
func (x *DeleteEnvironmentRequest) Reset()
func (*DeleteEnvironmentRequest) String ¶
func (x *DeleteEnvironmentRequest) String() string
func (*DeleteEnvironmentRequest) Validate ¶
func (m *DeleteEnvironmentRequest) Validate() error
Validate checks the field values on DeleteEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteEnvironmentRequest) ValidateAll ¶
func (m *DeleteEnvironmentRequest) ValidateAll() error
ValidateAll checks the field values on DeleteEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvironmentRequestMultiError, or nil if none found.
type DeleteEnvironmentRequestMultiError ¶
type DeleteEnvironmentRequestMultiError []error
DeleteEnvironmentRequestMultiError is an error wrapping multiple validation errors returned by DeleteEnvironmentRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteEnvironmentRequestMultiError) AllErrors ¶
func (m DeleteEnvironmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEnvironmentRequestMultiError) Error ¶
func (m DeleteEnvironmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEnvironmentRequestValidationError ¶
type DeleteEnvironmentRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteEnvironmentRequestValidationError is the validation error returned by DeleteEnvironmentRequest.Validate if the designated constraints aren't met.
func (DeleteEnvironmentRequestValidationError) Cause ¶
func (e DeleteEnvironmentRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteEnvironmentRequestValidationError) Error ¶
func (e DeleteEnvironmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEnvironmentRequestValidationError) ErrorName ¶
func (e DeleteEnvironmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEnvironmentRequestValidationError) Field ¶
func (e DeleteEnvironmentRequestValidationError) Field() string
Field function returns field value.
func (DeleteEnvironmentRequestValidationError) Key ¶
func (e DeleteEnvironmentRequestValidationError) Key() bool
Key function returns key value.
func (DeleteEnvironmentRequestValidationError) Reason ¶
func (e DeleteEnvironmentRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteEnvironmentResponse) Descriptor
deprecated
func (*DeleteEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*DeleteEnvironmentResponse) ProtoMessage ¶
func (*DeleteEnvironmentResponse) ProtoMessage()
func (*DeleteEnvironmentResponse) ProtoReflect ¶
func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*DeleteEnvironmentResponse) Reset ¶
func (x *DeleteEnvironmentResponse) Reset()
func (*DeleteEnvironmentResponse) String ¶
func (x *DeleteEnvironmentResponse) String() string
func (*DeleteEnvironmentResponse) Validate ¶
func (m *DeleteEnvironmentResponse) Validate() error
Validate checks the field values on DeleteEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteEnvironmentResponse) ValidateAll ¶
func (m *DeleteEnvironmentResponse) ValidateAll() error
ValidateAll checks the field values on DeleteEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvironmentResponseMultiError, or nil if none found.
type DeleteEnvironmentResponseMultiError ¶
type DeleteEnvironmentResponseMultiError []error
DeleteEnvironmentResponseMultiError is an error wrapping multiple validation errors returned by DeleteEnvironmentResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteEnvironmentResponseMultiError) AllErrors ¶
func (m DeleteEnvironmentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEnvironmentResponseMultiError) Error ¶
func (m DeleteEnvironmentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEnvironmentResponseValidationError ¶
type DeleteEnvironmentResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteEnvironmentResponseValidationError is the validation error returned by DeleteEnvironmentResponse.Validate if the designated constraints aren't met.
func (DeleteEnvironmentResponseValidationError) Cause ¶
func (e DeleteEnvironmentResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteEnvironmentResponseValidationError) Error ¶
func (e DeleteEnvironmentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEnvironmentResponseValidationError) ErrorName ¶
func (e DeleteEnvironmentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEnvironmentResponseValidationError) Field ¶
func (e DeleteEnvironmentResponseValidationError) Field() string
Field function returns field value.
func (DeleteEnvironmentResponseValidationError) Key ¶
func (e DeleteEnvironmentResponseValidationError) Key() bool
Key function returns key value.
func (DeleteEnvironmentResponseValidationError) Reason ¶
func (e DeleteEnvironmentResponseValidationError) Reason() string
Reason function returns reason value.
type Environment ¶
type Environment struct {
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Status *bool `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
Operator *string `protobuf:"bytes,5,opt,name=operator,proto3,oneof" json:"operator,omitempty"`
OperatorId *int64 `protobuf:"varint,6,opt,name=operator_id,json=operatorId,proto3,oneof" json:"operator_id,omitempty"`
// contains filtered or unexported fields
}
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetDescription ¶
func (x *Environment) GetDescription() string
func (*Environment) GetKeyword ¶
func (x *Environment) GetKeyword() string
func (*Environment) GetOperator ¶
func (x *Environment) GetOperator() string
func (*Environment) GetOperatorId ¶
func (x *Environment) GetOperatorId() int64
func (*Environment) GetStatus ¶
func (x *Environment) GetStatus() bool
func (*Environment) GetTitle ¶
func (x *Environment) GetTitle() 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
func (*Environment) Validate ¶
func (m *Environment) Validate() error
Validate checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Environment) ValidateAll ¶
func (m *Environment) ValidateAll() error
ValidateAll checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvironmentMultiError, or nil if none found.
type EnvironmentMultiError ¶
type EnvironmentMultiError []error
EnvironmentMultiError is an error wrapping multiple validation errors returned by Environment.ValidateAll() if the designated constraints aren't met.
func (EnvironmentMultiError) AllErrors ¶
func (m EnvironmentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnvironmentMultiError) Error ¶
func (m EnvironmentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnvironmentValidationError ¶
type EnvironmentValidationError struct {
// contains filtered or unexported fields
}
EnvironmentValidationError is the validation error returned by Environment.Validate if the designated constraints aren't met.
func (EnvironmentValidationError) Cause ¶
func (e EnvironmentValidationError) Cause() error
Cause function returns cause value.
func (EnvironmentValidationError) Error ¶
func (e EnvironmentValidationError) Error() string
Error satisfies the builtin error interface
func (EnvironmentValidationError) ErrorName ¶
func (e EnvironmentValidationError) ErrorName() string
ErrorName returns error name.
func (EnvironmentValidationError) Field ¶
func (e EnvironmentValidationError) Field() string
Field function returns field value.
func (EnvironmentValidationError) Key ¶
func (e EnvironmentValidationError) Key() bool
Key function returns key value.
func (EnvironmentValidationError) Reason ¶
func (e EnvironmentValidationError) Reason() string
Reason function returns reason value.
type ServiceClient ¶
type ServiceClient interface {
AllEnvironment(ctx context.Context, in *AllEnvironmentRequest, opts ...grpc.CallOption) (*AllEnvironmentResponse, error)
}
ServiceClient is the client API for Service 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 NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceHTTPClient ¶
type ServiceHTTPClient interface {
AllEnvironment(ctx context.Context, req *AllEnvironmentRequest, opts ...http.CallOption) (rsp *AllEnvironmentResponse, err error)
}
func NewServiceHTTPClient ¶
func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient
type ServiceHTTPClientImpl ¶
type ServiceHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ServiceHTTPClientImpl) AllEnvironment ¶
func (c *ServiceHTTPClientImpl) AllEnvironment(ctx context.Context, in *AllEnvironmentRequest, opts ...http.CallOption) (*AllEnvironmentResponse, error)
type ServiceHTTPServer ¶
type ServiceHTTPServer interface {
AllEnvironment(context.Context, *AllEnvironmentRequest) (*AllEnvironmentResponse, error)
}
type ServiceServer ¶
type ServiceServer interface {
AllEnvironment(context.Context, *AllEnvironmentRequest) (*AllEnvironmentResponse, error)
// contains filtered or unexported methods
}
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct {
}
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) AllEnvironment ¶
func (UnimplementedServiceServer) AllEnvironment(context.Context, *AllEnvironmentRequest) (*AllEnvironmentResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEnvironmentRequest) Descriptor
deprecated
func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentRequest) GetEnvironment ¶
func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
func (*UpdateEnvironmentRequest) GetId ¶
func (x *UpdateEnvironmentRequest) GetId() int64
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
func (*UpdateEnvironmentRequest) Validate ¶
func (m *UpdateEnvironmentRequest) Validate() error
Validate checks the field values on UpdateEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateEnvironmentRequest) ValidateAll ¶
func (m *UpdateEnvironmentRequest) ValidateAll() error
ValidateAll checks the field values on UpdateEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvironmentRequestMultiError, or nil if none found.
type UpdateEnvironmentRequestMultiError ¶
type UpdateEnvironmentRequestMultiError []error
UpdateEnvironmentRequestMultiError is an error wrapping multiple validation errors returned by UpdateEnvironmentRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateEnvironmentRequestMultiError) AllErrors ¶
func (m UpdateEnvironmentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEnvironmentRequestMultiError) Error ¶
func (m UpdateEnvironmentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEnvironmentRequestValidationError ¶
type UpdateEnvironmentRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEnvironmentRequestValidationError is the validation error returned by UpdateEnvironmentRequest.Validate if the designated constraints aren't met.
func (UpdateEnvironmentRequestValidationError) Cause ¶
func (e UpdateEnvironmentRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEnvironmentRequestValidationError) Error ¶
func (e UpdateEnvironmentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEnvironmentRequestValidationError) ErrorName ¶
func (e UpdateEnvironmentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEnvironmentRequestValidationError) Field ¶
func (e UpdateEnvironmentRequestValidationError) Field() string
Field function returns field value.
func (UpdateEnvironmentRequestValidationError) Key ¶
func (e UpdateEnvironmentRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEnvironmentRequestValidationError) Reason ¶
func (e UpdateEnvironmentRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct {
// contains filtered or unexported fields
}
func (*UpdateEnvironmentResponse) Descriptor
deprecated
func (*UpdateEnvironmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvironmentResponse.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentResponse) ProtoMessage ¶
func (*UpdateEnvironmentResponse) ProtoMessage()
func (*UpdateEnvironmentResponse) ProtoReflect ¶
func (x *UpdateEnvironmentResponse) ProtoReflect() protoreflect.Message
func (*UpdateEnvironmentResponse) Reset ¶
func (x *UpdateEnvironmentResponse) Reset()
func (*UpdateEnvironmentResponse) String ¶
func (x *UpdateEnvironmentResponse) String() string
func (*UpdateEnvironmentResponse) Validate ¶
func (m *UpdateEnvironmentResponse) Validate() error
Validate checks the field values on UpdateEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateEnvironmentResponse) ValidateAll ¶
func (m *UpdateEnvironmentResponse) ValidateAll() error
ValidateAll checks the field values on UpdateEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvironmentResponseMultiError, or nil if none found.
type UpdateEnvironmentResponseMultiError ¶
type UpdateEnvironmentResponseMultiError []error
UpdateEnvironmentResponseMultiError is an error wrapping multiple validation errors returned by UpdateEnvironmentResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateEnvironmentResponseMultiError) AllErrors ¶
func (m UpdateEnvironmentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEnvironmentResponseMultiError) Error ¶
func (m UpdateEnvironmentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEnvironmentResponseValidationError ¶
type UpdateEnvironmentResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEnvironmentResponseValidationError is the validation error returned by UpdateEnvironmentResponse.Validate if the designated constraints aren't met.
func (UpdateEnvironmentResponseValidationError) Cause ¶
func (e UpdateEnvironmentResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEnvironmentResponseValidationError) Error ¶
func (e UpdateEnvironmentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEnvironmentResponseValidationError) ErrorName ¶
func (e UpdateEnvironmentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEnvironmentResponseValidationError) Field ¶
func (e UpdateEnvironmentResponseValidationError) Field() string
Field function returns field value.
func (UpdateEnvironmentResponseValidationError) Key ¶
func (e UpdateEnvironmentResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEnvironmentResponseValidationError) Reason ¶
func (e UpdateEnvironmentResponseValidationError) Reason() string
Reason function returns reason value.