v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const OperationServiceAllEnvironment = "/v1.Service/AllEnvironment"
View Source
const (
	Service_AllEnvironment_FullMethodName = "/v1.Service/AllEnvironment"
)

Variables

View Source
var File_environment_proto protoreflect.FileDescriptor
View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AllEnvironment",
			Handler:    _Service_AllEnvironment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "service.proto",
}

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

Functions

func RegisterServiceHTTPServer

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

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AddEnvironmentRequest

type AddEnvironmentRequest struct {
	Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use AddEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*AddEnvironmentRequest) GetEnvironment

func (x *AddEnvironmentRequest) GetEnvironment() *Environment

func (*AddEnvironmentRequest) ProtoMessage

func (*AddEnvironmentRequest) ProtoMessage()

func (*AddEnvironmentRequest) ProtoReflect

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

func (*AddEnvironmentRequest) Reset

func (x *AddEnvironmentRequest) Reset()

func (*AddEnvironmentRequest) String

func (x *AddEnvironmentRequest) String() string

func (*AddEnvironmentRequest) Validate

func (m *AddEnvironmentRequest) Validate() error

Validate checks the field values on AddEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddEnvironmentRequest) ValidateAll

func (m *AddEnvironmentRequest) ValidateAll() error

ValidateAll checks the field values on AddEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddEnvironmentRequestMultiError, or nil if none found.

type AddEnvironmentRequestMultiError

type AddEnvironmentRequestMultiError []error

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

func (AddEnvironmentRequestMultiError) AllErrors

func (m AddEnvironmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddEnvironmentRequestMultiError) Error

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

type AddEnvironmentRequestValidationError

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

AddEnvironmentRequestValidationError is the validation error returned by AddEnvironmentRequest.Validate if the designated constraints aren't met.

func (AddEnvironmentRequestValidationError) Cause

Cause function returns cause value.

func (AddEnvironmentRequestValidationError) Error

Error satisfies the builtin error interface

func (AddEnvironmentRequestValidationError) ErrorName

ErrorName returns error name.

func (AddEnvironmentRequestValidationError) Field

Field function returns field value.

func (AddEnvironmentRequestValidationError) Key

Key function returns key value.

func (AddEnvironmentRequestValidationError) Reason

Reason function returns reason value.

type AddEnvironmentResponse

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

func (*AddEnvironmentResponse) Descriptor deprecated

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

Deprecated: Use AddEnvironmentResponse.ProtoReflect.Descriptor instead.

func (*AddEnvironmentResponse) ProtoMessage

func (*AddEnvironmentResponse) ProtoMessage()

func (*AddEnvironmentResponse) ProtoReflect

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

func (*AddEnvironmentResponse) Reset

func (x *AddEnvironmentResponse) Reset()

func (*AddEnvironmentResponse) String

func (x *AddEnvironmentResponse) String() string

func (*AddEnvironmentResponse) Validate

func (m *AddEnvironmentResponse) Validate() error

Validate checks the field values on AddEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AddEnvironmentResponse) ValidateAll

func (m *AddEnvironmentResponse) ValidateAll() error

ValidateAll checks the field values on AddEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddEnvironmentResponseMultiError, or nil if none found.

type AddEnvironmentResponseMultiError

type AddEnvironmentResponseMultiError []error

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

func (AddEnvironmentResponseMultiError) AllErrors

func (m AddEnvironmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AddEnvironmentResponseMultiError) Error

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

type AddEnvironmentResponseValidationError

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

AddEnvironmentResponseValidationError is the validation error returned by AddEnvironmentResponse.Validate if the designated constraints aren't met.

func (AddEnvironmentResponseValidationError) Cause

Cause function returns cause value.

func (AddEnvironmentResponseValidationError) Error

Error satisfies the builtin error interface

func (AddEnvironmentResponseValidationError) ErrorName

ErrorName returns error name.

func (AddEnvironmentResponseValidationError) Field

Field function returns field value.

func (AddEnvironmentResponseValidationError) Key

Key function returns key value.

func (AddEnvironmentResponseValidationError) Reason

Reason function returns reason value.

type AllEnvironmentRequest

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

func (*AllEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use AllEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*AllEnvironmentRequest) ProtoMessage

func (*AllEnvironmentRequest) ProtoMessage()

func (*AllEnvironmentRequest) ProtoReflect

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

func (*AllEnvironmentRequest) Reset

func (x *AllEnvironmentRequest) Reset()

func (*AllEnvironmentRequest) String

