v1alpha1

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package v1alpha1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	CatalogService_CreateUpdateCatalog_FullMethodName = "/tracker.catalog.v1alpha1.CatalogService/CreateUpdateCatalog"
	CatalogService_GetCatalog_FullMethodName          = "/tracker.catalog.v1alpha1.CatalogService/GetCatalog"
	CatalogService_DeleteCatalog_FullMethodName       = "/tracker.catalog.v1alpha1.CatalogService/DeleteCatalog"
	CatalogService_ListCatalogs_FullMethodName        = "/tracker.catalog.v1alpha1.CatalogService/ListCatalogs"
)

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "module",
		2: "library",
		3: "workflow",
		4: "project",
		5: "chart",
		6: "package",
		7: "container",
	}
	Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"module":           1,
		"library":          2,
		"workflow":         3,
		"project":          4,
		"chart":            5,
		"package":          6,
		"container":        7,
	}
)

Enum value maps for Type.

View Source
var (
	Languages_name = map[int32]string{
		0: "LANGUAGES_UNSPECIFIED",
		1: "golang",
		2: "kotlin",
		3: "java",
		4: "terraform",
		5: "helm",
		6: "javascript",
		7: "yaml",
		8: "docker",
	}
	Languages_value = map[string]int32{
		"LANGUAGES_UNSPECIFIED": 0,
		"golang":                1,
		"kotlin":                2,
		"java":                  3,
		"terraform":             4,
		"helm":                  5,
		"javascript":            6,
		"yaml":                  7,
		"docker":                8,
	}
)

Enum value maps for Languages.

View Source
var CatalogService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tracker.catalog.v1alpha1.CatalogService",
	HandlerType: (*CatalogServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUpdateCatalog",
			Handler:    _CatalogService_CreateUpdateCatalog_Handler,
		},
		{
			MethodName: "GetCatalog",
			Handler:    _CatalogService_GetCatalog_Handler,
		},
		{
			MethodName: "DeleteCatalog",
			Handler:    _CatalogService_DeleteCatalog_Handler,
		},
		{
			MethodName: "ListCatalogs",
			Handler:    _CatalogService_ListCatalogs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/catalog/v1alpha1/catalog.proto",
}

CatalogService_ServiceDesc is the grpc.ServiceDesc for CatalogService 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_proto_catalog_v1alpha1_catalog_proto protoreflect.FileDescriptor

Functions

func RegisterCatalogServiceHandler

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

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

func RegisterCatalogServiceHandlerClient

func RegisterCatalogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CatalogServiceClient) error

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

func RegisterCatalogServiceHandlerFromEndpoint

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

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

func RegisterCatalogServiceHandlerServer

func RegisterCatalogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CatalogServiceServer) error

RegisterCatalogServiceHandlerServer registers the http handlers for service CatalogService to "mux". UnaryRPC :call CatalogServiceServer 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 RegisterCatalogServiceHandlerFromEndpoint 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 RegisterCatalogServiceServer

func RegisterCatalogServiceServer(s grpc.ServiceRegistrar, srv CatalogServiceServer)

Types

type Catalog

type Catalog struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type        Type                   `protobuf:"varint,2,opt,name=type,proto3,enum=tracker.catalog.v1alpha1.Type" json:"type,omitempty"`
	Languages   Languages              `protobuf:"varint,3,opt,name=languages,proto3,enum=tracker.catalog.v1alpha1.Languages" json:"languages,omitempty"`
	Owner       string                 `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Version     string                 `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Link        string                 `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"`
	Description string                 `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	Repository  string                 `protobuf:"bytes,8,opt,name=repository,proto3" json:"repository,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Catalog) Descriptor deprecated

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

Deprecated: Use Catalog.ProtoReflect.Descriptor instead.

func (*Catalog) GetCreatedAt

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

func (*Catalog) GetDescription

func (x *Catalog) GetDescription() string

func (*Catalog) GetLanguages

func (x *Catalog) GetLanguages() Languages
func (x *Catalog) GetLink() string

