v1

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Service_PageResource_FullMethodName         = "/configure_resource.Service/PageResource"
	Service_AddResource_FullMethodName          = "/configure_resource.Service/AddResource"
	Service_UpdateResource_FullMethodName       = "/configure_resource.Service/UpdateResource"
	Service_DeleteResource_FullMethodName       = "/configure_resource.Service/DeleteResource"
	Service_GetResourceServerIds_FullMethodName = "/configure_resource.Service/GetResourceServerIds"
	Service_GetResourceValues_FullMethodName    = "/configure_resource.Service/GetResourceValues"
	Service_UpdateResourceValues_FullMethodName = "/configure_resource.Service/UpdateResourceValues"
)
View Source
const OperationServiceAddResource = "/configure_resource.Service/AddResource"
View Source
const OperationServiceDeleteResource = "/configure_resource.Service/DeleteResource"
View Source
const OperationServiceGetResourceServerIds = "/configure_resource.Service/GetResourceServerIds"
View Source
const OperationServiceGetResourceValues = "/configure_resource.Service/GetResourceValues"
View Source
const OperationServicePageResource = "/configure_resource.Service/PageResource"
View Source
const OperationServiceUpdateResource = "/configure_resource.Service/UpdateResource"
View Source
const OperationServiceUpdateResourceValues = "/configure_resource.Service/UpdateResourceValues"

Variables

View Source
var File_configure_resource_proto protoreflect.FileDescriptor
View Source
var File_configure_resource_service_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "configure_resource.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PageResource",
			Handler:    _Service_PageResource_Handler,
		},
		{
			MethodName: "AddResource",
			Handler:    _Service_AddResource_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _Service_UpdateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _Service_DeleteResource_Handler,
		},
		{
			MethodName: "GetResourceServerIds",
			Handler:    _Service_GetResourceServerIds_Handler,
		},
		{
			MethodName: "GetResourceValues",
			Handler:    _Service_GetResourceValues_Handler,
		},
		{
			MethodName: "UpdateResourceValues",
			Handler:    _Service_UpdateResourceValues_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "configure_resource_service.proto",
}

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

Functions

func RegisterServiceHTTPServer

