v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Env_ListEnv_FullMethodName       = "/configure.api.configure.env.v1.Env/ListEnv"
	Env_CreateEnv_FullMethodName     = "/configure.api.configure.env.v1.Env/CreateEnv"
	Env_UpdateEnv_FullMethodName     = "/configure.api.configure.env.v1.Env/UpdateEnv"
	Env_DeleteEnv_FullMethodName     = "/configure.api.configure.env.v1.Env/DeleteEnv"
	Env_GetEnvToken_FullMethodName   = "/configure.api.configure.env.v1.Env/GetEnvToken"
	Env_ResetEnvToken_FullMethodName = "/configure.api.configure.env.v1.Env/ResetEnvToken"
)
View Source
const OperationEnvCreateEnv = "/configure.api.configure.env.v1.Env/CreateEnv"
View Source
const OperationEnvDeleteEnv = "/configure.api.configure.env.v1.Env/DeleteEnv"
View Source
const OperationEnvGetEnvToken = "/configure.api.configure.env.v1.Env/GetEnvToken"
View Source
const OperationEnvListEnv = "/configure.api.configure.env.v1.Env/ListEnv"
View Source
const OperationEnvResetEnvToken = "/configure.api.configure.env.v1.Env/ResetEnvToken"
View Source
const OperationEnvUpdateEnv = "/configure.api.configure.env.v1.Env/UpdateEnv"

Variables

View Source
var Env_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "configure.api.configure.env.v1.Env",
	HandlerType: (*EnvServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEnv",
			Handler:    _Env_ListEnv_Handler,
		},
		{
			MethodName: "CreateEnv",
			Handler:    _Env_CreateEnv_Handler,
		},
		{
			MethodName: "UpdateEnv",
			Handler:    _Env_UpdateEnv_Handler,
		},
		{
			MethodName: "DeleteEnv",
			Handler:    _Env_DeleteEnv_Handler,
		},
		{
			MethodName: "GetEnvToken",
			Handler:    _Env_GetEnvToken_Handler,
		},
		{
			MethodName: "ResetEnvToken",
			Handler:    _Env_ResetEnvToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/configure/env/configure_env_service.proto",
}

Env_ServiceDesc is the grpc.ServiceDesc for Env service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_configure_env_configure_env_proto protoreflect.FileDescriptor
View Source
var File_api_configure_env_configure_env_service_proto protoreflect.FileDescriptor

Functions

func RegisterEnvHTTPServer

func RegisterEnvHTTPServer(s *http.Server, srv EnvHTTPServer)

func RegisterEnvServer

func RegisterEnvServer(s grpc.ServiceRegistrar, srv EnvServer)

Types

type CreateEnvReply

type CreateEnvReply struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnvReply) Descriptor deprecated

