dashboardv1

package
v0.4.28 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Unlicense Imports: 33 Imported by: 0

Documentation

Overview

Package dashboardv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package dashboardv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package dashboardv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	AuthenticationService_Login_FullMethodName         = "/dashboard.v1.AuthenticationService/Login"
	AuthenticationService_GetAccount_FullMethodName    = "/dashboard.v1.AuthenticationService/GetAccount"
	AuthenticationService_CreateAccount_FullMethodName = "/dashboard.v1.AuthenticationService/CreateAccount"
)
View Source
const (
	ResourceService_ListResources_FullMethodName       = "/dashboard.v1.ResourceService/ListResources"
	ResourceService_CreateResource_FullMethodName      = "/dashboard.v1.ResourceService/CreateResource"
	ResourceService_GetResource_FullMethodName         = "/dashboard.v1.ResourceService/GetResource"
	ResourceService_UpdateResource_FullMethodName      = "/dashboard.v1.ResourceService/UpdateResource"
	ResourceService_DeleteResource_FullMethodName      = "/dashboard.v1.ResourceService/DeleteResource"
	ResourceService_GetResourceRelation_FullMethodName = "/dashboard.v1.ResourceService/GetResourceRelation"
)
View Source
const (
	SchemaService_GetSchema_FullMethodName = "/dashboard.v1.SchemaService/GetSchema"
)

Variables

View Source
var AuthenticationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dashboard.v1.AuthenticationService",
	HandlerType: (*AuthenticationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _AuthenticationService_Login_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _AuthenticationService_GetAccount_Handler,
		},
		{
			MethodName: "CreateAccount",
			Handler:    _AuthenticationService_CreateAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dashboard/v1/authentication.proto",
}

AuthenticationService_ServiceDesc is the grpc.ServiceDesc for AuthenticationService 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_dashboard_v1_authentication_proto protoreflect.FileDescriptor
View Source
var File_dashboard_v1_resource_proto protoreflect.FileDescriptor
View Source
var File_dashboard_v1_schema_proto protoreflect.FileDescriptor
View Source
var ResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dashboard.v1.ResourceService",
	HandlerType: (*ResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListResources",
			Handler:    _ResourceService_ListResources_Handler,
		},
		{
			MethodName: "CreateResource",
			Handler:    _ResourceService_CreateResource_Handler,
		},
		{
			MethodName: "GetResource",
			Handler:    _ResourceService_GetResource_Handler,
		},
		{
			MethodName: "UpdateResource",
			Handler:    _ResourceService_UpdateResource_Handler,
		},
		{
			MethodName: "DeleteResource",
			Handler:    _ResourceService_DeleteResource_Handler,
		},
		{
			MethodName: "GetResourceRelation",
			Handler:    _ResourceService_GetResourceRelation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dashboard/v1/resource.proto",
}

ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService 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 SchemaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dashboard.v1.SchemaService",
	HandlerType: (*SchemaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSchema",
			Handler:    _SchemaService_GetSchema_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dashboard/v1/schema.proto",
}

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

Functions

func RegisterAuthenticationServiceHandler

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

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

func RegisterAuthenticationServiceHandlerClient

func RegisterAuthenticationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthenticationServiceClient) error

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

func RegisterAuthenticationServiceHandlerFromEndpoint

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

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

func RegisterAuthenticationServiceHandlerServer

func RegisterAuthenticationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthenticationServiceServer) error

RegisterAuthenticationServiceHandlerServer registers the http handlers for service AuthenticationService to "mux". UnaryRPC :call AuthenticationServiceServer 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 RegisterAuthenticationServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterAuthenticationServiceServer

func RegisterAuthenticationServiceServer(s grpc.ServiceRegistrar, srv AuthenticationServiceServer)

func RegisterResourceServiceHandler

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

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

func RegisterResourceServiceHandlerClient

func RegisterResourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceServiceClient) error

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

func RegisterResourceServiceHandlerFromEndpoint

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

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

func RegisterResourceServiceHandlerServer

func RegisterResourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceServiceServer) error

