configure

package
v1.0.51 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Configure_GetConfigure_FullMethodName     = "/configure.api.configure.Configure/GetConfigure"
	Configure_UpdateConfigure_FullMethodName  = "/configure.api.configure.Configure/UpdateConfigure"
	Configure_CompareConfigure_FullMethodName = "/configure.api.configure.Configure/CompareConfigure"
	Configure_WatchConfigure_FullMethodName   = "/configure.api.configure.Configure/WatchConfigure"
)
View Source
const OperationConfigureCompareConfigure = "/configure.api.configure.Configure/CompareConfigure"
View Source
const OperationConfigureGetConfigure = "/configure.api.configure.Configure/GetConfigure"
View Source
const OperationConfigureUpdateConfigure = "/configure.api.configure.Configure/UpdateConfigure"

Variables

View Source
var Configure_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "configure.api.configure.Configure",
	HandlerType: (*ConfigureServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfigure",
			Handler:    _Configure_GetConfigure_Handler,
		},
		{
			MethodName: "UpdateConfigure",
			Handler:    _Configure_UpdateConfigure_Handler,
		},
		{
			MethodName: "CompareConfigure",
			Handler:    _Configure_CompareConfigure_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "WatchConfigure",
			Handler:       _Configure_WatchConfigure_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/configure/proto/configure_service.proto",
}

Configure_ServiceDesc is the grpc.ServiceDesc for Configure 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_proto_configure_proto protoreflect.FileDescriptor
View Source
var File_api_configure_proto_configure_service_proto protoreflect.FileDescriptor

Functions

func RegisterConfigureHTTPServer

func RegisterConfigureHTTPServer(s *http.Server, srv ConfigureHTTPServer)

func RegisterConfigureServer

func RegisterConfigureServer(s grpc.ServiceRegistrar, srv ConfigureServer)

Types

type CompareConfigureRequest

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

func (*CompareConfigureRequest) Descriptor deprecated

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

Deprecated: Use CompareConfigureRequest.ProtoReflect.Descriptor instead.

func (*CompareConfigureRequest) GetApp

func (x *CompareConfigureRequest) GetApp() string

func (*CompareConfigureRequest) GetEnvId

func (x *CompareConfigureRequest) GetEnvId() uint32

func (*CompareConfigureRequest) ProtoMessage

func (*CompareConfigureRequest) ProtoMessage()

func (*CompareConfigureRequest) ProtoReflect

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

func (*CompareConfigureRequest) Reset

func (x *CompareConfigureRequest) Reset()

func (*CompareConfigureRequest) String

func (x *CompareConfigureRequest) String() string

func (*CompareConfigureRequest) Validate

func (m *CompareConfigureRequest) Validate() error

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

func (m *CompareConfigureRequest) ValidateAll() error

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

type CompareConfigureRequestMultiError

type CompareConfigureRequestMultiError []error

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

func (CompareConfigureRequestMultiError) AllErrors

func (m CompareConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareConfigureRequestMultiError) Error

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

type CompareConfigureRequestValidationError

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

CompareConfigureRequestValidationError is the validation error returned by CompareConfigureRequest.Validate if the designated constraints aren't met.

func (CompareConfigureRequestValidationError) Cause

Cause function returns cause value.

func (CompareConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureRequestValidationError) Field

Field function returns field value.

func (CompareConfigureRequestValidationError) Key

Key function returns key value.

func (CompareConfigureRequestValidationError) Reason

Reason function returns reason value.

type CompareConfigureResponse

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

func (*CompareConfigureResponse) Descriptor deprecated

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

Deprecated: Use CompareConfigureResponse.ProtoReflect.Descriptor instead.

func (*CompareConfigureResponse) GetList

func (*CompareConfigureResponse) ProtoMessage

func (*CompareConfigureResponse) ProtoMessage()

func (*CompareConfigureResponse) ProtoReflect

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

func (*CompareConfigureResponse) Reset

func (x *CompareConfigureResponse) Reset()

func (*CompareConfigureResponse) String

func (x *CompareConfigureResponse) String() string

func (*CompareConfigureResponse) Validate

func (m *CompareConfigureResponse) Validate() error

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

func (m *CompareConfigureResponse) ValidateAll() error

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

type CompareConfigureResponseMultiError

type CompareConfigureResponseMultiError []error

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

