registry

package
v0.8.65 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Overview

Package registry is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Registry_ListOrgs_FullMethodName                   = "/aserto.tenant.registry.v1.Registry/ListOrgs"
	Registry_ListRegistryRepos_FullMethodName          = "/aserto.tenant.registry.v1.Registry/ListRegistryRepos"
	Registry_DeleteRegistryRepo_FullMethodName         = "/aserto.tenant.registry.v1.Registry/DeleteRegistryRepo"
	Registry_ListRegistryRepoTags_FullMethodName       = "/aserto.tenant.registry.v1.Registry/ListRegistryRepoTags"
	Registry_ListRegistryRepoDigests_FullMethodName    = "/aserto.tenant.registry.v1.Registry/ListRegistryRepoDigests"
	Registry_GetRegistryRepoTag_FullMethodName         = "/aserto.tenant.registry.v1.Registry/GetRegistryRepoTag"
	Registry_CreateRegistryRepo_FullMethodName         = "/aserto.tenant.registry.v1.Registry/CreateRegistryRepo"
	Registry_RegistryRepoAvailable_FullMethodName      = "/aserto.tenant.registry.v1.Registry/RegistryRepoAvailable"
	Registry_ValidPolicyRegistryRepoTag_FullMethodName = "/aserto.tenant.registry.v1.Registry/ValidPolicyRegistryRepoTag"
	Registry_CloneRepo_FullMethodName                  = "/aserto.tenant.registry.v1.Registry/CloneRepo"
)

Variables

View Source
var File_aserto_tenant_registry_v1_registry_proto protoreflect.FileDescriptor
View Source
var Registry_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "aserto.tenant.registry.v1.Registry",
	HandlerType: (*RegistryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListOrgs",
			Handler:    _Registry_ListOrgs_Handler,
		},
		{
			MethodName: "ListRegistryRepos",
			Handler:    _Registry_ListRegistryRepos_Handler,
		},
		{
			MethodName: "DeleteRegistryRepo",
			Handler:    _Registry_DeleteRegistryRepo_Handler,
		},
		{
			MethodName: "ListRegistryRepoTags",
			Handler:    _Registry_ListRegistryRepoTags_Handler,
		},
		{
			MethodName: "ListRegistryRepoDigests",
			Handler:    _Registry_ListRegistryRepoDigests_Handler,
		},
		{
			MethodName: "GetRegistryRepoTag",
			Handler:    _Registry_GetRegistryRepoTag_Handler,
		},
		{
			MethodName: "CreateRegistryRepo",
			Handler:    _Registry_CreateRegistryRepo_Handler,
		},
		{
			MethodName: "RegistryRepoAvailable",
			Handler:    _Registry_RegistryRepoAvailable_Handler,
		},
		{
			MethodName: "ValidPolicyRegistryRepoTag",
			Handler:    _Registry_ValidPolicyRegistryRepoTag_Handler,
		},
		{
			MethodName: "CloneRepo",
			Handler:    _Registry_CloneRepo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "aserto/tenant/registry/v1/registry.proto",
}

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

Functions

func RegisterRegistryHandler

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

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

func RegisterRegistryHandlerClient

func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error

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

func RegisterRegistryHandlerFromEndpoint

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

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

func RegisterRegistryHandlerServer

func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error

RegisterRegistryHandlerServer registers the http handlers for service Registry to "mux". UnaryRPC :call RegistryServer 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 RegisterRegistryHandlerFromEndpoint instead.

func RegisterRegistryServer

func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)

Types

type CloneRepoRequest added in v0.8.17