RegisterResourceServiceHandlerServer registers the http handlers for service ResourceService to "mux". UnaryRPC :call ResourceServiceServer 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 RegisterResourceServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterResourceServiceServer

func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)

func RegisterSchemaServiceHandler

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

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

func RegisterSchemaServiceHandlerClient

func RegisterSchemaServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaServiceClient) error

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

func RegisterSchemaServiceHandlerFromEndpoint

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

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

func RegisterSchemaServiceHandlerServer

func RegisterSchemaServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServiceServer) error

RegisterSchemaServiceHandlerServer registers the http handlers for service SchemaService to "mux". UnaryRPC :call SchemaServiceServer 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 RegisterSchemaServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterSchemaServiceServer

func RegisterSchemaServiceServer(s grpc.ServiceRegistrar, srv SchemaServiceServer)

Types

type AuthenticationServiceClient

type AuthenticationServiceClient interface {
	// Login ...
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// GetAccount ...
	GetAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetAccountResponse, error)
	// CreateAccount ...
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

AuthenticationServiceClient is the client API for AuthenticationService 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.

AuthenticationService ...

type AuthenticationServiceServer

type AuthenticationServiceServer interface {
	// Login ...
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// GetAccount ...
	GetAccount(context.Context, *emptypb.Empty) (*GetAccountResponse, error)
	// CreateAccount ...
	CreateAccount(context.Context, *CreateAccountRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

AuthenticationServiceServer is the server API for AuthenticationService service. All implementations must embed UnimplementedAuthenticationServiceServer for forward compatibility.

AuthenticationService ...

type CreateAccountRequest

type CreateAccountRequest struct {
	Admin    *v1.Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	Password string    `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAdmin

func (x *CreateAccountRequest) GetAdmin() *v1.Admin

func (*CreateAccountRequest) GetPassword

func (x *CreateAccountRequest) GetPassword() string

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

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

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

func (*CreateAccountRequest) Validate

func (m *CreateAccountRequest) Validate() error

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

func (m *CreateAccountRequest) ValidateAll() error

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

type CreateAccountRequestMultiError

type CreateAccountRequestMultiError []error

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

func (CreateAccountRequestMultiError) AllErrors

func (m CreateAccountRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAccountRequestMultiError) Error

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

type CreateAccountRequestValidationError

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

CreateAccountRequestValidationError is the validation error returned by CreateAccountRequest.Validate if the designated constraints aren't met.

func (CreateAccountRequestValidationError) Cause

Cause function returns cause value.

func (CreateAccountRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAccountRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAccountRequestValidationError) Field

Field function returns field value.

func (CreateAccountRequestValidationError) Key

Key function returns key value.

func (CreateAccountRequestValidationError) Reason

Reason function returns reason value.

type CreateResourceRequest

type CreateResourceRequest struct {
	Resource string           `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Data     *structpb.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetData

func (x *CreateResourceRequest) GetData() *structpb.Struct

func (*CreateResourceRequest) GetResource

func (x *CreateResourceRequest) GetResource() string

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

func (*CreateResourceRequest) Validate

func (m *CreateResourceRequest) Validate() error

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

func (m *CreateResourceRequest) ValidateAll() error

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

type CreateResourceRequestMultiError

type CreateResourceRequestMultiError []error

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

func (CreateResourceRequestMultiError) AllErrors

func (m CreateResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateResourceRequestMultiError) Error

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

type CreateResourceRequestValidationError

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

CreateResourceRequestValidationError is the validation error returned by CreateResourceRequest.Validate if the designated constraints aren't met.

func (CreateResourceRequestValidationError) Cause

Cause function returns cause value.

func (CreateResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateResourceRequestValidationError) Field

Field function returns field value.

func (CreateResourceRequestValidationError) Key

Key function returns key value.

func (CreateResourceRequestValidationError) Reason

Reason function returns reason value.

type CreateResourceResponse

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

func (*CreateResourceResponse) Descriptor deprecated

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

Deprecated: Use CreateResourceResponse.ProtoReflect.Descriptor instead.

func (*CreateResourceResponse) GetKey

func (x *CreateResourceResponse) GetKey() string

func (*CreateResourceResponse) ProtoMessage

func (*CreateResourceResponse) ProtoMessage()

func (*CreateResourceResponse) ProtoReflect

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

func (*CreateResourceResponse) Reset

func (x *CreateResourceResponse) Reset()

func (*CreateResourceResponse) String

func (x *CreateResourceResponse) String() string

func (*CreateResourceResponse) Validate

func (m *CreateResourceResponse) Validate() error

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

func (m *CreateResourceResponse) ValidateAll() error

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

type CreateResourceResponseMultiError

type CreateResourceResponseMultiError []error

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

func (CreateResourceResponseMultiError) AllErrors

func (m CreateResourceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateResourceResponseMultiError) Error

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

type CreateResourceResponseValidationError

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

CreateResourceResponseValidationError is the validation error returned by CreateResourceResponse.Validate if the designated constraints aren't met.

func (CreateResourceResponseValidationError) Cause

Cause function returns cause value.

func (CreateResourceResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateResourceResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateResourceResponseValidationError) Field

Field function returns field value.

func (CreateResourceResponseValidationError) Key

Key function returns key value.

func (CreateResourceResponseValidationError) Reason

Reason function returns reason value.

type DeleteResourceRequest

type DeleteResourceRequest struct {
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetKey

func (x *DeleteResourceRequest) GetKey() string

func (*DeleteResourceRequest) GetResource

func (x *DeleteResourceRequest) GetResource() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

func (*DeleteResourceRequest) Validate

func (m *DeleteResourceRequest) Validate() error

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

func (*DeleteResourceRequest) ValidateAll

func (m *DeleteResourceRequest) ValidateAll() error

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

type DeleteResourceRequestMultiError

type DeleteResourceRequestMultiError []error

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

func (DeleteResourceRequestMultiError) AllErrors

func (m DeleteResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteResourceRequestMultiError) Error

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

type DeleteResourceRequestValidationError

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

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

func (DeleteResourceRequestValidationError) Cause

Cause function returns cause value.

func (DeleteResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteResourceRequestValidationError) Field

Field function returns field value.

func (DeleteResourceRequestValidationError) Key

Key function returns key value.

func (DeleteResourceRequestValidationError) Reason

Reason function returns reason value.

type GetAccountResponse

type GetAccountResponse struct {
	Admin *v1.Admin `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated

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

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAdmin

func (x *GetAccountResponse) GetAdmin() *v1.Admin

func (*GetAccountResponse) ProtoMessage

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect

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

func (*GetAccountResponse) Reset

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String

func (x *GetAccountResponse) String() string

func (*GetAccountResponse) Validate

func (m *GetAccountResponse) Validate() error

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

func (m *GetAccountResponse) ValidateAll() error

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

type GetAccountResponseMultiError

type GetAccountResponseMultiError []error

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

func (GetAccountResponseMultiError) AllErrors

func (m GetAccountResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAccountResponseMultiError) Error

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

type GetAccountResponseValidationError

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

GetAccountResponseValidationError is the validation error returned by GetAccountResponse.Validate if the designated constraints aren't met.

func (GetAccountResponseValidationError) Cause

Cause function returns cause value.

func (GetAccountResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAccountResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAccountResponseValidationError) Field

Field function returns field value.

func (GetAccountResponseValidationError) Key

Key function returns key value.

func (GetAccountResponseValidationError) Reason

Reason function returns reason value.

type GetResourceRelationRequest

type GetResourceRelationRequest struct {
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	Count    *int64 `protobuf:"varint,10,opt,name=count,proto3,oneof" json:"count,omitempty"`
	Offset   *int64 `protobuf:"varint,11,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRelationRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRelationRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRelationRequest) GetCount

func (x *GetResourceRelationRequest) GetCount() int64

func (*GetResourceRelationRequest) GetKey

func (x *GetResourceRelationRequest) GetKey() string

func (*GetResourceRelationRequest) GetOffset

func (x *GetResourceRelationRequest) GetOffset() int64

func (*GetResourceRelationRequest) GetRelation

func (x *GetResourceRelationRequest) GetRelation() string

func (*GetResourceRelationRequest) GetResource

func (x *GetResourceRelationRequest) GetResource() string

func (*GetResourceRelationRequest) ProtoMessage

func (*GetResourceRelationRequest) ProtoMessage()

func (*GetResourceRelationRequest) ProtoReflect

func (*GetResourceRelationRequest) Reset

func (x *GetResourceRelationRequest) Reset()

func (*GetResourceRelationRequest) String

func (x *GetResourceRelationRequest) String() string

func (*GetResourceRelationRequest) Validate

func (m *GetResourceRelationRequest) Validate() error

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

func (m *GetResourceRelationRequest) ValidateAll() error

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

type GetResourceRelationRequestMultiError

type GetResourceRelationRequestMultiError []error

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

func (GetResourceRelationRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetResourceRelationRequestMultiError) Error

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

type GetResourceRelationRequestValidationError

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

GetResourceRelationRequestValidationError is the validation error returned by GetResourceRelationRequest.Validate if the designated constraints aren't met.

func (GetResourceRelationRequestValidationError) Cause

Cause function returns cause value.

func (GetResourceRelationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetResourceRelationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetResourceRelationRequestValidationError) Field

Field function returns field value.

func (GetResourceRelationRequestValidationError) Key

Key function returns key value.

func (GetResourceRelationRequestValidationError) Reason

Reason function returns reason value.

type GetResourceRelationResponse

type GetResourceRelationResponse struct {
	Resources []*structpb.Struct `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	Count     int64              `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRelationResponse) Descriptor deprecated

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

Deprecated: Use GetResourceRelationResponse.ProtoReflect.Descriptor instead.

func (*GetResourceRelationResponse) GetCount

func (x *GetResourceRelationResponse) GetCount() int64

func (*GetResourceRelationResponse) GetResources

func (x *GetResourceRelationResponse) GetResources() []*structpb.Struct

func (*GetResourceRelationResponse) ProtoMessage

func (*GetResourceRelationResponse) ProtoMessage()

func (*GetResourceRelationResponse) ProtoReflect

func (*GetResourceRelationResponse) Reset

func (x *GetResourceRelationResponse) Reset()

func (*GetResourceRelationResponse) String

func (x *GetResourceRelationResponse) String() string

func (*GetResourceRelationResponse) Validate

func (m *GetResourceRelationResponse) Validate() error

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

func (m *GetResourceRelationResponse) ValidateAll() error

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

type GetResourceRelationResponseMultiError

type GetResourceRelationResponseMultiError []error

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

func (GetResourceRelationResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetResourceRelationResponseMultiError) Error

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

type GetResourceRelationResponseValidationError

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

GetResourceRelationResponseValidationError is the validation error returned by GetResourceRelationResponse.Validate if the designated constraints aren't met.

func (GetResourceRelationResponseValidationError) Cause

Cause function returns cause value.

func (GetResourceRelationResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResourceRelationResponseValidationError) ErrorName

ErrorName returns error name.

func (GetResourceRelationResponseValidationError) Field

Field function returns field value.

func (GetResourceRelationResponseValidationError) Key

Key function returns key value.

func (GetResourceRelationResponseValidationError) Reason

Reason function returns reason value.

type GetResourceRequest

type GetResourceRequest struct {
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Key      string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetKey

func (x *GetResourceRequest) GetKey() string

func (*GetResourceRequest) GetResource

func (x *GetResourceRequest) GetResource() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

func (*GetResourceRequest) Validate

func (m *GetResourceRequest) Validate() error

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

func (m *GetResourceRequest) ValidateAll() error

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

type GetResourceRequestMultiError

type GetResourceRequestMultiError []error

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

func (GetResourceRequestMultiError) AllErrors

func (m GetResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResourceRequestMultiError) Error

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

type GetResourceRequestValidationError

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

GetResourceRequestValidationError is the validation error returned by GetResourceRequest.Validate if the designated constraints aren't met.

func (GetResourceRequestValidationError) Cause

Cause function returns cause value.

func (GetResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (GetResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (GetResourceRequestValidationError) Field

Field function returns field value.

func (GetResourceRequestValidationError) Key

Key function returns key value.

func (GetResourceRequestValidationError) Reason

Reason function returns reason value.

type GetResourceResponse

type GetResourceResponse struct {
	Resource *structpb.Struct `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceResponse) Descriptor deprecated

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

Deprecated: Use GetResourceResponse.ProtoReflect.Descriptor instead.

func (*GetResourceResponse) GetResource

func (x *GetResourceResponse) GetResource() *structpb.Struct

func (*GetResourceResponse) ProtoMessage

func (*GetResourceResponse) ProtoMessage()

func (*GetResourceResponse) ProtoReflect

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

func (*GetResourceResponse) Reset

func (x *GetResourceResponse) Reset()

func (*GetResourceResponse) String

func (x *GetResourceResponse) String() string

func (*GetResourceResponse) Validate

func (m *GetResourceResponse) Validate() error

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

func (m *GetResourceResponse) ValidateAll() error

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

type GetResourceResponseMultiError

type GetResourceResponseMultiError []error

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

func (GetResourceResponseMultiError) AllErrors

func (m GetResourceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResourceResponseMultiError) Error

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

type GetResourceResponseValidationError

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

GetResourceResponseValidationError is the validation error returned by GetResourceResponse.Validate if the designated constraints aren't met.

func (GetResourceResponseValidationError) Cause

Cause function returns cause value.

func (GetResourceResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResourceResponseValidationError) ErrorName

ErrorName returns error name.

func (GetResourceResponseValidationError) Field

Field function returns field value.

func (GetResourceResponseValidationError) Key

Key function returns key value.

func (GetResourceResponseValidationError) Reason

Reason function returns reason value.

type GetSchemaResponse

type GetSchemaResponse struct {
	Data *structpb.Struct `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetData

func (x *GetSchemaResponse) GetData() *structpb.Struct

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect

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

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

func (*GetSchemaResponse) Validate

func (m *GetSchemaResponse) Validate() error

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

func (m *GetSchemaResponse) ValidateAll() error

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

type GetSchemaResponseMultiError

type GetSchemaResponseMultiError []error

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

func (GetSchemaResponseMultiError) AllErrors

func (m GetSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetSchemaResponseMultiError) Error

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

type GetSchemaResponseValidationError

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

GetSchemaResponseValidationError is the validation error returned by GetSchemaResponse.Validate if the designated constraints aren't met.

func (GetSchemaResponseValidationError) Cause

Cause function returns cause value.

func (GetSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (GetSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (GetSchemaResponseValidationError) Field

Field function returns field value.

func (GetSchemaResponseValidationError) Key

Key function returns key value.

func (GetSchemaResponseValidationError) Reason

Reason function returns reason value.

type ListResourcesRequest

type ListResourcesRequest struct {
	Resource string  `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Filter   *string `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	Count    *int64  `protobuf:"varint,10,opt,name=count,proto3,oneof" json:"count,omitempty"`
	Offset   *int64  `protobuf:"varint,11,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetCount

func (x *ListResourcesRequest) GetCount() int64

func (*ListResourcesRequest) GetFilter

func (x *ListResourcesRequest) GetFilter() string

func (*ListResourcesRequest) GetOffset

func (x *ListResourcesRequest) GetOffset() int64

func (*ListResourcesRequest) GetResource

func (x *ListResourcesRequest) GetResource() string

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

func (*ListResourcesRequest) Validate

func (m *ListResourcesRequest) Validate() error

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

func (m *ListResourcesRequest) ValidateAll() error

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

type ListResourcesRequestMultiError

type ListResourcesRequestMultiError []error

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

func (ListResourcesRequestMultiError) AllErrors

func (m ListResourcesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListResourcesRequestMultiError) Error

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

type ListResourcesRequestValidationError

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

ListResourcesRequestValidationError is the validation error returned by ListResourcesRequest.Validate if the designated constraints aren't met.

func (ListResourcesRequestValidationError) Cause

Cause function returns cause value.

func (ListResourcesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListResourcesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListResourcesRequestValidationError) Field

Field function returns field value.

func (ListResourcesRequestValidationError) Key

Key function returns key value.

func (ListResourcesRequestValidationError) Reason

Reason function returns reason value.

type ListResourcesResponse

type ListResourcesResponse struct {
	Resources []*structpb.Struct `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	Count     int64              `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetCount

func (x *ListResourcesResponse) GetCount() int64

func (*ListResourcesResponse) GetResources

func (x *ListResourcesResponse) GetResources() []*structpb.Struct

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

func (*ListResourcesResponse) Validate

func (m *ListResourcesResponse) Validate() error

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

func (m *ListResourcesResponse) ValidateAll() error

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

type ListResourcesResponseMultiError

type ListResourcesResponseMultiError []error

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

func (ListResourcesResponseMultiError) AllErrors

func (m ListResourcesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListResourcesResponseMultiError) Error

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

type ListResourcesResponseValidationError

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

ListResourcesResponseValidationError is the validation error returned by ListResourcesResponse.Validate if the designated constraints aren't met.

func (ListResourcesResponseValidationError) Cause

Cause function returns cause value.

func (ListResourcesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListResourcesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListResourcesResponseValidationError) Field

Field function returns field value.

func (ListResourcesResponseValidationError) Key

Key function returns key value.

func (ListResourcesResponseValidationError) Reason

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

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

func (m *LoginRequest) ValidateAll() error

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

type LoginRequestMultiError

type LoginRequestMultiError []error

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

func (LoginRequestMultiError) AllErrors

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error

func (m LoginRequestMultiError) Error() string

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

type LoginRequestValidationError

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

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type LoginResponse

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

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

func (*LoginResponse) Validate

func (m *LoginResponse) Validate() error

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

func (m *LoginResponse) ValidateAll() error

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

type LoginResponseMultiError

type LoginResponseMultiError []error

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

func (LoginResponseMultiError) AllErrors

func (m LoginResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginResponseMultiError) Error

func (m LoginResponseMultiError) Error() string

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

type LoginResponseValidationError

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

LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.

func (LoginResponseValidationError) Cause

Cause function returns cause value.

func (LoginResponseValidationError) Error

Error satisfies the builtin error interface

func (LoginResponseValidationError) ErrorName

func (e LoginResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LoginResponseValidationError) Field

Field function returns field value.

func (LoginResponseValidationError) Key

Key function returns key value.

func (LoginResponseValidationError) Reason

Reason function returns reason value.

type ResourceServiceClient

type ResourceServiceClient interface {
	// ListResources ...
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// CreateResource ...
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error)
	// GetResource ...
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error)
	// UpdateResource ...
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error)
	// DeleteResource ...
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetResourceRelation ...
	GetResourceRelation(ctx context.Context, in *GetResourceRelationRequest, opts ...grpc.CallOption) (*GetResourceRelationResponse, error)
}

ResourceServiceClient is the client API for ResourceService 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 ResourceServiceServer

type ResourceServiceServer interface {
	// ListResources ...
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// CreateResource ...
	CreateResource(context.Context, *CreateResourceRequest) (*CreateResourceResponse, error)
	// GetResource ...
	GetResource(context.Context, *GetResourceRequest) (*GetResourceResponse, error)
	// UpdateResource ...
	UpdateResource(context.Context, *UpdateResourceRequest) (*UpdateResourceResponse, error)
	// DeleteResource ...
	DeleteResource(context.Context, *DeleteResourceRequest) (*emptypb.Empty, error)
	// GetResourceRelation ...
	GetResourceRelation(context.Context, *GetResourceRelationRequest) (*GetResourceRelationResponse, error)
	// contains filtered or unexported methods
}

ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility.

type SchemaServiceClient

type SchemaServiceClient interface {
	// GetSchema ...
	GetSchema(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSchemaResponse, error)
}

SchemaServiceClient is the client API for SchemaService 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 SchemaServiceServer

type SchemaServiceServer interface {
	// GetSchema ...
	GetSchema(context.Context, *emptypb.Empty) (*GetSchemaResponse, error)
	// contains filtered or unexported methods
}

SchemaServiceServer is the server API for SchemaService service. All implementations must embed UnimplementedSchemaServiceServer for forward compatibility.

type UnimplementedAuthenticationServiceServer

type UnimplementedAuthenticationServiceServer struct{}

UnimplementedAuthenticationServiceServer 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 (UnimplementedAuthenticationServiceServer) CreateAccount

func (UnimplementedAuthenticationServiceServer) GetAccount

func (UnimplementedAuthenticationServiceServer) Login

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct{}

UnimplementedResourceServiceServer 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 (UnimplementedResourceServiceServer) CreateResource

func (UnimplementedResourceServiceServer) DeleteResource

func (UnimplementedResourceServiceServer) GetResource

func (UnimplementedResourceServiceServer) GetResourceRelation

func (UnimplementedResourceServiceServer) ListResources

func (UnimplementedResourceServiceServer) UpdateResource

type UnimplementedSchemaServiceServer

type UnimplementedSchemaServiceServer struct{}

UnimplementedSchemaServiceServer 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 (UnimplementedSchemaServiceServer) GetSchema

type UnsafeAuthenticationServiceServer

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

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

type UnsafeResourceServiceServer

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

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

type UnsafeSchemaServiceServer

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

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

type UpdateResourceRequest

type UpdateResourceRequest struct {
	Resource string           `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Key      string           `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Data     *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetData

func (x *UpdateResourceRequest) GetData() *structpb.Struct

func (*UpdateResourceRequest) GetKey

func (x *UpdateResourceRequest) GetKey() string

func (*UpdateResourceRequest) GetResource

func (x *UpdateResourceRequest) GetResource() string

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

func (*UpdateResourceRequest) Validate

func (m *UpdateResourceRequest) Validate() error

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

func (*UpdateResourceRequest) ValidateAll

func (m *UpdateResourceRequest) ValidateAll() error

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

type UpdateResourceRequestMultiError

type UpdateResourceRequestMultiError []error

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

func (UpdateResourceRequestMultiError) AllErrors

func (m UpdateResourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResourceRequestMultiError) Error

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

type UpdateResourceRequestValidationError

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

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

func (UpdateResourceRequestValidationError) Cause

Cause function returns cause value.

func (UpdateResourceRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateResourceRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateResourceRequestValidationError) Field

Field function returns field value.

func (UpdateResourceRequestValidationError) Key

Key function returns key value.

func (UpdateResourceRequestValidationError) Reason

Reason function returns reason value.

type UpdateResourceResponse

type UpdateResourceResponse struct {
	Resource *structpb.Struct `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceResponse) Descriptor deprecated

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

Deprecated: Use UpdateResourceResponse.ProtoReflect.Descriptor instead.

func (*UpdateResourceResponse) GetResource

func (x *UpdateResourceResponse) GetResource() *structpb.Struct

func (*UpdateResourceResponse) ProtoMessage

func (*UpdateResourceResponse) ProtoMessage()

func (*UpdateResourceResponse) ProtoReflect

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

func (*UpdateResourceResponse) Reset

func (x *UpdateResourceResponse) Reset()

func (*UpdateResourceResponse) String

func (x *UpdateResourceResponse) String() string

func (*UpdateResourceResponse) Validate

func (m *UpdateResourceResponse) Validate() error

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

func (m *UpdateResourceResponse) ValidateAll() error

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

type UpdateResourceResponseMultiError

type UpdateResourceResponseMultiError []error

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

func (UpdateResourceResponseMultiError) AllErrors

func (m UpdateResourceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResourceResponseMultiError) Error

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

type UpdateResourceResponseValidationError

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

UpdateResourceResponseValidationError is the validation error returned by UpdateResourceResponse.Validate if the designated constraints aren't met.

func (UpdateResourceResponseValidationError) Cause

Cause function returns cause value.

func (UpdateResourceResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateResourceResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateResourceResponseValidationError) Field

Field function returns field value.

func (UpdateResourceResponseValidationError) Key

Key function returns key value.

func (UpdateResourceResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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