func (CompareConfigureResponseMultiError) AllErrors

func (m CompareConfigureResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CompareConfigureResponseMultiError) Error

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

type CompareConfigureResponseValidationError

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

CompareConfigureResponseValidationError is the validation error returned by CompareConfigureResponse.Validate if the designated constraints aren't met.

func (CompareConfigureResponseValidationError) Cause

Cause function returns cause value.

func (CompareConfigureResponseValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureResponseValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureResponseValidationError) Field

Field function returns field value.

func (CompareConfigureResponseValidationError) Key

Key function returns key value.

func (CompareConfigureResponseValidationError) Reason

Reason function returns reason value.

type CompareConfigureResponse_Compare

type CompareConfigureResponse_Compare struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Old  string `protobuf:"bytes,3,opt,name=old,proto3" json:"old,omitempty"`
	Cur  string `protobuf:"bytes,4,opt,name=cur,proto3" json:"cur,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareConfigureResponse_Compare) Descriptor deprecated

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

Deprecated: Use CompareConfigureResponse_Compare.ProtoReflect.Descriptor instead.

func (*CompareConfigureResponse_Compare) GetCur

func (*CompareConfigureResponse_Compare) GetKey

func (*CompareConfigureResponse_Compare) GetOld

func (*CompareConfigureResponse_Compare) GetType

func (*CompareConfigureResponse_Compare) ProtoMessage

func (*CompareConfigureResponse_Compare) ProtoMessage()

func (*CompareConfigureResponse_Compare) ProtoReflect

func (*CompareConfigureResponse_Compare) Reset

func (*CompareConfigureResponse_Compare) String

func (*CompareConfigureResponse_Compare) Validate

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

func (m *CompareConfigureResponse_Compare) ValidateAll() error

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

type CompareConfigureResponse_CompareMultiError

type CompareConfigureResponse_CompareMultiError []error

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

func (CompareConfigureResponse_CompareMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CompareConfigureResponse_CompareMultiError) Error

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

type CompareConfigureResponse_CompareValidationError

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

CompareConfigureResponse_CompareValidationError is the validation error returned by CompareConfigureResponse_Compare.Validate if the designated constraints aren't met.

func (CompareConfigureResponse_CompareValidationError) Cause

Cause function returns cause value.

func (CompareConfigureResponse_CompareValidationError) Error

Error satisfies the builtin error interface

func (CompareConfigureResponse_CompareValidationError) ErrorName

ErrorName returns error name.

func (CompareConfigureResponse_CompareValidationError) Field

Field function returns field value.

func (CompareConfigureResponse_CompareValidationError) Key

Key function returns key value.

func (CompareConfigureResponse_CompareValidationError) Reason

Reason function returns reason value.

type ConfigureClient

type ConfigureClient interface {
	// GetConfigure 获取配置
	GetConfigure(ctx context.Context, in *GetConfigureRequest, opts ...grpc.CallOption) (*GetConfigureResponse, error)
	// UpdateConfigure 更新配置
	UpdateConfigure(ctx context.Context, in *UpdateConfigureRequest, opts ...grpc.CallOption) (*UpdateConfigureResponse, error)
	// CompareConfigure 对比配置与模板差异
	CompareConfigure(ctx context.Context, in *CompareConfigureRequest, opts ...grpc.CallOption) (*CompareConfigureResponse, error)
	// WatchConfigure 监听配置变更(gRPC stream)
	WatchConfigure(ctx context.Context, in *WatchConfigureRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchConfigureResponse], error)
}

ConfigureClient is the client API for Configure 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 NewConfigureClient

func NewConfigureClient(cc grpc.ClientConnInterface) ConfigureClient

type ConfigureHTTPClient

type ConfigureHTTPClient interface {
	CompareConfigure(ctx context.Context, req *CompareConfigureRequest, opts ...http.CallOption) (rsp *CompareConfigureResponse, err error)
	GetConfigure(ctx context.Context, req *GetConfigureRequest, opts ...http.CallOption) (rsp *GetConfigureResponse, err error)
	UpdateConfigure(ctx context.Context, req *UpdateConfigureRequest, opts ...http.CallOption) (rsp *UpdateConfigureResponse, err error)
}

func NewConfigureHTTPClient

func NewConfigureHTTPClient(client *http.Client) ConfigureHTTPClient

type ConfigureHTTPClientImpl

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

func (*ConfigureHTTPClientImpl) CompareConfigure

func (*ConfigureHTTPClientImpl) GetConfigure

func (*ConfigureHTTPClientImpl) UpdateConfigure

type ConfigureHTTPServer

type ConfigureHTTPServer interface {
	// CompareConfigure CompareConfigure 对比配置与模板差异
	CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
	// GetConfigure GetConfigure 获取配置
	GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
	// UpdateConfigure UpdateConfigure 更新配置
	UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
}

type ConfigureServer

type ConfigureServer interface {
	// GetConfigure 获取配置
	GetConfigure(context.Context, *GetConfigureRequest) (*GetConfigureResponse, error)
	// UpdateConfigure 更新配置
	UpdateConfigure(context.Context, *UpdateConfigureRequest) (*UpdateConfigureResponse, error)
	// CompareConfigure 对比配置与模板差异
	CompareConfigure(context.Context, *CompareConfigureRequest) (*CompareConfigureResponse, error)
	// WatchConfigure 监听配置变更(gRPC stream)
	WatchConfigure(*WatchConfigureRequest, grpc.ServerStreamingServer[WatchConfigureResponse]) error
	// contains filtered or unexported methods
}

ConfigureServer is the server API for Configure service. All implementations must embed UnimplementedConfigureServer for forward compatibility.

type Configure_WatchConfigureClient

type Configure_WatchConfigureClient = grpc.ServerStreamingClient[WatchConfigureResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Configure_WatchConfigureServer

type Configure_WatchConfigureServer = grpc.ServerStreamingServer[WatchConfigureResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GetConfigureRequest

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

func (*GetConfigureRequest) Descriptor deprecated

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

Deprecated: Use GetConfigureRequest.ProtoReflect.Descriptor instead.

func (*GetConfigureRequest) GetApp

func (x *GetConfigureRequest) GetApp() string

func (*GetConfigureRequest) GetEnvId

func (x *GetConfigureRequest) GetEnvId() uint32

func (*GetConfigureRequest) ProtoMessage

func (*GetConfigureRequest) ProtoMessage()

func (*GetConfigureRequest) ProtoReflect

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

func (*GetConfigureRequest) Reset

func (x *GetConfigureRequest) Reset()

func (*GetConfigureRequest) String

func (x *GetConfigureRequest) String() string

func (*GetConfigureRequest) Validate

func (m *GetConfigureRequest) Validate() error

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

func (m *GetConfigureRequest) ValidateAll() error

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

type GetConfigureRequestMultiError

type GetConfigureRequestMultiError []error

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

func (GetConfigureRequestMultiError) AllErrors

func (m GetConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigureRequestMultiError) Error

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

type GetConfigureRequestValidationError

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

GetConfigureRequestValidationError is the validation error returned by GetConfigureRequest.Validate if the designated constraints aren't met.

func (GetConfigureRequestValidationError) Cause

Cause function returns cause value.

func (GetConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigureRequestValidationError) Field

Field function returns field value.

func (GetConfigureRequestValidationError) Key

Key function returns key value.

func (GetConfigureRequestValidationError) Reason

Reason function returns reason value.

type GetConfigureResponse

type GetConfigureResponse struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	App         string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	EnvId       uint32 `protobuf:"varint,3,opt,name=envId,proto3" json:"envId,omitempty"`
	Content     string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version     string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	Format      string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
	CreatedAt   uint32 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigureResponse) Descriptor deprecated

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

Deprecated: Use GetConfigureResponse.ProtoReflect.Descriptor instead.

func (*GetConfigureResponse) GetApp

func (x *GetConfigureResponse) GetApp() string

func (*GetConfigureResponse) GetContent

func (x *GetConfigureResponse) GetContent() string

func (*GetConfigureResponse) GetCreatedAt

func (x *GetConfigureResponse) GetCreatedAt() uint32

func (*GetConfigureResponse) GetDescription

func (x *GetConfigureResponse) GetDescription() string

func (*GetConfigureResponse) GetEnvId

func (x *GetConfigureResponse) GetEnvId() uint32

func (*GetConfigureResponse) GetFormat

func (x *GetConfigureResponse) GetFormat() string

func (*GetConfigureResponse) GetId

func (x *GetConfigureResponse) GetId() uint32

func (*GetConfigureResponse) GetVersion

func (x *GetConfigureResponse) GetVersion() string

func (*GetConfigureResponse) ProtoMessage

func (*GetConfigureResponse) ProtoMessage()

func (*GetConfigureResponse) ProtoReflect

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

func (*GetConfigureResponse) Reset

func (x *GetConfigureResponse) Reset()

func (*GetConfigureResponse) String

func (x *GetConfigureResponse) String() string

func (*GetConfigureResponse) Validate

func (m *GetConfigureResponse) Validate() error

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

func (m *GetConfigureResponse) ValidateAll() error

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

type GetConfigureResponseMultiError

type GetConfigureResponseMultiError []error

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

func (GetConfigureResponseMultiError) AllErrors

func (m GetConfigureResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigureResponseMultiError) Error

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

type GetConfigureResponseValidationError

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

GetConfigureResponseValidationError is the validation error returned by GetConfigureResponse.Validate if the designated constraints aren't met.

func (GetConfigureResponseValidationError) Cause

Cause function returns cause value.

func (GetConfigureResponseValidationError) Error

Error satisfies the builtin error interface

func (GetConfigureResponseValidationError) ErrorName

ErrorName returns error name.

func (GetConfigureResponseValidationError) Field

Field function returns field value.

func (GetConfigureResponseValidationError) Key

Key function returns key value.

func (GetConfigureResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedConfigureServer

type UnimplementedConfigureServer struct{}

UnimplementedConfigureServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedConfigureServer) CompareConfigure

func (UnimplementedConfigureServer) GetConfigure

func (UnimplementedConfigureServer) UpdateConfigure

type UnsafeConfigureServer

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

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

type UpdateConfigureRequest

type UpdateConfigureRequest struct {
	App         string `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	EnvId       uint32 `protobuf:"varint,2,opt,name=envId,proto3" json:"envId,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConfigureRequest) Descriptor deprecated

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

Deprecated: Use UpdateConfigureRequest.ProtoReflect.Descriptor instead.

func (*UpdateConfigureRequest) GetApp

func (x *UpdateConfigureRequest) GetApp() string

func (*UpdateConfigureRequest) GetDescription

func (x *UpdateConfigureRequest) GetDescription() string

func (*UpdateConfigureRequest) GetEnvId

func (x *UpdateConfigureRequest) GetEnvId() uint32

func (*UpdateConfigureRequest) ProtoMessage

func (*UpdateConfigureRequest) ProtoMessage()

func (*UpdateConfigureRequest) ProtoReflect

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

func (*UpdateConfigureRequest) Reset

func (x *UpdateConfigureRequest) Reset()

func (*UpdateConfigureRequest) String

func (x *UpdateConfigureRequest) String() string

func (*UpdateConfigureRequest) Validate

func (m *UpdateConfigureRequest) Validate() error

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

func (m *UpdateConfigureRequest) ValidateAll() error

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

type UpdateConfigureRequestMultiError

type UpdateConfigureRequestMultiError []error

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

func (UpdateConfigureRequestMultiError) AllErrors

func (m UpdateConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateConfigureRequestMultiError) Error

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

type UpdateConfigureRequestValidationError

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

UpdateConfigureRequestValidationError is the validation error returned by UpdateConfigureRequest.Validate if the designated constraints aren't met.

func (UpdateConfigureRequestValidationError) Cause

Cause function returns cause value.

func (UpdateConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateConfigureRequestValidationError) Field

Field function returns field value.

func (UpdateConfigureRequestValidationError) Key

Key function returns key value.

func (UpdateConfigureRequestValidationError) Reason

Reason function returns reason value.

type UpdateConfigureResponse

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

func (*UpdateConfigureResponse) Descriptor deprecated

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

Deprecated: Use UpdateConfigureResponse.ProtoReflect.Descriptor instead.

func (*UpdateConfigureResponse) ProtoMessage

func (*UpdateConfigureResponse) ProtoMessage()

func (*UpdateConfigureResponse) ProtoReflect

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

func (*UpdateConfigureResponse) Reset

func (x *UpdateConfigureResponse) Reset()

func (*UpdateConfigureResponse) String

func (x *UpdateConfigureResponse) String() string

func (*UpdateConfigureResponse) Validate

func (m *UpdateConfigureResponse) Validate() error

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

func (m *UpdateConfigureResponse) ValidateAll() error

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

type UpdateConfigureResponseMultiError

type UpdateConfigureResponseMultiError []error

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

func (UpdateConfigureResponseMultiError) AllErrors

func (m UpdateConfigureResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateConfigureResponseMultiError) Error

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

type UpdateConfigureResponseValidationError

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

UpdateConfigureResponseValidationError is the validation error returned by UpdateConfigureResponse.Validate if the designated constraints aren't met.

func (UpdateConfigureResponseValidationError) Cause

Cause function returns cause value.

func (UpdateConfigureResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateConfigureResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateConfigureResponseValidationError) Field

Field function returns field value.

func (UpdateConfigureResponseValidationError) Key

Key function returns key value.

func (UpdateConfigureResponseValidationError) Reason

Reason function returns reason value.

type WatchConfigureRequest

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

func (*WatchConfigureRequest) Descriptor deprecated

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

Deprecated: Use WatchConfigureRequest.ProtoReflect.Descriptor instead.

func (*WatchConfigureRequest) GetApp

func (x *WatchConfigureRequest) GetApp() string

func (*WatchConfigureRequest) GetToken

func (x *WatchConfigureRequest) GetToken() string

func (*WatchConfigureRequest) ProtoMessage

func (*WatchConfigureRequest) ProtoMessage()

func (*WatchConfigureRequest) ProtoReflect

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

func (*WatchConfigureRequest) Reset

func (x *WatchConfigureRequest) Reset()

func (*WatchConfigureRequest) String

func (x *WatchConfigureRequest) String() string

func (*WatchConfigureRequest) Validate

func (m *WatchConfigureRequest) Validate() error

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

func (m *WatchConfigureRequest) ValidateAll() error

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

type WatchConfigureRequestMultiError

type WatchConfigureRequestMultiError []error

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

func (WatchConfigureRequestMultiError) AllErrors

func (m WatchConfigureRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchConfigureRequestMultiError) Error

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

type WatchConfigureRequestValidationError

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

WatchConfigureRequestValidationError is the validation error returned by WatchConfigureRequest.Validate if the designated constraints aren't met.

func (WatchConfigureRequestValidationError) Cause

Cause function returns cause value.

func (WatchConfigureRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchConfigureRequestValidationError) ErrorName

ErrorName returns error name.

func (WatchConfigureRequestValidationError) Field

Field function returns field value.

func (WatchConfigureRequestValidationError) Key

Key function returns key value.

func (WatchConfigureRequestValidationError) Reason

Reason function returns reason value.

type WatchConfigureResponse

type WatchConfigureResponse struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Format  string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchConfigureResponse) Descriptor deprecated

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

Deprecated: Use WatchConfigureResponse.ProtoReflect.Descriptor instead.

func (*WatchConfigureResponse) GetContent

func (x *WatchConfigureResponse) GetContent() string

func (*WatchConfigureResponse) GetFormat

func (x *WatchConfigureResponse) GetFormat() string

func (*WatchConfigureResponse) ProtoMessage

func (*WatchConfigureResponse) ProtoMessage()

func (*WatchConfigureResponse) ProtoReflect

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

func (*WatchConfigureResponse) Reset

func (x *WatchConfigureResponse) Reset()

func (*WatchConfigureResponse) String

func (x *WatchConfigureResponse) String() string

func (*WatchConfigureResponse) Validate

func (m *WatchConfigureResponse) Validate() error

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

func (m *WatchConfigureResponse) ValidateAll() error

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

type WatchConfigureResponseMultiError

type WatchConfigureResponseMultiError []error

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

func (WatchConfigureResponseMultiError) AllErrors

func (m WatchConfigureResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchConfigureResponseMultiError) Error

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

type WatchConfigureResponseValidationError

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

WatchConfigureResponseValidationError is the validation error returned by WatchConfigureResponse.Validate if the designated constraints aren't met.

func (WatchConfigureResponseValidationError) Cause

Cause function returns cause value.

func (WatchConfigureResponseValidationError) Error

Error satisfies the builtin error interface

func (WatchConfigureResponseValidationError) ErrorName

ErrorName returns error name.

func (WatchConfigureResponseValidationError) Field

Field function returns field value.

func (WatchConfigureResponseValidationError) Key

Key function returns key value.

func (WatchConfigureResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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