func (x *AllEnvironmentRequest) String() string

func (*AllEnvironmentRequest) Validate

func (m *AllEnvironmentRequest) Validate() error

Validate checks the field values on AllEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllEnvironmentRequest) ValidateAll

func (m *AllEnvironmentRequest) ValidateAll() error

ValidateAll checks the field values on AllEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllEnvironmentRequestMultiError, or nil if none found.

type AllEnvironmentRequestMultiError

type AllEnvironmentRequestMultiError []error

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

func (AllEnvironmentRequestMultiError) AllErrors

func (m AllEnvironmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllEnvironmentRequestMultiError) Error

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

type AllEnvironmentRequestValidationError

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

AllEnvironmentRequestValidationError is the validation error returned by AllEnvironmentRequest.Validate if the designated constraints aren't met.

func (AllEnvironmentRequestValidationError) Cause

Cause function returns cause value.

func (AllEnvironmentRequestValidationError) Error

Error satisfies the builtin error interface

func (AllEnvironmentRequestValidationError) ErrorName

ErrorName returns error name.

func (AllEnvironmentRequestValidationError) Field

Field function returns field value.

func (AllEnvironmentRequestValidationError) Key

Key function returns key value.

func (AllEnvironmentRequestValidationError) Reason

Reason function returns reason value.

type AllEnvironmentResponse

type AllEnvironmentResponse struct {
	Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*AllEnvironmentResponse) Descriptor deprecated

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

Deprecated: Use AllEnvironmentResponse.ProtoReflect.Descriptor instead.

func (*AllEnvironmentResponse) GetEnvironments

func (x *AllEnvironmentResponse) GetEnvironments() []*Environment

func (*AllEnvironmentResponse) ProtoMessage

func (*AllEnvironmentResponse) ProtoMessage()

func (*AllEnvironmentResponse) ProtoReflect

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

func (*AllEnvironmentResponse) Reset

func (x *AllEnvironmentResponse) Reset()

func (*AllEnvironmentResponse) String

func (x *AllEnvironmentResponse) String() string

func (*AllEnvironmentResponse) Validate

func (m *AllEnvironmentResponse) Validate() error

Validate checks the field values on AllEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AllEnvironmentResponse) ValidateAll

func (m *AllEnvironmentResponse) ValidateAll() error

ValidateAll checks the field values on AllEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllEnvironmentResponseMultiError, or nil if none found.

type AllEnvironmentResponseMultiError

type AllEnvironmentResponseMultiError []error

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

func (AllEnvironmentResponseMultiError) AllErrors

func (m AllEnvironmentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AllEnvironmentResponseMultiError) Error

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

type AllEnvironmentResponseValidationError

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

AllEnvironmentResponseValidationError is the validation error returned by AllEnvironmentResponse.Validate if the designated constraints aren't met.

func (AllEnvironmentResponseValidationError) Cause

Cause function returns cause value.

func (AllEnvironmentResponseValidationError) Error

Error satisfies the builtin error interface

func (AllEnvironmentResponseValidationError) ErrorName

ErrorName returns error name.

func (AllEnvironmentResponseValidationError) Field

Field function returns field value.

func (AllEnvironmentResponseValidationError) Key

Key function returns key value.

func (AllEnvironmentResponseValidationError) Reason

Reason function returns reason value.

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {
	Id          int64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentRequest) GetEnvironment

func (x *DeleteEnvironmentRequest) GetEnvironment() *Environment

func (*DeleteEnvironmentRequest) GetId

func (x *DeleteEnvironmentRequest) GetId() int64

func (*DeleteEnvironmentRequest) ProtoMessage

func (*DeleteEnvironmentRequest) ProtoMessage()

func (*DeleteEnvironmentRequest) ProtoReflect

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

func (*DeleteEnvironmentRequest) Reset

func (x *DeleteEnvironmentRequest) Reset()

func (*DeleteEnvironmentRequest) String

func (x *DeleteEnvironmentRequest) String() string

func (*DeleteEnvironmentRequest) Validate

func (m *DeleteEnvironmentRequest) Validate() error

Validate checks the field values on DeleteEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteEnvironmentRequest) ValidateAll

func (m *DeleteEnvironmentRequest) ValidateAll() error

ValidateAll checks the field values on DeleteEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvironmentRequestMultiError, or nil if none found.

type DeleteEnvironmentRequestMultiError

type DeleteEnvironmentRequestMultiError []error

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

func (DeleteEnvironmentRequestMultiError) AllErrors