type CloneRepoRequest struct {
	ConnectionId            string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	SourceOrg               string `protobuf:"bytes,2,opt,name=source_org,json=sourceOrg,proto3" json:"source_org,omitempty"`
	SourceRepo              string `protobuf:"bytes,3,opt,name=source_repo,json=sourceRepo,proto3" json:"source_repo,omitempty"`
	SourceTag               string `protobuf:"bytes,4,opt,name=source_tag,json=sourceTag,proto3" json:"source_tag,omitempty"`
	DestinationConnectionId string `` /* 132-byte string literal not displayed */
	DestinationOrg          string `protobuf:"bytes,6,opt,name=destination_org,json=destinationOrg,proto3" json:"destination_org,omitempty"`
	DestinationRepo         string `protobuf:"bytes,7,opt,name=destination_repo,json=destinationRepo,proto3" json:"destination_repo,omitempty"`
	DestinationTag          string `protobuf:"bytes,8,opt,name=destination_tag,json=destinationTag,proto3" json:"destination_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*CloneRepoRequest) Descriptor deprecated added in v0.8.17

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

Deprecated: Use CloneRepoRequest.ProtoReflect.Descriptor instead.

func (*CloneRepoRequest) GetConnectionId added in v0.8.17

func (x *CloneRepoRequest) GetConnectionId() string

func (*CloneRepoRequest) GetDestinationConnectionId added in v0.8.17

func (x *CloneRepoRequest) GetDestinationConnectionId() string

func (*CloneRepoRequest) GetDestinationOrg added in v0.8.17

func (x *CloneRepoRequest) GetDestinationOrg() string

func (*CloneRepoRequest) GetDestinationRepo added in v0.8.17

func (x *CloneRepoRequest) GetDestinationRepo() string

func (*CloneRepoRequest) GetDestinationTag added in v0.8.17

func (x *CloneRepoRequest) GetDestinationTag() string

func (*CloneRepoRequest) GetSourceOrg added in v0.8.17

func (x *CloneRepoRequest) GetSourceOrg() string

func (*CloneRepoRequest) GetSourceRepo added in v0.8.17

func (x *CloneRepoRequest) GetSourceRepo() string

func (*CloneRepoRequest) GetSourceTag added in v0.8.17

func (x *CloneRepoRequest) GetSourceTag() string

func (*CloneRepoRequest) ProtoMessage added in v0.8.17

func (*CloneRepoRequest) ProtoMessage()

func (*CloneRepoRequest) ProtoReflect added in v0.8.17

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

func (*CloneRepoRequest) Reset added in v0.8.17

func (x *CloneRepoRequest) Reset()

func (*CloneRepoRequest) String added in v0.8.17

func (x *CloneRepoRequest) String() string

type CloneRepoResponse added in v0.8.17

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

func (*CloneRepoResponse) Descriptor deprecated added in v0.8.17

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

Deprecated: Use CloneRepoResponse.ProtoReflect.Descriptor instead.

func (*CloneRepoResponse) ProtoMessage added in v0.8.17

func (*CloneRepoResponse) ProtoMessage()

func (*CloneRepoResponse) ProtoReflect added in v0.8.17

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

func (*CloneRepoResponse) Reset added in v0.8.17

func (x *CloneRepoResponse) Reset()

func (*CloneRepoResponse) String added in v0.8.17

func (x *CloneRepoResponse) String() string

type CreateRegistryRepoRequest added in v0.8.0

type CreateRegistryRepoRequest struct {
	ConnectionId string           `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRegistryRepoRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CreateRegistryRepoRequest.ProtoReflect.Descriptor instead.

func (*CreateRegistryRepoRequest) GetConnectionId added in v0.8.0

func (x *CreateRegistryRepoRequest) GetConnectionId() string

func (*CreateRegistryRepoRequest) GetRepo added in v0.8.0

func (*CreateRegistryRepoRequest) ProtoMessage added in v0.8.0

func (*CreateRegistryRepoRequest) ProtoMessage()

func (*CreateRegistryRepoRequest) ProtoReflect added in v0.8.0

func (*CreateRegistryRepoRequest) Reset added in v0.8.0

func (x *CreateRegistryRepoRequest) Reset()

func (*CreateRegistryRepoRequest) String added in v0.8.0

func (x *CreateRegistryRepoRequest) String() string

type CreateRegistryRepoResponse added in v0.8.0

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

func (*CreateRegistryRepoResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use CreateRegistryRepoResponse.ProtoReflect.Descriptor instead.

func (*CreateRegistryRepoResponse) ProtoMessage added in v0.8.0

func (*CreateRegistryRepoResponse) ProtoMessage()

func (*CreateRegistryRepoResponse) ProtoReflect added in v0.8.0

func (*CreateRegistryRepoResponse) Reset added in v0.8.0

func (x *CreateRegistryRepoResponse) Reset()

func (*CreateRegistryRepoResponse) String added in v0.8.0

func (x *CreateRegistryRepoResponse) String() string

type DeleteRegistryRepoRequest added in v0.8.0

type DeleteRegistryRepoRequest struct {
	ConnectionId string           `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Tag          string           `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRegistryRepoRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteRegistryRepoRequest.ProtoReflect.Descriptor instead.

func (*DeleteRegistryRepoRequest) GetConnectionId added in v0.8.0

func (x *DeleteRegistryRepoRequest) GetConnectionId() string

func (*DeleteRegistryRepoRequest) GetRepo added in v0.8.0

func (*DeleteRegistryRepoRequest) GetTag added in v0.8.0

func (x *DeleteRegistryRepoRequest) GetTag() string

func (*DeleteRegistryRepoRequest) ProtoMessage added in v0.8.0

func (*DeleteRegistryRepoRequest) ProtoMessage()

func (*DeleteRegistryRepoRequest) ProtoReflect added in v0.8.0

func (*DeleteRegistryRepoRequest) Reset added in v0.8.0

func (x *DeleteRegistryRepoRequest) Reset()

func (*DeleteRegistryRepoRequest) String added in v0.8.0

func (x *DeleteRegistryRepoRequest) String() string

type DeleteRegistryRepoResponse added in v0.8.0

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

func (*DeleteRegistryRepoResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use DeleteRegistryRepoResponse.ProtoReflect.Descriptor instead.

func (*DeleteRegistryRepoResponse) ProtoMessage added in v0.8.0

func (*DeleteRegistryRepoResponse) ProtoMessage()

func (*DeleteRegistryRepoResponse) ProtoReflect added in v0.8.0

func (*DeleteRegistryRepoResponse) Reset added in v0.8.0

func (x *DeleteRegistryRepoResponse) Reset()

func (*DeleteRegistryRepoResponse) String added in v0.8.0

func (x *DeleteRegistryRepoResponse) String() string

type GetRegistryRepoTagRequest added in v0.8.0

type GetRegistryRepoTagRequest struct {
	ConnectionId string           `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Tag          string           `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRegistryRepoTagRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetRegistryRepoTagRequest.ProtoReflect.Descriptor instead.

func (*GetRegistryRepoTagRequest) GetConnectionId added in v0.8.0

func (x *GetRegistryRepoTagRequest) GetConnectionId() string

func (*GetRegistryRepoTagRequest) GetRepo added in v0.8.0

func (*GetRegistryRepoTagRequest) GetTag added in v0.8.0

func (x *GetRegistryRepoTagRequest) GetTag() string

func (*GetRegistryRepoTagRequest) ProtoMessage added in v0.8.0

func (*GetRegistryRepoTagRequest) ProtoMessage()

func (*GetRegistryRepoTagRequest) ProtoReflect added in v0.8.0

func (*GetRegistryRepoTagRequest) Reset added in v0.8.0

func (x *GetRegistryRepoTagRequest) Reset()

func (*GetRegistryRepoTagRequest) String added in v0.8.0

func (x *GetRegistryRepoTagRequest) String() string

type GetRegistryRepoTagResponse added in v0.8.0

type GetRegistryRepoTagResponse struct {
	Tag *v1.RegistryRepoTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRegistryRepoTagResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use GetRegistryRepoTagResponse.ProtoReflect.Descriptor instead.

func (*GetRegistryRepoTagResponse) GetTag added in v0.8.0

func (*GetRegistryRepoTagResponse) ProtoMessage added in v0.8.0

func (*GetRegistryRepoTagResponse) ProtoMessage()

func (*GetRegistryRepoTagResponse) ProtoReflect added in v0.8.0

func (*GetRegistryRepoTagResponse) Reset added in v0.8.0

func (x *GetRegistryRepoTagResponse) Reset()

func (*GetRegistryRepoTagResponse) String added in v0.8.0

func (x *GetRegistryRepoTagResponse) String() string

type ListOrgsRequest

type ListOrgsRequest struct {
	ConnectionId string                `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Page         *v1.PaginationRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrgsRequest) Descriptor deprecated

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

Deprecated: Use ListOrgsRequest.ProtoReflect.Descriptor instead.

func (*ListOrgsRequest) GetConnectionId

func (x *ListOrgsRequest) GetConnectionId() string

func (*ListOrgsRequest) GetPage added in v0.0.41

func (x *ListOrgsRequest) GetPage() *v1.PaginationRequest

func (*ListOrgsRequest) ProtoMessage

func (*ListOrgsRequest) ProtoMessage()

func (*ListOrgsRequest) ProtoReflect

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

func (*ListOrgsRequest) Reset

func (x *ListOrgsRequest) Reset()

func (*ListOrgsRequest) String

func (x *ListOrgsRequest) String() string

type ListOrgsResponse

type ListOrgsResponse struct {
	Orgs []string               `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"`
	Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrgsResponse) Descriptor deprecated

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

Deprecated: Use ListOrgsResponse.ProtoReflect.Descriptor instead.

func (*ListOrgsResponse) GetOrgs added in v0.0.40

func (x *ListOrgsResponse) GetOrgs() []string

func (*ListOrgsResponse) GetPage added in v0.0.41

func (x *ListOrgsResponse) GetPage() *v1.PaginationResponse

func (*ListOrgsResponse) ProtoMessage

func (*ListOrgsResponse) ProtoMessage()

func (*ListOrgsResponse) ProtoReflect

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

func (*ListOrgsResponse) Reset

func (x *ListOrgsResponse) Reset()

func (*ListOrgsResponse) String

func (x *ListOrgsResponse) String() string

type ListRegistryRepoDigestsRequest added in v0.8.2

type ListRegistryRepoDigestsRequest struct {
	ConnectionId string                `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo      `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Page         *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	Deep         bool                  `protobuf:"varint,4,opt,name=deep,proto3" json:"deep,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryRepoDigestsRequest) Descriptor deprecated added in v0.8.2

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

Deprecated: Use ListRegistryRepoDigestsRequest.ProtoReflect.Descriptor instead.

func (*ListRegistryRepoDigestsRequest) GetConnectionId added in v0.8.2

func (x *ListRegistryRepoDigestsRequest) GetConnectionId() string

func (*ListRegistryRepoDigestsRequest) GetDeep added in v0.8.2

func (x *ListRegistryRepoDigestsRequest) GetDeep() bool

func (*ListRegistryRepoDigestsRequest) GetPage added in v0.8.2

func (*ListRegistryRepoDigestsRequest) GetRepo added in v0.8.2

func (*ListRegistryRepoDigestsRequest) ProtoMessage added in v0.8.2

func (*ListRegistryRepoDigestsRequest) ProtoMessage()

func (*ListRegistryRepoDigestsRequest) ProtoReflect added in v0.8.2

func (*ListRegistryRepoDigestsRequest) Reset added in v0.8.2

func (x *ListRegistryRepoDigestsRequest) Reset()

func (*ListRegistryRepoDigestsRequest) String added in v0.8.2

type ListRegistryRepoDigestsResponse added in v0.8.2

type ListRegistryRepoDigestsResponse struct {
	Digests []*v1.RegistryRepoDigest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"`
	Page    *v1.PaginationResponse   `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryRepoDigestsResponse) Descriptor deprecated added in v0.8.2

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

Deprecated: Use ListRegistryRepoDigestsResponse.ProtoReflect.Descriptor instead.

func (*ListRegistryRepoDigestsResponse) GetDigests added in v0.8.2

func (*ListRegistryRepoDigestsResponse) GetPage added in v0.8.2

func (*ListRegistryRepoDigestsResponse) ProtoMessage added in v0.8.2

func (*ListRegistryRepoDigestsResponse) ProtoMessage()

func (*ListRegistryRepoDigestsResponse) ProtoReflect added in v0.8.2

func (*ListRegistryRepoDigestsResponse) Reset added in v0.8.2

func (*ListRegistryRepoDigestsResponse) String added in v0.8.2

type ListRegistryRepoTagsRequest added in v0.8.0

type ListRegistryRepoTagsRequest struct {
	ConnectionId string                `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo      `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Page         *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	Deep         bool                  `protobuf:"varint,4,opt,name=deep,proto3" json:"deep,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryRepoTagsRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListRegistryRepoTagsRequest.ProtoReflect.Descriptor instead.

func (*ListRegistryRepoTagsRequest) GetConnectionId added in v0.8.0

func (x *ListRegistryRepoTagsRequest) GetConnectionId() string

func (*ListRegistryRepoTagsRequest) GetDeep added in v0.8.0

func (x *ListRegistryRepoTagsRequest) GetDeep() bool

func (*ListRegistryRepoTagsRequest) GetPage added in v0.8.0

func (*ListRegistryRepoTagsRequest) GetRepo added in v0.8.0

func (*ListRegistryRepoTagsRequest) ProtoMessage added in v0.8.0

func (*ListRegistryRepoTagsRequest) ProtoMessage()

func (*ListRegistryRepoTagsRequest) ProtoReflect added in v0.8.0

func (*ListRegistryRepoTagsRequest) Reset added in v0.8.0

func (x *ListRegistryRepoTagsRequest) Reset()

func (*ListRegistryRepoTagsRequest) String added in v0.8.0

func (x *ListRegistryRepoTagsRequest) String() string

type ListRegistryRepoTagsResponse added in v0.8.0

type ListRegistryRepoTagsResponse struct {
	Tags []*v1.RegistryRepoTag  `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryRepoTagsResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListRegistryRepoTagsResponse.ProtoReflect.Descriptor instead.

func (*ListRegistryRepoTagsResponse) GetPage added in v0.8.0

func (*ListRegistryRepoTagsResponse) GetTags added in v0.8.0

func (*ListRegistryRepoTagsResponse) ProtoMessage added in v0.8.0

func (*ListRegistryRepoTagsResponse) ProtoMessage()

func (*ListRegistryRepoTagsResponse) ProtoReflect added in v0.8.0

func (*ListRegistryRepoTagsResponse) Reset added in v0.8.0

func (x *ListRegistryRepoTagsResponse) Reset()

func (*ListRegistryRepoTagsResponse) String added in v0.8.0

type ListRegistryReposRequest added in v0.8.0

type ListRegistryReposRequest struct {
	ConnectionId string                `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Org          string                `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"`
	Page         *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryReposRequest) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListRegistryReposRequest.ProtoReflect.Descriptor instead.

func (*ListRegistryReposRequest) GetConnectionId added in v0.8.0

func (x *ListRegistryReposRequest) GetConnectionId() string

func (*ListRegistryReposRequest) GetOrg added in v0.8.0

func (x *ListRegistryReposRequest) GetOrg() string

func (*ListRegistryReposRequest) GetPage added in v0.8.0

func (*ListRegistryReposRequest) ProtoMessage added in v0.8.0

func (*ListRegistryReposRequest) ProtoMessage()

func (*ListRegistryReposRequest) ProtoReflect added in v0.8.0

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

func (*ListRegistryReposRequest) Reset added in v0.8.0

func (x *ListRegistryReposRequest) Reset()

func (*ListRegistryReposRequest) String added in v0.8.0

func (x *ListRegistryReposRequest) String() string

type ListRegistryReposResponse added in v0.8.0

type ListRegistryReposResponse struct {
	RegistryRepos []*v1.RegistryRepo     `protobuf:"bytes,1,rep,name=registry_repos,json=registryRepos,proto3" json:"registry_repos,omitempty"`
	Page          *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistryReposResponse) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ListRegistryReposResponse.ProtoReflect.Descriptor instead.

func (*ListRegistryReposResponse) GetPage added in v0.8.0

func (*ListRegistryReposResponse) GetRegistryRepos added in v0.8.0

func (x *ListRegistryReposResponse) GetRegistryRepos() []*v1.RegistryRepo

func (*ListRegistryReposResponse) ProtoMessage added in v0.8.0

func (*ListRegistryReposResponse) ProtoMessage()

func (*ListRegistryReposResponse) ProtoReflect added in v0.8.0

func (*ListRegistryReposResponse) Reset added in v0.8.0

func (x *ListRegistryReposResponse) Reset()

func (*ListRegistryReposResponse) String added in v0.8.0

func (x *ListRegistryReposResponse) String() string

type RegistryClient

RegistryClient is the client API for Registry service.

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

func NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryRepoAvailableRequest added in v0.8.6

type RegistryRepoAvailableRequest struct {
	ConnectionId string           `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistryRepoAvailableRequest) Descriptor deprecated added in v0.8.6

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

Deprecated: Use RegistryRepoAvailableRequest.ProtoReflect.Descriptor instead.

func (*RegistryRepoAvailableRequest) GetConnectionId added in v0.8.6

func (x *RegistryRepoAvailableRequest) GetConnectionId() string

func (*RegistryRepoAvailableRequest) GetRepo added in v0.8.6

func (*RegistryRepoAvailableRequest) ProtoMessage added in v0.8.6

func (*RegistryRepoAvailableRequest) ProtoMessage()

func (*RegistryRepoAvailableRequest) ProtoReflect added in v0.8.6

func (*RegistryRepoAvailableRequest) Reset added in v0.8.6

func (x *RegistryRepoAvailableRequest) Reset()

func (*RegistryRepoAvailableRequest) String added in v0.8.6

type RegistryRepoAvailableResponse added in v0.8.6

type RegistryRepoAvailableResponse struct {
	Availability v1.NameAvailability `protobuf:"varint,1,opt,name=availability,proto3,enum=aserto.api.v1.NameAvailability" json:"availability,omitempty"`
	Reason       string              `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RegistryRepoAvailableResponse) Descriptor deprecated added in v0.8.6

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

Deprecated: Use RegistryRepoAvailableResponse.ProtoReflect.Descriptor instead.

func (*RegistryRepoAvailableResponse) GetAvailability added in v0.8.6

func (x *RegistryRepoAvailableResponse) GetAvailability() v1.NameAvailability

func (*RegistryRepoAvailableResponse) GetReason added in v0.8.6

func (x *RegistryRepoAvailableResponse) GetReason() string

func (*RegistryRepoAvailableResponse) ProtoMessage added in v0.8.6

func (*RegistryRepoAvailableResponse) ProtoMessage()

func (*RegistryRepoAvailableResponse) ProtoReflect added in v0.8.6

func (*RegistryRepoAvailableResponse) Reset added in v0.8.6

func (x *RegistryRepoAvailableResponse) Reset()

func (*RegistryRepoAvailableResponse) String added in v0.8.6

type RegistryServer

RegistryServer is the server API for Registry service. All implementations should embed UnimplementedRegistryServer for forward compatibility

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct {
}

UnimplementedRegistryServer should be embedded to have forward compatible implementations.

func (UnimplementedRegistryServer) CloneRepo added in v0.8.17

func (UnimplementedRegistryServer) CreateRegistryRepo added in v0.8.0

func (UnimplementedRegistryServer) DeleteRegistryRepo added in v0.8.0

func (UnimplementedRegistryServer) GetRegistryRepoTag added in v0.8.0

func (UnimplementedRegistryServer) ListOrgs

func (UnimplementedRegistryServer) ListRegistryRepoDigests added in v0.8.2

func (UnimplementedRegistryServer) ListRegistryRepoTags added in v0.8.0

func (UnimplementedRegistryServer) ListRegistryRepos added in v0.8.0

func (UnimplementedRegistryServer) RegistryRepoAvailable added in v0.8.6

func (UnimplementedRegistryServer) ValidPolicyRegistryRepoTag added in v0.8.9

type UnsafeRegistryServer

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

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

type ValidPolicyRegistryRepoTagRequest added in v0.8.9

type ValidPolicyRegistryRepoTagRequest struct {
	ConnectionId string           `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Repo         *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	Tag          string           `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidPolicyRegistryRepoTagRequest) Descriptor deprecated added in v0.8.9

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

Deprecated: Use ValidPolicyRegistryRepoTagRequest.ProtoReflect.Descriptor instead.

func (*ValidPolicyRegistryRepoTagRequest) GetConnectionId added in v0.8.9

func (x *ValidPolicyRegistryRepoTagRequest) GetConnectionId() string

func (*ValidPolicyRegistryRepoTagRequest) GetRepo added in v0.8.9

func (*ValidPolicyRegistryRepoTagRequest) GetTag added in v0.8.9

func (*ValidPolicyRegistryRepoTagRequest) ProtoMessage added in v0.8.9

func (*ValidPolicyRegistryRepoTagRequest) ProtoMessage()

func (*ValidPolicyRegistryRepoTagRequest) ProtoReflect added in v0.8.9

func (*ValidPolicyRegistryRepoTagRequest) Reset added in v0.8.9

func (*ValidPolicyRegistryRepoTagRequest) String added in v0.8.9

type ValidPolicyRegistryRepoTagResponse added in v0.8.9

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

func (*ValidPolicyRegistryRepoTagResponse) Descriptor deprecated added in v0.8.9

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

Deprecated: Use ValidPolicyRegistryRepoTagResponse.ProtoReflect.Descriptor instead.

func (*ValidPolicyRegistryRepoTagResponse) ProtoMessage added in v0.8.9

func (*ValidPolicyRegistryRepoTagResponse) ProtoMessage()

func (*ValidPolicyRegistryRepoTagResponse) ProtoReflect added in v0.8.9

func (*ValidPolicyRegistryRepoTagResponse) Reset added in v0.8.9

func (*ValidPolicyRegistryRepoTagResponse) String added in v0.8.9

Jump to

Keyboard shortcuts

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