Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
github.com/tcvem/backend/api/service.proto github.com/tcvem/backend/api/certificate.proto
It has these top-level messages:
VersionResponse Certficate CreateCertficateRequest CreateCertficateResponse ReadCertficateRequest ReadCertficateResponse UpdateCertficateRequest UpdateCertficateResponse DeleteCertficateRequest DeleteCertficateResponse ListCertficateRequest ListCertficateResponse
Package pb is a generated protocol buffer package.
It is generated from these files:
github.com/tcvem/backend/api/service.proto github.com/tcvem/backend/api/certificate.proto
It has these top-level messages:
VersionResponse Certficate CreateCertficateRequest CreateCertficateResponse ReadCertficateRequest ReadCertficateResponse UpdateCertficateRequest UpdateCertficateResponse DeleteCertficateRequest DeleteCertficateResponse ListCertficateRequest ListCertficateResponse
Index ¶
- func DefaultDeleteCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) error
- func DefaultDeleteCertficateSet(ctx context.Context, in []*Certficate, db *gorm1.DB) error
- func RegisterBackendServer(s *grpc.Server, srv BackendServer)
- func RegisterCertificateServiceServer(s *grpc.Server, srv CertificateServiceServer)
- type BackendClient
- type BackendServer
- type Certficate
- func DefaultApplyFieldMaskCertficate(ctx context.Context, patchee *Certficate, patcher *Certficate, ...) (*Certficate, error)
- func DefaultCreateCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
- func DefaultListCertficate(ctx context.Context, db *gorm1.DB) ([]*Certficate, error)
- func DefaultPatchCertficate(ctx context.Context, in *Certficate, updateMask *field_mask1.FieldMask, ...) (*Certficate, error)
- func DefaultReadCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
- func DefaultStrictUpdateCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
- func (*Certficate) Descriptor() ([]byte, []int)
- func (m *Certficate) GetCreatedAt() *google_protobuf3.Timestamp
- func (m *Certficate) GetDeletedAt() *google_protobuf3.Timestamp
- func (m *Certficate) GetHost() string
- func (m *Certficate) GetId() *atlas_rpc.Identifier
- func (m *Certficate) GetName() string
- func (m *Certficate) GetNotes() string
- func (m *Certficate) GetPort() string
- func (m *Certficate) GetUpdatedAt() *google_protobuf3.Timestamp
- func (*Certficate) ProtoMessage()
- func (m *Certficate) Reset()
- func (m *Certficate) String() string
- func (m *Certficate) ToORM(ctx context.Context) (CertficateORM, error)
- func (m *Certficate) Validate() error
- type CertficateORM
- type CertficateORMWithAfterCreate_
- type CertficateORMWithAfterDeleteSet
- type CertficateORMWithAfterDelete_
- type CertficateORMWithAfterListFind
- type CertficateORMWithAfterReadFind
- type CertficateORMWithAfterStrictUpdateSave
- type CertficateORMWithBeforeCreate_
- type CertficateORMWithBeforeDeleteSet
- type CertficateORMWithBeforeDelete_
- type CertficateORMWithBeforeListApplyQuery
- type CertficateORMWithBeforeListFind
- type CertficateORMWithBeforeReadApplyQuery
- type CertficateORMWithBeforeReadFind
- type CertficateORMWithBeforeStrictUpdateCleanup
- type CertficateORMWithBeforeStrictUpdateSave
- type CertficateValidationError
- type CertficateWithAfterPatchSave
- type CertficateWithAfterToORM
- type CertficateWithAfterToPB
- type CertficateWithBeforePatchApplyFieldMask
- type CertficateWithBeforePatchRead
- type CertficateWithBeforePatchSave
- type CertficateWithBeforeToORM
- type CertficateWithBeforeToPB
- type CertificateServiceCertficateWithAfterCreate
- type CertificateServiceCertficateWithAfterDelete
- type CertificateServiceCertficateWithAfterList
- type CertificateServiceCertficateWithAfterRead
- type CertificateServiceCertficateWithAfterUpdate
- type CertificateServiceCertficateWithBeforeCreate
- type CertificateServiceCertficateWithBeforeDelete
- type CertificateServiceCertficateWithBeforeList
- type CertificateServiceCertficateWithBeforeRead
- type CertificateServiceCertficateWithBeforeUpdate
- type CertificateServiceClient
- type CertificateServiceDefaultServer
- func (m *CertificateServiceDefaultServer) Create(ctx context.Context, in *CreateCertficateRequest) (*CreateCertficateResponse, error)
- func (m *CertificateServiceDefaultServer) Delete(ctx context.Context, in *DeleteCertficateRequest) (*DeleteCertficateResponse, error)
- func (m *CertificateServiceDefaultServer) List(ctx context.Context, in *ListCertficateRequest) (*ListCertficateResponse, error)
- func (m *CertificateServiceDefaultServer) Read(ctx context.Context, in *ReadCertficateRequest) (*ReadCertficateResponse, error)
- func (m *CertificateServiceDefaultServer) Update(ctx context.Context, in *UpdateCertficateRequest) (*UpdateCertficateResponse, error)
- type CertificateServiceServer
- type CreateCertficateRequest
- func (*CreateCertficateRequest) Descriptor() ([]byte, []int)
- func (m *CreateCertficateRequest) GetPayload() *Certficate
- func (*CreateCertficateRequest) ProtoMessage()
- func (m *CreateCertficateRequest) Reset()
- func (m *CreateCertficateRequest) String() string
- func (m *CreateCertficateRequest) Validate() error
- type CreateCertficateRequestValidationError
- func (e CreateCertficateRequestValidationError) Cause() error
- func (e CreateCertficateRequestValidationError) Error() string
- func (e CreateCertficateRequestValidationError) ErrorName() string
- func (e CreateCertficateRequestValidationError) Field() string
- func (e CreateCertficateRequestValidationError) Key() bool
- func (e CreateCertficateRequestValidationError) Reason() string
- type CreateCertficateResponse
- func (*CreateCertficateResponse) Descriptor() ([]byte, []int)
- func (m *CreateCertficateResponse) GetResult() *Certficate
- func (*CreateCertficateResponse) ProtoMessage()
- func (m *CreateCertficateResponse) Reset()
- func (m *CreateCertficateResponse) String() string
- func (m *CreateCertficateResponse) Validate() error
- type CreateCertficateResponseValidationError
- func (e CreateCertficateResponseValidationError) Cause() error
- func (e CreateCertficateResponseValidationError) Error() string
- func (e CreateCertficateResponseValidationError) ErrorName() string
- func (e CreateCertficateResponseValidationError) Field() string
- func (e CreateCertficateResponseValidationError) Key() bool
- func (e CreateCertficateResponseValidationError) Reason() string
- type DeleteCertficateRequest
- func (*DeleteCertficateRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCertficateRequest) GetId() *atlas_rpc.Identifier
- func (*DeleteCertficateRequest) ProtoMessage()
- func (m *DeleteCertficateRequest) Reset()
- func (m *DeleteCertficateRequest) String() string
- func (m *DeleteCertficateRequest) Validate() error
- type DeleteCertficateRequestValidationError
- func (e DeleteCertficateRequestValidationError) Cause() error
- func (e DeleteCertficateRequestValidationError) Error() string
- func (e DeleteCertficateRequestValidationError) ErrorName() string
- func (e DeleteCertficateRequestValidationError) Field() string
- func (e DeleteCertficateRequestValidationError) Key() bool
- func (e DeleteCertficateRequestValidationError) Reason() string
- type DeleteCertficateResponse
- type DeleteCertficateResponseValidationError
- func (e DeleteCertficateResponseValidationError) Cause() error
- func (e DeleteCertficateResponseValidationError) Error() string
- func (e DeleteCertficateResponseValidationError) ErrorName() string
- func (e DeleteCertficateResponseValidationError) Field() string
- func (e DeleteCertficateResponseValidationError) Key() bool
- func (e DeleteCertficateResponseValidationError) Reason() string
- type ListCertficateRequest
- type ListCertficateRequestValidationError
- func (e ListCertficateRequestValidationError) Cause() error
- func (e ListCertficateRequestValidationError) Error() string
- func (e ListCertficateRequestValidationError) ErrorName() string
- func (e ListCertficateRequestValidationError) Field() string
- func (e ListCertficateRequestValidationError) Key() bool
- func (e ListCertficateRequestValidationError) Reason() string
- type ListCertficateResponse
- func (*ListCertficateResponse) Descriptor() ([]byte, []int)
- func (m *ListCertficateResponse) GetResults() []*Certficate
- func (*ListCertficateResponse) ProtoMessage()
- func (m *ListCertficateResponse) Reset()
- func (m *ListCertficateResponse) String() string
- func (m *ListCertficateResponse) Validate() error
- type ListCertficateResponseValidationError
- func (e ListCertficateResponseValidationError) Cause() error
- func (e ListCertficateResponseValidationError) Error() string
- func (e ListCertficateResponseValidationError) ErrorName() string
- func (e ListCertficateResponseValidationError) Field() string
- func (e ListCertficateResponseValidationError) Key() bool
- func (e ListCertficateResponseValidationError) Reason() string
- type ReadCertficateRequest
- func (*ReadCertficateRequest) Descriptor() ([]byte, []int)
- func (m *ReadCertficateRequest) GetId() *atlas_rpc.Identifier
- func (*ReadCertficateRequest) ProtoMessage()
- func (m *ReadCertficateRequest) Reset()
- func (m *ReadCertficateRequest) String() string
- func (m *ReadCertficateRequest) Validate() error
- type ReadCertficateRequestValidationError
- func (e ReadCertficateRequestValidationError) Cause() error
- func (e ReadCertficateRequestValidationError) Error() string
- func (e ReadCertficateRequestValidationError) ErrorName() string
- func (e ReadCertficateRequestValidationError) Field() string
- func (e ReadCertficateRequestValidationError) Key() bool
- func (e ReadCertficateRequestValidationError) Reason() string
- type ReadCertficateResponse
- func (*ReadCertficateResponse) Descriptor() ([]byte, []int)
- func (m *ReadCertficateResponse) GetResult() *Certficate
- func (*ReadCertficateResponse) ProtoMessage()
- func (m *ReadCertficateResponse) Reset()
- func (m *ReadCertficateResponse) String() string
- func (m *ReadCertficateResponse) Validate() error
- type ReadCertficateResponseValidationError
- func (e ReadCertficateResponseValidationError) Cause() error
- func (e ReadCertficateResponseValidationError) Error() string
- func (e ReadCertficateResponseValidationError) ErrorName() string
- func (e ReadCertficateResponseValidationError) Field() string
- func (e ReadCertficateResponseValidationError) Key() bool
- func (e ReadCertficateResponseValidationError) Reason() string
- type UpdateCertficateRequest
- func (*UpdateCertficateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCertficateRequest) GetPayload() *Certficate
- func (*UpdateCertficateRequest) ProtoMessage()
- func (m *UpdateCertficateRequest) Reset()
- func (m *UpdateCertficateRequest) String() string
- func (m *UpdateCertficateRequest) Validate() error
- type UpdateCertficateRequestValidationError
- func (e UpdateCertficateRequestValidationError) Cause() error
- func (e UpdateCertficateRequestValidationError) Error() string
- func (e UpdateCertficateRequestValidationError) ErrorName() string
- func (e UpdateCertficateRequestValidationError) Field() string
- func (e UpdateCertficateRequestValidationError) Key() bool
- func (e UpdateCertficateRequestValidationError) Reason() string
- type UpdateCertficateResponse
- func (*UpdateCertficateResponse) Descriptor() ([]byte, []int)
- func (m *UpdateCertficateResponse) GetResult() *Certficate
- func (*UpdateCertficateResponse) ProtoMessage()
- func (m *UpdateCertficateResponse) Reset()
- func (m *UpdateCertficateResponse) String() string
- func (m *UpdateCertficateResponse) Validate() error
- type UpdateCertficateResponseValidationError
- func (e UpdateCertficateResponseValidationError) Cause() error
- func (e UpdateCertficateResponseValidationError) Error() string
- func (e UpdateCertficateResponseValidationError) ErrorName() string
- func (e UpdateCertficateResponseValidationError) Field() string
- func (e UpdateCertficateResponseValidationError) Key() bool
- func (e UpdateCertficateResponseValidationError) Reason() string
- type VersionResponse
- type VersionResponseValidationError
- func (e VersionResponseValidationError) Cause() error
- func (e VersionResponseValidationError) Error() string
- func (e VersionResponseValidationError) ErrorName() string
- func (e VersionResponseValidationError) Field() string
- func (e VersionResponseValidationError) Key() bool
- func (e VersionResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDeleteCertficate ¶
func RegisterBackendServer ¶
func RegisterBackendServer(s *grpc.Server, srv BackendServer)
func RegisterCertificateServiceServer ¶
func RegisterCertificateServiceServer(s *grpc.Server, srv CertificateServiceServer)
Types ¶
type BackendClient ¶
type BackendClient interface {
GetVersion(ctx context.Context, in *google_protobuf.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
}
func NewBackendClient ¶
func NewBackendClient(cc *grpc.ClientConn) BackendClient
type BackendServer ¶
type BackendServer interface {
GetVersion(context.Context, *google_protobuf.Empty) (*VersionResponse, error)
}
type Certficate ¶
type Certficate struct { Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` CreatedAt *google_protobuf3.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` UpdatedAt *google_protobuf3.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"` DeletedAt *google_protobuf3.Timestamp `protobuf:"bytes,4,opt,name=deleted_at,json=deletedAt" json:"deleted_at,omitempty"` Name string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"` Host string `protobuf:"bytes,6,opt,name=host" json:"host,omitempty"` Port string `protobuf:"bytes,7,opt,name=port" json:"port,omitempty"` Notes string `protobuf:"bytes,8,opt,name=notes" json:"notes,omitempty"` }
func DefaultApplyFieldMaskCertficate ¶
func DefaultApplyFieldMaskCertficate(ctx context.Context, patchee *Certficate, patcher *Certficate, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Certficate, error)
DefaultApplyFieldMaskCertficate patches an pbObject with patcher according to a field mask.
func DefaultCreateCertficate ¶
func DefaultCreateCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
DefaultCreateCertficate executes a basic gorm create call
func DefaultListCertficate ¶
DefaultListCertficate executes a gorm list call
func DefaultPatchCertficate ¶
func DefaultPatchCertficate(ctx context.Context, in *Certficate, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Certficate, error)
DefaultPatchCertficate executes a basic gorm update call with patch behavior
func DefaultReadCertficate ¶
func DefaultReadCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
DefaultReadCertficate executes a basic gorm read call
func DefaultStrictUpdateCertficate ¶
func DefaultStrictUpdateCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) (*Certficate, error)
DefaultStrictUpdateCertficate clears first level 1:many children and then executes a gorm update call
func (*Certficate) Descriptor ¶
func (*Certficate) Descriptor() ([]byte, []int)
func (*Certficate) GetCreatedAt ¶
func (m *Certficate) GetCreatedAt() *google_protobuf3.Timestamp
func (*Certficate) GetDeletedAt ¶
func (m *Certficate) GetDeletedAt() *google_protobuf3.Timestamp
func (*Certficate) GetHost ¶
func (m *Certficate) GetHost() string
func (*Certficate) GetId ¶
func (m *Certficate) GetId() *atlas_rpc.Identifier
func (*Certficate) GetName ¶
func (m *Certficate) GetName() string
func (*Certficate) GetNotes ¶
func (m *Certficate) GetNotes() string
func (*Certficate) GetPort ¶
func (m *Certficate) GetPort() string
func (*Certficate) GetUpdatedAt ¶
func (m *Certficate) GetUpdatedAt() *google_protobuf3.Timestamp
func (*Certficate) ProtoMessage ¶
func (*Certficate) ProtoMessage()
func (*Certficate) Reset ¶
func (m *Certficate) Reset()
func (*Certficate) String ¶
func (m *Certficate) String() string
func (*Certficate) ToORM ¶
func (m *Certficate) ToORM(ctx context.Context) (CertficateORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
func (*Certficate) Validate ¶
func (m *Certficate) Validate() error
Validate checks the field values on Certficate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CertficateORM ¶
type CertficateORM struct { CreatedAt *time.Time DeletedAt *time.Time Host string `gorm:"not null"` Id string `gorm:"type:uuid;primary_key"` Name string Notes string Port string `gorm:"not null"` UpdatedAt *time.Time }
func (CertficateORM) TableName ¶
func (CertficateORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*CertficateORM) ToPB ¶
func (m *CertficateORM) ToPB(ctx context.Context) (Certficate, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type CertficateValidationError ¶
type CertficateValidationError struct {
// contains filtered or unexported fields
}
CertficateValidationError is the validation error returned by Certficate.Validate if the designated constraints aren't met.
func (CertficateValidationError) Cause ¶
func (e CertficateValidationError) Cause() error
Cause function returns cause value.
func (CertficateValidationError) Error ¶
func (e CertficateValidationError) Error() string
Error satisfies the builtin error interface
func (CertficateValidationError) ErrorName ¶
func (e CertficateValidationError) ErrorName() string
ErrorName returns error name.
func (CertficateValidationError) Field ¶
func (e CertficateValidationError) Field() string
Field function returns field value.
func (CertficateValidationError) Key ¶
func (e CertficateValidationError) Key() bool
Key function returns key value.
func (CertficateValidationError) Reason ¶
func (e CertficateValidationError) Reason() string
Reason function returns reason value.
type CertficateWithAfterPatchSave ¶
type CertficateWithAfterPatchSave interface {
AfterPatchSave(context.Context, *Certficate, *field_mask1.FieldMask, *gorm1.DB) error
}
type CertficateWithAfterToORM ¶
type CertficateWithAfterToORM interface {
AfterToORM(context.Context, *CertficateORM) error
}
CertficateAfterToORM called after default ToORM code
type CertficateWithAfterToPB ¶
type CertficateWithAfterToPB interface {
AfterToPB(context.Context, *Certficate) error
}
CertficateAfterToPB called after default ToPB code
type CertficateWithBeforePatchApplyFieldMask ¶
type CertficateWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *Certficate, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type CertficateWithBeforePatchRead ¶
type CertficateWithBeforePatchRead interface {
BeforePatchRead(context.Context, *Certficate, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type CertficateWithBeforePatchSave ¶
type CertficateWithBeforePatchSave interface {
BeforePatchSave(context.Context, *Certficate, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}
type CertficateWithBeforeToORM ¶
type CertficateWithBeforeToORM interface {
BeforeToORM(context.Context, *CertficateORM) error
}
CertficateBeforeToORM called before default ToORM code
type CertficateWithBeforeToPB ¶
type CertficateWithBeforeToPB interface {
BeforeToPB(context.Context, *Certficate) error
}
CertficateBeforeToPB called before default ToPB code
type CertificateServiceCertficateWithAfterCreate ¶
type CertificateServiceCertficateWithAfterCreate interface {
AfterCreate(context.Context, *CreateCertficateResponse, *gorm1.DB) error
}
CertificateServiceCertficateWithAfterCreate called before DefaultCreateCertficate in the default Create handler
type CertificateServiceCertficateWithAfterDelete ¶
type CertificateServiceCertficateWithAfterDelete interface {
AfterDelete(context.Context, *DeleteCertficateResponse, *gorm1.DB) error
}
CertificateServiceCertficateWithAfterDelete called before DefaultDeleteCertficate in the default Delete handler
type CertificateServiceCertficateWithAfterList ¶
type CertificateServiceCertficateWithAfterList interface {
AfterList(context.Context, *ListCertficateResponse, *gorm1.DB) error
}
CertificateServiceCertficateWithAfterList called before DefaultListCertficate in the default List handler
type CertificateServiceCertficateWithAfterRead ¶
type CertificateServiceCertficateWithAfterRead interface {
AfterRead(context.Context, *ReadCertficateResponse, *gorm1.DB) error
}
CertificateServiceCertficateWithAfterRead called before DefaultReadCertficate in the default Read handler
type CertificateServiceCertficateWithAfterUpdate ¶
type CertificateServiceCertficateWithAfterUpdate interface {
AfterUpdate(context.Context, *UpdateCertficateResponse, *gorm1.DB) error
}
CertificateServiceCertficateWithAfterUpdate called before DefaultUpdateCertficate in the default Update handler
type CertificateServiceCertficateWithBeforeCreate ¶
type CertificateServiceCertficateWithBeforeCreate interface {
BeforeCreate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CertificateServiceCertficateWithBeforeCreate called before DefaultCreateCertficate in the default Create handler
type CertificateServiceCertficateWithBeforeDelete ¶
type CertificateServiceCertficateWithBeforeDelete interface {
BeforeDelete(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CertificateServiceCertficateWithBeforeDelete called before DefaultDeleteCertficate in the default Delete handler
type CertificateServiceCertficateWithBeforeList ¶
type CertificateServiceCertficateWithBeforeList interface {
BeforeList(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CertificateServiceCertficateWithBeforeList called before DefaultListCertficate in the default List handler
type CertificateServiceCertficateWithBeforeRead ¶
type CertificateServiceCertficateWithBeforeRead interface {
BeforeRead(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CertificateServiceCertficateWithBeforeRead called before DefaultReadCertficate in the default Read handler
type CertificateServiceCertficateWithBeforeUpdate ¶
type CertificateServiceCertficateWithBeforeUpdate interface {
BeforeUpdate(context.Context, *gorm1.DB) (*gorm1.DB, error)
}
CertificateServiceCertficateWithBeforeUpdate called before DefaultUpdateCertficate in the default Update handler
type CertificateServiceClient ¶
type CertificateServiceClient interface { Create(ctx context.Context, in *CreateCertficateRequest, opts ...grpc.CallOption) (*CreateCertficateResponse, error) Read(ctx context.Context, in *ReadCertficateRequest, opts ...grpc.CallOption) (*ReadCertficateResponse, error) Update(ctx context.Context, in *UpdateCertficateRequest, opts ...grpc.CallOption) (*UpdateCertficateResponse, error) List(ctx context.Context, in *ListCertficateRequest, opts ...grpc.CallOption) (*ListCertficateResponse, error) Delete(ctx context.Context, in *DeleteCertficateRequest, opts ...grpc.CallOption) (*DeleteCertficateResponse, error) }
func NewCertificateServiceClient ¶
func NewCertificateServiceClient(cc *grpc.ClientConn) CertificateServiceClient
type CertificateServiceDefaultServer ¶
func (*CertificateServiceDefaultServer) Create ¶
func (m *CertificateServiceDefaultServer) Create(ctx context.Context, in *CreateCertficateRequest) (*CreateCertficateResponse, error)
Create ...
func (*CertificateServiceDefaultServer) Delete ¶
func (m *CertificateServiceDefaultServer) Delete(ctx context.Context, in *DeleteCertficateRequest) (*DeleteCertficateResponse, error)
Delete ...
func (*CertificateServiceDefaultServer) List ¶
func (m *CertificateServiceDefaultServer) List(ctx context.Context, in *ListCertficateRequest) (*ListCertficateResponse, error)
List ...
func (*CertificateServiceDefaultServer) Read ¶
func (m *CertificateServiceDefaultServer) Read(ctx context.Context, in *ReadCertficateRequest) (*ReadCertficateResponse, error)
Read ...
func (*CertificateServiceDefaultServer) Update ¶
func (m *CertificateServiceDefaultServer) Update(ctx context.Context, in *UpdateCertficateRequest) (*UpdateCertficateResponse, error)
Update ...
type CertificateServiceServer ¶
type CertificateServiceServer interface { Create(context.Context, *CreateCertficateRequest) (*CreateCertficateResponse, error) Read(context.Context, *ReadCertficateRequest) (*ReadCertficateResponse, error) Update(context.Context, *UpdateCertficateRequest) (*UpdateCertficateResponse, error) List(context.Context, *ListCertficateRequest) (*ListCertficateResponse, error) Delete(context.Context, *DeleteCertficateRequest) (*DeleteCertficateResponse, error) }
type CreateCertficateRequest ¶
type CreateCertficateRequest struct {
Payload *Certficate `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*CreateCertficateRequest) Descriptor ¶
func (*CreateCertficateRequest) Descriptor() ([]byte, []int)
func (*CreateCertficateRequest) GetPayload ¶
func (m *CreateCertficateRequest) GetPayload() *Certficate
func (*CreateCertficateRequest) ProtoMessage ¶
func (*CreateCertficateRequest) ProtoMessage()
func (*CreateCertficateRequest) Reset ¶
func (m *CreateCertficateRequest) Reset()
func (*CreateCertficateRequest) String ¶
func (m *CreateCertficateRequest) String() string
func (*CreateCertficateRequest) Validate ¶
func (m *CreateCertficateRequest) Validate() error
Validate checks the field values on CreateCertficateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateCertficateRequestValidationError ¶
type CreateCertficateRequestValidationError struct {
// contains filtered or unexported fields
}
CreateCertficateRequestValidationError is the validation error returned by CreateCertficateRequest.Validate if the designated constraints aren't met.
func (CreateCertficateRequestValidationError) Cause ¶
func (e CreateCertficateRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateCertficateRequestValidationError) Error ¶
func (e CreateCertficateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCertficateRequestValidationError) ErrorName ¶
func (e CreateCertficateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCertficateRequestValidationError) Field ¶
func (e CreateCertficateRequestValidationError) Field() string
Field function returns field value.
func (CreateCertficateRequestValidationError) Key ¶
func (e CreateCertficateRequestValidationError) Key() bool
Key function returns key value.
func (CreateCertficateRequestValidationError) Reason ¶
func (e CreateCertficateRequestValidationError) Reason() string
Reason function returns reason value.
type CreateCertficateResponse ¶
type CreateCertficateResponse struct {
Result *Certficate `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*CreateCertficateResponse) Descriptor ¶
func (*CreateCertficateResponse) Descriptor() ([]byte, []int)
func (*CreateCertficateResponse) GetResult ¶
func (m *CreateCertficateResponse) GetResult() *Certficate
func (*CreateCertficateResponse) ProtoMessage ¶
func (*CreateCertficateResponse) ProtoMessage()
func (*CreateCertficateResponse) Reset ¶
func (m *CreateCertficateResponse) Reset()
func (*CreateCertficateResponse) String ¶
func (m *CreateCertficateResponse) String() string
func (*CreateCertficateResponse) Validate ¶
func (m *CreateCertficateResponse) Validate() error
Validate checks the field values on CreateCertficateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateCertficateResponseValidationError ¶
type CreateCertficateResponseValidationError struct {
// contains filtered or unexported fields
}
CreateCertficateResponseValidationError is the validation error returned by CreateCertficateResponse.Validate if the designated constraints aren't met.
func (CreateCertficateResponseValidationError) Cause ¶
func (e CreateCertficateResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateCertficateResponseValidationError) Error ¶
func (e CreateCertficateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCertficateResponseValidationError) ErrorName ¶
func (e CreateCertficateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCertficateResponseValidationError) Field ¶
func (e CreateCertficateResponseValidationError) Field() string
Field function returns field value.
func (CreateCertficateResponseValidationError) Key ¶
func (e CreateCertficateResponseValidationError) Key() bool
Key function returns key value.
func (CreateCertficateResponseValidationError) Reason ¶
func (e CreateCertficateResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteCertficateRequest ¶
type DeleteCertficateRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*DeleteCertficateRequest) Descriptor ¶
func (*DeleteCertficateRequest) Descriptor() ([]byte, []int)
func (*DeleteCertficateRequest) GetId ¶
func (m *DeleteCertficateRequest) GetId() *atlas_rpc.Identifier
func (*DeleteCertficateRequest) ProtoMessage ¶
func (*DeleteCertficateRequest) ProtoMessage()
func (*DeleteCertficateRequest) Reset ¶
func (m *DeleteCertficateRequest) Reset()
func (*DeleteCertficateRequest) String ¶
func (m *DeleteCertficateRequest) String() string
func (*DeleteCertficateRequest) Validate ¶
func (m *DeleteCertficateRequest) Validate() error
Validate checks the field values on DeleteCertficateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteCertficateRequestValidationError ¶
type DeleteCertficateRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCertficateRequestValidationError is the validation error returned by DeleteCertficateRequest.Validate if the designated constraints aren't met.
func (DeleteCertficateRequestValidationError) Cause ¶
func (e DeleteCertficateRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCertficateRequestValidationError) Error ¶
func (e DeleteCertficateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCertficateRequestValidationError) ErrorName ¶
func (e DeleteCertficateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCertficateRequestValidationError) Field ¶
func (e DeleteCertficateRequestValidationError) Field() string
Field function returns field value.
func (DeleteCertficateRequestValidationError) Key ¶
func (e DeleteCertficateRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCertficateRequestValidationError) Reason ¶
func (e DeleteCertficateRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCertficateResponse ¶
type DeleteCertficateResponse struct { }
func (*DeleteCertficateResponse) Descriptor ¶
func (*DeleteCertficateResponse) Descriptor() ([]byte, []int)
func (*DeleteCertficateResponse) ProtoMessage ¶
func (*DeleteCertficateResponse) ProtoMessage()
func (*DeleteCertficateResponse) Reset ¶
func (m *DeleteCertficateResponse) Reset()
func (*DeleteCertficateResponse) String ¶
func (m *DeleteCertficateResponse) String() string
func (*DeleteCertficateResponse) Validate ¶
func (m *DeleteCertficateResponse) Validate() error
Validate checks the field values on DeleteCertficateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteCertficateResponseValidationError ¶
type DeleteCertficateResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteCertficateResponseValidationError is the validation error returned by DeleteCertficateResponse.Validate if the designated constraints aren't met.
func (DeleteCertficateResponseValidationError) Cause ¶
func (e DeleteCertficateResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteCertficateResponseValidationError) Error ¶
func (e DeleteCertficateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCertficateResponseValidationError) ErrorName ¶
func (e DeleteCertficateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCertficateResponseValidationError) Field ¶
func (e DeleteCertficateResponseValidationError) Field() string
Field function returns field value.
func (DeleteCertficateResponseValidationError) Key ¶
func (e DeleteCertficateResponseValidationError) Key() bool
Key function returns key value.
func (DeleteCertficateResponseValidationError) Reason ¶
func (e DeleteCertficateResponseValidationError) Reason() string
Reason function returns reason value.
type ListCertficateRequest ¶
type ListCertficateRequest struct { }
func (*ListCertficateRequest) Descriptor ¶
func (*ListCertficateRequest) Descriptor() ([]byte, []int)
func (*ListCertficateRequest) ProtoMessage ¶
func (*ListCertficateRequest) ProtoMessage()
func (*ListCertficateRequest) Reset ¶
func (m *ListCertficateRequest) Reset()
func (*ListCertficateRequest) String ¶
func (m *ListCertficateRequest) String() string
func (*ListCertficateRequest) Validate ¶
func (m *ListCertficateRequest) Validate() error
Validate checks the field values on ListCertficateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListCertficateRequestValidationError ¶
type ListCertficateRequestValidationError struct {
// contains filtered or unexported fields
}
ListCertficateRequestValidationError is the validation error returned by ListCertficateRequest.Validate if the designated constraints aren't met.
func (ListCertficateRequestValidationError) Cause ¶
func (e ListCertficateRequestValidationError) Cause() error
Cause function returns cause value.
func (ListCertficateRequestValidationError) Error ¶
func (e ListCertficateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListCertficateRequestValidationError) ErrorName ¶
func (e ListCertficateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListCertficateRequestValidationError) Field ¶
func (e ListCertficateRequestValidationError) Field() string
Field function returns field value.
func (ListCertficateRequestValidationError) Key ¶
func (e ListCertficateRequestValidationError) Key() bool
Key function returns key value.
func (ListCertficateRequestValidationError) Reason ¶
func (e ListCertficateRequestValidationError) Reason() string
Reason function returns reason value.
type ListCertficateResponse ¶
type ListCertficateResponse struct {
Results []*Certficate `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*ListCertficateResponse) Descriptor ¶
func (*ListCertficateResponse) Descriptor() ([]byte, []int)
func (*ListCertficateResponse) GetResults ¶
func (m *ListCertficateResponse) GetResults() []*Certficate
func (*ListCertficateResponse) ProtoMessage ¶
func (*ListCertficateResponse) ProtoMessage()
func (*ListCertficateResponse) Reset ¶
func (m *ListCertficateResponse) Reset()
func (*ListCertficateResponse) String ¶
func (m *ListCertficateResponse) String() string
func (*ListCertficateResponse) Validate ¶
func (m *ListCertficateResponse) Validate() error
Validate checks the field values on ListCertficateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListCertficateResponseValidationError ¶
type ListCertficateResponseValidationError struct {
// contains filtered or unexported fields
}
ListCertficateResponseValidationError is the validation error returned by ListCertficateResponse.Validate if the designated constraints aren't met.
func (ListCertficateResponseValidationError) Cause ¶
func (e ListCertficateResponseValidationError) Cause() error
Cause function returns cause value.
func (ListCertficateResponseValidationError) Error ¶
func (e ListCertficateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListCertficateResponseValidationError) ErrorName ¶
func (e ListCertficateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListCertficateResponseValidationError) Field ¶
func (e ListCertficateResponseValidationError) Field() string
Field function returns field value.
func (ListCertficateResponseValidationError) Key ¶
func (e ListCertficateResponseValidationError) Key() bool
Key function returns key value.
func (ListCertficateResponseValidationError) Reason ¶
func (e ListCertficateResponseValidationError) Reason() string
Reason function returns reason value.
type ReadCertficateRequest ¶
type ReadCertficateRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*ReadCertficateRequest) Descriptor ¶
func (*ReadCertficateRequest) Descriptor() ([]byte, []int)
func (*ReadCertficateRequest) GetId ¶
func (m *ReadCertficateRequest) GetId() *atlas_rpc.Identifier
func (*ReadCertficateRequest) ProtoMessage ¶
func (*ReadCertficateRequest) ProtoMessage()
func (*ReadCertficateRequest) Reset ¶
func (m *ReadCertficateRequest) Reset()
func (*ReadCertficateRequest) String ¶
func (m *ReadCertficateRequest) String() string
func (*ReadCertficateRequest) Validate ¶
func (m *ReadCertficateRequest) Validate() error
Validate checks the field values on ReadCertficateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadCertficateRequestValidationError ¶
type ReadCertficateRequestValidationError struct {
// contains filtered or unexported fields
}
ReadCertficateRequestValidationError is the validation error returned by ReadCertficateRequest.Validate if the designated constraints aren't met.
func (ReadCertficateRequestValidationError) Cause ¶
func (e ReadCertficateRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadCertficateRequestValidationError) Error ¶
func (e ReadCertficateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadCertficateRequestValidationError) ErrorName ¶
func (e ReadCertficateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadCertficateRequestValidationError) Field ¶
func (e ReadCertficateRequestValidationError) Field() string
Field function returns field value.
func (ReadCertficateRequestValidationError) Key ¶
func (e ReadCertficateRequestValidationError) Key() bool
Key function returns key value.
func (ReadCertficateRequestValidationError) Reason ¶
func (e ReadCertficateRequestValidationError) Reason() string
Reason function returns reason value.
type ReadCertficateResponse ¶
type ReadCertficateResponse struct {
Result *Certficate `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ReadCertficateResponse) Descriptor ¶
func (*ReadCertficateResponse) Descriptor() ([]byte, []int)
func (*ReadCertficateResponse) GetResult ¶
func (m *ReadCertficateResponse) GetResult() *Certficate
func (*ReadCertficateResponse) ProtoMessage ¶
func (*ReadCertficateResponse) ProtoMessage()
func (*ReadCertficateResponse) Reset ¶
func (m *ReadCertficateResponse) Reset()
func (*ReadCertficateResponse) String ¶
func (m *ReadCertficateResponse) String() string
func (*ReadCertficateResponse) Validate ¶
func (m *ReadCertficateResponse) Validate() error
Validate checks the field values on ReadCertficateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadCertficateResponseValidationError ¶
type ReadCertficateResponseValidationError struct {
// contains filtered or unexported fields
}
ReadCertficateResponseValidationError is the validation error returned by ReadCertficateResponse.Validate if the designated constraints aren't met.
func (ReadCertficateResponseValidationError) Cause ¶
func (e ReadCertficateResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadCertficateResponseValidationError) Error ¶
func (e ReadCertficateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadCertficateResponseValidationError) ErrorName ¶
func (e ReadCertficateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadCertficateResponseValidationError) Field ¶
func (e ReadCertficateResponseValidationError) Field() string
Field function returns field value.
func (ReadCertficateResponseValidationError) Key ¶
func (e ReadCertficateResponseValidationError) Key() bool
Key function returns key value.
func (ReadCertficateResponseValidationError) Reason ¶
func (e ReadCertficateResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateCertficateRequest ¶
type UpdateCertficateRequest struct {
Payload *Certficate `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*UpdateCertficateRequest) Descriptor ¶
func (*UpdateCertficateRequest) Descriptor() ([]byte, []int)
func (*UpdateCertficateRequest) GetPayload ¶
func (m *UpdateCertficateRequest) GetPayload() *Certficate
func (*UpdateCertficateRequest) ProtoMessage ¶
func (*UpdateCertficateRequest) ProtoMessage()
func (*UpdateCertficateRequest) Reset ¶
func (m *UpdateCertficateRequest) Reset()
func (*UpdateCertficateRequest) String ¶
func (m *UpdateCertficateRequest) String() string
func (*UpdateCertficateRequest) Validate ¶
func (m *UpdateCertficateRequest) Validate() error
Validate checks the field values on UpdateCertficateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateCertficateRequestValidationError ¶
type UpdateCertficateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCertficateRequestValidationError is the validation error returned by UpdateCertficateRequest.Validate if the designated constraints aren't met.
func (UpdateCertficateRequestValidationError) Cause ¶
func (e UpdateCertficateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCertficateRequestValidationError) Error ¶
func (e UpdateCertficateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCertficateRequestValidationError) ErrorName ¶
func (e UpdateCertficateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCertficateRequestValidationError) Field ¶
func (e UpdateCertficateRequestValidationError) Field() string
Field function returns field value.
func (UpdateCertficateRequestValidationError) Key ¶
func (e UpdateCertficateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCertficateRequestValidationError) Reason ¶
func (e UpdateCertficateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCertficateResponse ¶
type UpdateCertficateResponse struct {
Result *Certficate `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*UpdateCertficateResponse) Descriptor ¶
func (*UpdateCertficateResponse) Descriptor() ([]byte, []int)
func (*UpdateCertficateResponse) GetResult ¶
func (m *UpdateCertficateResponse) GetResult() *Certficate
func (*UpdateCertficateResponse) ProtoMessage ¶
func (*UpdateCertficateResponse) ProtoMessage()
func (*UpdateCertficateResponse) Reset ¶
func (m *UpdateCertficateResponse) Reset()
func (*UpdateCertficateResponse) String ¶
func (m *UpdateCertficateResponse) String() string
func (*UpdateCertficateResponse) Validate ¶
func (m *UpdateCertficateResponse) Validate() error
Validate checks the field values on UpdateCertficateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateCertficateResponseValidationError ¶
type UpdateCertficateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateCertficateResponseValidationError is the validation error returned by UpdateCertficateResponse.Validate if the designated constraints aren't met.
func (UpdateCertficateResponseValidationError) Cause ¶
func (e UpdateCertficateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateCertficateResponseValidationError) Error ¶
func (e UpdateCertficateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCertficateResponseValidationError) ErrorName ¶
func (e UpdateCertficateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCertficateResponseValidationError) Field ¶
func (e UpdateCertficateResponseValidationError) Field() string
Field function returns field value.
func (UpdateCertficateResponseValidationError) Key ¶
func (e UpdateCertficateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateCertficateResponseValidationError) Reason ¶
func (e UpdateCertficateResponseValidationError) Reason() string
Reason function returns reason value.
type VersionResponse ¶
type VersionResponse struct {
Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
}
TODO: Structure your own protobuf messages. Each protocol buffer message is a small logical record of information, containing a series of name-value pairs.
func (*VersionResponse) Descriptor ¶
func (*VersionResponse) Descriptor() ([]byte, []int)
func (*VersionResponse) GetVersion ¶
func (m *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) Reset ¶
func (m *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (m *VersionResponse) String() string
func (*VersionResponse) Validate ¶
func (m *VersionResponse) Validate() error
Validate checks the field values on VersionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VersionResponseValidationError ¶
type VersionResponseValidationError struct {
// contains filtered or unexported fields
}
VersionResponseValidationError is the validation error returned by VersionResponse.Validate if the designated constraints aren't met.
func (VersionResponseValidationError) Cause ¶
func (e VersionResponseValidationError) Cause() error
Cause function returns cause value.
func (VersionResponseValidationError) Error ¶
func (e VersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VersionResponseValidationError) ErrorName ¶
func (e VersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VersionResponseValidationError) Field ¶
func (e VersionResponseValidationError) Field() string
Field function returns field value.
func (VersionResponseValidationError) Key ¶
func (e VersionResponseValidationError) Key() bool
Key function returns key value.
func (VersionResponseValidationError) Reason ¶
func (e VersionResponseValidationError) Reason() string
Reason function returns reason value.