func (m DeleteEnvironmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteEnvironmentRequestMultiError) Error

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

type DeleteEnvironmentRequestValidationError

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

DeleteEnvironmentRequestValidationError is the validation error returned by DeleteEnvironmentRequest.Validate if the designated constraints aren't met.

func (DeleteEnvironmentRequestValidationError) Cause

Cause function returns cause value.

func (DeleteEnvironmentRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteEnvironmentRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteEnvironmentRequestValidationError) Field

Field function returns field value.

func (DeleteEnvironmentRequestValidationError) Key

Key function returns key value.

func (DeleteEnvironmentRequestValidationError) Reason

Reason function returns reason value.

type DeleteEnvironmentResponse

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

func (*DeleteEnvironmentResponse) Descriptor deprecated

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

Deprecated: Use DeleteEnvironmentResponse.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentResponse) ProtoMessage

func (*DeleteEnvironmentResponse) ProtoMessage()

func (*DeleteEnvironmentResponse) ProtoReflect

func (*DeleteEnvironmentResponse) Reset

func (x *DeleteEnvironmentResponse) Reset()

func (*DeleteEnvironmentResponse) String

func (x *DeleteEnvironmentResponse) String() string

func (*DeleteEnvironmentResponse) Validate

func (m *DeleteEnvironmentResponse) Validate() error

Validate checks the field values on DeleteEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteEnvironmentResponse) ValidateAll

func (m *DeleteEnvironmentResponse) ValidateAll() error

ValidateAll checks the field values on DeleteEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteEnvironmentResponseMultiError, or nil if none found.

type DeleteEnvironmentResponseMultiError

type DeleteEnvironmentResponseMultiError []error

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

func (DeleteEnvironmentResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteEnvironmentResponseMultiError) Error

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

type DeleteEnvironmentResponseValidationError

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

DeleteEnvironmentResponseValidationError is the validation error returned by DeleteEnvironmentResponse.Validate if the designated constraints aren't met.

func (DeleteEnvironmentResponseValidationError) Cause

Cause function returns cause value.

func (DeleteEnvironmentResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteEnvironmentResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteEnvironmentResponseValidationError) Field

Field function returns field value.

func (DeleteEnvironmentResponseValidationError) Key

Key function returns key value.

func (DeleteEnvironmentResponseValidationError) Reason

Reason function returns reason value.

type Environment