func (*Catalog) GetName

func (x *Catalog) GetName() string

func (*Catalog) GetOwner

func (x *Catalog) GetOwner() string

func (*Catalog) GetRepository

func (x *Catalog) GetRepository() string

func (*Catalog) GetType

func (x *Catalog) GetType() Type

func (*Catalog) GetUpdatedAt

func (x *Catalog) GetUpdatedAt() *timestamppb.Timestamp

func (*Catalog) GetVersion

func (x *Catalog) GetVersion() string

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) ProtoReflect

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

func (*Catalog) Reset

func (x *Catalog) Reset()

func (*Catalog) String

func (x *Catalog) String() string

func (*Catalog) Validate

func (m *Catalog) Validate() error

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

func (m *Catalog) ValidateAll() error

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

type CatalogMultiError

type CatalogMultiError []error

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

func (CatalogMultiError) AllErrors

func (m CatalogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CatalogMultiError) Error

func (m CatalogMultiError) Error() string

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

type CatalogServiceClient

type CatalogServiceClient interface {
	CreateUpdateCatalog(ctx context.Context, in *CreateUpdateCatalogRequest, opts ...grpc.CallOption) (*CreateUpdateCatalogResponse, error)
	GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*GetCatalogResponse, error)
	DeleteCatalog(ctx context.Context, in *DeleteCatalogRequest, opts ...grpc.CallOption) (*DeleteCatalogResponse, error)
	ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error)
}

CatalogServiceClient is the client API for CatalogService 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 CatalogServiceServer

type CatalogServiceServer interface {
	CreateUpdateCatalog(context.Context, *CreateUpdateCatalogRequest) (*CreateUpdateCatalogResponse, error)
	GetCatalog(context.Context, *GetCatalogRequest) (*GetCatalogResponse, error)
	DeleteCatalog(context.Context, *DeleteCatalogRequest) (*DeleteCatalogResponse, error)
	ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
	// contains filtered or unexported methods
}

CatalogServiceServer is the server API for CatalogService service. All implementations must embed UnimplementedCatalogServiceServer for forward compatibility.

type CatalogValidationError

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

CatalogValidationError is the validation error returned by Catalog.Validate if the designated constraints aren't met.

func (CatalogValidationError) Cause

func (e CatalogValidationError) Cause() error

Cause function returns cause value.

func (CatalogValidationError) Error

func (e CatalogValidationError) Error() string

Error satisfies the builtin error interface

func (CatalogValidationError) ErrorName

func (e CatalogValidationError) ErrorName() string

ErrorName returns error name.

func (CatalogValidationError) Field

func (e CatalogValidationError) Field() string

Field function returns field value.

func (CatalogValidationError) Key

func (e CatalogValidationError) Key() bool

Key function returns key value.

func (CatalogValidationError) Reason

func (e CatalogValidationError) Reason() string

Reason function returns reason value.

type CreateUpdateCatalogRequest

