pb

package
v0.0.0-...-2e50591 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 28 Imported by: 2

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDeleteCertficate

func DefaultDeleteCertficate(ctx context.Context, in *Certficate, db *gorm1.DB) error

func DefaultDeleteCertficateSet

func DefaultDeleteCertficateSet(ctx context.Context, in []*Certficate, db *gorm1.DB) error

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

func DefaultListCertficate(ctx context.Context, db *gorm1.DB) ([]*Certficate, error)

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 CertficateORMWithAfterCreate_

type CertficateORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type CertficateORMWithAfterDeleteSet

type CertficateORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Certficate, *gorm1.DB) error
}

type CertficateORMWithAfterDelete_

type CertficateORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type CertficateORMWithAfterListFind

type CertficateORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]CertficateORM) error
}

type CertficateORMWithAfterReadFind

type CertficateORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type CertficateORMWithAfterStrictUpdateSave

type CertficateORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type CertficateORMWithBeforeCreate_

type CertficateORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeDeleteSet

type CertficateORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Certficate, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeDelete_

type CertficateORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeListApplyQuery

type CertficateORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeListFind

type CertficateORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeReadApplyQuery

type CertficateORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeReadFind

type CertficateORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeStrictUpdateCleanup

type CertficateORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type CertficateORMWithBeforeStrictUpdateSave

type CertficateORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

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

Error satisfies the builtin error interface

func (CertficateValidationError) ErrorName

func (e CertficateValidationError) ErrorName() string

ErrorName returns error name.

func (CertficateValidationError) Field

Field function returns field value.

func (CertficateValidationError) Key

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 CertificateServiceDefaultServer

type CertificateServiceDefaultServer struct {
	DB *gorm1.DB
}

func (*CertificateServiceDefaultServer) Create

Create ...

func (*CertificateServiceDefaultServer) Delete

Delete ...

func (*CertificateServiceDefaultServer) List

List ...

func (*CertificateServiceDefaultServer) Read

Read ...

func (*CertificateServiceDefaultServer) Update

Update ...

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

Cause function returns cause value.

func (CreateCertficateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateCertficateRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateCertficateRequestValidationError) Field

Field function returns field value.

func (CreateCertficateRequestValidationError) Key

Key function returns key value.

func (CreateCertficateRequestValidationError) Reason

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

Cause function returns cause value.

func (CreateCertficateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateCertficateResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateCertficateResponseValidationError) Field

Field function returns field value.

func (CreateCertficateResponseValidationError) Key

Key function returns key value.

func (CreateCertficateResponseValidationError) Reason

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 (*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

Cause function returns cause value.

func (DeleteCertficateRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteCertficateRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteCertficateRequestValidationError) Field

Field function returns field value.

func (DeleteCertficateRequestValidationError) Key

Key function returns key value.

func (DeleteCertficateRequestValidationError) Reason

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

Cause function returns cause value.

func (DeleteCertficateResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteCertficateResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteCertficateResponseValidationError) Field

Field function returns field value.

func (DeleteCertficateResponseValidationError) Key

Key function returns key value.

func (DeleteCertficateResponseValidationError) Reason

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

Cause function returns cause value.

func (ListCertficateRequestValidationError) Error

Error satisfies the builtin error interface

func (ListCertficateRequestValidationError) ErrorName

ErrorName returns error name.

func (ListCertficateRequestValidationError) Field

Field function returns field value.

func (ListCertficateRequestValidationError) Key

Key function returns key value.

func (ListCertficateRequestValidationError) Reason

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

Cause function returns cause value.

func (ListCertficateResponseValidationError) Error

Error satisfies the builtin error interface

func (ListCertficateResponseValidationError) ErrorName

ErrorName returns error name.

func (ListCertficateResponseValidationError) Field

Field function returns field value.

func (ListCertficateResponseValidationError) Key

Key function returns key value.

func (ListCertficateResponseValidationError) Reason

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 (*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

Cause function returns cause value.

func (ReadCertficateRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadCertficateRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadCertficateRequestValidationError) Field

Field function returns field value.

func (ReadCertficateRequestValidationError) Key

Key function returns key value.

func (ReadCertficateRequestValidationError) Reason

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

Cause function returns cause value.

func (ReadCertficateResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadCertficateResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadCertficateResponseValidationError) Field

Field function returns field value.

func (ReadCertficateResponseValidationError) Key

Key function returns key value.

func (ReadCertficateResponseValidationError) Reason

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

Cause function returns cause value.

func (UpdateCertficateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCertficateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCertficateRequestValidationError) Field

Field function returns field value.

func (UpdateCertficateRequestValidationError) Key

Key function returns key value.

func (UpdateCertficateRequestValidationError) Reason

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

Cause function returns cause value.

func (UpdateCertficateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateCertficateResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateCertficateResponseValidationError) Field

Field function returns field value.

func (UpdateCertficateResponseValidationError) Key

Key function returns key value.

func (UpdateCertficateResponseValidationError) Reason

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

Cause function returns cause value.

func (VersionResponseValidationError) Error

Error satisfies the builtin error interface

func (VersionResponseValidationError) ErrorName

func (e VersionResponseValidationError) ErrorName() string

ErrorName returns error name.

func (VersionResponseValidationError) Field

Field function returns field value.

func (VersionResponseValidationError) Key

Key function returns key value.

func (VersionResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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