applicationv1

package
v0.0.0-...-9a5b211 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package applicationv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ApplicationAPI_CreateApplication_FullMethodName = "/datalift.application.v1.ApplicationAPI/CreateApplication"
	ApplicationAPI_DeleteApplication_FullMethodName = "/datalift.application.v1.ApplicationAPI/DeleteApplication"
	ApplicationAPI_GetApplication_FullMethodName    = "/datalift.application.v1.ApplicationAPI/GetApplication"
	ApplicationAPI_ListApplications_FullMethodName  = "/datalift.application.v1.ApplicationAPI/ListApplications"
	ApplicationAPI_UpdateApplication_FullMethodName = "/datalift.application.v1.ApplicationAPI/UpdateApplication"
)

Variables

View Source
var ApplicationAPI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "datalift.application.v1.ApplicationAPI",
	HandlerType: (*ApplicationAPIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateApplication",
			Handler:    _ApplicationAPI_CreateApplication_Handler,
		},
		{
			MethodName: "DeleteApplication",
			Handler:    _ApplicationAPI_DeleteApplication_Handler,
		},
		{
			MethodName: "GetApplication",
			Handler:    _ApplicationAPI_GetApplication_Handler,
		},
		{
			MethodName: "ListApplications",
			Handler:    _ApplicationAPI_ListApplications_Handler,
		},
		{
			MethodName: "UpdateApplication",
			Handler:    _ApplicationAPI_UpdateApplication_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "application/v1/application.proto",
}

ApplicationAPI_ServiceDesc is the grpc.ServiceDesc for ApplicationAPI 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_application_v1_application_proto protoreflect.FileDescriptor

Functions

func RegisterApplicationAPIHandler

func RegisterApplicationAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterApplicationAPIHandler registers the http handlers for service ApplicationAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterApplicationAPIHandlerClient

func RegisterApplicationAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApplicationAPIClient) error

RegisterApplicationAPIHandlerClient registers the http handlers for service ApplicationAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApplicationAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApplicationAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApplicationAPIClient" to call the correct interceptors.

func RegisterApplicationAPIHandlerFromEndpoint

func RegisterApplicationAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterApplicationAPIHandlerFromEndpoint is same as RegisterApplicationAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterApplicationAPIHandlerServer

func RegisterApplicationAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApplicationAPIServer) error

RegisterApplicationAPIHandlerServer registers the http handlers for service ApplicationAPI to "mux". UnaryRPC :call ApplicationAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterApplicationAPIHandlerFromEndpoint instead.

func RegisterApplicationAPIServer

func RegisterApplicationAPIServer(s grpc.ServiceRegistrar, srv ApplicationAPIServer)

Types

type Application