type CreateUpdateCatalogRequest struct {
	Name        string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type        Type                   `protobuf:"varint,2,opt,name=type,proto3,enum=tracker.catalog.v1alpha1.Type" json:"type,omitempty"`
	Languages   Languages              `protobuf:"varint,3,opt,name=languages,proto3,enum=tracker.catalog.v1alpha1.Languages" json:"languages,omitempty"`
	Owner       string                 `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Version     string                 `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	Link        string                 `protobuf:"bytes,6,opt,name=link,proto3" json:"link,omitempty"`
	Description string                 `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	Repository  string                 `protobuf:"bytes,8,opt,name=repository,proto3" json:"repository,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUpdateCatalogRequest) Descriptor deprecated

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

Deprecated: Use CreateUpdateCatalogRequest.ProtoReflect.Descriptor instead.

func (*CreateUpdateCatalogRequest) GetCreatedAt

func (*CreateUpdateCatalogRequest) GetDescription

func (x *CreateUpdateCatalogRequest) GetDescription() string

func (*CreateUpdateCatalogRequest) GetLanguages

func (x *CreateUpdateCatalogRequest) GetLanguages() Languages
func (x *CreateUpdateCatalogRequest) GetLink() string

func (*CreateUpdateCatalogRequest) GetName

func (x *CreateUpdateCatalogRequest) GetName() string

func (*CreateUpdateCatalogRequest) GetOwner

func (x *CreateUpdateCatalogRequest) GetOwner() string

func (*CreateUpdateCatalogRequest) GetRepository

func (x *CreateUpdateCatalogRequest) GetRepository() string

func (*CreateUpdateCatalogRequest) GetType

func (x *CreateUpdateCatalogRequest) GetType() Type

func (*CreateUpdateCatalogRequest) GetUpdatedAt

func (*CreateUpdateCatalogRequest) GetVersion

func (x *CreateUpdateCatalogRequest) GetVersion() string

func (*CreateUpdateCatalogRequest) ProtoMessage

func (*CreateUpdateCatalogRequest) ProtoMessage()

func (*CreateUpdateCatalogRequest) ProtoReflect

func (*CreateUpdateCatalogRequest) Reset

func (x *CreateUpdateCatalogRequest) Reset()

func (*CreateUpdateCatalogRequest) String

func (x *CreateUpdateCatalogRequest) String() string

func (*CreateUpdateCatalogRequest) Validate

func (m *CreateUpdateCatalogRequest) Validate() error

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

func (m *CreateUpdateCatalogRequest) ValidateAll() error

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

type CreateUpdateCatalogRequestMultiError

type CreateUpdateCatalogRequestMultiError []error

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

func (CreateUpdateCatalogRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateUpdateCatalogRequestMultiError) Error

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

type CreateUpdateCatalogRequestValidationError

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

CreateUpdateCatalogRequestValidationError is the validation error returned by CreateUpdateCatalogRequest.Validate if the designated constraints aren't met.

func (CreateUpdateCatalogRequestValidationError) Cause

Cause function returns cause value.

func (CreateUpdateCatalogRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUpdateCatalogRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUpdateCatalogRequestValidationError) Field

Field function returns field value.

func (CreateUpdateCatalogRequestValidationError) Key

Key function returns key value.

func (CreateUpdateCatalogRequestValidationError) Reason

Reason function returns reason value.

type CreateUpdateCatalogResponse

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

func (*CreateUpdateCatalogResponse) Descriptor deprecated

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

Deprecated: Use CreateUpdateCatalogResponse.ProtoReflect.Descriptor instead.

func (*CreateUpdateCatalogResponse) GetCatalog

func (x *CreateUpdateCatalogResponse) GetCatalog() *Catalog

func (*CreateUpdateCatalogResponse) ProtoMessage

func (*CreateUpdateCatalogResponse) ProtoMessage()

func (*CreateUpdateCatalogResponse) ProtoReflect

func (*CreateUpdateCatalogResponse) Reset

func (x *CreateUpdateCatalogResponse) Reset()

func (*CreateUpdateCatalogResponse) String

func (x *CreateUpdateCatalogResponse) String() string

func (*CreateUpdateCatalogResponse) Validate

func (m *CreateUpdateCatalogResponse) Validate() error

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

func (m *CreateUpdateCatalogResponse) ValidateAll() error

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

type CreateUpdateCatalogResponseMultiError

type CreateUpdateCatalogResponseMultiError []error

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

func (CreateUpdateCatalogResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateUpdateCatalogResponseMultiError) Error

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

type CreateUpdateCatalogResponseValidationError

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

CreateUpdateCatalogResponseValidationError is the validation error returned by CreateUpdateCatalogResponse.Validate if the designated constraints aren't met.

func (CreateUpdateCatalogResponseValidationError) Cause

Cause function returns cause value.

func (CreateUpdateCatalogResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateUpdateCatalogResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateUpdateCatalogResponseValidationError) Field

Field function returns field value.

func (CreateUpdateCatalogResponseValidationError) Key

Key function returns key value.

func (CreateUpdateCatalogResponseValidationError) Reason

Reason function returns reason value.

type DeleteCatalogRequest

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

func (*DeleteCatalogRequest) Descriptor deprecated

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

Deprecated: Use DeleteCatalogRequest.ProtoReflect.Descriptor instead.

func (*DeleteCatalogRequest) GetName

func (x *DeleteCatalogRequest) GetName() string

func (*DeleteCatalogRequest) ProtoMessage

func (*DeleteCatalogRequest) ProtoMessage()

func (*DeleteCatalogRequest) ProtoReflect

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

func (*DeleteCatalogRequest) Reset

func (x *DeleteCatalogRequest) Reset()

func (*DeleteCatalogRequest) String

func (x *DeleteCatalogRequest) String() string

func (*DeleteCatalogRequest) Validate

func (m *DeleteCatalogRequest) Validate() error

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

func (m *DeleteCatalogRequest) ValidateAll() error

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

type DeleteCatalogRequestMultiError

type DeleteCatalogRequestMultiError []error

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

func (DeleteCatalogRequestMultiError) AllErrors

func (m DeleteCatalogRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCatalogRequestMultiError) Error

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

type DeleteCatalogRequestValidationError

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

DeleteCatalogRequestValidationError is the validation error returned by DeleteCatalogRequest.Validate if the designated constraints aren't met.

func (DeleteCatalogRequestValidationError) Cause

Cause function returns cause value.

func (DeleteCatalogRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteCatalogRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteCatalogRequestValidationError) Field

Field function returns field value.

func (DeleteCatalogRequestValidationError) Key

Key function returns key value.

func (DeleteCatalogRequestValidationError) Reason

Reason function returns reason value.

type DeleteCatalogResponse

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

func (*DeleteCatalogResponse) Descriptor deprecated

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

Deprecated: Use DeleteCatalogResponse.ProtoReflect.Descriptor instead.

func (*DeleteCatalogResponse) GetMessage

func (x *DeleteCatalogResponse) GetMessage() string

func (*DeleteCatalogResponse) GetName

func (x *DeleteCatalogResponse) GetName() string

func (*DeleteCatalogResponse) ProtoMessage

func (*DeleteCatalogResponse) ProtoMessage()

func (*DeleteCatalogResponse) ProtoReflect

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

func (*DeleteCatalogResponse) Reset

func (x *DeleteCatalogResponse) Reset()

func (*DeleteCatalogResponse) String

func (x *DeleteCatalogResponse) String() string

func (*DeleteCatalogResponse) Validate

func (m *DeleteCatalogResponse) Validate() error

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

func (m *DeleteCatalogResponse) ValidateAll() error

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

type DeleteCatalogResponseMultiError

type DeleteCatalogResponseMultiError []error

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

func (DeleteCatalogResponseMultiError) AllErrors

func (m DeleteCatalogResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteCatalogResponseMultiError) Error

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

type DeleteCatalogResponseValidationError

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

DeleteCatalogResponseValidationError is the validation error returned by DeleteCatalogResponse.Validate if the designated constraints aren't met.

func (DeleteCatalogResponseValidationError) Cause

Cause function returns cause value.

func (DeleteCatalogResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteCatalogResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteCatalogResponseValidationError) Field

Field function returns field value.

func (DeleteCatalogResponseValidationError) Key

Key function returns key value.

func (DeleteCatalogResponseValidationError) Reason

Reason function returns reason value.

type GetCatalogRequest

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

func (*GetCatalogRequest) Descriptor deprecated

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

Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.

func (*GetCatalogRequest) GetName

func (x *GetCatalogRequest) GetName() string

func (*GetCatalogRequest) ProtoMessage

func (*GetCatalogRequest) ProtoMessage()

func (*GetCatalogRequest) ProtoReflect

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

func (*GetCatalogRequest) Reset

func (x *GetCatalogRequest) Reset()

func (*GetCatalogRequest) String

func (x *GetCatalogRequest) String() string

func (*GetCatalogRequest) Validate

func (m *GetCatalogRequest) Validate() error

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

func (m *GetCatalogRequest) ValidateAll() error

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

type GetCatalogRequestMultiError

type GetCatalogRequestMultiError []error

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

func (GetCatalogRequestMultiError) AllErrors

func (m GetCatalogRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCatalogRequestMultiError) Error

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

type GetCatalogRequestValidationError

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

GetCatalogRequestValidationError is the validation error returned by GetCatalogRequest.Validate if the designated constraints aren't met.

func (GetCatalogRequestValidationError) Cause

Cause function returns cause value.

func (GetCatalogRequestValidationError) Error

Error satisfies the builtin error interface

func (GetCatalogRequestValidationError) ErrorName

ErrorName returns error name.

func (GetCatalogRequestValidationError) Field

Field function returns field value.

func (GetCatalogRequestValidationError) Key

Key function returns key value.

func (GetCatalogRequestValidationError) Reason

Reason function returns reason value.

type GetCatalogResponse

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

func (*GetCatalogResponse) Descriptor deprecated

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

Deprecated: Use GetCatalogResponse.ProtoReflect.Descriptor instead.

func (*GetCatalogResponse) GetCatalog

func (x *GetCatalogResponse) GetCatalog() *Catalog

func (*GetCatalogResponse) ProtoMessage

func (*GetCatalogResponse) ProtoMessage()

func (*GetCatalogResponse) ProtoReflect

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

func (*GetCatalogResponse) Reset

func (x *GetCatalogResponse) Reset()

func (*GetCatalogResponse) String

func (x *GetCatalogResponse) String() string

func (*GetCatalogResponse) Validate

func (m *GetCatalogResponse) Validate() error

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

func (m *GetCatalogResponse) ValidateAll() error

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

type GetCatalogResponseMultiError

type GetCatalogResponseMultiError []error

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

func (GetCatalogResponseMultiError) AllErrors

func (m GetCatalogResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetCatalogResponseMultiError) Error

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

type GetCatalogResponseValidationError

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

GetCatalogResponseValidationError is the validation error returned by GetCatalogResponse.Validate if the designated constraints aren't met.

func (GetCatalogResponseValidationError) Cause

Cause function returns cause value.

func (GetCatalogResponseValidationError) Error

Error satisfies the builtin error interface

func (GetCatalogResponseValidationError) ErrorName

ErrorName returns error name.

func (GetCatalogResponseValidationError) Field

Field function returns field value.

func (GetCatalogResponseValidationError) Key

Key function returns key value.

func (GetCatalogResponseValidationError) Reason

Reason function returns reason value.

type Languages

type Languages int32
const (
	Languages_LANGUAGES_UNSPECIFIED Languages = 0
	Languages_golang                Languages = 1
	Languages_kotlin                Languages = 2
	Languages_java                  Languages = 3
	Languages_terraform             Languages = 4
	Languages_helm                  Languages = 5
	Languages_javascript            Languages = 6
	Languages_yaml                  Languages = 7
	Languages_docker                Languages = 8
)

func (Languages) Descriptor

func (Languages) Descriptor() protoreflect.EnumDescriptor

func (Languages) Enum

func (x Languages) Enum() *Languages

func (Languages) EnumDescriptor deprecated

func (Languages) EnumDescriptor() ([]byte, []int)

Deprecated: Use Languages.Descriptor instead.

func (Languages) Number

func (x Languages) Number() protoreflect.EnumNumber

func (Languages) String

func (x Languages) String() string

func (Languages) Type

type ListCatalogsRequest

type ListCatalogsRequest struct {
	PerPage *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
	Page    *wrapperspb.Int32Value  `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCatalogsRequest) Descriptor deprecated

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

Deprecated: Use ListCatalogsRequest.ProtoReflect.Descriptor instead.

func (*ListCatalogsRequest) GetPage

func (*ListCatalogsRequest) GetPerPage

func (x *ListCatalogsRequest) GetPerPage() *wrapperspb.UInt32Value

func (*ListCatalogsRequest) ProtoMessage

func (*ListCatalogsRequest) ProtoMessage()

func (*ListCatalogsRequest) ProtoReflect

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

func (*ListCatalogsRequest) Reset

func (x *ListCatalogsRequest) Reset()

func (*ListCatalogsRequest) String

func (x *ListCatalogsRequest) String() string

func (*ListCatalogsRequest) Validate

func (m *ListCatalogsRequest) Validate() error

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

func (m *ListCatalogsRequest) ValidateAll() error

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

type ListCatalogsRequestMultiError

type ListCatalogsRequestMultiError []error

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

func (ListCatalogsRequestMultiError) AllErrors

func (m ListCatalogsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCatalogsRequestMultiError) Error

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

type ListCatalogsRequestValidationError

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

ListCatalogsRequestValidationError is the validation error returned by ListCatalogsRequest.Validate if the designated constraints aren't met.

func (ListCatalogsRequestValidationError) Cause

Cause function returns cause value.

func (ListCatalogsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListCatalogsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListCatalogsRequestValidationError) Field

Field function returns field value.

func (ListCatalogsRequestValidationError) Key

Key function returns key value.

func (ListCatalogsRequestValidationError) Reason

Reason function returns reason value.

type ListCatalogsResponse

type ListCatalogsResponse struct {
	Catalogs   []*Catalog `protobuf:"bytes,1,rep,name=catalogs,proto3" json:"catalogs,omitempty"`
	TotalCount uint32     `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCatalogsResponse) Descriptor deprecated

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

Deprecated: Use ListCatalogsResponse.ProtoReflect.Descriptor instead.

func (*ListCatalogsResponse) GetCatalogs

func (x *ListCatalogsResponse) GetCatalogs() []*Catalog

func (*ListCatalogsResponse) GetTotalCount

func (x *ListCatalogsResponse) GetTotalCount() uint32

func (*ListCatalogsResponse) ProtoMessage

func (*ListCatalogsResponse) ProtoMessage()

func (*ListCatalogsResponse) ProtoReflect

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

func (*ListCatalogsResponse) Reset

func (x *ListCatalogsResponse) Reset()

func (*ListCatalogsResponse) String

func (x *ListCatalogsResponse) String() string

func (*ListCatalogsResponse) Validate

func (m *ListCatalogsResponse) Validate() error

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

func (m *ListCatalogsResponse) ValidateAll() error

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

type ListCatalogsResponseMultiError

type ListCatalogsResponseMultiError []error

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

func (ListCatalogsResponseMultiError) AllErrors

func (m ListCatalogsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListCatalogsResponseMultiError) Error

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

type ListCatalogsResponseValidationError

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

ListCatalogsResponseValidationError is the validation error returned by ListCatalogsResponse.Validate if the designated constraints aren't met.

func (ListCatalogsResponseValidationError) Cause

Cause function returns cause value.

func (ListCatalogsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListCatalogsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListCatalogsResponseValidationError) Field

Field function returns field value.

func (ListCatalogsResponseValidationError) Key

Key function returns key value.

func (ListCatalogsResponseValidationError) Reason

Reason function returns reason value.

type Type

type Type int32
const (
	Type_TYPE_UNSPECIFIED Type = 0
	Type_module           Type = 1
	Type_library          Type = 2
	Type_workflow         Type = 3
	Type_project          Type = 4
	Type_chart            Type = 5
	Type_package          Type = 6
	Type_container        Type = 7
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type UnimplementedCatalogServiceServer

type UnimplementedCatalogServiceServer struct{}

UnimplementedCatalogServiceServer 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 (UnimplementedCatalogServiceServer) CreateUpdateCatalog

func (UnimplementedCatalogServiceServer) DeleteCatalog

func (UnimplementedCatalogServiceServer) GetCatalog

func (UnimplementedCatalogServiceServer) ListCatalogs

type UnsafeCatalogServiceServer

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

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

Jump to

Keyboard shortcuts

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