type Environment struct {
	Keyword     string  `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	Title       string  `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string  `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Status      *bool   `protobuf:"varint,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Operator    *string `protobuf:"bytes,5,opt,name=operator,proto3,oneof" json:"operator,omitempty"`
	OperatorId  *int64  `protobuf:"varint,6,opt,name=operator_id,json=operatorId,proto3,oneof" json:"operator_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetDescription

func (x *Environment) GetDescription() string

func (*Environment) GetKeyword

func (x *Environment) GetKeyword() string

func (*Environment) GetOperator

func (x *Environment) GetOperator() string

func (*Environment) GetOperatorId

func (x *Environment) GetOperatorId() int64

func (*Environment) GetStatus

func (x *Environment) GetStatus() bool

func (*Environment) GetTitle

func (x *Environment) GetTitle() string

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

func (*Environment) Validate

func (m *Environment) Validate() error

Validate checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Environment) ValidateAll

func (m *Environment) ValidateAll() error

ValidateAll checks the field values on Environment with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvironmentMultiError, or nil if none found.

type EnvironmentMultiError

type EnvironmentMultiError []error

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

func (EnvironmentMultiError) AllErrors

func (m EnvironmentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EnvironmentMultiError) Error

func (m EnvironmentMultiError) Error() string

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

type EnvironmentValidationError

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

EnvironmentValidationError is the validation error returned by Environment.Validate if the designated constraints aren't met.

func (EnvironmentValidationError) Cause

Cause function returns cause value.

func (EnvironmentValidationError) Error

Error satisfies the builtin error interface

func (EnvironmentValidationError) ErrorName

func (e EnvironmentValidationError) ErrorName() string

ErrorName returns error name.

func (EnvironmentValidationError) Field

Field function returns field value.

func (EnvironmentValidationError) Key

Key function returns key value.

func (EnvironmentValidationError) Reason

Reason function returns reason value.

type ServiceClient

type ServiceClient interface {
	AllEnvironment(ctx context.Context, in *AllEnvironmentRequest, opts ...grpc.CallOption) (*AllEnvironmentResponse, error)
}

ServiceClient is the client API for Service service.

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

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceHTTPClient

type ServiceHTTPClient interface {
	AllEnvironment(ctx context.Context, req *AllEnvironmentRequest, opts ...http.CallOption) (rsp *AllEnvironmentResponse, err error)
}

func NewServiceHTTPClient

func NewServiceHTTPClient(client *http.Client) ServiceHTTPClient

type ServiceHTTPClientImpl

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

func (*ServiceHTTPClientImpl) AllEnvironment

type ServiceHTTPServer

type ServiceHTTPServer interface {
	AllEnvironment(context.Context, *AllEnvironmentRequest) (*AllEnvironmentResponse, error)
}

type ServiceServer

type ServiceServer interface {
	AllEnvironment(context.Context, *AllEnvironmentRequest) (*AllEnvironmentResponse, error)
	// contains filtered or unexported methods
}

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

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) AllEnvironment

type UnsafeServiceServer

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

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

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	Id          int64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateEnvironmentRequest) GetEnvironment

func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment

func (*UpdateEnvironmentRequest) GetId

func (x *UpdateEnvironmentRequest) GetId() int64

func (*UpdateEnvironmentRequest) ProtoMessage

func (*UpdateEnvironmentRequest) ProtoMessage()

func (*UpdateEnvironmentRequest) ProtoReflect

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

func (*UpdateEnvironmentRequest) Reset

func (x *UpdateEnvironmentRequest) Reset()

func (*UpdateEnvironmentRequest) String

func (x *UpdateEnvironmentRequest) String() string

func (*UpdateEnvironmentRequest) Validate

func (m *UpdateEnvironmentRequest) Validate() error

Validate checks the field values on UpdateEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateEnvironmentRequest) ValidateAll

func (m *UpdateEnvironmentRequest) ValidateAll() error

ValidateAll checks the field values on UpdateEnvironmentRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvironmentRequestMultiError, or nil if none found.

type UpdateEnvironmentRequestMultiError

type UpdateEnvironmentRequestMultiError []error

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

func (UpdateEnvironmentRequestMultiError) AllErrors

func (m UpdateEnvironmentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateEnvironmentRequestMultiError) Error

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

type UpdateEnvironmentRequestValidationError

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

UpdateEnvironmentRequestValidationError is the validation error returned by UpdateEnvironmentRequest.Validate if the designated constraints aren't met.

func (UpdateEnvironmentRequestValidationError) Cause

Cause function returns cause value.

func (UpdateEnvironmentRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEnvironmentRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEnvironmentRequestValidationError) Field

Field function returns field value.

func (UpdateEnvironmentRequestValidationError) Key

Key function returns key value.

func (UpdateEnvironmentRequestValidationError) Reason

Reason function returns reason value.

type UpdateEnvironmentResponse

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

func (*UpdateEnvironmentResponse) Descriptor deprecated

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

Deprecated: Use UpdateEnvironmentResponse.ProtoReflect.Descriptor instead.

func (*UpdateEnvironmentResponse) ProtoMessage

func (*UpdateEnvironmentResponse) ProtoMessage()

func (*UpdateEnvironmentResponse) ProtoReflect

func (*UpdateEnvironmentResponse) Reset

func (x *UpdateEnvironmentResponse) Reset()

func (*UpdateEnvironmentResponse) String

func (x *UpdateEnvironmentResponse) String() string

func (*UpdateEnvironmentResponse) Validate

func (m *UpdateEnvironmentResponse) Validate() error

Validate checks the field values on UpdateEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateEnvironmentResponse) ValidateAll

func (m *UpdateEnvironmentResponse) ValidateAll() error

ValidateAll checks the field values on UpdateEnvironmentResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateEnvironmentResponseMultiError, or nil if none found.

type UpdateEnvironmentResponseMultiError

type UpdateEnvironmentResponseMultiError []error

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

func (UpdateEnvironmentResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateEnvironmentResponseMultiError) Error

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

type UpdateEnvironmentResponseValidationError

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

UpdateEnvironmentResponseValidationError is the validation error returned by UpdateEnvironmentResponse.Validate if the designated constraints aren't met.

func (UpdateEnvironmentResponseValidationError) Cause

Cause function returns cause value.

func (UpdateEnvironmentResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateEnvironmentResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateEnvironmentResponseValidationError) Field

Field function returns field value.

func (UpdateEnvironmentResponseValidationError) Key

Key function returns key value.

func (UpdateEnvironmentResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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