func (*CreateEnvReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateEnvReply.ProtoReflect.Descriptor instead.

func (*CreateEnvReply) GetId

func (x *CreateEnvReply) GetId() uint32

func (*CreateEnvReply) ProtoMessage

func (*CreateEnvReply) ProtoMessage()

func (*CreateEnvReply) ProtoReflect

func (x *CreateEnvReply) ProtoReflect() protoreflect.Message

func (*CreateEnvReply) Reset

func (x *CreateEnvReply) Reset()

func (*CreateEnvReply) String

func (x *CreateEnvReply) String() string

func (*CreateEnvReply) Validate

func (m *CreateEnvReply) Validate() error

Validate checks the field values on CreateEnvReply 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 (*CreateEnvReply) ValidateAll

func (m *CreateEnvReply) ValidateAll() error

ValidateAll checks the field values on CreateEnvReply 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 CreateEnvReplyMultiError, or nil if none found.

type CreateEnvReplyMultiError

type CreateEnvReplyMultiError []error

CreateEnvReplyMultiError is an error wrapping multiple validation errors returned by CreateEnvReply.ValidateAll() if the designated constraints aren't met.

func (CreateEnvReplyMultiError) AllErrors

func (m CreateEnvReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEnvReplyMultiError) Error

func (m CreateEnvReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateEnvReplyValidationError

type CreateEnvReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateEnvReplyValidationError is the validation error returned by CreateEnvReply.Validate if the designated constraints aren't met.

func (CreateEnvReplyValidationError) Cause

Cause function returns cause value.

func (CreateEnvReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateEnvReplyValidationError) ErrorName

func (e CreateEnvReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateEnvReplyValidationError) Field

Field function returns field value.

func (CreateEnvReplyValidationError) Key

Key function returns key value.

func (CreateEnvReplyValidationError) Reason

Reason function returns reason value.

type CreateEnvRequest

type CreateEnvRequest struct {
	Keyword     string  `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEnvRequest) Descriptor deprecated

func (*CreateEnvRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateEnvRequest.ProtoReflect.Descriptor instead.

func (*CreateEnvRequest) GetDescription

func (x *CreateEnvRequest) GetDescription() string

func (*CreateEnvRequest) GetKeyword

func (x *CreateEnvRequest) GetKeyword() string

func (*CreateEnvRequest) GetName

func (x *CreateEnvRequest) GetName() string

func (*CreateEnvRequest) GetStatus

func (x *CreateEnvRequest) GetStatus() bool

func (*CreateEnvRequest) ProtoMessage

func (*CreateEnvRequest) ProtoMessage()

func (*CreateEnvRequest) ProtoReflect

func (x *CreateEnvRequest) ProtoReflect() protoreflect.Message

func (*CreateEnvRequest) Reset

func (x *CreateEnvRequest) Reset()

func (*CreateEnvRequest) String

func (x *CreateEnvRequest) String() string

func (*CreateEnvRequest) Validate

func (m *CreateEnvRequest) Validate() error

Validate checks the field values on CreateEnvRequest 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 (*CreateEnvRequest) ValidateAll

func (m *CreateEnvRequest) ValidateAll() error

ValidateAll checks the field values on CreateEnvRequest 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 CreateEnvRequestMultiError, or nil if none found.

type CreateEnvRequestMultiError

type CreateEnvRequestMultiError []error

CreateEnvRequestMultiError is an error wrapping multiple validation errors returned by CreateEnvRequest.ValidateAll() if the designated constraints aren't met.

func (CreateEnvRequestMultiError) AllErrors

func (m CreateEnvRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateEnvRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateEnvRequestValidationError

type CreateEnvRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateEnvRequestValidationError is the validation error returned by CreateEnvRequest.Validate if the designated constraints aren't met.

func (CreateEnvRequestValidationError) Cause

Cause function returns cause value.

func (CreateEnvRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEnvRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEnvRequestValidationError) Field

Field function returns field value.

func (CreateEnvRequestValidationError) Key

Key function returns key value.

func (CreateEnvRequestValidationError) Reason

Reason function returns reason value.

type DeleteEnvReply

type DeleteEnvReply struct {
	// contains filtered or unexported fields
}

func (*DeleteEnvReply) Descriptor deprecated

func (*DeleteEnvReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEnvReply.ProtoReflect.Descriptor instead.

func (*DeleteEnvReply) ProtoMessage

func (*DeleteEnvReply) ProtoMessage()

func (*DeleteEnvReply) ProtoReflect

func (x *DeleteEnvReply) ProtoReflect() protoreflect.Message

func (*DeleteEnvReply) Reset

func (x *DeleteEnvReply) Reset()

func (*DeleteEnvReply) String

func (x *DeleteEnvReply) String() string

func (*DeleteEnvReply) Validate

func (m *DeleteEnvReply) Validate() error

Validate checks the field values on DeleteEnvReply 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 (*DeleteEnvReply) ValidateAll

func (m *DeleteEnvReply) ValidateAll() error

ValidateAll checks the field values on DeleteEnvReply 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 DeleteEnvReplyMultiError, or nil if none found.

type DeleteEnvReplyMultiError

type DeleteEnvReplyMultiError []error

DeleteEnvReplyMultiError is an error wrapping multiple validation errors returned by DeleteEnvReply.ValidateAll() if the designated constraints aren't met.

func (DeleteEnvReplyMultiError) AllErrors

func (m DeleteEnvReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEnvReplyMultiError) Error

func (m DeleteEnvReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteEnvReplyValidationError

type DeleteEnvReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteEnvReplyValidationError is the validation error returned by DeleteEnvReply.Validate if the designated constraints aren't met.

func (DeleteEnvReplyValidationError) Cause

Cause function returns cause value.

func (DeleteEnvReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteEnvReplyValidationError) ErrorName

func (e DeleteEnvReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteEnvReplyValidationError) Field

Field function returns field value.

func (DeleteEnvReplyValidationError) Key

Key function returns key value.

func (DeleteEnvReplyValidationError) Reason

Reason function returns reason value.

type DeleteEnvRequest

type DeleteEnvRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEnvRequest) Descriptor deprecated

func (*DeleteEnvRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEnvRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvRequest) GetId

func (x *DeleteEnvRequest) GetId() uint32

func (*DeleteEnvRequest) ProtoMessage

func (*DeleteEnvRequest) ProtoMessage()

func (*DeleteEnvRequest) ProtoReflect

func (x *DeleteEnvRequest) ProtoReflect() protoreflect.Message

func (*DeleteEnvRequest) Reset

func (x *DeleteEnvRequest) Reset()

func (*DeleteEnvRequest) String

func (x *DeleteEnvRequest) String() string

func (*DeleteEnvRequest) Validate

func (m *DeleteEnvRequest) Validate() error

Validate checks the field values on DeleteEnvRequest 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 (*DeleteEnvRequest) ValidateAll

func (m *DeleteEnvRequest) ValidateAll() error

ValidateAll checks the field values on DeleteEnvRequest 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 DeleteEnvRequestMultiError, or nil if none found.

type DeleteEnvRequestMultiError

type DeleteEnvRequestMultiError []error

DeleteEnvRequestMultiError is an error wrapping multiple validation errors returned by DeleteEnvRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteEnvRequestMultiError) AllErrors

func (m DeleteEnvRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEnvRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteEnvRequestValidationError

type DeleteEnvRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteEnvRequestValidationError is the validation error returned by DeleteEnvRequest.Validate if the designated constraints aren't met.

func (DeleteEnvRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEnvRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEnvRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEnvRequestValidationError) Field

Field function returns field value.

func (DeleteEnvRequestValidationError) Key

Key function returns key value.

func (DeleteEnvRequestValidationError) Reason

Reason function returns reason value.

type EnvClient

type EnvClient interface {
	// ListEnv 获取环境信息列表
	ListEnv(ctx context.Context, in *ListEnvRequest, opts ...grpc.CallOption) (*ListEnvReply, error)
	// CreateEnv 创建环境信息
	CreateEnv(ctx context.Context, in *CreateEnvRequest, opts ...grpc.CallOption) (*CreateEnvReply, error)
	// UpdateEnv 更新环境信息
	UpdateEnv(ctx context.Context, in *UpdateEnvRequest, opts ...grpc.CallOption) (*UpdateEnvReply, error)
	// DeleteEnv 删除环境信息
	DeleteEnv(ctx context.Context, in *DeleteEnvRequest, opts ...grpc.CallOption) (*DeleteEnvReply, error)
	// GetEnvToken 获取环境token
	GetEnvToken(ctx context.Context, in *GetEnvTokenRequest, opts ...grpc.CallOption) (*GetEnvTokenReply, error)
	// ResetEnvToken 重置环境token
	ResetEnvToken(ctx context.Context, in *ResetEnvTokenRequest, opts ...grpc.CallOption) (*ResetEnvTokenReply, error)
}

EnvClient is the client API for Env 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 NewEnvClient

func NewEnvClient(cc grpc.ClientConnInterface) EnvClient

type EnvHTTPClient

type EnvHTTPClient interface {
	CreateEnv(ctx context.Context, req *CreateEnvRequest, opts ...http.CallOption) (rsp *CreateEnvReply, err error)
	DeleteEnv(ctx context.Context, req *DeleteEnvRequest, opts ...http.CallOption) (rsp *DeleteEnvReply, err error)
	GetEnvToken(ctx context.Context, req *GetEnvTokenRequest, opts ...http.CallOption) (rsp *GetEnvTokenReply, err error)
	ListEnv(ctx context.Context, req *ListEnvRequest, opts ...http.CallOption) (rsp *ListEnvReply, err error)
	ResetEnvToken(ctx context.Context, req *ResetEnvTokenRequest, opts ...http.CallOption) (rsp *ResetEnvTokenReply, err error)
	UpdateEnv(ctx context.Context, req *UpdateEnvRequest, opts ...http.CallOption) (rsp *UpdateEnvReply, err error)
}

func NewEnvHTTPClient

func NewEnvHTTPClient(client *http.Client) EnvHTTPClient

type EnvHTTPClientImpl

type EnvHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*EnvHTTPClientImpl) CreateEnv

func (*EnvHTTPClientImpl) DeleteEnv

func (*EnvHTTPClientImpl) GetEnvToken

func (*EnvHTTPClientImpl) ListEnv

func (*EnvHTTPClientImpl) ResetEnvToken

func (*EnvHTTPClientImpl) UpdateEnv

type EnvHTTPServer

type EnvHTTPServer interface {
	// CreateEnv CreateEnv 创建环境信息
	CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error)
	// DeleteEnv DeleteEnv 删除环境信息
	DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error)
	// GetEnvToken GetEnvToken 获取环境token
	GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error)
	// ListEnv ListEnv 获取环境信息列表
	ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error)
	// ResetEnvToken ResetEnvToken 重置环境token
	ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error)
	// UpdateEnv UpdateEnv 更新环境信息
	UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error)
}

type EnvServer

type EnvServer interface {
	// ListEnv 获取环境信息列表
	ListEnv(context.Context, *ListEnvRequest) (*ListEnvReply, error)
	// CreateEnv 创建环境信息
	CreateEnv(context.Context, *CreateEnvRequest) (*CreateEnvReply, error)
	// UpdateEnv 更新环境信息
	UpdateEnv(context.Context, *UpdateEnvRequest) (*UpdateEnvReply, error)
	// DeleteEnv 删除环境信息
	DeleteEnv(context.Context, *DeleteEnvRequest) (*DeleteEnvReply, error)
	// GetEnvToken 获取环境token
	GetEnvToken(context.Context, *GetEnvTokenRequest) (*GetEnvTokenReply, error)
	// ResetEnvToken 重置环境token
	ResetEnvToken(context.Context, *ResetEnvTokenRequest) (*ResetEnvTokenReply, error)
	// contains filtered or unexported methods
}

EnvServer is the server API for Env service. All implementations must embed UnimplementedEnvServer for forward compatibility

type GetEnvReply

type GetEnvReply struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string  `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvReply) Descriptor deprecated

func (*GetEnvReply) Descriptor() ([]byte, []int)

Deprecated: Use GetEnvReply.ProtoReflect.Descriptor instead.

func (*GetEnvReply) GetCreatedAt

func (x *GetEnvReply) GetCreatedAt() uint32

func (*GetEnvReply) GetDescription

func (x *GetEnvReply) GetDescription() string

func (*GetEnvReply) GetId

func (x *GetEnvReply) GetId() uint32

func (*GetEnvReply) GetKeyword

func (x *GetEnvReply) GetKeyword() string

func (*GetEnvReply) GetName

func (x *GetEnvReply) GetName() string

func (*GetEnvReply) GetStatus

func (x *GetEnvReply) GetStatus() bool

func (*GetEnvReply) GetUpdatedAt

func (x *GetEnvReply) GetUpdatedAt() uint32

func (*GetEnvReply) ProtoMessage

func (*GetEnvReply) ProtoMessage()

func (*GetEnvReply) ProtoReflect

func (x *GetEnvReply) ProtoReflect() protoreflect.Message

func (*GetEnvReply) Reset

func (x *GetEnvReply) Reset()

func (*GetEnvReply) String

func (x *GetEnvReply) String() string

func (*GetEnvReply) Validate

func (m *GetEnvReply) Validate() error

Validate checks the field values on GetEnvReply 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 (*GetEnvReply) ValidateAll

func (m *GetEnvReply) ValidateAll() error

ValidateAll checks the field values on GetEnvReply 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 GetEnvReplyMultiError, or nil if none found.

type GetEnvReplyMultiError

type GetEnvReplyMultiError []error

GetEnvReplyMultiError is an error wrapping multiple validation errors returned by GetEnvReply.ValidateAll() if the designated constraints aren't met.

func (GetEnvReplyMultiError) AllErrors

func (m GetEnvReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEnvReplyMultiError) Error

func (m GetEnvReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetEnvReplyValidationError

type GetEnvReplyValidationError struct {
	// contains filtered or unexported fields
}

GetEnvReplyValidationError is the validation error returned by GetEnvReply.Validate if the designated constraints aren't met.

func (GetEnvReplyValidationError) Cause

Cause function returns cause value.

func (GetEnvReplyValidationError) Error

Error satisfies the builtin error interface

func (GetEnvReplyValidationError) ErrorName

func (e GetEnvReplyValidationError) ErrorName() string

ErrorName returns error name.

func (GetEnvReplyValidationError) Field

Field function returns field value.

func (GetEnvReplyValidationError) Key

Key function returns key value.

func (GetEnvReplyValidationError) Reason

Reason function returns reason value.

type GetEnvRequest

type GetEnvRequest struct {
	Id      *uint32 `protobuf:"varint,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Keyword *string `protobuf:"bytes,2,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvRequest) Descriptor deprecated

func (*GetEnvRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEnvRequest.ProtoReflect.Descriptor instead.

func (*GetEnvRequest) GetId

func (x *GetEnvRequest) GetId() uint32

func (*GetEnvRequest) GetKeyword

func (x *GetEnvRequest) GetKeyword() string

func (*GetEnvRequest) ProtoMessage

func (*GetEnvRequest) ProtoMessage()

func (*GetEnvRequest) ProtoReflect

func (x *GetEnvRequest) ProtoReflect() protoreflect.Message

func (*GetEnvRequest) Reset

func (x *GetEnvRequest) Reset()

func (*GetEnvRequest) String

func (x *GetEnvRequest) String() string

func (*GetEnvRequest) Validate

func (m *GetEnvRequest) Validate() error

Validate checks the field values on GetEnvRequest 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 (*GetEnvRequest) ValidateAll

func (m *GetEnvRequest) ValidateAll() error

ValidateAll checks the field values on GetEnvRequest 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 GetEnvRequestMultiError, or nil if none found.

type GetEnvRequestMultiError

type GetEnvRequestMultiError []error

GetEnvRequestMultiError is an error wrapping multiple validation errors returned by GetEnvRequest.ValidateAll() if the designated constraints aren't met.

func (GetEnvRequestMultiError) AllErrors

func (m GetEnvRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEnvRequestMultiError) Error

func (m GetEnvRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetEnvRequestValidationError

type GetEnvRequestValidationError struct {
	// contains filtered or unexported fields
}

GetEnvRequestValidationError is the validation error returned by GetEnvRequest.Validate if the designated constraints aren't met.

func (GetEnvRequestValidationError) Cause

Cause function returns cause value.

func (GetEnvRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEnvRequestValidationError) ErrorName

func (e GetEnvRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetEnvRequestValidationError) Field

Field function returns field value.

func (GetEnvRequestValidationError) Key

Key function returns key value.

func (GetEnvRequestValidationError) Reason

Reason function returns reason value.

type GetEnvTokenReply

type GetEnvTokenReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvTokenReply) Descriptor deprecated

func (*GetEnvTokenReply) Descriptor() ([]byte, []int)

Deprecated: Use GetEnvTokenReply.ProtoReflect.Descriptor instead.

func (*GetEnvTokenReply) GetToken

func (x *GetEnvTokenReply) GetToken() string

func (*GetEnvTokenReply) ProtoMessage

func (*GetEnvTokenReply) ProtoMessage()

func (*GetEnvTokenReply) ProtoReflect

func (x *GetEnvTokenReply) ProtoReflect() protoreflect.Message

func (*GetEnvTokenReply) Reset

func (x *GetEnvTokenReply) Reset()

func (*GetEnvTokenReply) String

func (x *GetEnvTokenReply) String() string

func (*GetEnvTokenReply) Validate

func (m *GetEnvTokenReply) Validate() error

Validate checks the field values on GetEnvTokenReply 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 (*GetEnvTokenReply) ValidateAll

func (m *GetEnvTokenReply) ValidateAll() error

ValidateAll checks the field values on GetEnvTokenReply 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 GetEnvTokenReplyMultiError, or nil if none found.

type GetEnvTokenReplyMultiError

type GetEnvTokenReplyMultiError []error

GetEnvTokenReplyMultiError is an error wrapping multiple validation errors returned by GetEnvTokenReply.ValidateAll() if the designated constraints aren't met.

func (GetEnvTokenReplyMultiError) AllErrors

func (m GetEnvTokenReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEnvTokenReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetEnvTokenReplyValidationError

type GetEnvTokenReplyValidationError struct {
	// contains filtered or unexported fields
}

GetEnvTokenReplyValidationError is the validation error returned by GetEnvTokenReply.Validate if the designated constraints aren't met.

func (GetEnvTokenReplyValidationError) Cause

Cause function returns cause value.

func (GetEnvTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (GetEnvTokenReplyValidationError) ErrorName

ErrorName returns error name.

func (GetEnvTokenReplyValidationError) Field

Field function returns field value.

func (GetEnvTokenReplyValidationError) Key

Key function returns key value.

func (GetEnvTokenReplyValidationError) Reason

Reason function returns reason value.

type GetEnvTokenRequest

type GetEnvTokenRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEnvTokenRequest) Descriptor deprecated

func (*GetEnvTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEnvTokenRequest.ProtoReflect.Descriptor instead.

func (*GetEnvTokenRequest) GetId

func (x *GetEnvTokenRequest) GetId() uint32

func (*GetEnvTokenRequest) ProtoMessage

func (*GetEnvTokenRequest) ProtoMessage()

func (*GetEnvTokenRequest) ProtoReflect

func (x *GetEnvTokenRequest) ProtoReflect() protoreflect.Message

func (*GetEnvTokenRequest) Reset

func (x *GetEnvTokenRequest) Reset()

func (*GetEnvTokenRequest) String

func (x *GetEnvTokenRequest) String() string

func (*GetEnvTokenRequest) Validate

func (m *GetEnvTokenRequest) Validate() error

Validate checks the field values on GetEnvTokenRequest 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 (*GetEnvTokenRequest) ValidateAll

func (m *GetEnvTokenRequest) ValidateAll() error

ValidateAll checks the field values on GetEnvTokenRequest 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 GetEnvTokenRequestMultiError, or nil if none found.

type GetEnvTokenRequestMultiError

type GetEnvTokenRequestMultiError []error

GetEnvTokenRequestMultiError is an error wrapping multiple validation errors returned by GetEnvTokenRequest.ValidateAll() if the designated constraints aren't met.

func (GetEnvTokenRequestMultiError) AllErrors

func (m GetEnvTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetEnvTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetEnvTokenRequestValidationError

type GetEnvTokenRequestValidationError struct {
	// contains filtered or unexported fields
}

GetEnvTokenRequestValidationError is the validation error returned by GetEnvTokenRequest.Validate if the designated constraints aren't met.

func (GetEnvTokenRequestValidationError) Cause

Cause function returns cause value.

func (GetEnvTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEnvTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEnvTokenRequestValidationError) Field

Field function returns field value.

func (GetEnvTokenRequestValidationError) Key

Key function returns key value.

func (GetEnvTokenRequestValidationError) Reason

Reason function returns reason value.

type ListEnvReply

type ListEnvReply struct {
	Total uint32              `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List  []*ListEnvReply_Env `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvReply) Descriptor deprecated

func (*ListEnvReply) Descriptor() ([]byte, []int)

Deprecated: Use ListEnvReply.ProtoReflect.Descriptor instead.

func (*ListEnvReply) GetList

func (x *ListEnvReply) GetList() []*ListEnvReply_Env

func (*ListEnvReply) GetTotal

func (x *ListEnvReply) GetTotal() uint32

func (*ListEnvReply) ProtoMessage

func (*ListEnvReply) ProtoMessage()

func (*ListEnvReply) ProtoReflect

func (x *ListEnvReply) ProtoReflect() protoreflect.Message

func (*ListEnvReply) Reset

func (x *ListEnvReply) Reset()

func (*ListEnvReply) String

func (x *ListEnvReply) String() string

func (*ListEnvReply) Validate

func (m *ListEnvReply) Validate() error

Validate checks the field values on ListEnvReply 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 (*ListEnvReply) ValidateAll

func (m *ListEnvReply) ValidateAll() error

ValidateAll checks the field values on ListEnvReply 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 ListEnvReplyMultiError, or nil if none found.

type ListEnvReplyMultiError

type ListEnvReplyMultiError []error

ListEnvReplyMultiError is an error wrapping multiple validation errors returned by ListEnvReply.ValidateAll() if the designated constraints aren't met.

func (ListEnvReplyMultiError) AllErrors

func (m ListEnvReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEnvReplyMultiError) Error

func (m ListEnvReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListEnvReplyValidationError

type ListEnvReplyValidationError struct {
	// contains filtered or unexported fields
}

ListEnvReplyValidationError is the validation error returned by ListEnvReply.Validate if the designated constraints aren't met.

func (ListEnvReplyValidationError) Cause

Cause function returns cause value.

func (ListEnvReplyValidationError) Error

Error satisfies the builtin error interface

func (ListEnvReplyValidationError) ErrorName

func (e ListEnvReplyValidationError) ErrorName() string

ErrorName returns error name.

func (ListEnvReplyValidationError) Field

Field function returns field value.

func (ListEnvReplyValidationError) Key

Key function returns key value.

func (ListEnvReplyValidationError) Reason

Reason function returns reason value.

type ListEnvReply_Env

type ListEnvReply_Env struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string  `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	CreatedAt   uint32  `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt   uint32  `protobuf:"varint,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvReply_Env) Descriptor deprecated

func (*ListEnvReply_Env) Descriptor() ([]byte, []int)

Deprecated: Use ListEnvReply_Env.ProtoReflect.Descriptor instead.

func (*ListEnvReply_Env) GetCreatedAt

func (x *ListEnvReply_Env) GetCreatedAt() uint32

func (*ListEnvReply_Env) GetDescription

func (x *ListEnvReply_Env) GetDescription() string

func (*ListEnvReply_Env) GetId

func (x *ListEnvReply_Env) GetId() uint32

func (*ListEnvReply_Env) GetKeyword

func (x *ListEnvReply_Env) GetKeyword() string

func (*ListEnvReply_Env) GetName

func (x *ListEnvReply_Env) GetName() string

func (*ListEnvReply_Env) GetStatus

func (x *ListEnvReply_Env) GetStatus() bool

func (*ListEnvReply_Env) GetUpdatedAt

func (x *ListEnvReply_Env) GetUpdatedAt() uint32

func (*ListEnvReply_Env) ProtoMessage

func (*ListEnvReply_Env) ProtoMessage()

func (*ListEnvReply_Env) ProtoReflect

func (x *ListEnvReply_Env) ProtoReflect() protoreflect.Message

func (*ListEnvReply_Env) Reset

func (x *ListEnvReply_Env) Reset()

func (*ListEnvReply_Env) String

func (x *ListEnvReply_Env) String() string

func (*ListEnvReply_Env) Validate

func (m *ListEnvReply_Env) Validate() error

Validate checks the field values on ListEnvReply_Env 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 (*ListEnvReply_Env) ValidateAll

func (m *ListEnvReply_Env) ValidateAll() error

ValidateAll checks the field values on ListEnvReply_Env 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 ListEnvReply_EnvMultiError, or nil if none found.

type ListEnvReply_EnvMultiError

type ListEnvReply_EnvMultiError []error

ListEnvReply_EnvMultiError is an error wrapping multiple validation errors returned by ListEnvReply_Env.ValidateAll() if the designated constraints aren't met.

func (ListEnvReply_EnvMultiError) AllErrors

func (m ListEnvReply_EnvMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEnvReply_EnvMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListEnvReply_EnvValidationError

type ListEnvReply_EnvValidationError struct {
	// contains filtered or unexported fields
}

ListEnvReply_EnvValidationError is the validation error returned by ListEnvReply_Env.Validate if the designated constraints aren't met.

func (ListEnvReply_EnvValidationError) Cause

Cause function returns cause value.

func (ListEnvReply_EnvValidationError) Error

Error satisfies the builtin error interface

func (ListEnvReply_EnvValidationError) ErrorName

ErrorName returns error name.

func (ListEnvReply_EnvValidationError) Field

Field function returns field value.

func (ListEnvReply_EnvValidationError) Key

Key function returns key value.

func (ListEnvReply_EnvValidationError) Reason

Reason function returns reason value.

type ListEnvRequest

type ListEnvRequest struct {
	Keyword *string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	Name    *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Status  *bool   `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListEnvRequest) Descriptor deprecated

func (*ListEnvRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListEnvRequest.ProtoReflect.Descriptor instead.

func (*ListEnvRequest) GetKeyword

func (x *ListEnvRequest) GetKeyword() string

func (*ListEnvRequest) GetName

func (x *ListEnvRequest) GetName() string

func (*ListEnvRequest) GetStatus

func (x *ListEnvRequest) GetStatus() bool

func (*ListEnvRequest) ProtoMessage

func (*ListEnvRequest) ProtoMessage()

func (*ListEnvRequest) ProtoReflect

func (x *ListEnvRequest) ProtoReflect() protoreflect.Message

func (*ListEnvRequest) Reset

func (x *ListEnvRequest) Reset()

func (*ListEnvRequest) String

func (x *ListEnvRequest) String() string

func (*ListEnvRequest) Validate

func (m *ListEnvRequest) Validate() error

Validate checks the field values on ListEnvRequest 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 (*ListEnvRequest) ValidateAll

func (m *ListEnvRequest) ValidateAll() error

ValidateAll checks the field values on ListEnvRequest 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 ListEnvRequestMultiError, or nil if none found.

type ListEnvRequestMultiError

type ListEnvRequestMultiError []error

ListEnvRequestMultiError is an error wrapping multiple validation errors returned by ListEnvRequest.ValidateAll() if the designated constraints aren't met.

func (ListEnvRequestMultiError) AllErrors

func (m ListEnvRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListEnvRequestMultiError) Error

func (m ListEnvRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ListEnvRequestValidationError

type ListEnvRequestValidationError struct {
	// contains filtered or unexported fields
}

ListEnvRequestValidationError is the validation error returned by ListEnvRequest.Validate if the designated constraints aren't met.

func (ListEnvRequestValidationError) Cause

Cause function returns cause value.

func (ListEnvRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEnvRequestValidationError) ErrorName

func (e ListEnvRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListEnvRequestValidationError) Field

Field function returns field value.

func (ListEnvRequestValidationError) Key

Key function returns key value.

func (ListEnvRequestValidationError) Reason

Reason function returns reason value.

type ResetEnvTokenReply

type ResetEnvTokenReply struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetEnvTokenReply) Descriptor deprecated

func (*ResetEnvTokenReply) Descriptor() ([]byte, []int)

Deprecated: Use ResetEnvTokenReply.ProtoReflect.Descriptor instead.

func (*ResetEnvTokenReply) GetToken

func (x *ResetEnvTokenReply) GetToken() string

func (*ResetEnvTokenReply) ProtoMessage

func (*ResetEnvTokenReply) ProtoMessage()

func (*ResetEnvTokenReply) ProtoReflect

func (x *ResetEnvTokenReply) ProtoReflect() protoreflect.Message

func (*ResetEnvTokenReply) Reset

func (x *ResetEnvTokenReply) Reset()

func (*ResetEnvTokenReply) String

func (x *ResetEnvTokenReply) String() string

func (*ResetEnvTokenReply) Validate

func (m *ResetEnvTokenReply) Validate() error

Validate checks the field values on ResetEnvTokenReply 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 (*ResetEnvTokenReply) ValidateAll

func (m *ResetEnvTokenReply) ValidateAll() error

ValidateAll checks the field values on ResetEnvTokenReply 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 ResetEnvTokenReplyMultiError, or nil if none found.

type ResetEnvTokenReplyMultiError

type ResetEnvTokenReplyMultiError []error

ResetEnvTokenReplyMultiError is an error wrapping multiple validation errors returned by ResetEnvTokenReply.ValidateAll() if the designated constraints aren't met.

func (ResetEnvTokenReplyMultiError) AllErrors

func (m ResetEnvTokenReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetEnvTokenReplyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResetEnvTokenReplyValidationError

type ResetEnvTokenReplyValidationError struct {
	// contains filtered or unexported fields
}

ResetEnvTokenReplyValidationError is the validation error returned by ResetEnvTokenReply.Validate if the designated constraints aren't met.

func (ResetEnvTokenReplyValidationError) Cause

Cause function returns cause value.

func (ResetEnvTokenReplyValidationError) Error

Error satisfies the builtin error interface

func (ResetEnvTokenReplyValidationError) ErrorName

ErrorName returns error name.

func (ResetEnvTokenReplyValidationError) Field

Field function returns field value.

func (ResetEnvTokenReplyValidationError) Key

Key function returns key value.

func (ResetEnvTokenReplyValidationError) Reason

Reason function returns reason value.

type ResetEnvTokenRequest

type ResetEnvTokenRequest struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetEnvTokenRequest) Descriptor deprecated

func (*ResetEnvTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetEnvTokenRequest.ProtoReflect.Descriptor instead.

func (*ResetEnvTokenRequest) GetId

func (x *ResetEnvTokenRequest) GetId() uint32

func (*ResetEnvTokenRequest) ProtoMessage

func (*ResetEnvTokenRequest) ProtoMessage()

func (*ResetEnvTokenRequest) ProtoReflect

func (x *ResetEnvTokenRequest) ProtoReflect() protoreflect.Message

func (*ResetEnvTokenRequest) Reset

func (x *ResetEnvTokenRequest) Reset()

func (*ResetEnvTokenRequest) String

func (x *ResetEnvTokenRequest) String() string

func (*ResetEnvTokenRequest) Validate

func (m *ResetEnvTokenRequest) Validate() error

Validate checks the field values on ResetEnvTokenRequest 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 (*ResetEnvTokenRequest) ValidateAll

func (m *ResetEnvTokenRequest) ValidateAll() error

ValidateAll checks the field values on ResetEnvTokenRequest 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 ResetEnvTokenRequestMultiError, or nil if none found.

type ResetEnvTokenRequestMultiError

type ResetEnvTokenRequestMultiError []error

ResetEnvTokenRequestMultiError is an error wrapping multiple validation errors returned by ResetEnvTokenRequest.ValidateAll() if the designated constraints aren't met.

func (ResetEnvTokenRequestMultiError) AllErrors

func (m ResetEnvTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResetEnvTokenRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ResetEnvTokenRequestValidationError

type ResetEnvTokenRequestValidationError struct {
	// contains filtered or unexported fields
}

ResetEnvTokenRequestValidationError is the validation error returned by ResetEnvTokenRequest.Validate if the designated constraints aren't met.

func (ResetEnvTokenRequestValidationError) Cause

Cause function returns cause value.

func (ResetEnvTokenRequestValidationError) Error

Error satisfies the builtin error interface

func (ResetEnvTokenRequestValidationError) ErrorName

ErrorName returns error name.

func (ResetEnvTokenRequestValidationError) Field

Field function returns field value.

func (ResetEnvTokenRequestValidationError) Key

Key function returns key value.

func (ResetEnvTokenRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedEnvServer

type UnimplementedEnvServer struct {
}

UnimplementedEnvServer must be embedded to have forward compatible implementations.

func (UnimplementedEnvServer) CreateEnv

func (UnimplementedEnvServer) DeleteEnv

func (UnimplementedEnvServer) GetEnvToken

func (UnimplementedEnvServer) ListEnv

func (UnimplementedEnvServer) ResetEnvToken

func (UnimplementedEnvServer) UpdateEnv

type UnsafeEnvServer

type UnsafeEnvServer interface {
	// contains filtered or unexported methods
}

UnsafeEnvServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnvServer will result in compilation errors.

type UpdateEnvReply

type UpdateEnvReply struct {
	// contains filtered or unexported fields
}

func (*UpdateEnvReply) Descriptor deprecated

func (*UpdateEnvReply) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEnvReply.ProtoReflect.Descriptor instead.

func (*UpdateEnvReply) ProtoMessage

func (*UpdateEnvReply) ProtoMessage()

func (*UpdateEnvReply) ProtoReflect

func (x *UpdateEnvReply) ProtoReflect() protoreflect.Message

func (*UpdateEnvReply) Reset

func (x *UpdateEnvReply) Reset()

func (*UpdateEnvReply) String

func (x *UpdateEnvReply) String() string

func (*UpdateEnvReply) Validate

func (m *UpdateEnvReply) Validate() error

Validate checks the field values on UpdateEnvReply 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 (*UpdateEnvReply) ValidateAll

func (m *UpdateEnvReply) ValidateAll() error

ValidateAll checks the field values on UpdateEnvReply 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 UpdateEnvReplyMultiError, or nil if none found.

type UpdateEnvReplyMultiError

type UpdateEnvReplyMultiError []error

UpdateEnvReplyMultiError is an error wrapping multiple validation errors returned by UpdateEnvReply.ValidateAll() if the designated constraints aren't met.

func (UpdateEnvReplyMultiError) AllErrors

func (m UpdateEnvReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEnvReplyMultiError) Error

func (m UpdateEnvReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateEnvReplyValidationError

type UpdateEnvReplyValidationError struct {
	// contains filtered or unexported fields
}

UpdateEnvReplyValidationError is the validation error returned by UpdateEnvReply.Validate if the designated constraints aren't met.

func (UpdateEnvReplyValidationError) Cause

Cause function returns cause value.

func (UpdateEnvReplyValidationError) Error

Error satisfies the builtin error interface

func (UpdateEnvReplyValidationError) ErrorName

func (e UpdateEnvReplyValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateEnvReplyValidationError) Field

Field function returns field value.

func (UpdateEnvReplyValidationError) Key

Key function returns key value.

func (UpdateEnvReplyValidationError) Reason

Reason function returns reason value.

type UpdateEnvRequest

type UpdateEnvRequest struct {
	Id          uint32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Keyword     string  `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Name        string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Status      *bool   `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnvRequest) Descriptor deprecated

func (*UpdateEnvRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEnvRequest.ProtoReflect.Descriptor instead.

func (*UpdateEnvRequest) GetDescription

func (x *UpdateEnvRequest) GetDescription() string

func (*UpdateEnvRequest) GetId

func (x *UpdateEnvRequest) GetId() uint32

func (*UpdateEnvRequest) GetKeyword

func (x *UpdateEnvRequest) GetKeyword() string

func (*UpdateEnvRequest) GetName

func (x *UpdateEnvRequest) GetName() string

func (*UpdateEnvRequest) GetStatus

func (x *UpdateEnvRequest) GetStatus() bool

func (*UpdateEnvRequest) ProtoMessage

func (*UpdateEnvRequest) ProtoMessage()

func (*UpdateEnvRequest) ProtoReflect

func (x *UpdateEnvRequest) ProtoReflect() protoreflect.Message

func (*UpdateEnvRequest) Reset

func (x *UpdateEnvRequest) Reset()

func (*UpdateEnvRequest) String

func (x *UpdateEnvRequest) String() string

func (*UpdateEnvRequest) Validate

func (m *UpdateEnvRequest) Validate() error

Validate checks the field values on UpdateEnvRequest 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 (*UpdateEnvRequest) ValidateAll

func (m *UpdateEnvRequest) ValidateAll() error

ValidateAll checks the field values on UpdateEnvRequest 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 UpdateEnvRequestMultiError, or nil if none found.

type UpdateEnvRequestMultiError

type UpdateEnvRequestMultiError []error

UpdateEnvRequestMultiError is an error wrapping multiple validation errors returned by UpdateEnvRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateEnvRequestMultiError) AllErrors

func (m UpdateEnvRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEnvRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateEnvRequestValidationError

type UpdateEnvRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateEnvRequestValidationError is the validation error returned by UpdateEnvRequest.Validate if the designated constraints aren't met.

func (UpdateEnvRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEnvRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEnvRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEnvRequestValidationError) Field

Field function returns field value.

func (UpdateEnvRequestValidationError) Key

Key function returns key value.

func (UpdateEnvRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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