Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterArtifactServiceServer(s grpc.ServiceRegistrar, srv ArtifactServiceServer)
- func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp
- func (x *Artifact) GetId() string
- func (x *Artifact) GetKind() Artifact_Kind
- func (x *Artifact) GetModifiedAt() *timestamppb.Timestamp
- func (x *Artifact) GetName() string
- func (x *Artifact) GetPath() string
- func (x *Artifact) GetStatus() Artifact_Status
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (m *Artifact) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Artifact) SetId(v string)
- func (m *Artifact) SetKind(v Artifact_Kind)
- func (m *Artifact) SetModifiedAt(v *timestamppb.Timestamp)
- func (m *Artifact) SetName(v string)
- func (m *Artifact) SetPath(v string)
- func (m *Artifact) SetStatus(v Artifact_Status)
- func (x *Artifact) String() string
- type ArtifactServiceClient
- type ArtifactServiceServer
- type Artifact_Kind
- func (Artifact_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Artifact_Kind) Enum() *Artifact_Kind
- func (Artifact_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Artifact_Kind) Number() protoreflect.EnumNumber
- func (x Artifact_Kind) String() string
- func (Artifact_Kind) Type() protoreflect.EnumType
- type Artifact_Status
- func (Artifact_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Artifact_Status) Enum() *Artifact_Status
- func (Artifact_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Artifact_Status) Number() protoreflect.EnumNumber
- func (x Artifact_Status) String() string
- func (Artifact_Status) Type() protoreflect.EnumType
- type CreateRegistryMetadata
- func (*CreateRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryMetadata) GetRegistryId() string
- func (*CreateRegistryMetadata) ProtoMessage()
- func (x *CreateRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryMetadata) Reset()
- func (m *CreateRegistryMetadata) SetRegistryId(v string)
- func (x *CreateRegistryMetadata) String() string
- type CreateRegistryRequest
- func (*CreateRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryRequest) GetDescription() string
- func (x *CreateRegistryRequest) GetFolderId() string
- func (x *CreateRegistryRequest) GetKind() Registry_Kind
- func (x *CreateRegistryRequest) GetLabels() map[string]string
- func (x *CreateRegistryRequest) GetName() string
- func (x *CreateRegistryRequest) GetProperties() map[string]string
- func (x *CreateRegistryRequest) GetType() Registry_Type
- func (*CreateRegistryRequest) ProtoMessage()
- func (x *CreateRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryRequest) Reset()
- func (m *CreateRegistryRequest) SetDescription(v string)
- func (m *CreateRegistryRequest) SetFolderId(v string)
- func (m *CreateRegistryRequest) SetKind(v Registry_Kind)
- func (m *CreateRegistryRequest) SetLabels(v map[string]string)
- func (m *CreateRegistryRequest) SetName(v string)
- func (m *CreateRegistryRequest) SetProperties(v map[string]string)
- func (m *CreateRegistryRequest) SetType(v Registry_Type)
- func (x *CreateRegistryRequest) String() string
- type DeleteArtifactMetadata
- func (*DeleteArtifactMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteArtifactMetadata) GetArtifactId() string
- func (*DeleteArtifactMetadata) ProtoMessage()
- func (x *DeleteArtifactMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteArtifactMetadata) Reset()
- func (m *DeleteArtifactMetadata) SetArtifactId(v string)
- func (x *DeleteArtifactMetadata) String() string
- type DeleteArtifactRequest
- func (*DeleteArtifactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteArtifactRequest) GetArtifactId() string
- func (*DeleteArtifactRequest) ProtoMessage()
- func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteArtifactRequest) Reset()
- func (m *DeleteArtifactRequest) SetArtifactId(v string)
- func (x *DeleteArtifactRequest) String() string
- type DeleteRegistryMetadata
- func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryMetadata) GetRegistryId() string
- func (*DeleteRegistryMetadata) ProtoMessage()
- func (x *DeleteRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryMetadata) Reset()
- func (m *DeleteRegistryMetadata) SetRegistryId(v string)
- func (x *DeleteRegistryMetadata) String() string
- type DeleteRegistryRequest
- func (*DeleteRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryRequest) GetRegistryId() string
- func (*DeleteRegistryRequest) ProtoMessage()
- func (x *DeleteRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryRequest) Reset()
- func (m *DeleteRegistryRequest) SetRegistryId(v string)
- func (x *DeleteRegistryRequest) String() string
- type GetArtifactRequest
- func (*GetArtifactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArtifactRequest) GetArtifactId() string
- func (*GetArtifactRequest) ProtoMessage()
- func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message
- func (x *GetArtifactRequest) Reset()
- func (m *GetArtifactRequest) SetArtifactId(v string)
- func (x *GetArtifactRequest) String() string
- type GetRegistryRequest
- func (*GetRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegistryRequest) GetRegistryId() string
- func (*GetRegistryRequest) ProtoMessage()
- func (x *GetRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRegistryRequest) Reset()
- func (m *GetRegistryRequest) SetRegistryId(v string)
- func (x *GetRegistryRequest) String() string
- type IpPermission
- func (*IpPermission) Descriptor() ([]byte, []int)deprecated
- func (x *IpPermission) GetAction() IpPermission_Action
- func (x *IpPermission) GetIp() string
- func (*IpPermission) ProtoMessage()
- func (x *IpPermission) ProtoReflect() protoreflect.Message
- func (x *IpPermission) Reset()
- func (m *IpPermission) SetAction(v IpPermission_Action)
- func (m *IpPermission) SetIp(v string)
- func (x *IpPermission) String() string
- type IpPermissionDelta
- func (*IpPermissionDelta) Descriptor() ([]byte, []int)deprecated
- func (x *IpPermissionDelta) GetAction() IpPermissionDeltaAction
- func (x *IpPermissionDelta) GetIpPermission() *IpPermission
- func (*IpPermissionDelta) ProtoMessage()
- func (x *IpPermissionDelta) ProtoReflect() protoreflect.Message
- func (x *IpPermissionDelta) Reset()
- func (m *IpPermissionDelta) SetAction(v IpPermissionDeltaAction)
- func (m *IpPermissionDelta) SetIpPermission(v *IpPermission)
- func (x *IpPermissionDelta) String() string
- type IpPermissionDeltaAction
- func (IpPermissionDeltaAction) Descriptor() protoreflect.EnumDescriptor
- func (x IpPermissionDeltaAction) Enum() *IpPermissionDeltaAction
- func (IpPermissionDeltaAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpPermissionDeltaAction) Number() protoreflect.EnumNumber
- func (x IpPermissionDeltaAction) String() string
- func (IpPermissionDeltaAction) Type() protoreflect.EnumType
- type IpPermission_Action
- func (IpPermission_Action) Descriptor() protoreflect.EnumDescriptor
- func (x IpPermission_Action) Enum() *IpPermission_Action
- func (IpPermission_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpPermission_Action) Number() protoreflect.EnumNumber
- func (x IpPermission_Action) String() string
- func (IpPermission_Action) Type() protoreflect.EnumType
- type ListArtifactsRequest
- func (*ListArtifactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArtifactsRequest) GetPageSize() int64
- func (x *ListArtifactsRequest) GetPageToken() string
- func (x *ListArtifactsRequest) GetPath() string
- func (x *ListArtifactsRequest) GetRegistryId() string
- func (*ListArtifactsRequest) ProtoMessage()
- func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *ListArtifactsRequest) Reset()
- func (m *ListArtifactsRequest) SetPageSize(v int64)
- func (m *ListArtifactsRequest) SetPageToken(v string)
- func (m *ListArtifactsRequest) SetPath(v string)
- func (m *ListArtifactsRequest) SetRegistryId(v string)
- func (x *ListArtifactsRequest) String() string
- type ListArtifactsResponse
- func (*ListArtifactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArtifactsResponse) GetArtifacts() []*Artifact
- func (x *ListArtifactsResponse) GetNextPageToken() string
- func (*ListArtifactsResponse) ProtoMessage()
- func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *ListArtifactsResponse) Reset()
- func (m *ListArtifactsResponse) SetArtifacts(v []*Artifact)
- func (m *ListArtifactsResponse) SetNextPageToken(v string)
- func (x *ListArtifactsResponse) String() string
- type ListIpPermissionsRequest
- func (*ListIpPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpPermissionsRequest) GetRegistryId() string
- func (*ListIpPermissionsRequest) ProtoMessage()
- func (x *ListIpPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIpPermissionsRequest) Reset()
- func (m *ListIpPermissionsRequest) SetRegistryId(v string)
- func (x *ListIpPermissionsRequest) String() string
- type ListIpPermissionsResponse
- func (*ListIpPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpPermissionsResponse) GetPermissions() []*IpPermission
- func (*ListIpPermissionsResponse) ProtoMessage()
- func (x *ListIpPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIpPermissionsResponse) Reset()
- func (m *ListIpPermissionsResponse) SetPermissions(v []*IpPermission)
- func (x *ListIpPermissionsResponse) String() string
- type ListRegistriesRequest
- func (*ListRegistriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistriesRequest) GetFolderId() string
- func (x *ListRegistriesRequest) GetPageSize() int64
- func (x *ListRegistriesRequest) GetPageToken() string
- func (*ListRegistriesRequest) ProtoMessage()
- func (x *ListRegistriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistriesRequest) Reset()
- func (m *ListRegistriesRequest) SetFolderId(v string)
- func (m *ListRegistriesRequest) SetPageSize(v int64)
- func (m *ListRegistriesRequest) SetPageToken(v string)
- func (x *ListRegistriesRequest) String() string
- type ListRegistriesResponse
- func (*ListRegistriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistriesResponse) GetNextPageToken() string
- func (x *ListRegistriesResponse) GetRegistries() []*Registry
- func (*ListRegistriesResponse) ProtoMessage()
- func (x *ListRegistriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistriesResponse) Reset()
- func (m *ListRegistriesResponse) SetNextPageToken(v string)
- func (m *ListRegistriesResponse) SetRegistries(v []*Registry)
- func (x *ListRegistriesResponse) String() string
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)deprecated
- func (x *Registry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Registry) GetDescription() string
- func (x *Registry) GetFolderId() string
- func (x *Registry) GetId() string
- func (x *Registry) GetKind() Registry_Kind
- func (x *Registry) GetLabels() map[string]string
- func (x *Registry) GetModifiedAt() *timestamppb.Timestamp
- func (x *Registry) GetName() string
- func (x *Registry) GetProperties() map[string]string
- func (x *Registry) GetStatus() Registry_Status
- func (x *Registry) GetType() Registry_Type
- func (*Registry) ProtoMessage()
- func (x *Registry) ProtoReflect() protoreflect.Message
- func (x *Registry) Reset()
- func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Registry) SetDescription(v string)
- func (m *Registry) SetFolderId(v string)
- func (m *Registry) SetId(v string)
- func (m *Registry) SetKind(v Registry_Kind)
- func (m *Registry) SetLabels(v map[string]string)
- func (m *Registry) SetModifiedAt(v *timestamppb.Timestamp)
- func (m *Registry) SetName(v string)
- func (m *Registry) SetProperties(v map[string]string)
- func (m *Registry) SetStatus(v Registry_Status)
- func (m *Registry) SetType(v Registry_Type)
- func (x *Registry) String() string
- type RegistryServiceClient
- type RegistryServiceServer
- type Registry_Kind
- func (Registry_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Registry_Kind) Enum() *Registry_Kind
- func (Registry_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Registry_Kind) Number() protoreflect.EnumNumber
- func (x Registry_Kind) String() string
- func (Registry_Kind) Type() protoreflect.EnumType
- type Registry_Status
- func (Registry_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Registry_Status) Enum() *Registry_Status
- func (Registry_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Registry_Status) Number() protoreflect.EnumNumber
- func (x Registry_Status) String() string
- func (Registry_Status) Type() protoreflect.EnumType
- type Registry_Type
- func (Registry_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Registry_Type) Enum() *Registry_Type
- func (Registry_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Registry_Type) Number() protoreflect.EnumNumber
- func (x Registry_Type) String() string
- func (Registry_Type) Type() protoreflect.EnumType
- type SetIpPermissionsMetadata
- func (*SetIpPermissionsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SetIpPermissionsMetadata) GetRegistryId() string
- func (*SetIpPermissionsMetadata) ProtoMessage()
- func (x *SetIpPermissionsMetadata) ProtoReflect() protoreflect.Message
- func (x *SetIpPermissionsMetadata) Reset()
- func (m *SetIpPermissionsMetadata) SetRegistryId(v string)
- func (x *SetIpPermissionsMetadata) String() string
- type SetIpPermissionsRequest
- func (*SetIpPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetIpPermissionsRequest) GetIpPermissions() []*IpPermission
- func (x *SetIpPermissionsRequest) GetRegistryId() string
- func (*SetIpPermissionsRequest) ProtoMessage()
- func (x *SetIpPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *SetIpPermissionsRequest) Reset()
- func (m *SetIpPermissionsRequest) SetIpPermissions(v []*IpPermission)
- func (m *SetIpPermissionsRequest) SetRegistryId(v string)
- func (x *SetIpPermissionsRequest) String() string
- type UnimplementedArtifactServiceServer
- type UnimplementedRegistryServiceServer
- func (UnimplementedRegistryServiceServer) Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Get(context.Context, *GetRegistryRequest) (*Registry, error)
- func (UnimplementedRegistryServiceServer) List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error)
- func (UnimplementedRegistryServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedRegistryServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
- func (UnimplementedRegistryServiceServer) ListIpPermissions(context.Context, *ListIpPermissionsRequest) (*ListIpPermissionsResponse, error)
- func (UnimplementedRegistryServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) SetIpPermissions(context.Context, *SetIpPermissionsRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedRegistryServiceServer) UpdateIpPermissions(context.Context, *UpdateIpPermissionsRequest) (*operation.Operation, error)
- type UnsafeArtifactServiceServer
- type UnsafeRegistryServiceServer
- type UpdateIpPermissionsMetadata
- func (*UpdateIpPermissionsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIpPermissionsMetadata) GetRegistryId() string
- func (*UpdateIpPermissionsMetadata) ProtoMessage()
- func (x *UpdateIpPermissionsMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateIpPermissionsMetadata) Reset()
- func (m *UpdateIpPermissionsMetadata) SetRegistryId(v string)
- func (x *UpdateIpPermissionsMetadata) String() string
- type UpdateIpPermissionsRequest
- func (*UpdateIpPermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIpPermissionsRequest) GetIpPermissionDeltas() []*IpPermissionDelta
- func (x *UpdateIpPermissionsRequest) GetRegistryId() string
- func (*UpdateIpPermissionsRequest) ProtoMessage()
- func (x *UpdateIpPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIpPermissionsRequest) Reset()
- func (m *UpdateIpPermissionsRequest) SetIpPermissionDeltas(v []*IpPermissionDelta)
- func (m *UpdateIpPermissionsRequest) SetRegistryId(v string)
- func (x *UpdateIpPermissionsRequest) String() string
- type UpdateRegistryMetadata
- func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistryMetadata) GetRegistryId() string
- func (*UpdateRegistryMetadata) ProtoMessage()
- func (x *UpdateRegistryMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistryMetadata) Reset()
- func (m *UpdateRegistryMetadata) SetRegistryId(v string)
- func (x *UpdateRegistryMetadata) String() string
- type UpdateRegistryRequest
- func (*UpdateRegistryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRegistryRequest) GetDescription() string
- func (x *UpdateRegistryRequest) GetLabels() map[string]string
- func (x *UpdateRegistryRequest) GetName() string
- func (x *UpdateRegistryRequest) GetProperties() map[string]string
- func (x *UpdateRegistryRequest) GetRegistryId() string
- func (x *UpdateRegistryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRegistryRequest) ProtoMessage()
- func (x *UpdateRegistryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRegistryRequest) Reset()
- func (m *UpdateRegistryRequest) SetDescription(v string)
- func (m *UpdateRegistryRequest) SetLabels(v map[string]string)
- func (m *UpdateRegistryRequest) SetName(v string)
- func (m *UpdateRegistryRequest) SetProperties(v map[string]string)
- func (m *UpdateRegistryRequest) SetRegistryId(v string)
- func (m *UpdateRegistryRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateRegistryRequest) String() string
Constants ¶
const ( ArtifactService_Get_FullMethodName = "/yandex.cloud.cloudregistry.v1.ArtifactService/Get" ArtifactService_Delete_FullMethodName = "/yandex.cloud.cloudregistry.v1.ArtifactService/Delete" )
const ( RegistryService_Get_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/Get" RegistryService_List_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/List" RegistryService_Create_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/Create" RegistryService_Update_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/Update" RegistryService_Delete_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/Delete" RegistryService_ListAccessBindings_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/ListAccessBindings" RegistryService_SetAccessBindings_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/SetAccessBindings" RegistryService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/UpdateAccessBindings" RegistryService_ListIpPermissions_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/ListIpPermissions" RegistryService_SetIpPermissions_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/SetIpPermissions" RegistryService_UpdateIpPermissions_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/UpdateIpPermissions" RegistryService_ListArtifacts_FullMethodName = "/yandex.cloud.cloudregistry.v1.RegistryService/ListArtifacts" )
Variables ¶
var ( Artifact_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "FOLDER", 2: "PACKAGE", 3: "ARTIFACT", } Artifact_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "FOLDER": 1, "PACKAGE": 2, "ARTIFACT": 3, } )
Enum value maps for Artifact_Kind.
var ( Artifact_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", } Artifact_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, } )
Enum value maps for Artifact_Status.
var ( IpPermissionDeltaAction_name = map[int32]string{ 0: "IP_PERMISSION_DELTA_ACTION_UNSPECIFIED", 1: "ADD", 2: "REMOVE", } IpPermissionDeltaAction_value = map[string]int32{ "IP_PERMISSION_DELTA_ACTION_UNSPECIFIED": 0, "ADD": 1, "REMOVE": 2, } )
Enum value maps for IpPermissionDeltaAction.
var ( IpPermission_Action_name = map[int32]string{ 0: "ACTION_UNSPECIFIED", 1: "PULL", 2: "PUSH", } IpPermission_Action_value = map[string]int32{ "ACTION_UNSPECIFIED": 0, "PULL": 1, "PUSH": 2, } )
Enum value maps for IpPermission_Action.
var ( Registry_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", } Registry_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, } )
Enum value maps for Registry_Status.
var ( Registry_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "MAVEN", 2: "NPM", 3: "DOCKER", } Registry_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "MAVEN": 1, "NPM": 2, "DOCKER": 3, } )
Enum value maps for Registry_Kind.
var ( Registry_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "LOCAL", } Registry_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "LOCAL": 1, } )
Enum value maps for Registry_Type.
var ArtifactService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.cloudregistry.v1.ArtifactService", HandlerType: (*ArtifactServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ArtifactService_Get_Handler, }, { MethodName: "Delete", Handler: _ArtifactService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/cloudregistry/v1/artifact_service.proto", }
ArtifactService_ServiceDesc is the grpc.ServiceDesc for ArtifactService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_cloudregistry_v1_artifact_proto protoreflect.FileDescriptor
var File_yandex_cloud_cloudregistry_v1_artifact_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cloudregistry_v1_ip_permission_proto protoreflect.FileDescriptor
var File_yandex_cloud_cloudregistry_v1_registry_proto protoreflect.FileDescriptor
var File_yandex_cloud_cloudregistry_v1_registry_service_proto protoreflect.FileDescriptor
var RegistryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.cloudregistry.v1.RegistryService", HandlerType: (*RegistryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _RegistryService_Get_Handler, }, { MethodName: "List", Handler: _RegistryService_List_Handler, }, { MethodName: "Create", Handler: _RegistryService_Create_Handler, }, { MethodName: "Update", Handler: _RegistryService_Update_Handler, }, { MethodName: "Delete", Handler: _RegistryService_Delete_Handler, }, { MethodName: "ListAccessBindings", Handler: _RegistryService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _RegistryService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _RegistryService_UpdateAccessBindings_Handler, }, { MethodName: "ListIpPermissions", Handler: _RegistryService_ListIpPermissions_Handler, }, { MethodName: "SetIpPermissions", Handler: _RegistryService_SetIpPermissions_Handler, }, { MethodName: "UpdateIpPermissions", Handler: _RegistryService_UpdateIpPermissions_Handler, }, { MethodName: "ListArtifacts", Handler: _RegistryService_ListArtifacts_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/cloudregistry/v1/registry_service.proto", }
RegistryService_ServiceDesc is the grpc.ServiceDesc for RegistryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterArtifactServiceServer ¶
func RegisterArtifactServiceServer(s grpc.ServiceRegistrar, srv ArtifactServiceServer)
func RegisterRegistryServiceServer ¶
func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)
Types ¶
type Artifact ¶
type Artifact struct { // Output only. ID of the artifact. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Path where the artifact is located. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Name of the artifact. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Kind of the artifact. Kind Artifact_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=yandex.cloud.cloudregistry.v1.Artifact_Kind" json:"kind,omitempty"` // Output only. Status of the artifact. Status Artifact_Status `protobuf:"varint,5,opt,name=status,proto3,enum=yandex.cloud.cloudregistry.v1.Artifact_Status" json:"status,omitempty"` // Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Output only. Modification timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` // contains filtered or unexported fields }
A Artifact resource.
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetCreatedAt ¶
func (x *Artifact) GetCreatedAt() *timestamppb.Timestamp
func (*Artifact) GetKind ¶
func (x *Artifact) GetKind() Artifact_Kind
func (*Artifact) GetModifiedAt ¶
func (x *Artifact) GetModifiedAt() *timestamppb.Timestamp
func (*Artifact) GetStatus ¶
func (x *Artifact) GetStatus() Artifact_Status
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
func (*Artifact) SetCreatedAt ¶
func (m *Artifact) SetCreatedAt(v *timestamppb.Timestamp)
func (*Artifact) SetKind ¶
func (m *Artifact) SetKind(v Artifact_Kind)
func (*Artifact) SetModifiedAt ¶
func (m *Artifact) SetModifiedAt(v *timestamppb.Timestamp)
func (*Artifact) SetStatus ¶
func (m *Artifact) SetStatus(v Artifact_Status)
type ArtifactServiceClient ¶
type ArtifactServiceClient interface { // Returns the specified artifact resource. // // To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call. Get(ctx context.Context, in *GetArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) // Deletes the specified artifact. Delete(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
ArtifactServiceClient is the client API for ArtifactService 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.
A set of methods for managing Artifacts.
func NewArtifactServiceClient ¶
func NewArtifactServiceClient(cc grpc.ClientConnInterface) ArtifactServiceClient
type ArtifactServiceServer ¶
type ArtifactServiceServer interface { // Returns the specified artifact resource. // // To get the list of available artifact resources, make [RegistryService.ListArtifacts] method call. Get(context.Context, *GetArtifactRequest) (*Artifact, error) // Deletes the specified artifact. Delete(context.Context, *DeleteArtifactRequest) (*operation.Operation, error) }
ArtifactServiceServer is the server API for ArtifactService service. All implementations should embed UnimplementedArtifactServiceServer for forward compatibility.
A set of methods for managing Artifacts.
type Artifact_Kind ¶
type Artifact_Kind int32
const ( Artifact_KIND_UNSPECIFIED Artifact_Kind = 0 // Artifact kind is folder. Artifact_FOLDER Artifact_Kind = 1 // Artifact kind is package. Artifact_PACKAGE Artifact_Kind = 2 // Artifact kind is artifact. Artifact_ARTIFACT Artifact_Kind = 3 )
func (Artifact_Kind) Descriptor ¶
func (Artifact_Kind) Descriptor() protoreflect.EnumDescriptor
func (Artifact_Kind) Enum ¶
func (x Artifact_Kind) Enum() *Artifact_Kind
func (Artifact_Kind) EnumDescriptor
deprecated
func (Artifact_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Artifact_Kind.Descriptor instead.
func (Artifact_Kind) Number ¶
func (x Artifact_Kind) Number() protoreflect.EnumNumber
func (Artifact_Kind) String ¶
func (x Artifact_Kind) String() string
func (Artifact_Kind) Type ¶
func (Artifact_Kind) Type() protoreflect.EnumType
type Artifact_Status ¶
type Artifact_Status int32
const ( Artifact_STATUS_UNSPECIFIED Artifact_Status = 0 // Artifact status is being created. Artifact_CREATING Artifact_Status = 1 // Artifact status is ready to use. Artifact_ACTIVE Artifact_Status = 2 // Artifact status is being deleted. Artifact_DELETING Artifact_Status = 3 )
func (Artifact_Status) Descriptor ¶
func (Artifact_Status) Descriptor() protoreflect.EnumDescriptor
func (Artifact_Status) Enum ¶
func (x Artifact_Status) Enum() *Artifact_Status
func (Artifact_Status) EnumDescriptor
deprecated
func (Artifact_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Artifact_Status.Descriptor instead.
func (Artifact_Status) Number ¶
func (x Artifact_Status) Number() protoreflect.EnumNumber
func (Artifact_Status) String ¶
func (x Artifact_Status) String() string
func (Artifact_Status) Type ¶
func (Artifact_Status) Type() protoreflect.EnumType
type CreateRegistryMetadata ¶
type CreateRegistryMetadata struct { // ID of the registry that is being created. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*CreateRegistryMetadata) Descriptor
deprecated
func (*CreateRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryMetadata.ProtoReflect.Descriptor instead.
func (*CreateRegistryMetadata) GetRegistryId ¶
func (x *CreateRegistryMetadata) GetRegistryId() string
func (*CreateRegistryMetadata) ProtoMessage ¶
func (*CreateRegistryMetadata) ProtoMessage()
func (*CreateRegistryMetadata) ProtoReflect ¶
func (x *CreateRegistryMetadata) ProtoReflect() protoreflect.Message
func (*CreateRegistryMetadata) Reset ¶
func (x *CreateRegistryMetadata) Reset()
func (*CreateRegistryMetadata) SetRegistryId ¶
func (m *CreateRegistryMetadata) SetRegistryId(v string)
func (*CreateRegistryMetadata) String ¶
func (x *CreateRegistryMetadata) String() string
type CreateRegistryRequest ¶
type CreateRegistryRequest struct { // ID of the folder to create a registry in. // // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the registry. // // There may be only one registry per folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Kind of the registry. Kind Registry_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=yandex.cloud.cloudregistry.v1.Registry_Kind" json:"kind,omitempty"` // Type of the registry. Type Registry_Type `protobuf:"varint,5,opt,name=type,proto3,enum=yandex.cloud.cloudregistry.v1.Registry_Type" json:"type,omitempty"` // Description of the registry. 0-1024 characters long. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Property names and values. Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRegistryRequest) Descriptor
deprecated
func (*CreateRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryRequest.ProtoReflect.Descriptor instead.
func (*CreateRegistryRequest) GetDescription ¶
func (x *CreateRegistryRequest) GetDescription() string
func (*CreateRegistryRequest) GetFolderId ¶
func (x *CreateRegistryRequest) GetFolderId() string
func (*CreateRegistryRequest) GetKind ¶
func (x *CreateRegistryRequest) GetKind() Registry_Kind
func (*CreateRegistryRequest) GetLabels ¶
func (x *CreateRegistryRequest) GetLabels() map[string]string
func (*CreateRegistryRequest) GetName ¶
func (x *CreateRegistryRequest) GetName() string
func (*CreateRegistryRequest) GetProperties ¶
func (x *CreateRegistryRequest) GetProperties() map[string]string
func (*CreateRegistryRequest) GetType ¶
func (x *CreateRegistryRequest) GetType() Registry_Type
func (*CreateRegistryRequest) ProtoMessage ¶
func (*CreateRegistryRequest) ProtoMessage()
func (*CreateRegistryRequest) ProtoReflect ¶
func (x *CreateRegistryRequest) ProtoReflect() protoreflect.Message
func (*CreateRegistryRequest) Reset ¶
func (x *CreateRegistryRequest) Reset()
func (*CreateRegistryRequest) SetDescription ¶
func (m *CreateRegistryRequest) SetDescription(v string)
func (*CreateRegistryRequest) SetFolderId ¶
func (m *CreateRegistryRequest) SetFolderId(v string)
func (*CreateRegistryRequest) SetKind ¶
func (m *CreateRegistryRequest) SetKind(v Registry_Kind)
func (*CreateRegistryRequest) SetLabels ¶
func (m *CreateRegistryRequest) SetLabels(v map[string]string)
func (*CreateRegistryRequest) SetName ¶
func (m *CreateRegistryRequest) SetName(v string)
func (*CreateRegistryRequest) SetProperties ¶
func (m *CreateRegistryRequest) SetProperties(v map[string]string)
func (*CreateRegistryRequest) SetType ¶
func (m *CreateRegistryRequest) SetType(v Registry_Type)
func (*CreateRegistryRequest) String ¶
func (x *CreateRegistryRequest) String() string
type DeleteArtifactMetadata ¶
type DeleteArtifactMetadata struct { // ID of the artifact to delete. ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteArtifactMetadata) Descriptor
deprecated
func (*DeleteArtifactMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArtifactMetadata.ProtoReflect.Descriptor instead.
func (*DeleteArtifactMetadata) GetArtifactId ¶
func (x *DeleteArtifactMetadata) GetArtifactId() string
func (*DeleteArtifactMetadata) ProtoMessage ¶
func (*DeleteArtifactMetadata) ProtoMessage()
func (*DeleteArtifactMetadata) ProtoReflect ¶
func (x *DeleteArtifactMetadata) ProtoReflect() protoreflect.Message
func (*DeleteArtifactMetadata) Reset ¶
func (x *DeleteArtifactMetadata) Reset()
func (*DeleteArtifactMetadata) SetArtifactId ¶
func (m *DeleteArtifactMetadata) SetArtifactId(v string)
func (*DeleteArtifactMetadata) String ¶
func (x *DeleteArtifactMetadata) String() string
type DeleteArtifactRequest ¶
type DeleteArtifactRequest struct { // ID of the artifact to delete. ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteArtifactRequest) Descriptor
deprecated
func (*DeleteArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.
func (*DeleteArtifactRequest) GetArtifactId ¶
func (x *DeleteArtifactRequest) GetArtifactId() string
func (*DeleteArtifactRequest) ProtoMessage ¶
func (*DeleteArtifactRequest) ProtoMessage()
func (*DeleteArtifactRequest) ProtoReflect ¶
func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message
func (*DeleteArtifactRequest) Reset ¶
func (x *DeleteArtifactRequest) Reset()
func (*DeleteArtifactRequest) SetArtifactId ¶
func (m *DeleteArtifactRequest) SetArtifactId(v string)
func (*DeleteArtifactRequest) String ¶
func (x *DeleteArtifactRequest) String() string
type DeleteRegistryMetadata ¶
type DeleteRegistryMetadata struct { // ID of the registry that is being deleted. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryMetadata) Descriptor
deprecated
func (*DeleteRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryMetadata.ProtoReflect.Descriptor instead.
func (*DeleteRegistryMetadata) GetRegistryId ¶
func (x *DeleteRegistryMetadata) GetRegistryId() string
func (*DeleteRegistryMetadata) ProtoMessage ¶
func (*DeleteRegistryMetadata) ProtoMessage()
func (*DeleteRegistryMetadata) ProtoReflect ¶
func (x *DeleteRegistryMetadata) ProtoReflect() protoreflect.Message
func (*DeleteRegistryMetadata) Reset ¶
func (x *DeleteRegistryMetadata) Reset()
func (*DeleteRegistryMetadata) SetRegistryId ¶
func (m *DeleteRegistryMetadata) SetRegistryId(v string)
func (*DeleteRegistryMetadata) String ¶
func (x *DeleteRegistryMetadata) String() string
type DeleteRegistryRequest ¶
type DeleteRegistryRequest struct { // ID of the registry to delete. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryRequest) Descriptor
deprecated
func (*DeleteRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegistryRequest) GetRegistryId ¶
func (x *DeleteRegistryRequest) GetRegistryId() string
func (*DeleteRegistryRequest) ProtoMessage ¶
func (*DeleteRegistryRequest) ProtoMessage()
func (*DeleteRegistryRequest) ProtoReflect ¶
func (x *DeleteRegistryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegistryRequest) Reset ¶
func (x *DeleteRegistryRequest) Reset()
func (*DeleteRegistryRequest) SetRegistryId ¶
func (m *DeleteRegistryRequest) SetRegistryId(v string)
func (*DeleteRegistryRequest) String ¶
func (x *DeleteRegistryRequest) String() string
type GetArtifactRequest ¶
type GetArtifactRequest struct { // ID of the artifact resource to return. ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // contains filtered or unexported fields }
func (*GetArtifactRequest) Descriptor
deprecated
func (*GetArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArtifactRequest.ProtoReflect.Descriptor instead.
func (*GetArtifactRequest) GetArtifactId ¶
func (x *GetArtifactRequest) GetArtifactId() string
func (*GetArtifactRequest) ProtoMessage ¶
func (*GetArtifactRequest) ProtoMessage()
func (*GetArtifactRequest) ProtoReflect ¶
func (x *GetArtifactRequest) ProtoReflect() protoreflect.Message
func (*GetArtifactRequest) Reset ¶
func (x *GetArtifactRequest) Reset()
func (*GetArtifactRequest) SetArtifactId ¶
func (m *GetArtifactRequest) SetArtifactId(v string)
func (*GetArtifactRequest) String ¶
func (x *GetArtifactRequest) String() string
type GetRegistryRequest ¶
type GetRegistryRequest struct { // ID of the Registry resource to return. // // To get the registry ID use a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*GetRegistryRequest) Descriptor
deprecated
func (*GetRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegistryRequest.ProtoReflect.Descriptor instead.
func (*GetRegistryRequest) GetRegistryId ¶
func (x *GetRegistryRequest) GetRegistryId() string
func (*GetRegistryRequest) ProtoMessage ¶
func (*GetRegistryRequest) ProtoMessage()
func (*GetRegistryRequest) ProtoReflect ¶
func (x *GetRegistryRequest) ProtoReflect() protoreflect.Message
func (*GetRegistryRequest) Reset ¶
func (x *GetRegistryRequest) Reset()
func (*GetRegistryRequest) SetRegistryId ¶
func (m *GetRegistryRequest) SetRegistryId(v string)
func (*GetRegistryRequest) String ¶
func (x *GetRegistryRequest) String() string
type IpPermission ¶
type IpPermission struct { Action IpPermission_Action `protobuf:"varint,1,opt,name=action,proto3,enum=yandex.cloud.cloudregistry.v1.IpPermission_Action" json:"action,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*IpPermission) Descriptor
deprecated
func (*IpPermission) Descriptor() ([]byte, []int)
Deprecated: Use IpPermission.ProtoReflect.Descriptor instead.
func (*IpPermission) GetAction ¶
func (x *IpPermission) GetAction() IpPermission_Action
func (*IpPermission) GetIp ¶
func (x *IpPermission) GetIp() string
func (*IpPermission) ProtoMessage ¶
func (*IpPermission) ProtoMessage()
func (*IpPermission) ProtoReflect ¶
func (x *IpPermission) ProtoReflect() protoreflect.Message
func (*IpPermission) Reset ¶
func (x *IpPermission) Reset()
func (*IpPermission) SetAction ¶
func (m *IpPermission) SetAction(v IpPermission_Action)
func (*IpPermission) SetIp ¶
func (m *IpPermission) SetIp(v string)
func (*IpPermission) String ¶
func (x *IpPermission) String() string
type IpPermissionDelta ¶
type IpPermissionDelta struct { // The action that is being performed on an ip permission. Action IpPermissionDeltaAction `protobuf:"varint,1,opt,name=action,proto3,enum=yandex.cloud.cloudregistry.v1.IpPermissionDeltaAction" json:"action,omitempty"` // Ip permission. IpPermission *IpPermission `protobuf:"bytes,2,opt,name=ip_permission,json=ipPermission,proto3" json:"ip_permission,omitempty"` // contains filtered or unexported fields }
func (*IpPermissionDelta) Descriptor
deprecated
func (*IpPermissionDelta) Descriptor() ([]byte, []int)
Deprecated: Use IpPermissionDelta.ProtoReflect.Descriptor instead.
func (*IpPermissionDelta) GetAction ¶
func (x *IpPermissionDelta) GetAction() IpPermissionDeltaAction
func (*IpPermissionDelta) GetIpPermission ¶
func (x *IpPermissionDelta) GetIpPermission() *IpPermission
func (*IpPermissionDelta) ProtoMessage ¶
func (*IpPermissionDelta) ProtoMessage()
func (*IpPermissionDelta) ProtoReflect ¶
func (x *IpPermissionDelta) ProtoReflect() protoreflect.Message
func (*IpPermissionDelta) Reset ¶
func (x *IpPermissionDelta) Reset()
func (*IpPermissionDelta) SetAction ¶
func (m *IpPermissionDelta) SetAction(v IpPermissionDeltaAction)
func (*IpPermissionDelta) SetIpPermission ¶
func (m *IpPermissionDelta) SetIpPermission(v *IpPermission)
func (*IpPermissionDelta) String ¶
func (x *IpPermissionDelta) String() string
type IpPermissionDeltaAction ¶
type IpPermissionDeltaAction int32
const ( IpPermissionDeltaAction_IP_PERMISSION_DELTA_ACTION_UNSPECIFIED IpPermissionDeltaAction = 0 // Addition of an ip permission. IpPermissionDeltaAction_ADD IpPermissionDeltaAction = 1 // Removal of an ip permission. IpPermissionDeltaAction_REMOVE IpPermissionDeltaAction = 2 )
func (IpPermissionDeltaAction) Descriptor ¶
func (IpPermissionDeltaAction) Descriptor() protoreflect.EnumDescriptor
func (IpPermissionDeltaAction) Enum ¶
func (x IpPermissionDeltaAction) Enum() *IpPermissionDeltaAction
func (IpPermissionDeltaAction) EnumDescriptor
deprecated
func (IpPermissionDeltaAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpPermissionDeltaAction.Descriptor instead.
func (IpPermissionDeltaAction) Number ¶
func (x IpPermissionDeltaAction) Number() protoreflect.EnumNumber
func (IpPermissionDeltaAction) String ¶
func (x IpPermissionDeltaAction) String() string
func (IpPermissionDeltaAction) Type ¶
func (IpPermissionDeltaAction) Type() protoreflect.EnumType
type IpPermission_Action ¶
type IpPermission_Action int32
const ( IpPermission_ACTION_UNSPECIFIED IpPermission_Action = 0 IpPermission_PULL IpPermission_Action = 1 IpPermission_PUSH IpPermission_Action = 2 )
func (IpPermission_Action) Descriptor ¶
func (IpPermission_Action) Descriptor() protoreflect.EnumDescriptor
func (IpPermission_Action) Enum ¶
func (x IpPermission_Action) Enum() *IpPermission_Action
func (IpPermission_Action) EnumDescriptor
deprecated
func (IpPermission_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpPermission_Action.Descriptor instead.
func (IpPermission_Action) Number ¶
func (x IpPermission_Action) Number() protoreflect.EnumNumber
func (IpPermission_Action) String ¶
func (x IpPermission_Action) String() string
func (IpPermission_Action) Type ¶
func (IpPermission_Action) Type() protoreflect.EnumType
type ListArtifactsRequest ¶
type ListArtifactsRequest struct { // ID of the registry artifact to list repositories in. // // To get the registry ID use a [ArtifactService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // The path to a specific node where the registry artifact is located. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListRepositoriesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 10. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the // [ListArtifactsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListArtifactsRequest) Descriptor
deprecated
func (*ListArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ListArtifactsRequest) GetPageSize ¶
func (x *ListArtifactsRequest) GetPageSize() int64
func (*ListArtifactsRequest) GetPageToken ¶
func (x *ListArtifactsRequest) GetPageToken() string
func (*ListArtifactsRequest) GetPath ¶
func (x *ListArtifactsRequest) GetPath() string
func (*ListArtifactsRequest) GetRegistryId ¶
func (x *ListArtifactsRequest) GetRegistryId() string
func (*ListArtifactsRequest) ProtoMessage ¶
func (*ListArtifactsRequest) ProtoMessage()
func (*ListArtifactsRequest) ProtoReflect ¶
func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ListArtifactsRequest) Reset ¶
func (x *ListArtifactsRequest) Reset()
func (*ListArtifactsRequest) SetPageSize ¶
func (m *ListArtifactsRequest) SetPageSize(v int64)
func (*ListArtifactsRequest) SetPageToken ¶
func (m *ListArtifactsRequest) SetPageToken(v string)
func (*ListArtifactsRequest) SetPath ¶
func (m *ListArtifactsRequest) SetPath(v string)
func (*ListArtifactsRequest) SetRegistryId ¶
func (m *ListArtifactsRequest) SetRegistryId(v string)
func (*ListArtifactsRequest) String ¶
func (x *ListArtifactsRequest) String() string
type ListArtifactsResponse ¶
type ListArtifactsResponse struct { // List of Registry artifact resources. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListRegistriesRequest.page_size], use // the [next_page_token] as the value // for the [ListArtifactsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListArtifactsResponse) Descriptor
deprecated
func (*ListArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ListArtifactsResponse) GetArtifacts ¶
func (x *ListArtifactsResponse) GetArtifacts() []*Artifact
func (*ListArtifactsResponse) GetNextPageToken ¶
func (x *ListArtifactsResponse) GetNextPageToken() string
func (*ListArtifactsResponse) ProtoMessage ¶
func (*ListArtifactsResponse) ProtoMessage()
func (*ListArtifactsResponse) ProtoReflect ¶
func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ListArtifactsResponse) Reset ¶
func (x *ListArtifactsResponse) Reset()
func (*ListArtifactsResponse) SetArtifacts ¶
func (m *ListArtifactsResponse) SetArtifacts(v []*Artifact)
func (*ListArtifactsResponse) SetNextPageToken ¶
func (m *ListArtifactsResponse) SetNextPageToken(v string)
func (*ListArtifactsResponse) String ¶
func (x *ListArtifactsResponse) String() string
type ListIpPermissionsRequest ¶
type ListIpPermissionsRequest struct { // ID of the Registry to return ip permission list. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*ListIpPermissionsRequest) Descriptor
deprecated
func (*ListIpPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIpPermissionsRequest.ProtoReflect.Descriptor instead.
func (*ListIpPermissionsRequest) GetRegistryId ¶
func (x *ListIpPermissionsRequest) GetRegistryId() string
func (*ListIpPermissionsRequest) ProtoMessage ¶
func (*ListIpPermissionsRequest) ProtoMessage()
func (*ListIpPermissionsRequest) ProtoReflect ¶
func (x *ListIpPermissionsRequest) ProtoReflect() protoreflect.Message
func (*ListIpPermissionsRequest) Reset ¶
func (x *ListIpPermissionsRequest) Reset()
func (*ListIpPermissionsRequest) SetRegistryId ¶
func (m *ListIpPermissionsRequest) SetRegistryId(v string)
func (*ListIpPermissionsRequest) String ¶
func (x *ListIpPermissionsRequest) String() string
type ListIpPermissionsResponse ¶
type ListIpPermissionsResponse struct { // List of ip permissions for registry Permissions []*IpPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*ListIpPermissionsResponse) Descriptor
deprecated
func (*ListIpPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIpPermissionsResponse.ProtoReflect.Descriptor instead.
func (*ListIpPermissionsResponse) GetPermissions ¶
func (x *ListIpPermissionsResponse) GetPermissions() []*IpPermission
func (*ListIpPermissionsResponse) ProtoMessage ¶
func (*ListIpPermissionsResponse) ProtoMessage()
func (*ListIpPermissionsResponse) ProtoReflect ¶
func (x *ListIpPermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListIpPermissionsResponse) Reset ¶
func (x *ListIpPermissionsResponse) Reset()
func (*ListIpPermissionsResponse) SetPermissions ¶
func (m *ListIpPermissionsResponse) SetPermissions(v []*IpPermission)
func (*ListIpPermissionsResponse) String ¶
func (x *ListIpPermissionsResponse) String() string
type ListRegistriesRequest ¶
type ListRegistriesRequest struct { // ID of the folder to list registries in. // // To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListRegistriesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 10. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] to the // [ListRegistriesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRegistriesRequest) Descriptor
deprecated
func (*ListRegistriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistriesRequest.ProtoReflect.Descriptor instead.
func (*ListRegistriesRequest) GetFolderId ¶
func (x *ListRegistriesRequest) GetFolderId() string
func (*ListRegistriesRequest) GetPageSize ¶
func (x *ListRegistriesRequest) GetPageSize() int64
func (*ListRegistriesRequest) GetPageToken ¶
func (x *ListRegistriesRequest) GetPageToken() string
func (*ListRegistriesRequest) ProtoMessage ¶
func (*ListRegistriesRequest) ProtoMessage()
func (*ListRegistriesRequest) ProtoReflect ¶
func (x *ListRegistriesRequest) ProtoReflect() protoreflect.Message
func (*ListRegistriesRequest) Reset ¶
func (x *ListRegistriesRequest) Reset()
func (*ListRegistriesRequest) SetFolderId ¶
func (m *ListRegistriesRequest) SetFolderId(v string)
func (*ListRegistriesRequest) SetPageSize ¶
func (m *ListRegistriesRequest) SetPageSize(v int64)
func (*ListRegistriesRequest) SetPageToken ¶
func (m *ListRegistriesRequest) SetPageToken(v string)
func (*ListRegistriesRequest) String ¶
func (x *ListRegistriesRequest) String() string
type ListRegistriesResponse ¶
type ListRegistriesResponse struct { // List of Registry resources. Registries []*Registry `protobuf:"bytes,1,rep,name=registries,proto3" json:"registries,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListRegistriesRequest.page_size], use // the [next_page_token] as the value // for the [ListRegistriesRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListRegistriesResponse) Descriptor
deprecated
func (*ListRegistriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistriesResponse.ProtoReflect.Descriptor instead.
func (*ListRegistriesResponse) GetNextPageToken ¶
func (x *ListRegistriesResponse) GetNextPageToken() string
func (*ListRegistriesResponse) GetRegistries ¶
func (x *ListRegistriesResponse) GetRegistries() []*Registry
func (*ListRegistriesResponse) ProtoMessage ¶
func (*ListRegistriesResponse) ProtoMessage()
func (*ListRegistriesResponse) ProtoReflect ¶
func (x *ListRegistriesResponse) ProtoReflect() protoreflect.Message
func (*ListRegistriesResponse) Reset ¶
func (x *ListRegistriesResponse) Reset()
func (*ListRegistriesResponse) SetNextPageToken ¶
func (m *ListRegistriesResponse) SetNextPageToken(v string)
func (*ListRegistriesResponse) SetRegistries ¶
func (m *ListRegistriesResponse) SetRegistries(v []*Registry)
func (*ListRegistriesResponse) String ¶
func (x *ListRegistriesResponse) String() string
type Registry ¶
type Registry struct { // Output only. ID of the registry. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the registry belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the registry. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Kind of the registry. Kind Registry_Kind `protobuf:"varint,4,opt,name=kind,proto3,enum=yandex.cloud.cloudregistry.v1.Registry_Kind" json:"kind,omitempty"` // Type of the registry. Type Registry_Type `protobuf:"varint,5,opt,name=type,proto3,enum=yandex.cloud.cloudregistry.v1.Registry_Type" json:"type,omitempty"` // Output only. Status of the registry. Status Registry_Status `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.cloudregistry.v1.Registry_Status" json:"status,omitempty"` // Description of the registry. Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Maximum of 64 per resource. Labels map[string]string `` /* 153-byte string literal not displayed */ // Resource properties as `key:value` pairs. Maximum of 64 per resource. Properties map[string]string `` /* 161-byte string literal not displayed */ // Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Output only. Modification timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` // contains filtered or unexported fields }
A Registry resource.
func (*Registry) Descriptor
deprecated
func (*Registry) GetCreatedAt ¶
func (x *Registry) GetCreatedAt() *timestamppb.Timestamp
func (*Registry) GetDescription ¶
func (*Registry) GetFolderId ¶
func (*Registry) GetKind ¶
func (x *Registry) GetKind() Registry_Kind
func (*Registry) GetModifiedAt ¶
func (x *Registry) GetModifiedAt() *timestamppb.Timestamp
func (*Registry) GetProperties ¶
func (*Registry) GetStatus ¶
func (x *Registry) GetStatus() Registry_Status
func (*Registry) GetType ¶
func (x *Registry) GetType() Registry_Type
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
func (*Registry) SetCreatedAt ¶
func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)
func (*Registry) SetDescription ¶
func (*Registry) SetFolderId ¶
func (*Registry) SetKind ¶
func (m *Registry) SetKind(v Registry_Kind)
func (*Registry) SetModifiedAt ¶
func (m *Registry) SetModifiedAt(v *timestamppb.Timestamp)
func (*Registry) SetProperties ¶
func (*Registry) SetStatus ¶
func (m *Registry) SetStatus(v Registry_Status)
func (*Registry) SetType ¶
func (m *Registry) SetType(v Registry_Type)
type RegistryServiceClient ¶
type RegistryServiceClient interface { // Returns the specified Registry resource. // // To get the list of available Registry resources, make a [RegistryService.List] request. Get(ctx context.Context, in *GetRegistryRequest, opts ...grpc.CallOption) (*Registry, error) // Retrieves the list of Registry resources in the specified folder. List(ctx context.Context, in *ListRegistriesRequest, opts ...grpc.CallOption) (*ListRegistriesResponse, error) // Creates a registry in the specified folder. Create(ctx context.Context, in *CreateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified registry. Update(ctx context.Context, in *UpdateRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified registry. Delete(ctx context.Context, in *DeleteRegistryRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists access bindings for the specified registry. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified registry. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified registry. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // List ip permissions for the specified registry. ListIpPermissions(ctx context.Context, in *ListIpPermissionsRequest, opts ...grpc.CallOption) (*ListIpPermissionsResponse, error) // Set ip permissions for the specified registry. SetIpPermissions(ctx context.Context, in *SetIpPermissionsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Update ip permissions for the specified registry. UpdateIpPermissions(ctx context.Context, in *UpdateIpPermissionsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Retrieves the list of registry artifact resources in the specified registry. ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) }
RegistryServiceClient is the client API for RegistryService 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.
A set of methods for managing Registry resources.
func NewRegistryServiceClient ¶
func NewRegistryServiceClient(cc grpc.ClientConnInterface) RegistryServiceClient
type RegistryServiceServer ¶
type RegistryServiceServer interface { // Returns the specified Registry resource. // // To get the list of available Registry resources, make a [RegistryService.List] request. Get(context.Context, *GetRegistryRequest) (*Registry, error) // Retrieves the list of Registry resources in the specified folder. List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error) // Creates a registry in the specified folder. Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error) // Updates the specified registry. Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error) // Deletes the specified registry. Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error) // Lists access bindings for the specified registry. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified registry. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified registry. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) // List ip permissions for the specified registry. ListIpPermissions(context.Context, *ListIpPermissionsRequest) (*ListIpPermissionsResponse, error) // Set ip permissions for the specified registry. SetIpPermissions(context.Context, *SetIpPermissionsRequest) (*operation.Operation, error) // Update ip permissions for the specified registry. UpdateIpPermissions(context.Context, *UpdateIpPermissionsRequest) (*operation.Operation, error) // Retrieves the list of registry artifact resources in the specified registry. ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) }
RegistryServiceServer is the server API for RegistryService service. All implementations should embed UnimplementedRegistryServiceServer for forward compatibility.
A set of methods for managing Registry resources.
type Registry_Kind ¶
type Registry_Kind int32
const ( Registry_KIND_UNSPECIFIED Registry_Kind = 0 // Registry kind is maven. Registry_MAVEN Registry_Kind = 1 // Registry kind is npm. Registry_NPM Registry_Kind = 2 // Registry kind is docker. Registry_DOCKER Registry_Kind = 3 )
func (Registry_Kind) Descriptor ¶
func (Registry_Kind) Descriptor() protoreflect.EnumDescriptor
func (Registry_Kind) Enum ¶
func (x Registry_Kind) Enum() *Registry_Kind
func (Registry_Kind) EnumDescriptor
deprecated
func (Registry_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Registry_Kind.Descriptor instead.
func (Registry_Kind) Number ¶
func (x Registry_Kind) Number() protoreflect.EnumNumber
func (Registry_Kind) String ¶
func (x Registry_Kind) String() string
func (Registry_Kind) Type ¶
func (Registry_Kind) Type() protoreflect.EnumType
type Registry_Status ¶
type Registry_Status int32
const ( Registry_STATUS_UNSPECIFIED Registry_Status = 0 // Registry is being created. Registry_CREATING Registry_Status = 1 // Registry is ready to use. Registry_ACTIVE Registry_Status = 2 // Registry is being deleted. Registry_DELETING Registry_Status = 3 )
func (Registry_Status) Descriptor ¶
func (Registry_Status) Descriptor() protoreflect.EnumDescriptor
func (Registry_Status) Enum ¶
func (x Registry_Status) Enum() *Registry_Status
func (Registry_Status) EnumDescriptor
deprecated
func (Registry_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Registry_Status.Descriptor instead.
func (Registry_Status) Number ¶
func (x Registry_Status) Number() protoreflect.EnumNumber
func (Registry_Status) String ¶
func (x Registry_Status) String() string
func (Registry_Status) Type ¶
func (Registry_Status) Type() protoreflect.EnumType
type Registry_Type ¶
type Registry_Type int32
const ( Registry_TYPE_UNSPECIFIED Registry_Type = 0 // Registry type is local. Registry_LOCAL Registry_Type = 1 )
func (Registry_Type) Descriptor ¶
func (Registry_Type) Descriptor() protoreflect.EnumDescriptor
func (Registry_Type) Enum ¶
func (x Registry_Type) Enum() *Registry_Type
func (Registry_Type) EnumDescriptor
deprecated
func (Registry_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Registry_Type.Descriptor instead.
func (Registry_Type) Number ¶
func (x Registry_Type) Number() protoreflect.EnumNumber
func (Registry_Type) String ¶
func (x Registry_Type) String() string
func (Registry_Type) Type ¶
func (Registry_Type) Type() protoreflect.EnumType
type SetIpPermissionsMetadata ¶
type SetIpPermissionsMetadata struct { // ID of the registry that ip permission is being set. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*SetIpPermissionsMetadata) Descriptor
deprecated
func (*SetIpPermissionsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SetIpPermissionsMetadata.ProtoReflect.Descriptor instead.
func (*SetIpPermissionsMetadata) GetRegistryId ¶
func (x *SetIpPermissionsMetadata) GetRegistryId() string
func (*SetIpPermissionsMetadata) ProtoMessage ¶
func (*SetIpPermissionsMetadata) ProtoMessage()
func (*SetIpPermissionsMetadata) ProtoReflect ¶
func (x *SetIpPermissionsMetadata) ProtoReflect() protoreflect.Message
func (*SetIpPermissionsMetadata) Reset ¶
func (x *SetIpPermissionsMetadata) Reset()
func (*SetIpPermissionsMetadata) SetRegistryId ¶
func (m *SetIpPermissionsMetadata) SetRegistryId(v string)
func (*SetIpPermissionsMetadata) String ¶
func (x *SetIpPermissionsMetadata) String() string
type SetIpPermissionsRequest ¶
type SetIpPermissionsRequest struct { // ID of the registry for which ip permissions are being set. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // IP permission to be set. IpPermissions []*IpPermission `protobuf:"bytes,2,rep,name=ip_permissions,json=ipPermissions,proto3" json:"ip_permissions,omitempty"` // contains filtered or unexported fields }
func (*SetIpPermissionsRequest) Descriptor
deprecated
func (*SetIpPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetIpPermissionsRequest.ProtoReflect.Descriptor instead.
func (*SetIpPermissionsRequest) GetIpPermissions ¶
func (x *SetIpPermissionsRequest) GetIpPermissions() []*IpPermission
func (*SetIpPermissionsRequest) GetRegistryId ¶
func (x *SetIpPermissionsRequest) GetRegistryId() string
func (*SetIpPermissionsRequest) ProtoMessage ¶
func (*SetIpPermissionsRequest) ProtoMessage()
func (*SetIpPermissionsRequest) ProtoReflect ¶
func (x *SetIpPermissionsRequest) ProtoReflect() protoreflect.Message
func (*SetIpPermissionsRequest) Reset ¶
func (x *SetIpPermissionsRequest) Reset()
func (*SetIpPermissionsRequest) SetIpPermissions ¶
func (m *SetIpPermissionsRequest) SetIpPermissions(v []*IpPermission)
func (*SetIpPermissionsRequest) SetRegistryId ¶
func (m *SetIpPermissionsRequest) SetRegistryId(v string)
func (*SetIpPermissionsRequest) String ¶
func (x *SetIpPermissionsRequest) String() string
type UnimplementedArtifactServiceServer ¶
type UnimplementedArtifactServiceServer struct{}
UnimplementedArtifactServiceServer should 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 (UnimplementedArtifactServiceServer) Delete ¶
func (UnimplementedArtifactServiceServer) Delete(context.Context, *DeleteArtifactRequest) (*operation.Operation, error)
func (UnimplementedArtifactServiceServer) Get ¶
func (UnimplementedArtifactServiceServer) Get(context.Context, *GetArtifactRequest) (*Artifact, error)
type UnimplementedRegistryServiceServer ¶
type UnimplementedRegistryServiceServer struct{}
UnimplementedRegistryServiceServer should 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 (UnimplementedRegistryServiceServer) Create ¶
func (UnimplementedRegistryServiceServer) Create(context.Context, *CreateRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Delete ¶
func (UnimplementedRegistryServiceServer) Delete(context.Context, *DeleteRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Get ¶
func (UnimplementedRegistryServiceServer) Get(context.Context, *GetRegistryRequest) (*Registry, error)
func (UnimplementedRegistryServiceServer) List ¶
func (UnimplementedRegistryServiceServer) List(context.Context, *ListRegistriesRequest) (*ListRegistriesResponse, error)
func (UnimplementedRegistryServiceServer) ListAccessBindings ¶
func (UnimplementedRegistryServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedRegistryServiceServer) ListArtifacts ¶
func (UnimplementedRegistryServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
func (UnimplementedRegistryServiceServer) ListIpPermissions ¶
func (UnimplementedRegistryServiceServer) ListIpPermissions(context.Context, *ListIpPermissionsRequest) (*ListIpPermissionsResponse, error)
func (UnimplementedRegistryServiceServer) SetAccessBindings ¶
func (UnimplementedRegistryServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) SetIpPermissions ¶
func (UnimplementedRegistryServiceServer) SetIpPermissions(context.Context, *SetIpPermissionsRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) Update ¶
func (UnimplementedRegistryServiceServer) Update(context.Context, *UpdateRegistryRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) UpdateAccessBindings ¶
func (UnimplementedRegistryServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedRegistryServiceServer) UpdateIpPermissions ¶
func (UnimplementedRegistryServiceServer) UpdateIpPermissions(context.Context, *UpdateIpPermissionsRequest) (*operation.Operation, error)
type UnsafeArtifactServiceServer ¶
type UnsafeArtifactServiceServer interface {
// contains filtered or unexported methods
}
UnsafeArtifactServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ArtifactServiceServer will result in compilation errors.
type UnsafeRegistryServiceServer ¶
type UnsafeRegistryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServiceServer will result in compilation errors.
type UpdateIpPermissionsMetadata ¶
type UpdateIpPermissionsMetadata struct { // ID of the registry that ip permission is being updated. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateIpPermissionsMetadata) Descriptor
deprecated
func (*UpdateIpPermissionsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIpPermissionsMetadata.ProtoReflect.Descriptor instead.
func (*UpdateIpPermissionsMetadata) GetRegistryId ¶
func (x *UpdateIpPermissionsMetadata) GetRegistryId() string
func (*UpdateIpPermissionsMetadata) ProtoMessage ¶
func (*UpdateIpPermissionsMetadata) ProtoMessage()
func (*UpdateIpPermissionsMetadata) ProtoReflect ¶
func (x *UpdateIpPermissionsMetadata) ProtoReflect() protoreflect.Message
func (*UpdateIpPermissionsMetadata) Reset ¶
func (x *UpdateIpPermissionsMetadata) Reset()
func (*UpdateIpPermissionsMetadata) SetRegistryId ¶
func (m *UpdateIpPermissionsMetadata) SetRegistryId(v string)
func (*UpdateIpPermissionsMetadata) String ¶
func (x *UpdateIpPermissionsMetadata) String() string
type UpdateIpPermissionsRequest ¶
type UpdateIpPermissionsRequest struct { // ID of the registry for which ip permissions are being updated. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Updates to IP permissions. IpPermissionDeltas []*IpPermissionDelta `protobuf:"bytes,2,rep,name=ip_permission_deltas,json=ipPermissionDeltas,proto3" json:"ip_permission_deltas,omitempty"` // contains filtered or unexported fields }
func (*UpdateIpPermissionsRequest) Descriptor
deprecated
func (*UpdateIpPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIpPermissionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateIpPermissionsRequest) GetIpPermissionDeltas ¶
func (x *UpdateIpPermissionsRequest) GetIpPermissionDeltas() []*IpPermissionDelta
func (*UpdateIpPermissionsRequest) GetRegistryId ¶
func (x *UpdateIpPermissionsRequest) GetRegistryId() string
func (*UpdateIpPermissionsRequest) ProtoMessage ¶
func (*UpdateIpPermissionsRequest) ProtoMessage()
func (*UpdateIpPermissionsRequest) ProtoReflect ¶
func (x *UpdateIpPermissionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateIpPermissionsRequest) Reset ¶
func (x *UpdateIpPermissionsRequest) Reset()
func (*UpdateIpPermissionsRequest) SetIpPermissionDeltas ¶
func (m *UpdateIpPermissionsRequest) SetIpPermissionDeltas(v []*IpPermissionDelta)
func (*UpdateIpPermissionsRequest) SetRegistryId ¶
func (m *UpdateIpPermissionsRequest) SetRegistryId(v string)
func (*UpdateIpPermissionsRequest) String ¶
func (x *UpdateIpPermissionsRequest) String() string
type UpdateRegistryMetadata ¶
type UpdateRegistryMetadata struct { // ID of the Registry resource that is being updated. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateRegistryMetadata) Descriptor
deprecated
func (*UpdateRegistryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistryMetadata.ProtoReflect.Descriptor instead.
func (*UpdateRegistryMetadata) GetRegistryId ¶
func (x *UpdateRegistryMetadata) GetRegistryId() string
func (*UpdateRegistryMetadata) ProtoMessage ¶
func (*UpdateRegistryMetadata) ProtoMessage()
func (*UpdateRegistryMetadata) ProtoReflect ¶
func (x *UpdateRegistryMetadata) ProtoReflect() protoreflect.Message
func (*UpdateRegistryMetadata) Reset ¶
func (x *UpdateRegistryMetadata) Reset()
func (*UpdateRegistryMetadata) SetRegistryId ¶
func (m *UpdateRegistryMetadata) SetRegistryId(v string)
func (*UpdateRegistryMetadata) String ¶
func (x *UpdateRegistryMetadata) String() string
type UpdateRegistryRequest ¶
type UpdateRegistryRequest struct { // ID of the Registry resource to update. // // To get the registry ID use a [RegistryService.List] request. RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"` // Field mask that specifies which fields of the Registry resource are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Name of the registry. // // There may be only one registry per folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Resource labels as `key:value` pairs. // // Existing set of `labels` is completely replaced by the provided set. Labels map[string]string `` /* 153-byte string literal not displayed */ // Description of the registry. 0-1024 characters long. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Property names and values. Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRegistryRequest) Descriptor
deprecated
func (*UpdateRegistryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRegistryRequest.ProtoReflect.Descriptor instead.
func (*UpdateRegistryRequest) GetDescription ¶
func (x *UpdateRegistryRequest) GetDescription() string
func (*UpdateRegistryRequest) GetLabels ¶
func (x *UpdateRegistryRequest) GetLabels() map[string]string
func (*UpdateRegistryRequest) GetName ¶
func (x *UpdateRegistryRequest) GetName() string
func (*UpdateRegistryRequest) GetProperties ¶
func (x *UpdateRegistryRequest) GetProperties() map[string]string
func (*UpdateRegistryRequest) GetRegistryId ¶
func (x *UpdateRegistryRequest) GetRegistryId() string
func (*UpdateRegistryRequest) GetUpdateMask ¶
func (x *UpdateRegistryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRegistryRequest) ProtoMessage ¶
func (*UpdateRegistryRequest) ProtoMessage()
func (*UpdateRegistryRequest) ProtoReflect ¶
func (x *UpdateRegistryRequest) ProtoReflect() protoreflect.Message
func (*UpdateRegistryRequest) Reset ¶
func (x *UpdateRegistryRequest) Reset()
func (*UpdateRegistryRequest) SetDescription ¶
func (m *UpdateRegistryRequest) SetDescription(v string)
func (*UpdateRegistryRequest) SetLabels ¶
func (m *UpdateRegistryRequest) SetLabels(v map[string]string)
func (*UpdateRegistryRequest) SetName ¶
func (m *UpdateRegistryRequest) SetName(v string)
func (*UpdateRegistryRequest) SetProperties ¶
func (m *UpdateRegistryRequest) SetProperties(v map[string]string)
func (*UpdateRegistryRequest) SetRegistryId ¶
func (m *UpdateRegistryRequest) SetRegistryId(v string)
func (*UpdateRegistryRequest) SetUpdateMask ¶
func (m *UpdateRegistryRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateRegistryRequest) String ¶
func (x *UpdateRegistryRequest) String() string