func RegisterServiceHTTPServer(s *http.Server, srv ServiceHTTPServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AddResourceReply

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

func (*AddResourceReply) Descriptor deprecated

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

Deprecated: Use AddResourceReply.ProtoReflect.Descriptor instead.

func (*AddResourceReply) GetId

func (x *AddResourceReply) GetId() uint32

func (*AddResourceReply) ProtoMessage

func (*AddResourceReply) ProtoMessage()

func (*AddResourceReply) ProtoReflect

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

func (*AddResourceReply) Reset

func (x *AddResourceReply) Reset()

func (*AddResourceReply) String

func (x *AddResourceReply) String() string

func (*AddResourceReply) Validate

func (m *AddResourceReply) Validate() error

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

func (m *AddResourceReply) ValidateAll() error

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

type AddResourceReplyMultiError

type AddResourceReplyMultiError []error

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

func (AddResourceReplyMultiError) AllErrors

func (m AddResourceReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddResourceReplyMultiError) Error

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

type AddResourceReplyValidationError

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

AddResourceReplyValidationError is the validation error returned by AddResourceReply.Validate if the designated constraints aren't met.

func (AddResourceReplyValidationError) Cause

Cause function returns cause value.

func (AddResourceReplyValidationError) Error

Error satisfies the builtin error interface

func (AddResourceReplyValidationError) ErrorName

ErrorName returns error name.

func (AddResourceReplyValidationError) Field

Field function returns field value.

func (AddResourceReplyValidationError) Key

Key function returns key value.

func (AddResourceReplyValidationError) Reason

Reason function returns reason value.

type AddResourceRequest

type AddResourceRequest struct {
	Keyword     string   `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Tag         string   `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	Fields      string   `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	Private     *bool    `protobuf:"varint,5,opt,name=private,proto3,oneof" json:"private,omitempty"`
	Servers     []uint32 `protobuf:"varint,6,rep,packed,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*AddResourceRequest) Descriptor deprecated

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

Deprecated: Use AddResourceRequest.ProtoReflect.Descriptor instead.

func (*AddResourceRequest) GetDescription

func (x *AddResourceRequest) GetDescription() string

func (*AddResourceRequest) GetFields

func (x *AddResourceRequest) GetFields() string

func (*AddResourceRequest) GetKeyword

func (x *AddResourceRequest) GetKeyword() string

func (*AddResourceRequest) GetPrivate

func (x *AddResourceRequest) GetPrivate() bool

func (*AddResourceRequest) GetServers

func (x *AddResourceRequest) GetServers() []uint32

func (*AddResourceRequest) GetTag

func (x *AddResourceRequest) GetTag() string

func (*AddResourceRequest) ProtoMessage

func (*AddResourceRequest) ProtoMessage()

func (*AddResourceRequest) ProtoReflect

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

func (*AddResourceRequest) Reset

func (x *AddResourceRequest) Reset()

func (*AddResourceRequest) String

func (x *AddResourceRequest) String() string

func (*AddResourceRequest) Validate

func (m *AddResourceRequest) Validate() error

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

func (m *AddResourceRequest) ValidateAll() error

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

type AddResourceRequestMultiError

type AddResourceRequestMultiError []error

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

func (AddResourceRequestMultiError) AllErrors

func (m AddResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddResourceRequestMultiError) Error

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

type AddResourceRequestValidationError

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

AddResourceRequestValidationError is the validation error returned by AddResourceRequest.Validate if the designated constraints aren't met.

func (AddResourceRequestValidationError) Cause

Cause function returns cause value.

func (AddResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (AddResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (AddResourceRequestValidationError) Field

Field function returns field value.

func (AddResourceRequestValidationError) Key

Key function returns key value.

func (AddResourceRequestValidationError) Reason

Reason function returns reason value.

type DeleteResourceRequest

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

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetId

func (x *DeleteResourceRequest) GetId() uint32

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

func (*DeleteResourceRequest) Validate

func (m *DeleteResourceRequest) Validate() error

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

func (m *DeleteResourceRequest) ValidateAll() error

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

type DeleteResourceRequestMultiError

type DeleteResourceRequestMultiError []error

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

func (DeleteResourceRequestMultiError) AllErrors

func (m DeleteResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteResourceRequestMultiError) Error

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

type DeleteResourceRequestValidationError

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

DeleteResourceRequestValidationError is the validation error returned by DeleteResourceRequest.Validate if the designated constraints aren't met.

func (DeleteResourceRequestValidationError) Cause

Cause function returns cause value.

func (DeleteResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteResourceRequestValidationError) Field

Field function returns field value.

func (DeleteResourceRequestValidationError) Key

Key function returns key value.

func (DeleteResourceRequestValidationError) Reason

Reason function returns reason value.

type GetResourceServerIdsReply

type GetResourceServerIdsReply struct {
	List []uint32 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceServerIdsReply) Descriptor deprecated

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

Deprecated: Use GetResourceServerIdsReply.ProtoReflect.Descriptor instead.

func (*GetResourceServerIdsReply) GetList

func (x *GetResourceServerIdsReply) GetList() []uint32

func (*GetResourceServerIdsReply) ProtoMessage

func (*GetResourceServerIdsReply) ProtoMessage()

func (*GetResourceServerIdsReply) ProtoReflect

func (*GetResourceServerIdsReply) Reset

func (x *GetResourceServerIdsReply) Reset()

func (*GetResourceServerIdsReply) String

func (x *GetResourceServerIdsReply) String() string

func (*GetResourceServerIdsReply) Validate

func (m *GetResourceServerIdsReply) Validate() error

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

func (m *GetResourceServerIdsReply) ValidateAll() error

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

type GetResourceServerIdsReplyMultiError

type GetResourceServerIdsReplyMultiError []error

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

func (GetResourceServerIdsReplyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetResourceServerIdsReplyMultiError) Error

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

type GetResourceServerIdsReplyValidationError

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

GetResourceServerIdsReplyValidationError is the validation error returned by GetResourceServerIdsReply.Validate if the designated constraints aren't met.

func (GetResourceServerIdsReplyValidationError) Cause

Cause function returns cause value.

func (GetResourceServerIdsReplyValidationError) Error

Error satisfies the builtin error interface

func (GetResourceServerIdsReplyValidationError) ErrorName

ErrorName returns error name.

func (GetResourceServerIdsReplyValidationError) Field

Field function returns field value.

func (GetResourceServerIdsReplyValidationError) Key

Key function returns key value.

func (GetResourceServerIdsReplyValidationError) Reason

Reason function returns reason value.

type GetResourceServerIdsRequest

type GetResourceServerIdsRequest struct {
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceServerIdsRequest) Descriptor deprecated

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

Deprecated: Use GetResourceServerIdsRequest.ProtoReflect.Descriptor instead.

func (*GetResourceServerIdsRequest) GetResourceId

func (x *GetResourceServerIdsRequest) GetResourceId() uint32

func (*GetResourceServerIdsRequest) ProtoMessage

func (*GetResourceServerIdsRequest) ProtoMessage()

func (*GetResourceServerIdsRequest) ProtoReflect

func (*GetResourceServerIdsRequest) Reset

func (x *GetResourceServerIdsRequest) Reset()

func (*GetResourceServerIdsRequest) String

func (x *GetResourceServerIdsRequest) String() string

func (*GetResourceServerIdsRequest) Validate

func (m *GetResourceServerIdsRequest) Validate() error

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

func (m *GetResourceServerIdsRequest) ValidateAll() error

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

type GetResourceServerIdsRequestMultiError

type GetResourceServerIdsRequestMultiError []error

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

func (GetResourceServerIdsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetResourceServerIdsRequestMultiError) Error

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

type GetResourceServerIdsRequestValidationError

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

GetResourceServerIdsRequestValidationError is the validation error returned by GetResourceServerIdsRequest.Validate if the designated constraints aren't met.

func (GetResourceServerIdsRequestValidationError) Cause

Cause function returns cause value.

func (GetResourceServerIdsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetResourceServerIdsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetResourceServerIdsRequestValidationError) Field

Field function returns field value.

func (GetResourceServerIdsRequestValidationError) Key

Key function returns key value.

func (GetResourceServerIdsRequestValidationError) Reason

Reason function returns reason value.

type GetResourceValuesReply

type GetResourceValuesReply struct {
	List []*GetResourceValuesReply_ResourceValue `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceValuesReply) Descriptor deprecated

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

Deprecated: Use GetResourceValuesReply.ProtoReflect.Descriptor instead.

func (*GetResourceValuesReply) GetList

func (*GetResourceValuesReply) ProtoMessage

func (*GetResourceValuesReply) ProtoMessage()

func (*GetResourceValuesReply) ProtoReflect

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

func (*GetResourceValuesReply) Reset

func (x *GetResourceValuesReply) Reset()

func (*GetResourceValuesReply) String

func (x *GetResourceValuesReply) String() string

func (*GetResourceValuesReply) Validate

func (m *GetResourceValuesReply) Validate() error

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

func (m *GetResourceValuesReply) ValidateAll() error

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

type GetResourceValuesReplyMultiError

type GetResourceValuesReplyMultiError []error

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

func (GetResourceValuesReplyMultiError) AllErrors

func (m GetResourceValuesReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResourceValuesReplyMultiError) Error

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

type GetResourceValuesReplyValidationError

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

GetResourceValuesReplyValidationError is the validation error returned by GetResourceValuesReply.Validate if the designated constraints aren't met.

func (GetResourceValuesReplyValidationError) Cause

Cause function returns cause value.

func (GetResourceValuesReplyValidationError) Error

Error satisfies the builtin error interface

func (GetResourceValuesReplyValidationError) ErrorName

ErrorName returns error name.

func (GetResourceValuesReplyValidationError) Field

Field function returns field value.

func (GetResourceValuesReplyValidationError) Key

Key function returns key value.

func (GetResourceValuesReplyValidationError) Reason

Reason function returns reason value.

type GetResourceValuesReply_ResourceValue

type GetResourceValuesReply_ResourceValue struct {
	Id         uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EnvId      uint32 `protobuf:"varint,2,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	ResourceId uint32 `protobuf:"varint,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Value      string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	CreatedAt  uint32 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceValuesReply_ResourceValue) Descriptor deprecated

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

Deprecated: Use GetResourceValuesReply_ResourceValue.ProtoReflect.Descriptor instead.

func (*GetResourceValuesReply_ResourceValue) GetCreatedAt

func (x *GetResourceValuesReply_ResourceValue) GetCreatedAt() uint32

func (*GetResourceValuesReply_ResourceValue) GetEnvId

func (*GetResourceValuesReply_ResourceValue) GetId

func (*GetResourceValuesReply_ResourceValue) GetResourceId

func (x *GetResourceValuesReply_ResourceValue) GetResourceId() uint32

func (*GetResourceValuesReply_ResourceValue) GetValue

func (*GetResourceValuesReply_ResourceValue) ProtoMessage

func (*GetResourceValuesReply_ResourceValue) ProtoMessage()

func (*GetResourceValuesReply_ResourceValue) ProtoReflect

func (*GetResourceValuesReply_ResourceValue) Reset

func (*GetResourceValuesReply_ResourceValue) String

func (*GetResourceValuesReply_ResourceValue) Validate

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

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

type GetResourceValuesReply_ResourceValueMultiError

type GetResourceValuesReply_ResourceValueMultiError []error

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

func (GetResourceValuesReply_ResourceValueMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetResourceValuesReply_ResourceValueMultiError) Error

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

type GetResourceValuesReply_ResourceValueValidationError

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

GetResourceValuesReply_ResourceValueValidationError is the validation error returned by GetResourceValuesReply_ResourceValue.Validate if the designated constraints aren't met.

func (GetResourceValuesReply_ResourceValueValidationError) Cause

Cause function returns cause value.

func (GetResourceValuesReply_ResourceValueValidationError) Error

Error satisfies the builtin error interface

func (GetResourceValuesReply_ResourceValueValidationError) ErrorName

ErrorName returns error name.

func (GetResourceValuesReply_ResourceValueValidationError) Field

Field function returns field value.

func (GetResourceValuesReply_ResourceValueValidationError) Key

Key function returns key value.

func (GetResourceValuesReply_ResourceValueValidationError) Reason

Reason function returns reason value.

type GetResourceValuesRequest

type GetResourceValuesRequest struct {
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceValuesRequest) Descriptor deprecated

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

Deprecated: Use GetResourceValuesRequest.ProtoReflect.Descriptor instead.

func (*GetResourceValuesRequest) GetResourceId

func (x *GetResourceValuesRequest) GetResourceId() uint32

func (*GetResourceValuesRequest) ProtoMessage

func (*GetResourceValuesRequest) ProtoMessage()

func (*GetResourceValuesRequest) ProtoReflect

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

func (*GetResourceValuesRequest) Reset

func (x *GetResourceValuesRequest) Reset()

func (*GetResourceValuesRequest) String

func (x *GetResourceValuesRequest) String() string

func (*GetResourceValuesRequest) Validate

func (m *GetResourceValuesRequest) Validate() error

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

func (m *GetResourceValuesRequest) ValidateAll() error

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

type GetResourceValuesRequestMultiError

type GetResourceValuesRequestMultiError []error

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

func (GetResourceValuesRequestMultiError) AllErrors

func (m GetResourceValuesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResourceValuesRequestMultiError) Error

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

type GetResourceValuesRequestValidationError

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

GetResourceValuesRequestValidationError is the validation error returned by GetResourceValuesRequest.Validate if the designated constraints aren't met.

func (GetResourceValuesRequestValidationError) Cause

Cause function returns cause value.

func (GetResourceValuesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetResourceValuesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetResourceValuesRequestValidationError) Field

Field function returns field value.

func (GetResourceValuesRequestValidationError) Key

Key function returns key value.

func (GetResourceValuesRequestValidationError) Reason

Reason function returns reason value.

type PageResourceReply

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

func (*PageResourceReply) Descriptor deprecated

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

Deprecated: Use PageResourceReply.ProtoReflect.Descriptor instead.

func (*PageResourceReply) GetList

func (x *PageResourceReply) GetList() []*Resource

func (*PageResourceReply) GetTotal

func (x *PageResourceReply) GetTotal() uint32

func (*PageResourceReply) ProtoMessage

func (*PageResourceReply) ProtoMessage()

func (*PageResourceReply) ProtoReflect

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

func (*PageResourceReply) Reset

func (x *PageResourceReply) Reset()

func (*PageResourceReply) String

func (x *PageResourceReply) String() string

func (*PageResourceReply) Validate

func (m *PageResourceReply) Validate() error

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

func (m *PageResourceReply) ValidateAll() error

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

type PageResourceReplyMultiError

type PageResourceReplyMultiError []error

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

func (PageResourceReplyMultiError) AllErrors

func (m PageResourceReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageResourceReplyMultiError) Error

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

type PageResourceReplyValidationError

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

PageResourceReplyValidationError is the validation error returned by PageResourceReply.Validate if the designated constraints aren't met.

func (PageResourceReplyValidationError) Cause

Cause function returns cause value.

func (PageResourceReplyValidationError) Error

Error satisfies the builtin error interface

func (PageResourceReplyValidationError) ErrorName

ErrorName returns error name.

func (PageResourceReplyValidationError) Field

Field function returns field value.

func (PageResourceReplyValidationError) Key

Key function returns key value.

func (PageResourceReplyValidationError) Reason

Reason function returns reason value.

type PageResourceRequest

type PageResourceRequest struct {
	Page     uint32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	ServerId *uint32 `protobuf:"varint,3,opt,name=server_id,json=serverId,proto3,oneof" json:"server_id,omitempty"`
	Keyword  *string `protobuf:"bytes,4,opt,name=keyword,proto3,oneof" json:"keyword,omitempty"`
	Tag      *string `protobuf:"bytes,5,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*PageResourceRequest) Descriptor deprecated

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

Deprecated: Use PageResourceRequest.ProtoReflect.Descriptor instead.

func (*PageResourceRequest) GetKeyword

func (x *PageResourceRequest) GetKeyword() string

func (*PageResourceRequest) GetPage

func (x *PageResourceRequest) GetPage() uint32

func (*PageResourceRequest) GetPageSize

func (x *PageResourceRequest) GetPageSize() uint32

func (*PageResourceRequest) GetServerId

func (x *PageResourceRequest) GetServerId() uint32

func (*PageResourceRequest) GetTag

func (x *PageResourceRequest) GetTag() string

func (*PageResourceRequest) ProtoMessage

func (*PageResourceRequest) ProtoMessage()

func (*PageResourceRequest) ProtoReflect

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

func (*PageResourceRequest) Reset

func (x *PageResourceRequest) Reset()

func (*PageResourceRequest) String

func (x *PageResourceRequest) String() string

func (*PageResourceRequest) Validate

func (m *PageResourceRequest) Validate() error

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

func (m *PageResourceRequest) ValidateAll() error

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

type PageResourceRequestMultiError

type PageResourceRequestMultiError []error

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

func (PageResourceRequestMultiError) AllErrors

func (m PageResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PageResourceRequestMultiError) Error

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

type PageResourceRequestValidationError

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

PageResourceRequestValidationError is the validation error returned by PageResourceRequest.Validate if the designated constraints aren't met.

func (PageResourceRequestValidationError) Cause

Cause function returns cause value.

func (PageResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (PageResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (PageResourceRequestValidationError) Field

Field function returns field value.

func (PageResourceRequestValidationError) Key

Key function returns key value.

func (PageResourceRequestValidationError) Reason

Reason function returns reason value.

type Resource

type Resource 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"`
	Description string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Fields      string   `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	Tag         string   `protobuf:"bytes,5,opt,name=tag,proto3" json:"tag,omitempty"`
	Private     bool     `protobuf:"varint,6,opt,name=private,proto3" json:"private,omitempty"`
	Servers     []uint32 `protobuf:"varint,7,rep,packed,name=servers,proto3" json:"servers,omitempty"`
	CreatedAt   uint32   `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   uint32   `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetCreatedAt

func (x *Resource) GetCreatedAt() uint32

func (*Resource) GetDescription

func (x *Resource) GetDescription() string

func (*Resource) GetFields

func (x *Resource) GetFields() string

func (*Resource) GetId

func (x *Resource) GetId() uint32

func (*Resource) GetKeyword

func (x *Resource) GetKeyword() string

func (*Resource) GetPrivate

func (x *Resource) GetPrivate() bool

func (*Resource) GetServers

func (x *Resource) GetServers() []uint32

func (*Resource) GetTag

func (x *Resource) GetTag() string

func (*Resource) GetUpdatedAt

func (x *Resource) GetUpdatedAt() uint32

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

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

func (m *Resource) ValidateAll() error

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

type ResourceMultiError

type ResourceMultiError []error

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

func (ResourceMultiError) AllErrors

func (m ResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceMultiError) Error

func (m ResourceMultiError) Error() string

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

type ResourceValidationError

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type ServiceClient

type ServiceClient interface {
	PageResource(ctx context.Context, in *PageResourceRequest, opts ...grpc.CallOption) (*PageResourceReply, error)
	AddResource(ctx context.Context, in *AddResourceRequest, opts ...grpc.CallOption) (*AddResourceReply, error)
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetResourceServerIds(ctx context.Context, in *GetResourceServerIdsRequest, opts ...grpc.CallOption) (*GetResourceServerIdsReply, error)
	GetResourceValues(ctx context.Context, in *GetResourceValuesRequest, opts ...grpc.CallOption) (*GetResourceValuesReply, error)
	UpdateResourceValues(ctx context.Context, in *UpdateResourceValuesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceHTTPClient

type ServiceHTTPClient interface {
	AddResource(ctx context.Context, req *AddResourceRequest, opts ...http.CallOption) (rsp *AddResourceReply, err error)
	DeleteResource(ctx context.Context, req *DeleteResourceRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	GetResourceServerIds(ctx context.Context, req *GetResourceServerIdsRequest, opts ...http.CallOption) (rsp *GetResourceServerIdsReply, err error)
	GetResourceValues(ctx context.Context, req *GetResourceValuesRequest, opts ...http.CallOption) (rsp *GetResourceValuesReply, err error)
	PageResource(ctx context.Context, req *PageResourceRequest, opts ...http.CallOption) (rsp *PageResourceReply, err error)
	UpdateResource(ctx context.Context, req *UpdateResourceRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
	UpdateResourceValues(ctx context.Context, req *UpdateResourceValuesRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error)
}

func NewServiceHTTPClient

func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient

type ServiceHTTPClientImpl

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

func (*ServiceHTTPClientImpl) AddResource

func (*ServiceHTTPClientImpl) DeleteResource

func (c *ServiceHTTPClientImpl) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) GetResourceServerIds

func (*ServiceHTTPClientImpl) GetResourceValues

func (*ServiceHTTPClientImpl) PageResource

func (*ServiceHTTPClientImpl) UpdateResource

func (c *ServiceHTTPClientImpl) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...http.CallOption) (*emptypb.Empty, error)

func (*ServiceHTTPClientImpl) UpdateResourceValues

func (c *ServiceHTTPClientImpl) UpdateResourceValues(ctx context.Context, in *UpdateResourceValuesRequest, opts ...http.CallOption) (*emptypb.Empty, error)

type ServiceServer

type ServiceServer interface {
	PageResource(context.Context, *PageResourceRequest) (*PageResourceReply, error)
	AddResource(context.Context, *AddResourceRequest) (*AddResourceReply, error)
	UpdateResource(context.Context, *UpdateResourceRequest) (*emptypb.Empty, error)
	DeleteResource(context.Context, *DeleteResourceRequest) (*emptypb.Empty, error)
	GetResourceServerIds(context.Context, *GetResourceServerIdsRequest) (*GetResourceServerIdsReply, error)
	GetResourceValues(context.Context, *GetResourceValuesRequest) (*GetResourceValuesReply, error)
	UpdateResourceValues(context.Context, *UpdateResourceValuesRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AddResource

func (UnimplementedServiceServer) DeleteResource

func (UnimplementedServiceServer) GetResourceValues

func (UnimplementedServiceServer) PageResource

func (UnimplementedServiceServer) UpdateResource

func (UnimplementedServiceServer) UpdateResourceValues

type UnsafeServiceServer

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

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

type UpdateResourceRequest

type UpdateResourceRequest struct {
	Id          uint32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Tag         string   `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	Fields      string   `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	Private     *bool    `protobuf:"varint,5,opt,name=private,proto3,oneof" json:"private,omitempty"`
	Servers     []uint32 `protobuf:"varint,6,rep,packed,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetDescription

func (x *UpdateResourceRequest) GetDescription() string

func (*UpdateResourceRequest) GetFields

func (x *UpdateResourceRequest) GetFields() string

func (*UpdateResourceRequest) GetId

func (x *UpdateResourceRequest) GetId() uint32

func (*UpdateResourceRequest) GetPrivate

func (x *UpdateResourceRequest) GetPrivate() bool

func (*UpdateResourceRequest) GetServers

func (x *UpdateResourceRequest) GetServers() []uint32

func (*UpdateResourceRequest) GetTag

func (x *UpdateResourceRequest) GetTag() string

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

func (*UpdateResourceRequest) Validate

func (m *UpdateResourceRequest) Validate() error

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

func (m *UpdateResourceRequest) ValidateAll() error

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

type UpdateResourceRequestMultiError

type UpdateResourceRequestMultiError []error

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

func (UpdateResourceRequestMultiError) AllErrors

func (m UpdateResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResourceRequestMultiError) Error

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

type UpdateResourceRequestValidationError

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

UpdateResourceRequestValidationError is the validation error returned by UpdateResourceRequest.Validate if the designated constraints aren't met.

func (UpdateResourceRequestValidationError) Cause

Cause function returns cause value.

func (UpdateResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateResourceRequestValidationError) Field

Field function returns field value.

func (UpdateResourceRequestValidationError) Key

Key function returns key value.

func (UpdateResourceRequestValidationError) Reason

Reason function returns reason value.

type UpdateResourceValuesRequest

type UpdateResourceValuesRequest struct {
	ResourceId uint32                                       `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	List       []*UpdateResourceValuesRequest_ResourceValue `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceValuesRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceValuesRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceValuesRequest) GetList

func (*UpdateResourceValuesRequest) GetResourceId

func (x *UpdateResourceValuesRequest) GetResourceId() uint32

func (*UpdateResourceValuesRequest) ProtoMessage

func (*UpdateResourceValuesRequest) ProtoMessage()

func (*UpdateResourceValuesRequest) ProtoReflect

func (*UpdateResourceValuesRequest) Reset

func (x *UpdateResourceValuesRequest) Reset()

func (*UpdateResourceValuesRequest) String

func (x *UpdateResourceValuesRequest) String() string

func (*UpdateResourceValuesRequest) Validate

func (m *UpdateResourceValuesRequest) Validate() error

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

func (m *UpdateResourceValuesRequest) ValidateAll() error

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

type UpdateResourceValuesRequestMultiError

type UpdateResourceValuesRequestMultiError []error

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

func (UpdateResourceValuesRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateResourceValuesRequestMultiError) Error

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

type UpdateResourceValuesRequestValidationError

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

UpdateResourceValuesRequestValidationError is the validation error returned by UpdateResourceValuesRequest.Validate if the designated constraints aren't met.

func (UpdateResourceValuesRequestValidationError) Cause

Cause function returns cause value.

func (UpdateResourceValuesRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateResourceValuesRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateResourceValuesRequestValidationError) Field

Field function returns field value.

func (UpdateResourceValuesRequestValidationError) Key

Key function returns key value.

func (UpdateResourceValuesRequestValidationError) Reason

Reason function returns reason value.

type UpdateResourceValuesRequest_ResourceValue

type UpdateResourceValuesRequest_ResourceValue struct {
	EnvId uint32 `protobuf:"varint,1,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceValuesRequest_ResourceValue) Descriptor deprecated

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

Deprecated: Use UpdateResourceValuesRequest_ResourceValue.ProtoReflect.Descriptor instead.

func (*UpdateResourceValuesRequest_ResourceValue) GetEnvId

func (*UpdateResourceValuesRequest_ResourceValue) GetValue

func (*UpdateResourceValuesRequest_ResourceValue) ProtoMessage

func (*UpdateResourceValuesRequest_ResourceValue) ProtoReflect

func (*UpdateResourceValuesRequest_ResourceValue) Reset

func (*UpdateResourceValuesRequest_ResourceValue) String

func (*UpdateResourceValuesRequest_ResourceValue) Validate

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

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

type UpdateResourceValuesRequest_ResourceValueMultiError

type UpdateResourceValuesRequest_ResourceValueMultiError []error

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

func (UpdateResourceValuesRequest_ResourceValueMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateResourceValuesRequest_ResourceValueMultiError) Error

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

type UpdateResourceValuesRequest_ResourceValueValidationError

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

UpdateResourceValuesRequest_ResourceValueValidationError is the validation error returned by UpdateResourceValuesRequest_ResourceValue.Validate if the designated constraints aren't met.

func (UpdateResourceValuesRequest_ResourceValueValidationError) Cause

Cause function returns cause value.

func (UpdateResourceValuesRequest_ResourceValueValidationError) Error

Error satisfies the builtin error interface

func (UpdateResourceValuesRequest_ResourceValueValidationError) ErrorName

ErrorName returns error name.

func (UpdateResourceValuesRequest_ResourceValueValidationError) Field

Field function returns field value.

func (UpdateResourceValuesRequest_ResourceValueValidationError) Key

Key function returns key value.

func (UpdateResourceValuesRequest_ResourceValueValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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