type Application struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy string                 `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*Application) Descriptor deprecated

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

Deprecated: Use Application.ProtoReflect.Descriptor instead.

func (*Application) GetCreatedAt

func (x *Application) GetCreatedAt() *timestamppb.Timestamp

func (*Application) GetCreatedBy

func (x *Application) GetCreatedBy() string

func (*Application) GetId

func (x *Application) GetId() string

func (*Application) GetName

func (x *Application) GetName() string

func (*Application) ProtoMessage

func (*Application) ProtoMessage()

func (*Application) ProtoReflect

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

func (*Application) Reset

func (x *Application) Reset()

func (*Application) String

func (x *Application) String() string

func (*Application) Validate

func (m *Application) Validate() error

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

func (m *Application) ValidateAll() error

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

type ApplicationAPIClient

type ApplicationAPIClient interface {
	CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*CreateApplicationResponse, error)
	DeleteApplication(ctx context.Context, in *DeleteApplicationRequest, opts ...grpc.CallOption) (*DeleteApplicationResponse, error)
	GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*GetApplicationResponse, error)
	ListApplications(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*ListApplicationsResponse, error)
	UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*UpdateApplicationResponse, error)
}

ApplicationAPIClient is the client API for ApplicationAPI 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.

type ApplicationAPIServer

ApplicationAPIServer is the server API for ApplicationAPI service. All implementations should embed UnimplementedApplicationAPIServer for forward compatibility

type ApplicationMultiError

type ApplicationMultiError []error

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

func (ApplicationMultiError) AllErrors

func (m ApplicationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationMultiError) Error

func (m ApplicationMultiError) Error() string

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

type ApplicationQuery

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

func (*ApplicationQuery) Descriptor deprecated

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

Deprecated: Use ApplicationQuery.ProtoReflect.Descriptor instead.

func (*ApplicationQuery) GetName

func (x *ApplicationQuery) GetName() string

func (*ApplicationQuery) ProtoMessage

func (*ApplicationQuery) ProtoMessage()

func (*ApplicationQuery) ProtoReflect

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

func (*ApplicationQuery) Reset

func (x *ApplicationQuery) Reset()

func (*ApplicationQuery) String

func (x *ApplicationQuery) String() string

func (*ApplicationQuery) Validate

func (m *ApplicationQuery) Validate() error

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

func (m *ApplicationQuery) ValidateAll() error

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

type ApplicationQueryMultiError

type ApplicationQueryMultiError []error

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

func (ApplicationQueryMultiError) AllErrors

func (m ApplicationQueryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApplicationQueryMultiError) Error

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

type ApplicationQueryValidationError

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

ApplicationQueryValidationError is the validation error returned by ApplicationQuery.Validate if the designated constraints aren't met.

func (ApplicationQueryValidationError) Cause

Cause function returns cause value.

func (ApplicationQueryValidationError) Error

Error satisfies the builtin error interface

func (ApplicationQueryValidationError) ErrorName

ErrorName returns error name.

func (ApplicationQueryValidationError) Field

Field function returns field value.

func (ApplicationQueryValidationError) Key

Key function returns key value.

func (ApplicationQueryValidationError) Reason

Reason function returns reason value.

type ApplicationValidationError

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

ApplicationValidationError is the validation error returned by Application.Validate if the designated constraints aren't met.

func (ApplicationValidationError) Cause

Cause function returns cause value.

func (ApplicationValidationError) Error

Error satisfies the builtin error interface

func (ApplicationValidationError) ErrorName

func (e ApplicationValidationError) ErrorName() string

ErrorName returns error name.

func (ApplicationValidationError) Field

Field function returns field value.

func (ApplicationValidationError) Key

Key function returns key value.

func (ApplicationValidationError) Reason

Reason function returns reason value.

type CreateApplicationRequest

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

func (*CreateApplicationRequest) Descriptor deprecated

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

Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.

func (*CreateApplicationRequest) GetApplication

func (x *CreateApplicationRequest) GetApplication() *Application

func (*CreateApplicationRequest) ProtoMessage

func (*CreateApplicationRequest) ProtoMessage()

func (*CreateApplicationRequest) ProtoReflect

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

func (*CreateApplicationRequest) Reset

func (x *CreateApplicationRequest) Reset()

func (*CreateApplicationRequest) String

func (x *CreateApplicationRequest) String() string

func (*CreateApplicationRequest) Validate

func (m *CreateApplicationRequest) Validate() error

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

func (m *CreateApplicationRequest) ValidateAll() error

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

type CreateApplicationRequestMultiError

type CreateApplicationRequestMultiError []error

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

func (CreateApplicationRequestMultiError) AllErrors

func (m CreateApplicationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateApplicationRequestMultiError) Error

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

type CreateApplicationRequestValidationError

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

CreateApplicationRequestValidationError is the validation error returned by CreateApplicationRequest.Validate if the designated constraints aren't met.

func (CreateApplicationRequestValidationError) Cause

Cause function returns cause value.

func (CreateApplicationRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateApplicationRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateApplicationRequestValidationError) Field

Field function returns field value.

func (CreateApplicationRequestValidationError) Key

Key function returns key value.

func (CreateApplicationRequestValidationError) Reason

Reason function returns reason value.

type CreateApplicationResponse

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

func (*CreateApplicationResponse) Descriptor deprecated

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

Deprecated: Use CreateApplicationResponse.ProtoReflect.Descriptor instead.

func (*CreateApplicationResponse) ProtoMessage

func (*CreateApplicationResponse) ProtoMessage()

func (*CreateApplicationResponse) ProtoReflect

func (*CreateApplicationResponse) Reset

func (x *CreateApplicationResponse) Reset()

func (*CreateApplicationResponse) String

func (x *CreateApplicationResponse) String() string

func (*CreateApplicationResponse) Validate

func (m *CreateApplicationResponse) Validate() error

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

func (m *CreateApplicationResponse) ValidateAll() error

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

type CreateApplicationResponseMultiError

type CreateApplicationResponseMultiError []error

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

func (CreateApplicationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateApplicationResponseMultiError) Error

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

type CreateApplicationResponseValidationError

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

CreateApplicationResponseValidationError is the validation error returned by CreateApplicationResponse.Validate if the designated constraints aren't met.

func (CreateApplicationResponseValidationError) Cause

Cause function returns cause value.

func (CreateApplicationResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateApplicationResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateApplicationResponseValidationError) Field

Field function returns field value.

func (CreateApplicationResponseValidationError) Key

Key function returns key value.

func (CreateApplicationResponseValidationError) Reason

Reason function returns reason value.

type DeleteApplicationRequest

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

func (*DeleteApplicationRequest) Descriptor deprecated

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

Deprecated: Use DeleteApplicationRequest.ProtoReflect.Descriptor instead.

func (*DeleteApplicationRequest) GetId

func (x *DeleteApplicationRequest) GetId() string

func (*DeleteApplicationRequest) ProtoMessage

func (*DeleteApplicationRequest) ProtoMessage()

func (*DeleteApplicationRequest) ProtoReflect

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

func (*DeleteApplicationRequest) Reset

func (x *DeleteApplicationRequest) Reset()

func (*DeleteApplicationRequest) String

func (x *DeleteApplicationRequest) String() string

func (*DeleteApplicationRequest) Validate

func (m *DeleteApplicationRequest) Validate() error

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

func (m *DeleteApplicationRequest) ValidateAll() error

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

type DeleteApplicationRequestMultiError

type DeleteApplicationRequestMultiError []error

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

func (DeleteApplicationRequestMultiError) AllErrors

func (m DeleteApplicationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteApplicationRequestMultiError) Error

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

type DeleteApplicationRequestValidationError

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

DeleteApplicationRequestValidationError is the validation error returned by DeleteApplicationRequest.Validate if the designated constraints aren't met.

func (DeleteApplicationRequestValidationError) Cause

Cause function returns cause value.

func (DeleteApplicationRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteApplicationRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteApplicationRequestValidationError) Field

Field function returns field value.

func (DeleteApplicationRequestValidationError) Key

Key function returns key value.

func (DeleteApplicationRequestValidationError) Reason

Reason function returns reason value.

type DeleteApplicationResponse

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

func (*DeleteApplicationResponse) Descriptor deprecated

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

Deprecated: Use DeleteApplicationResponse.ProtoReflect.Descriptor instead.

func (*DeleteApplicationResponse) ProtoMessage

func (*DeleteApplicationResponse) ProtoMessage()

func (*DeleteApplicationResponse) ProtoReflect

func (*DeleteApplicationResponse) Reset

func (x *DeleteApplicationResponse) Reset()

func (*DeleteApplicationResponse) String

func (x *DeleteApplicationResponse) String() string

func (*DeleteApplicationResponse) Validate

func (m *DeleteApplicationResponse) Validate() error

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

func (m *DeleteApplicationResponse) ValidateAll() error

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

type DeleteApplicationResponseMultiError

type DeleteApplicationResponseMultiError []error

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

func (DeleteApplicationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DeleteApplicationResponseMultiError) Error

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

type DeleteApplicationResponseValidationError

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

DeleteApplicationResponseValidationError is the validation error returned by DeleteApplicationResponse.Validate if the designated constraints aren't met.

func (DeleteApplicationResponseValidationError) Cause

Cause function returns cause value.

func (DeleteApplicationResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteApplicationResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteApplicationResponseValidationError) Field

Field function returns field value.

func (DeleteApplicationResponseValidationError) Key

Key function returns key value.

func (DeleteApplicationResponseValidationError) Reason

Reason function returns reason value.

type GetApplicationRequest

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

func (*GetApplicationRequest) Descriptor deprecated

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

Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.

func (*GetApplicationRequest) GetId

func (x *GetApplicationRequest) GetId() string

func (*GetApplicationRequest) ProtoMessage

func (*GetApplicationRequest) ProtoMessage()

func (*GetApplicationRequest) ProtoReflect

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

func (*GetApplicationRequest) Reset

func (x *GetApplicationRequest) Reset()

func (*GetApplicationRequest) String

func (x *GetApplicationRequest) String() string

func (*GetApplicationRequest) Validate

func (m *GetApplicationRequest) Validate() error

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

func (m *GetApplicationRequest) ValidateAll() error

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

type GetApplicationRequestMultiError

type GetApplicationRequestMultiError []error

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

func (GetApplicationRequestMultiError) AllErrors

func (m GetApplicationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetApplicationRequestMultiError) Error

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

type GetApplicationRequestValidationError

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

GetApplicationRequestValidationError is the validation error returned by GetApplicationRequest.Validate if the designated constraints aren't met.

func (GetApplicationRequestValidationError) Cause

Cause function returns cause value.

func (GetApplicationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetApplicationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetApplicationRequestValidationError) Field

Field function returns field value.

func (GetApplicationRequestValidationError) Key

Key function returns key value.

func (GetApplicationRequestValidationError) Reason

Reason function returns reason value.

type GetApplicationResponse

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

func (*GetApplicationResponse) Descriptor deprecated

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

Deprecated: Use GetApplicationResponse.ProtoReflect.Descriptor instead.

func (*GetApplicationResponse) GetApplication

func (x *GetApplicationResponse) GetApplication() *Application

func (*GetApplicationResponse) ProtoMessage

func (*GetApplicationResponse) ProtoMessage()

func (*GetApplicationResponse) ProtoReflect

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

func (*GetApplicationResponse) Reset

func (x *GetApplicationResponse) Reset()

func (*GetApplicationResponse) String

func (x *GetApplicationResponse) String() string

func (*GetApplicationResponse) Validate

func (m *GetApplicationResponse) Validate() error

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

func (m *GetApplicationResponse) ValidateAll() error

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

type GetApplicationResponseMultiError

type GetApplicationResponseMultiError []error

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

func (GetApplicationResponseMultiError) AllErrors

func (m GetApplicationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetApplicationResponseMultiError) Error

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

type GetApplicationResponseValidationError

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

GetApplicationResponseValidationError is the validation error returned by GetApplicationResponse.Validate if the designated constraints aren't met.

func (GetApplicationResponseValidationError) Cause

Cause function returns cause value.

func (GetApplicationResponseValidationError) Error

Error satisfies the builtin error interface

func (GetApplicationResponseValidationError) ErrorName

ErrorName returns error name.

func (GetApplicationResponseValidationError) Field

Field function returns field value.

func (GetApplicationResponseValidationError) Key

Key function returns key value.

func (GetApplicationResponseValidationError) Reason

Reason function returns reason value.

type ListApplicationsRequest

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

func (*ListApplicationsRequest) Descriptor deprecated

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

Deprecated: Use ListApplicationsRequest.ProtoReflect.Descriptor instead.

func (*ListApplicationsRequest) ProtoMessage

func (*ListApplicationsRequest) ProtoMessage()

func (*ListApplicationsRequest) ProtoReflect

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

func (*ListApplicationsRequest) Reset

func (x *ListApplicationsRequest) Reset()

func (*ListApplicationsRequest) String

func (x *ListApplicationsRequest) String() string

func (*ListApplicationsRequest) Validate

func (m *ListApplicationsRequest) Validate() error

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

func (m *ListApplicationsRequest) ValidateAll() error

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

type ListApplicationsRequestMultiError

type ListApplicationsRequestMultiError []error

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

func (ListApplicationsRequestMultiError) AllErrors

func (m ListApplicationsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListApplicationsRequestMultiError) Error

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

type ListApplicationsRequestValidationError

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

ListApplicationsRequestValidationError is the validation error returned by ListApplicationsRequest.Validate if the designated constraints aren't met.

func (ListApplicationsRequestValidationError) Cause

Cause function returns cause value.

func (ListApplicationsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListApplicationsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListApplicationsRequestValidationError) Field

Field function returns field value.

func (ListApplicationsRequestValidationError) Key

Key function returns key value.

func (ListApplicationsRequestValidationError) Reason

Reason function returns reason value.

type ListApplicationsResponse

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

func (*ListApplicationsResponse) Descriptor deprecated

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

Deprecated: Use ListApplicationsResponse.ProtoReflect.Descriptor instead.

func (*ListApplicationsResponse) ProtoMessage

func (*ListApplicationsResponse) ProtoMessage()

func (*ListApplicationsResponse) ProtoReflect

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

func (*ListApplicationsResponse) Reset

func (x *ListApplicationsResponse) Reset()

func (*ListApplicationsResponse) String

func (x *ListApplicationsResponse) String() string

func (*ListApplicationsResponse) Validate

func (m *ListApplicationsResponse) Validate() error

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

func (m *ListApplicationsResponse) ValidateAll() error

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

type ListApplicationsResponseMultiError

type ListApplicationsResponseMultiError []error

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

func (ListApplicationsResponseMultiError) AllErrors

func (m ListApplicationsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListApplicationsResponseMultiError) Error

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

type ListApplicationsResponseValidationError

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

ListApplicationsResponseValidationError is the validation error returned by ListApplicationsResponse.Validate if the designated constraints aren't met.

func (ListApplicationsResponseValidationError) Cause

Cause function returns cause value.

func (ListApplicationsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListApplicationsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListApplicationsResponseValidationError) Field

Field function returns field value.

func (ListApplicationsResponseValidationError) Key

Key function returns key value.

func (ListApplicationsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedApplicationAPIServer

type UnimplementedApplicationAPIServer struct {
}

UnimplementedApplicationAPIServer should be embedded to have forward compatible implementations.

func (UnimplementedApplicationAPIServer) CreateApplication

func (UnimplementedApplicationAPIServer) DeleteApplication

func (UnimplementedApplicationAPIServer) GetApplication

func (UnimplementedApplicationAPIServer) ListApplications

func (UnimplementedApplicationAPIServer) UpdateApplication

type UnsafeApplicationAPIServer

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

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

type UpdateApplicationRequest

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

func (*UpdateApplicationRequest) Descriptor deprecated

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

Deprecated: Use UpdateApplicationRequest.ProtoReflect.Descriptor instead.

func (*UpdateApplicationRequest) GetId

func (x *UpdateApplicationRequest) GetId() string

func (*UpdateApplicationRequest) ProtoMessage

func (*UpdateApplicationRequest) ProtoMessage()

func (*UpdateApplicationRequest) ProtoReflect

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

func (*UpdateApplicationRequest) Reset

func (x *UpdateApplicationRequest) Reset()

func (*UpdateApplicationRequest) String

func (x *UpdateApplicationRequest) String() string

func (*UpdateApplicationRequest) Validate

func (m *UpdateApplicationRequest) Validate() error

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

func (m *UpdateApplicationRequest) ValidateAll() error

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

type UpdateApplicationRequestMultiError

type UpdateApplicationRequestMultiError []error

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

func (UpdateApplicationRequestMultiError) AllErrors

func (m UpdateApplicationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateApplicationRequestMultiError) Error

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

type UpdateApplicationRequestValidationError

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

UpdateApplicationRequestValidationError is the validation error returned by UpdateApplicationRequest.Validate if the designated constraints aren't met.

func (UpdateApplicationRequestValidationError) Cause

Cause function returns cause value.

func (UpdateApplicationRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateApplicationRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateApplicationRequestValidationError) Field

Field function returns field value.

func (UpdateApplicationRequestValidationError) Key

Key function returns key value.

func (UpdateApplicationRequestValidationError) Reason

Reason function returns reason value.

type UpdateApplicationResponse

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

func (*UpdateApplicationResponse) Descriptor deprecated

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

Deprecated: Use UpdateApplicationResponse.ProtoReflect.Descriptor instead.

func (*UpdateApplicationResponse) ProtoMessage

func (*UpdateApplicationResponse) ProtoMessage()

func (*UpdateApplicationResponse) ProtoReflect

func (*UpdateApplicationResponse) Reset

func (x *UpdateApplicationResponse) Reset()

func (*UpdateApplicationResponse) String

func (x *UpdateApplicationResponse) String() string

func (*UpdateApplicationResponse) Validate

func (m *UpdateApplicationResponse) Validate() error

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

func (m *UpdateApplicationResponse) ValidateAll() error

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

type UpdateApplicationResponseMultiError

type UpdateApplicationResponseMultiError []error

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

func (UpdateApplicationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UpdateApplicationResponseMultiError) Error

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

type UpdateApplicationResponseValidationError

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

UpdateApplicationResponseValidationError is the validation error returned by UpdateApplicationResponse.Validate if the designated constraints aren't met.

func (UpdateApplicationResponseValidationError) Cause

Cause function returns cause value.

func (UpdateApplicationResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateApplicationResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateApplicationResponseValidationError) Field

Field function returns field value.

func (UpdateApplicationResponseValidationError) Key

Key function returns key value.

func (UpdateApplicationResponseValidationError) 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