containerregistry

package
v0.0.0-...-a04abcf Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 16 Imported by: 12

Documentation

Index

Constants

View Source
const (
	ImageService_List_FullMethodName   = "/yandex.cloud.containerregistry.v1.ImageService/List"
	ImageService_Get_FullMethodName    = "/yandex.cloud.containerregistry.v1.ImageService/Get"
	ImageService_Delete_FullMethodName = "/yandex.cloud.containerregistry.v1.ImageService/Delete"
)
View Source
const (
	LifecyclePolicyService_Get_FullMethodName                            = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/Get"
	LifecyclePolicyService_List_FullMethodName                           = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/List"
	LifecyclePolicyService_Create_FullMethodName                         = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/Create"
	LifecyclePolicyService_Update_FullMethodName                         = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/Update"
	LifecyclePolicyService_Delete_FullMethodName                         = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/Delete"
	LifecyclePolicyService_DryRun_FullMethodName                         = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/DryRun"
	LifecyclePolicyService_GetDryRunResult_FullMethodName                = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/GetDryRunResult"
	LifecyclePolicyService_ListDryRunResults_FullMethodName              = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/ListDryRunResults"
	LifecyclePolicyService_ListDryRunResultAffectedImages_FullMethodName = "/yandex.cloud.containerregistry.v1.LifecyclePolicyService/ListDryRunResultAffectedImages"
)
View Source
const (
	RegistryService_Get_FullMethodName                  = "/yandex.cloud.containerregistry.v1.RegistryService/Get"
	RegistryService_List_FullMethodName                 = "/yandex.cloud.containerregistry.v1.RegistryService/List"
	RegistryService_Create_FullMethodName               = "/yandex.cloud.containerregistry.v1.RegistryService/Create"
	RegistryService_Update_FullMethodName               = "/yandex.cloud.containerregistry.v1.RegistryService/Update"
	RegistryService_Delete_FullMethodName               = "/yandex.cloud.containerregistry.v1.RegistryService/Delete"
	RegistryService_ListAccessBindings_FullMethodName   = "/yandex.cloud.containerregistry.v1.RegistryService/ListAccessBindings"
	RegistryService_SetAccessBindings_FullMethodName    = "/yandex.cloud.containerregistry.v1.RegistryService/SetAccessBindings"
	RegistryService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.containerregistry.v1.RegistryService/UpdateAccessBindings"
	RegistryService_ListIpPermission_FullMethodName     = "/yandex.cloud.containerregistry.v1.RegistryService/ListIpPermission"
	RegistryService_SetIpPermission_FullMethodName      = "/yandex.cloud.containerregistry.v1.RegistryService/SetIpPermission"
	RegistryService_UpdateIpPermission_FullMethodName   = "/yandex.cloud.containerregistry.v1.RegistryService/UpdateIpPermission"
)
View Source
const (
	RepositoryService_Get_FullMethodName                  = "/yandex.cloud.containerregistry.v1.RepositoryService/Get"
	RepositoryService_GetByName_FullMethodName            = "/yandex.cloud.containerregistry.v1.RepositoryService/GetByName"
	RepositoryService_List_FullMethodName                 = "/yandex.cloud.containerregistry.v1.RepositoryService/List"
	RepositoryService_ListAccessBindings_FullMethodName   = "/yandex.cloud.containerregistry.v1.RepositoryService/ListAccessBindings"
	RepositoryService_Upsert_FullMethodName               = "/yandex.cloud.containerregistry.v1.RepositoryService/Upsert"
	RepositoryService_Delete_FullMethodName               = "/yandex.cloud.containerregistry.v1.RepositoryService/Delete"
	RepositoryService_SetAccessBindings_FullMethodName    = "/yandex.cloud.containerregistry.v1.RepositoryService/SetAccessBindings"
	RepositoryService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.containerregistry.v1.RepositoryService/UpdateAccessBindings"
)
View Source
const (
	ScanPolicyService_Get_FullMethodName           = "/yandex.cloud.containerregistry.v1.ScanPolicyService/Get"
	ScanPolicyService_GetByRegistry_FullMethodName = "/yandex.cloud.containerregistry.v1.ScanPolicyService/GetByRegistry"
	ScanPolicyService_Create_FullMethodName        = "/yandex.cloud.containerregistry.v1.ScanPolicyService/Create"
	ScanPolicyService_Update_FullMethodName        = "/yandex.cloud.containerregistry.v1.ScanPolicyService/Update"
	ScanPolicyService_Delete_FullMethodName        = "/yandex.cloud.containerregistry.v1.ScanPolicyService/Delete"
)
View Source
const (
	ScannerService_Scan_FullMethodName                = "/yandex.cloud.containerregistry.v1.ScannerService/Scan"
	ScannerService_Get_FullMethodName                 = "/yandex.cloud.containerregistry.v1.ScannerService/Get"
	ScannerService_GetLast_FullMethodName             = "/yandex.cloud.containerregistry.v1.ScannerService/GetLast"
	ScannerService_List_FullMethodName                = "/yandex.cloud.containerregistry.v1.ScannerService/List"
	ScannerService_ListVulnerabilities_FullMethodName = "/yandex.cloud.containerregistry.v1.ScannerService/ListVulnerabilities"
)

Variables

View Source
var (
	IpPermissionAction_name = map[int32]string{
		0: "IP_PERMISSION_ACTION_UNSPECIFIED",
		1: "ADD",
		2: "REMOVE",
	}
	IpPermissionAction_value = map[string]int32{
		"IP_PERMISSION_ACTION_UNSPECIFIED": 0,
		"ADD":                              1,
		"REMOVE":                           2,
	}
)

Enum value maps for IpPermissionAction.

View Source
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.

View Source
var (
	LifecyclePolicy_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ACTIVE",
		2: "DISABLED",
	}
	LifecyclePolicy_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"ACTIVE":             1,
		"DISABLED":           2,
	}
)

Enum value maps for LifecyclePolicy_Status.

View Source
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.

View Source
var (
	ScanResult_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "RUNNING",
		2: "READY",
		3: "ERROR",
	}
	ScanResult_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"RUNNING":            1,
		"READY":              2,
		"ERROR":              3,
	}
)

Enum value maps for ScanResult_Status.

View Source
var (
	Vulnerability_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "CRITICAL",
		2: "HIGH",
		3: "MEDIUM",
		4: "LOW",
		5: "NEGLIGIBLE",
		6: "UNDEFINED",
	}
	Vulnerability_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"CRITICAL":             1,
		"HIGH":                 2,
		"MEDIUM":               3,
		"LOW":                  4,
		"NEGLIGIBLE":           5,
		"UNDEFINED":            6,
	}
)

Enum value maps for Vulnerability_Severity.

View Source
var File_yandex_cloud_containerregistry_v1_blob_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_image_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_image_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_ip_permission_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_lifecycle_policy_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_lifecycle_policy_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_registry_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_registry_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_repository_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_repository_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_scan_policy_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_scan_policy_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_scanner_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_containerregistry_v1_scanner_service_proto protoreflect.FileDescriptor
View Source
var ImageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.v1.ImageService",
	HandlerType: (*ImageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ImageService_List_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ImageService_Get_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ImageService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/v1/image_service.proto",
}

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

View Source
var LifecyclePolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.v1.LifecyclePolicyService",
	HandlerType: (*LifecyclePolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _LifecyclePolicyService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _LifecyclePolicyService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _LifecyclePolicyService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _LifecyclePolicyService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _LifecyclePolicyService_Delete_Handler,
		},
		{
			MethodName: "DryRun",
			Handler:    _LifecyclePolicyService_DryRun_Handler,
		},
		{
			MethodName: "GetDryRunResult",
			Handler:    _LifecyclePolicyService_GetDryRunResult_Handler,
		},
		{
			MethodName: "ListDryRunResults",
			Handler:    _LifecyclePolicyService_ListDryRunResults_Handler,
		},
		{
			MethodName: "ListDryRunResultAffectedImages",
			Handler:    _LifecyclePolicyService_ListDryRunResultAffectedImages_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/v1/lifecycle_policy_service.proto",
}

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

View Source
var RegistryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.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: "ListIpPermission",
			Handler:    _RegistryService_ListIpPermission_Handler,
		},
		{
			MethodName: "SetIpPermission",
			Handler:    _RegistryService_SetIpPermission_Handler,
		},
		{
			MethodName: "UpdateIpPermission",
			Handler:    _RegistryService_UpdateIpPermission_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/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)

View Source
var RepositoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.v1.RepositoryService",
	HandlerType: (*RepositoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _RepositoryService_Get_Handler,
		},
		{
			MethodName: "GetByName",
			Handler:    _RepositoryService_GetByName_Handler,
		},
		{
			MethodName: "List",
			Handler:    _RepositoryService_List_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _RepositoryService_ListAccessBindings_Handler,
		},
		{
			MethodName: "Upsert",
			Handler:    _RepositoryService_Upsert_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _RepositoryService_Delete_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _RepositoryService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _RepositoryService_UpdateAccessBindings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/v1/repository_service.proto",
}

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

View Source
var ScanPolicyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.v1.ScanPolicyService",
	HandlerType: (*ScanPolicyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ScanPolicyService_Get_Handler,
		},
		{
			MethodName: "GetByRegistry",
			Handler:    _ScanPolicyService_GetByRegistry_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ScanPolicyService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ScanPolicyService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ScanPolicyService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/v1/scan_policy_service.proto",
}

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

View Source
var ScannerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.containerregistry.v1.ScannerService",
	HandlerType: (*ScannerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Scan",
			Handler:    _ScannerService_Scan_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ScannerService_Get_Handler,
		},
		{
			MethodName: "GetLast",
			Handler:    _ScannerService_GetLast_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ScannerService_List_Handler,
		},
		{
			MethodName: "ListVulnerabilities",
			Handler:    _ScannerService_ListVulnerabilities_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/containerregistry/v1/scanner_service.proto",
}

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

Functions

func RegisterImageServiceServer

func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)

func RegisterLifecyclePolicyServiceServer

func RegisterLifecyclePolicyServiceServer(s grpc.ServiceRegistrar, srv LifecyclePolicyServiceServer)

func RegisterRegistryServiceServer

func RegisterRegistryServiceServer(s grpc.ServiceRegistrar, srv RegistryServiceServer)

func RegisterRepositoryServiceServer

func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)

func RegisterScanPolicyServiceServer

func RegisterScanPolicyServiceServer(s grpc.ServiceRegistrar, srv ScanPolicyServiceServer)

func RegisterScannerServiceServer

func RegisterScannerServiceServer(s grpc.ServiceRegistrar, srv ScannerServiceServer)

Types

type Blob

type Blob struct {

	// Output only. ID of the blob.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Content-addressable identifier of the blob.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// Size of the blob, specified in bytes.
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// List of blob urls.
	Urls []string `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"`
	// contains filtered or unexported fields
}

A Blob resource.

func (*Blob) Descriptor deprecated

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

Deprecated: Use Blob.ProtoReflect.Descriptor instead.

func (*Blob) GetDigest

func (x *Blob) GetDigest() string

func (*Blob) GetId

func (x *Blob) GetId() string

func (*Blob) GetSize

func (x *Blob) GetSize() int64

func (*Blob) GetUrls

func (x *Blob) GetUrls() []string

func (*Blob) ProtoMessage

func (*Blob) ProtoMessage()

func (*Blob) ProtoReflect

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

func (*Blob) Reset

func (x *Blob) Reset()

func (*Blob) SetDigest

func (m *Blob) SetDigest(v string)

func (*Blob) SetId

func (m *Blob) SetId(v string)

func (*Blob) SetSize

func (m *Blob) SetSize(v int64)

func (*Blob) SetUrls

func (m *Blob) SetUrls(v []string)

func (*Blob) String

func (x *Blob) String() string

type CreateLifecyclePolicyMetadata

type CreateLifecyclePolicyMetadata struct {

	// ID of the lifecycle policy resource that is being created.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLifecyclePolicyMetadata) Descriptor deprecated

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

Deprecated: Use CreateLifecyclePolicyMetadata.ProtoReflect.Descriptor instead.

func (*CreateLifecyclePolicyMetadata) GetLifecyclePolicyId

func (x *CreateLifecyclePolicyMetadata) GetLifecyclePolicyId() string

func (*CreateLifecyclePolicyMetadata) ProtoMessage

func (*CreateLifecyclePolicyMetadata) ProtoMessage()

func (*CreateLifecyclePolicyMetadata) ProtoReflect

func (*CreateLifecyclePolicyMetadata) Reset

func (x *CreateLifecyclePolicyMetadata) Reset()

func (*CreateLifecyclePolicyMetadata) SetLifecyclePolicyId

func (m *CreateLifecyclePolicyMetadata) SetLifecyclePolicyId(v string)

func (*CreateLifecyclePolicyMetadata) String

type CreateLifecyclePolicyRequest

type CreateLifecyclePolicyRequest struct {

	// ID of the lifecycle policy repository.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// Name of lifecycle policy.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of lifecycle policy.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Status of the lifecycle policy.
	Status LifecyclePolicy_Status `` /* 128-byte string literal not displayed */
	// The rules of the lifecycle policy.
	Rules []*LifecycleRule `protobuf:"bytes,5,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateLifecyclePolicyRequest) Descriptor deprecated

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

Deprecated: Use CreateLifecyclePolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateLifecyclePolicyRequest) GetDescription

func (x *CreateLifecyclePolicyRequest) GetDescription() string

func (*CreateLifecyclePolicyRequest) GetName

func (x *CreateLifecyclePolicyRequest) GetName() string

func (*CreateLifecyclePolicyRequest) GetRepositoryId

func (x *CreateLifecyclePolicyRequest) GetRepositoryId() string

func (*CreateLifecyclePolicyRequest) GetRules

func (*CreateLifecyclePolicyRequest) GetStatus

func (*CreateLifecyclePolicyRequest) ProtoMessage

func (*CreateLifecyclePolicyRequest) ProtoMessage()

func (*CreateLifecyclePolicyRequest) ProtoReflect

func (*CreateLifecyclePolicyRequest) Reset

func (x *CreateLifecyclePolicyRequest) Reset()

func (*CreateLifecyclePolicyRequest) SetDescription

func (m *CreateLifecyclePolicyRequest) SetDescription(v string)

func (*CreateLifecyclePolicyRequest) SetName

func (m *CreateLifecyclePolicyRequest) SetName(v string)

func (*CreateLifecyclePolicyRequest) SetRepositoryId

func (m *CreateLifecyclePolicyRequest) SetRepositoryId(v string)

func (*CreateLifecyclePolicyRequest) SetRules

func (m *CreateLifecyclePolicyRequest) SetRules(v []*LifecycleRule)

func (*CreateLifecyclePolicyRequest) SetStatus

func (*CreateLifecyclePolicyRequest) String

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 */
	// contains filtered or unexported fields
}

func (*CreateRegistryRequest) Descriptor deprecated

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

Deprecated: Use CreateRegistryRequest.ProtoReflect.Descriptor instead.

func (*CreateRegistryRequest) GetFolderId

func (x *CreateRegistryRequest) GetFolderId() string

func (*CreateRegistryRequest) GetLabels

func (x *CreateRegistryRequest) GetLabels() map[string]string

func (*CreateRegistryRequest) GetName

func (x *CreateRegistryRequest) GetName() string

func (*CreateRegistryRequest) ProtoMessage

func (*CreateRegistryRequest) ProtoMessage()

func (*CreateRegistryRequest) ProtoReflect

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

func (*CreateRegistryRequest) Reset

func (x *CreateRegistryRequest) Reset()

func (*CreateRegistryRequest) SetFolderId

func (m *CreateRegistryRequest) SetFolderId(v string)

func (*CreateRegistryRequest) SetLabels

func (m *CreateRegistryRequest) SetLabels(v map[string]string)

func (*CreateRegistryRequest) SetName

func (m *CreateRegistryRequest) SetName(v string)

func (*CreateRegistryRequest) String

func (x *CreateRegistryRequest) String() string

type CreateScanPolicyMetadata

type CreateScanPolicyMetadata struct {

	// ID of created scan policy resource.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateScanPolicyMetadata) Descriptor deprecated

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

Deprecated: Use CreateScanPolicyMetadata.ProtoReflect.Descriptor instead.

func (*CreateScanPolicyMetadata) GetScanPolicyId

func (x *CreateScanPolicyMetadata) GetScanPolicyId() string

func (*CreateScanPolicyMetadata) ProtoMessage

func (*CreateScanPolicyMetadata) ProtoMessage()

func (*CreateScanPolicyMetadata) ProtoReflect

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

func (*CreateScanPolicyMetadata) Reset

func (x *CreateScanPolicyMetadata) Reset()

func (*CreateScanPolicyMetadata) SetScanPolicyId

func (m *CreateScanPolicyMetadata) SetScanPolicyId(v string)

func (*CreateScanPolicyMetadata) String

func (x *CreateScanPolicyMetadata) String() string

type CreateScanPolicyRequest

type CreateScanPolicyRequest struct {

	// ID of the scan policy registry.
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// Name of the scan policy.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the scan policy.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Rules of the scan policy.
	Rules *ScanRules `protobuf:"bytes,4,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateScanPolicyRequest) Descriptor deprecated

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

Deprecated: Use CreateScanPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateScanPolicyRequest) GetDescription

func (x *CreateScanPolicyRequest) GetDescription() string

func (*CreateScanPolicyRequest) GetName

func (x *CreateScanPolicyRequest) GetName() string

func (*CreateScanPolicyRequest) GetRegistryId

func (x *CreateScanPolicyRequest) GetRegistryId() string

func (*CreateScanPolicyRequest) GetRules

func (x *CreateScanPolicyRequest) GetRules() *ScanRules

func (*CreateScanPolicyRequest) ProtoMessage

func (*CreateScanPolicyRequest) ProtoMessage()

func (*CreateScanPolicyRequest) ProtoReflect

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

func (*CreateScanPolicyRequest) Reset

func (x *CreateScanPolicyRequest) Reset()

func (*CreateScanPolicyRequest) SetDescription

func (m *CreateScanPolicyRequest) SetDescription(v string)

func (*CreateScanPolicyRequest) SetName

func (m *CreateScanPolicyRequest) SetName(v string)

func (*CreateScanPolicyRequest) SetRegistryId

func (m *CreateScanPolicyRequest) SetRegistryId(v string)

func (*CreateScanPolicyRequest) SetRules

func (m *CreateScanPolicyRequest) SetRules(v *ScanRules)

func (*CreateScanPolicyRequest) String

func (x *CreateScanPolicyRequest) String() string

type DeleteImageMetadata

type DeleteImageMetadata struct {

	// ID of the Docker image that is being deleted.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteImageMetadata) Descriptor deprecated

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

Deprecated: Use DeleteImageMetadata.ProtoReflect.Descriptor instead.

func (*DeleteImageMetadata) GetImageId

func (x *DeleteImageMetadata) GetImageId() string

func (*DeleteImageMetadata) ProtoMessage

func (*DeleteImageMetadata) ProtoMessage()

func (*DeleteImageMetadata) ProtoReflect

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

func (*DeleteImageMetadata) Reset

func (x *DeleteImageMetadata) Reset()

func (*DeleteImageMetadata) SetImageId

func (m *DeleteImageMetadata) SetImageId(v string)

func (*DeleteImageMetadata) String

func (x *DeleteImageMetadata) String() string

type DeleteImageRequest

type DeleteImageRequest struct {

	// ID of the Docker image to delete.
	//
	// To get Docker image ID use a [ImageService.List] request.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteImageRequest) Descriptor deprecated

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

Deprecated: Use DeleteImageRequest.ProtoReflect.Descriptor instead.

func (*DeleteImageRequest) GetImageId

func (x *DeleteImageRequest) GetImageId() string

func (*DeleteImageRequest) ProtoMessage

func (*DeleteImageRequest) ProtoMessage()

func (*DeleteImageRequest) ProtoReflect

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

func (*DeleteImageRequest) Reset

func (x *DeleteImageRequest) Reset()

func (*DeleteImageRequest) SetImageId

func (m *DeleteImageRequest) SetImageId(v string)

func (*DeleteImageRequest) String

func (x *DeleteImageRequest) String() string

type DeleteLifecyclePolicyMetadata

type DeleteLifecyclePolicyMetadata struct {

	// ID of the lifecycle policy resource that is being deleted.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLifecyclePolicyMetadata) Descriptor deprecated

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

Deprecated: Use DeleteLifecyclePolicyMetadata.ProtoReflect.Descriptor instead.

func (*DeleteLifecyclePolicyMetadata) GetLifecyclePolicyId

func (x *DeleteLifecyclePolicyMetadata) GetLifecyclePolicyId() string

func (*DeleteLifecyclePolicyMetadata) ProtoMessage

func (*DeleteLifecyclePolicyMetadata) ProtoMessage()

func (*DeleteLifecyclePolicyMetadata) ProtoReflect

func (*DeleteLifecyclePolicyMetadata) Reset

func (x *DeleteLifecyclePolicyMetadata) Reset()

func (*DeleteLifecyclePolicyMetadata) SetLifecyclePolicyId

func (m *DeleteLifecyclePolicyMetadata) SetLifecyclePolicyId(v string)

func (*DeleteLifecyclePolicyMetadata) String

type DeleteLifecyclePolicyRequest

type DeleteLifecyclePolicyRequest struct {

	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLifecyclePolicyRequest) Descriptor deprecated

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

Deprecated: Use DeleteLifecyclePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteLifecyclePolicyRequest) GetLifecyclePolicyId

func (x *DeleteLifecyclePolicyRequest) GetLifecyclePolicyId() string

func (*DeleteLifecyclePolicyRequest) ProtoMessage

func (*DeleteLifecyclePolicyRequest) ProtoMessage()

func (*DeleteLifecyclePolicyRequest) ProtoReflect

func (*DeleteLifecyclePolicyRequest) Reset

func (x *DeleteLifecyclePolicyRequest) Reset()

func (*DeleteLifecyclePolicyRequest) SetLifecyclePolicyId

func (m *DeleteLifecyclePolicyRequest) SetLifecyclePolicyId(v string)

func (*DeleteLifecyclePolicyRequest) 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 DeleteRepositoryMetadata

type DeleteRepositoryMetadata struct {

	// ID of the repository that is being deleted.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryMetadata) Descriptor deprecated

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

Deprecated: Use DeleteRepositoryMetadata.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryMetadata) GetRepositoryId

func (x *DeleteRepositoryMetadata) GetRepositoryId() string

func (*DeleteRepositoryMetadata) ProtoMessage

func (*DeleteRepositoryMetadata) ProtoMessage()

func (*DeleteRepositoryMetadata) ProtoReflect

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

func (*DeleteRepositoryMetadata) Reset

func (x *DeleteRepositoryMetadata) Reset()

func (*DeleteRepositoryMetadata) SetRepositoryId

func (m *DeleteRepositoryMetadata) SetRepositoryId(v string)

func (*DeleteRepositoryMetadata) String

func (x *DeleteRepositoryMetadata) String() string

type DeleteRepositoryRequest

type DeleteRepositoryRequest struct {

	// ID of the repository to delete.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryRequest) Descriptor deprecated

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

Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryRequest) GetRepositoryId

func (x *DeleteRepositoryRequest) GetRepositoryId() string

func (*DeleteRepositoryRequest) ProtoMessage

func (*DeleteRepositoryRequest) ProtoMessage()

func (*DeleteRepositoryRequest) ProtoReflect

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

func (*DeleteRepositoryRequest) Reset

func (x *DeleteRepositoryRequest) Reset()

func (*DeleteRepositoryRequest) SetRepositoryId

func (m *DeleteRepositoryRequest) SetRepositoryId(v string)

func (*DeleteRepositoryRequest) String

func (x *DeleteRepositoryRequest) String() string

type DeleteScanPolicyMetadata

type DeleteScanPolicyMetadata struct {

	// ID of the scan policy resource that is deleted.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteScanPolicyMetadata) Descriptor deprecated

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

Deprecated: Use DeleteScanPolicyMetadata.ProtoReflect.Descriptor instead.

func (*DeleteScanPolicyMetadata) GetScanPolicyId

func (x *DeleteScanPolicyMetadata) GetScanPolicyId() string

func (*DeleteScanPolicyMetadata) ProtoMessage

func (*DeleteScanPolicyMetadata) ProtoMessage()

func (*DeleteScanPolicyMetadata) ProtoReflect

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

func (*DeleteScanPolicyMetadata) Reset

func (x *DeleteScanPolicyMetadata) Reset()

func (*DeleteScanPolicyMetadata) SetScanPolicyId

func (m *DeleteScanPolicyMetadata) SetScanPolicyId(v string)

func (*DeleteScanPolicyMetadata) String

func (x *DeleteScanPolicyMetadata) String() string

type DeleteScanPolicyRequest

type DeleteScanPolicyRequest struct {

	// ID of the scan policy.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteScanPolicyRequest) Descriptor deprecated

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

Deprecated: Use DeleteScanPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteScanPolicyRequest) GetScanPolicyId

func (x *DeleteScanPolicyRequest) GetScanPolicyId() string

func (*DeleteScanPolicyRequest) ProtoMessage

func (*DeleteScanPolicyRequest) ProtoMessage()

func (*DeleteScanPolicyRequest) ProtoReflect

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

func (*DeleteScanPolicyRequest) Reset

func (x *DeleteScanPolicyRequest) Reset()

func (*DeleteScanPolicyRequest) SetScanPolicyId

func (m *DeleteScanPolicyRequest) SetScanPolicyId(v string)

func (*DeleteScanPolicyRequest) String

func (x *DeleteScanPolicyRequest) String() string

type DryRunLifecyclePolicyMetadata

type DryRunLifecyclePolicyMetadata struct {

	// ID of the dry run result of the lifecycle policy.
	DryRunLifecyclePolicyResultId string `` /* 156-byte string literal not displayed */
	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,2,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DryRunLifecyclePolicyMetadata) Descriptor deprecated

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

Deprecated: Use DryRunLifecyclePolicyMetadata.ProtoReflect.Descriptor instead.

func (*DryRunLifecyclePolicyMetadata) GetDryRunLifecyclePolicyResultId

func (x *DryRunLifecyclePolicyMetadata) GetDryRunLifecyclePolicyResultId() string

func (*DryRunLifecyclePolicyMetadata) GetLifecyclePolicyId

func (x *DryRunLifecyclePolicyMetadata) GetLifecyclePolicyId() string

func (*DryRunLifecyclePolicyMetadata) ProtoMessage

func (*DryRunLifecyclePolicyMetadata) ProtoMessage()

func (*DryRunLifecyclePolicyMetadata) ProtoReflect

func (*DryRunLifecyclePolicyMetadata) Reset

func (x *DryRunLifecyclePolicyMetadata) Reset()

func (*DryRunLifecyclePolicyMetadata) SetDryRunLifecyclePolicyResultId

func (m *DryRunLifecyclePolicyMetadata) SetDryRunLifecyclePolicyResultId(v string)

func (*DryRunLifecyclePolicyMetadata) SetLifecyclePolicyId

func (m *DryRunLifecyclePolicyMetadata) SetLifecyclePolicyId(v string)

func (*DryRunLifecyclePolicyMetadata) String

type DryRunLifecyclePolicyRequest

type DryRunLifecyclePolicyRequest struct {

	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DryRunLifecyclePolicyRequest) Descriptor deprecated

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

Deprecated: Use DryRunLifecyclePolicyRequest.ProtoReflect.Descriptor instead.

func (*DryRunLifecyclePolicyRequest) GetLifecyclePolicyId

func (x *DryRunLifecyclePolicyRequest) GetLifecyclePolicyId() string

func (*DryRunLifecyclePolicyRequest) ProtoMessage

func (*DryRunLifecyclePolicyRequest) ProtoMessage()

func (*DryRunLifecyclePolicyRequest) ProtoReflect

func (*DryRunLifecyclePolicyRequest) Reset

func (x *DryRunLifecyclePolicyRequest) Reset()

func (*DryRunLifecyclePolicyRequest) SetLifecyclePolicyId

func (m *DryRunLifecyclePolicyRequest) SetLifecyclePolicyId(v string)

func (*DryRunLifecyclePolicyRequest) String

type DryRunLifecyclePolicyResult

type DryRunLifecyclePolicyResult struct {

	// ID of the dry run result of the lifecycle policy.
	DryRunLifecyclePolicyResultId string `` /* 156-byte string literal not displayed */
	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,2,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// Time of the getting result.
	RunAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=run_at,json=runAt,proto3" json:"run_at,omitempty"`
	// Count of affected images.
	AffectedImagesCount int64 `protobuf:"varint,4,opt,name=affected_images_count,json=affectedImagesCount,proto3" json:"affected_images_count,omitempty"`
	// contains filtered or unexported fields
}

func (*DryRunLifecyclePolicyResult) Descriptor deprecated

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

Deprecated: Use DryRunLifecyclePolicyResult.ProtoReflect.Descriptor instead.

func (*DryRunLifecyclePolicyResult) GetAffectedImagesCount

func (x *DryRunLifecyclePolicyResult) GetAffectedImagesCount() int64

func (*DryRunLifecyclePolicyResult) GetDryRunLifecyclePolicyResultId

func (x *DryRunLifecyclePolicyResult) GetDryRunLifecyclePolicyResultId() string

func (*DryRunLifecyclePolicyResult) GetLifecyclePolicyId

func (x *DryRunLifecyclePolicyResult) GetLifecyclePolicyId() string

func (*DryRunLifecyclePolicyResult) GetRunAt

func (*DryRunLifecyclePolicyResult) ProtoMessage

func (*DryRunLifecyclePolicyResult) ProtoMessage()

func (*DryRunLifecyclePolicyResult) ProtoReflect

func (*DryRunLifecyclePolicyResult) Reset

func (x *DryRunLifecyclePolicyResult) Reset()

func (*DryRunLifecyclePolicyResult) SetAffectedImagesCount

func (m *DryRunLifecyclePolicyResult) SetAffectedImagesCount(v int64)

func (*DryRunLifecyclePolicyResult) SetDryRunLifecyclePolicyResultId

func (m *DryRunLifecyclePolicyResult) SetDryRunLifecyclePolicyResultId(v string)

func (*DryRunLifecyclePolicyResult) SetLifecyclePolicyId

func (m *DryRunLifecyclePolicyResult) SetLifecyclePolicyId(v string)

func (*DryRunLifecyclePolicyResult) SetRunAt

func (*DryRunLifecyclePolicyResult) String

func (x *DryRunLifecyclePolicyResult) String() string

type GetDryRunLifecyclePolicyResultRequest

type GetDryRunLifecyclePolicyResultRequest struct {

	// ID of the dry run result of the lifecycle policy.
	DryRunLifecyclePolicyResultId string `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetDryRunLifecyclePolicyResultRequest) Descriptor deprecated

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

Deprecated: Use GetDryRunLifecyclePolicyResultRequest.ProtoReflect.Descriptor instead.

func (*GetDryRunLifecyclePolicyResultRequest) GetDryRunLifecyclePolicyResultId

func (x *GetDryRunLifecyclePolicyResultRequest) GetDryRunLifecyclePolicyResultId() string

func (*GetDryRunLifecyclePolicyResultRequest) ProtoMessage

func (*GetDryRunLifecyclePolicyResultRequest) ProtoMessage()

func (*GetDryRunLifecyclePolicyResultRequest) ProtoReflect

func (*GetDryRunLifecyclePolicyResultRequest) Reset

func (*GetDryRunLifecyclePolicyResultRequest) SetDryRunLifecyclePolicyResultId

func (m *GetDryRunLifecyclePolicyResultRequest) SetDryRunLifecyclePolicyResultId(v string)

func (*GetDryRunLifecyclePolicyResultRequest) String

type GetImageRequest

type GetImageRequest struct {

	// ID of the Docker image resource to return.
	//
	// To get the Docker image ID use a [ImageService.List] request.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetImageRequest) Descriptor deprecated

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

Deprecated: Use GetImageRequest.ProtoReflect.Descriptor instead.

func (*GetImageRequest) GetImageId

func (x *GetImageRequest) GetImageId() string

func (*GetImageRequest) ProtoMessage

func (*GetImageRequest) ProtoMessage()

func (*GetImageRequest) ProtoReflect

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

func (*GetImageRequest) Reset

func (x *GetImageRequest) Reset()

func (*GetImageRequest) SetImageId

func (m *GetImageRequest) SetImageId(v string)

func (*GetImageRequest) String

func (x *GetImageRequest) String() string

type GetLastScanResultRequest

type GetLastScanResultRequest struct {

	// ID of the Image to get last finished ScanResult.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLastScanResultRequest) Descriptor deprecated

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

Deprecated: Use GetLastScanResultRequest.ProtoReflect.Descriptor instead.

func (*GetLastScanResultRequest) GetImageId

func (x *GetLastScanResultRequest) GetImageId() string

func (*GetLastScanResultRequest) ProtoMessage

func (*GetLastScanResultRequest) ProtoMessage()

func (*GetLastScanResultRequest) ProtoReflect

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

func (*GetLastScanResultRequest) Reset

func (x *GetLastScanResultRequest) Reset()

func (*GetLastScanResultRequest) SetImageId

func (m *GetLastScanResultRequest) SetImageId(v string)

func (*GetLastScanResultRequest) String

func (x *GetLastScanResultRequest) String() string

type GetLifecyclePolicyRequest

type GetLifecyclePolicyRequest struct {

	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLifecyclePolicyRequest) Descriptor deprecated

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

Deprecated: Use GetLifecyclePolicyRequest.ProtoReflect.Descriptor instead.

func (*GetLifecyclePolicyRequest) GetLifecyclePolicyId

func (x *GetLifecyclePolicyRequest) GetLifecyclePolicyId() string

func (*GetLifecyclePolicyRequest) ProtoMessage

func (*GetLifecyclePolicyRequest) ProtoMessage()

func (*GetLifecyclePolicyRequest) ProtoReflect

func (*GetLifecyclePolicyRequest) Reset

func (x *GetLifecyclePolicyRequest) Reset()

func (*GetLifecyclePolicyRequest) SetLifecyclePolicyId

func (m *GetLifecyclePolicyRequest) SetLifecyclePolicyId(v string)

func (*GetLifecyclePolicyRequest) String

func (x *GetLifecyclePolicyRequest) 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 GetRepositoryByNameRequest

type GetRepositoryByNameRequest struct {

	// Name of the Repository resource to return.
	//
	// To get the repository name use a [RepositoryService.List] request.
	RepositoryName string `protobuf:"bytes,1,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryByNameRequest) Descriptor deprecated

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

Deprecated: Use GetRepositoryByNameRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryByNameRequest) GetRepositoryName

func (x *GetRepositoryByNameRequest) GetRepositoryName() string

func (*GetRepositoryByNameRequest) ProtoMessage

func (*GetRepositoryByNameRequest) ProtoMessage()

func (*GetRepositoryByNameRequest) ProtoReflect

func (*GetRepositoryByNameRequest) Reset

func (x *GetRepositoryByNameRequest) Reset()

func (*GetRepositoryByNameRequest) SetRepositoryName

func (m *GetRepositoryByNameRequest) SetRepositoryName(v string)

func (*GetRepositoryByNameRequest) String

func (x *GetRepositoryByNameRequest) String() string

type GetRepositoryRequest

type GetRepositoryRequest struct {

	// ID of the Repository resource to return.
	//
	// To get the repository ID use a [RepositoryService.List] request.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryRequest) Descriptor deprecated

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

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetRepositoryId

func (x *GetRepositoryRequest) GetRepositoryId() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

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

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) SetRepositoryId

func (m *GetRepositoryRequest) SetRepositoryId(v string)

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

type GetScanPolicyByRegistryRequest

type GetScanPolicyByRegistryRequest struct {

	// ID of the registry with scan policy.
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetScanPolicyByRegistryRequest) Descriptor deprecated

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

Deprecated: Use GetScanPolicyByRegistryRequest.ProtoReflect.Descriptor instead.

func (*GetScanPolicyByRegistryRequest) GetRegistryId

func (x *GetScanPolicyByRegistryRequest) GetRegistryId() string

func (*GetScanPolicyByRegistryRequest) ProtoMessage

func (*GetScanPolicyByRegistryRequest) ProtoMessage()

func (*GetScanPolicyByRegistryRequest) ProtoReflect

func (*GetScanPolicyByRegistryRequest) Reset

func (x *GetScanPolicyByRegistryRequest) Reset()

func (*GetScanPolicyByRegistryRequest) SetRegistryId

func (m *GetScanPolicyByRegistryRequest) SetRegistryId(v string)

func (*GetScanPolicyByRegistryRequest) String

type GetScanPolicyRequest

type GetScanPolicyRequest struct {

	// ID of the scan policy.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetScanPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetScanPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetScanPolicyRequest) GetScanPolicyId

func (x *GetScanPolicyRequest) GetScanPolicyId() string

func (*GetScanPolicyRequest) ProtoMessage

func (*GetScanPolicyRequest) ProtoMessage()

func (*GetScanPolicyRequest) ProtoReflect

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

func (*GetScanPolicyRequest) Reset

func (x *GetScanPolicyRequest) Reset()

func (*GetScanPolicyRequest) SetScanPolicyId

func (m *GetScanPolicyRequest) SetScanPolicyId(v string)

func (*GetScanPolicyRequest) String

func (x *GetScanPolicyRequest) String() string

type GetScanResultRequest

type GetScanResultRequest struct {

	// ID of the ScanResult to return.
	ScanResultId string `protobuf:"bytes,1,opt,name=scan_result_id,json=scanResultId,proto3" json:"scan_result_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetScanResultRequest) Descriptor deprecated

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

Deprecated: Use GetScanResultRequest.ProtoReflect.Descriptor instead.

func (*GetScanResultRequest) GetScanResultId

func (x *GetScanResultRequest) GetScanResultId() string

func (*GetScanResultRequest) ProtoMessage

func (*GetScanResultRequest) ProtoMessage()

func (*GetScanResultRequest) ProtoReflect

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

func (*GetScanResultRequest) Reset

func (x *GetScanResultRequest) Reset()

func (*GetScanResultRequest) SetScanResultId

func (m *GetScanResultRequest) SetScanResultId(v string)

func (*GetScanResultRequest) String

func (x *GetScanResultRequest) String() string

type Image

type Image struct {

	// Output only. ID of the Docker image.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the Docker image.
	// The name is unique within the registry.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Content-addressable identifier of the Docker image.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// Compressed size of the Docker image, specified in bytes.
	CompressedSize int64 `protobuf:"varint,4,opt,name=compressed_size,json=compressedSize,proto3" json:"compressed_size,omitempty"`
	// Configuration of the Docker image.
	Config *Blob `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// Layers of the Docker image.
	Layers []*Blob `protobuf:"bytes,6,rep,name=layers,proto3" json:"layers,omitempty"`
	// Tags of the Docker image.
	//
	// Each tag is unique within the repository.
	Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
	// Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

An Image resource. For more information, see [Docker image](/docs/container-registry/concepts/docker-image).

func (*Image) Descriptor deprecated

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetCompressedSize

func (x *Image) GetCompressedSize() int64

func (*Image) GetConfig

func (x *Image) GetConfig() *Blob

func (*Image) GetCreatedAt

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

func (*Image) GetDigest

func (x *Image) GetDigest() string

func (*Image) GetId

func (x *Image) GetId() string

func (*Image) GetLayers

func (x *Image) GetLayers() []*Blob

func (*Image) GetName

func (x *Image) GetName() string

func (*Image) GetTags

func (x *Image) GetTags() []string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) SetCompressedSize

func (m *Image) SetCompressedSize(v int64)

func (*Image) SetConfig

func (m *Image) SetConfig(v *Blob)

func (*Image) SetCreatedAt

func (m *Image) SetCreatedAt(v *timestamppb.Timestamp)

func (*Image) SetDigest

func (m *Image) SetDigest(v string)

func (*Image) SetId

func (m *Image) SetId(v string)

func (*Image) SetLayers

func (m *Image) SetLayers(v []*Blob)

func (*Image) SetName

func (m *Image) SetName(v string)

func (*Image) SetTags

func (m *Image) SetTags(v []string)

func (*Image) String

func (x *Image) String() string

type ImageServiceClient

type ImageServiceClient interface {
	// Retrieves the list of Image resources in the specified registry or repository.
	List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
	// Returns the specified Image resource.
	//
	// To get the list of available Image resources, make a [List] request.
	Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error)
	// Deletes the specified Docker image.
	Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ImageServiceClient is the client API for ImageService service.

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

type ImageServiceServer

type ImageServiceServer interface {
	// Retrieves the list of Image resources in the specified registry or repository.
	List(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
	// Returns the specified Image resource.
	//
	// To get the list of available Image resources, make a [List] request.
	Get(context.Context, *GetImageRequest) (*Image, error)
	// Deletes the specified Docker image.
	Delete(context.Context, *DeleteImageRequest) (*operation.Operation, error)
}

ImageServiceServer is the server API for ImageService service. All implementations should embed UnimplementedImageServiceServer for forward compatibility

type IpPermission

type IpPermission struct {
	Action IpPermission_Action `protobuf:"varint,1,opt,name=action,proto3,enum=yandex.cloud.containerregistry.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 IpPermissionAction

type IpPermissionAction int32
const (
	IpPermissionAction_IP_PERMISSION_ACTION_UNSPECIFIED IpPermissionAction = 0
	// Addition of an ip permission.
	IpPermissionAction_ADD IpPermissionAction = 1
	// Removal of an ip permission.
	IpPermissionAction_REMOVE IpPermissionAction = 2
)

func (IpPermissionAction) Descriptor

func (IpPermissionAction) Enum

func (IpPermissionAction) EnumDescriptor deprecated

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

Deprecated: Use IpPermissionAction.Descriptor instead.

func (IpPermissionAction) Number

func (IpPermissionAction) String

func (x IpPermissionAction) String() string

func (IpPermissionAction) Type

type IpPermissionDelta

type IpPermissionDelta struct {

	// The action that is being performed on an ip permission.
	Action IpPermissionAction `protobuf:"varint,1,opt,name=action,proto3,enum=yandex.cloud.containerregistry.v1.IpPermissionAction" 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() IpPermissionAction

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 IpPermissionAction)

func (*IpPermissionDelta) SetIpPermission

func (m *IpPermissionDelta) SetIpPermission(v *IpPermission)

func (*IpPermissionDelta) String

func (x *IpPermissionDelta) String() string

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) Enum

func (IpPermission_Action) EnumDescriptor deprecated

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

Deprecated: Use IpPermission_Action.Descriptor instead.

func (IpPermission_Action) Number

func (IpPermission_Action) String

func (x IpPermission_Action) String() string

func (IpPermission_Action) Type

type LifecyclePolicy

type LifecyclePolicy struct {

	// ID of the lifecycle policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the lifecycle policy.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the repository that the lifecycle policy belongs to.
	// Required. The maximum string length in characters is 50.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// Description of the lifecycle policy.
	// The maximum string length in characters is 256.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Status of lifecycle policy.
	Status LifecyclePolicy_Status `` /* 128-byte string literal not displayed */
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// The rules of lifecycle policy.
	Rules []*LifecycleRule `protobuf:"bytes,7,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*LifecyclePolicy) Descriptor deprecated

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

Deprecated: Use LifecyclePolicy.ProtoReflect.Descriptor instead.

func (*LifecyclePolicy) GetCreatedAt

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

func (*LifecyclePolicy) GetDescription

func (x *LifecyclePolicy) GetDescription() string

func (*LifecyclePolicy) GetId

func (x *LifecyclePolicy) GetId() string

func (*LifecyclePolicy) GetName

func (x *LifecyclePolicy) GetName() string

func (*LifecyclePolicy) GetRepositoryId

func (x *LifecyclePolicy) GetRepositoryId() string

func (*LifecyclePolicy) GetRules

func (x *LifecyclePolicy) GetRules() []*LifecycleRule

func (*LifecyclePolicy) GetStatus

func (x *LifecyclePolicy) GetStatus() LifecyclePolicy_Status

func (*LifecyclePolicy) ProtoMessage

func (*LifecyclePolicy) ProtoMessage()

func (*LifecyclePolicy) ProtoReflect

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

func (*LifecyclePolicy) Reset

func (x *LifecyclePolicy) Reset()

func (*LifecyclePolicy) SetCreatedAt

func (m *LifecyclePolicy) SetCreatedAt(v *timestamppb.Timestamp)

func (*LifecyclePolicy) SetDescription

func (m *LifecyclePolicy) SetDescription(v string)

func (*LifecyclePolicy) SetId

func (m *LifecyclePolicy) SetId(v string)

func (*LifecyclePolicy) SetName

func (m *LifecyclePolicy) SetName(v string)

func (*LifecyclePolicy) SetRepositoryId

func (m *LifecyclePolicy) SetRepositoryId(v string)

func (*LifecyclePolicy) SetRules

func (m *LifecyclePolicy) SetRules(v []*LifecycleRule)

func (*LifecyclePolicy) SetStatus

func (m *LifecyclePolicy) SetStatus(v LifecyclePolicy_Status)

func (*LifecyclePolicy) String

func (x *LifecyclePolicy) String() string

type LifecyclePolicyServiceClient

type LifecyclePolicyServiceClient interface {
	// Returns the specified lifecycle policy.
	//
	// To get the list of all available lifecycle policies, make a [List] request.
	Get(ctx context.Context, in *GetLifecyclePolicyRequest, opts ...grpc.CallOption) (*LifecyclePolicy, error)
	// Retrieves the list of lifecycle policies in the specified repository.
	List(ctx context.Context, in *ListLifecyclePoliciesRequest, opts ...grpc.CallOption) (*ListLifecyclePoliciesResponse, error)
	// Creates a lifecycle policy in the specified repository.
	Create(ctx context.Context, in *CreateLifecyclePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified lifecycle policy.
	Update(ctx context.Context, in *UpdateLifecyclePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified lifecycle policy.
	Delete(ctx context.Context, in *DeleteLifecyclePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a request of a dry run of the lifecycle policy.
	DryRun(ctx context.Context, in *DryRunLifecyclePolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the dry run result of the specified lifecycle policy.
	GetDryRunResult(ctx context.Context, in *GetDryRunLifecyclePolicyResultRequest, opts ...grpc.CallOption) (*DryRunLifecyclePolicyResult, error)
	// Retrieves the list of the dry run results.
	ListDryRunResults(ctx context.Context, in *ListDryRunLifecyclePolicyResultsRequest, opts ...grpc.CallOption) (*ListDryRunLifecyclePolicyResultsResponse, error)
	// Retrieves the list of the affected images.
	ListDryRunResultAffectedImages(ctx context.Context, in *ListDryRunLifecyclePolicyResultAffectedImagesRequest, opts ...grpc.CallOption) (*ListDryRunLifecyclePolicyResultAffectedImagesResponse, error)
}

LifecyclePolicyServiceClient is the client API for LifecyclePolicyService service.

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

type LifecyclePolicyServiceServer

type LifecyclePolicyServiceServer interface {
	// Returns the specified lifecycle policy.
	//
	// To get the list of all available lifecycle policies, make a [List] request.
	Get(context.Context, *GetLifecyclePolicyRequest) (*LifecyclePolicy, error)
	// Retrieves the list of lifecycle policies in the specified repository.
	List(context.Context, *ListLifecyclePoliciesRequest) (*ListLifecyclePoliciesResponse, error)
	// Creates a lifecycle policy in the specified repository.
	Create(context.Context, *CreateLifecyclePolicyRequest) (*operation.Operation, error)
	// Updates the specified lifecycle policy.
	Update(context.Context, *UpdateLifecyclePolicyRequest) (*operation.Operation, error)
	// Deletes the specified lifecycle policy.
	Delete(context.Context, *DeleteLifecyclePolicyRequest) (*operation.Operation, error)
	// Creates a request of a dry run of the lifecycle policy.
	DryRun(context.Context, *DryRunLifecyclePolicyRequest) (*operation.Operation, error)
	// Returns the dry run result of the specified lifecycle policy.
	GetDryRunResult(context.Context, *GetDryRunLifecyclePolicyResultRequest) (*DryRunLifecyclePolicyResult, error)
	// Retrieves the list of the dry run results.
	ListDryRunResults(context.Context, *ListDryRunLifecyclePolicyResultsRequest) (*ListDryRunLifecyclePolicyResultsResponse, error)
	// Retrieves the list of the affected images.
	ListDryRunResultAffectedImages(context.Context, *ListDryRunLifecyclePolicyResultAffectedImagesRequest) (*ListDryRunLifecyclePolicyResultAffectedImagesResponse, error)
}

LifecyclePolicyServiceServer is the server API for LifecyclePolicyService service. All implementations should embed UnimplementedLifecyclePolicyServiceServer for forward compatibility

type LifecyclePolicy_Status

type LifecyclePolicy_Status int32
const (
	LifecyclePolicy_STATUS_UNSPECIFIED LifecyclePolicy_Status = 0
	// Policy is active and regularly deletes Docker images according to the established rules.
	LifecyclePolicy_ACTIVE LifecyclePolicy_Status = 1
	// Policy is disabled and does not delete Docker images in the repository.
	// Policies in this status can be used for preparing and testing rules.
	LifecyclePolicy_DISABLED LifecyclePolicy_Status = 2
)

func (LifecyclePolicy_Status) Descriptor

func (LifecyclePolicy_Status) Enum

func (LifecyclePolicy_Status) EnumDescriptor deprecated

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

Deprecated: Use LifecyclePolicy_Status.Descriptor instead.

func (LifecyclePolicy_Status) Number

func (LifecyclePolicy_Status) String

func (x LifecyclePolicy_Status) String() string

func (LifecyclePolicy_Status) Type

type LifecycleRule

type LifecycleRule struct {

	// Description of the lifecycle policy rule.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Period of time for automatic deletion.
	// Period must be a multiple of 24 hours.
	ExpirePeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=expire_period,json=expirePeriod,proto3" json:"expire_period,omitempty"`
	// Tag for specifying a filter in the form of a regular expression.
	TagRegexp string `protobuf:"bytes,3,opt,name=tag_regexp,json=tagRegexp,proto3" json:"tag_regexp,omitempty"`
	// Tag for applying the rule to Docker images without tags.
	Untagged bool `protobuf:"varint,4,opt,name=untagged,proto3" json:"untagged,omitempty"`
	// Number of Docker images (falling under the specified filter by tags) that must be left, even if the expire_period has already expired.
	RetainedTop int64 `protobuf:"varint,5,opt,name=retained_top,json=retainedTop,proto3" json:"retained_top,omitempty"`
	// contains filtered or unexported fields
}

func (*LifecycleRule) Descriptor deprecated

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

Deprecated: Use LifecycleRule.ProtoReflect.Descriptor instead.

func (*LifecycleRule) GetDescription

func (x *LifecycleRule) GetDescription() string

func (*LifecycleRule) GetExpirePeriod

func (x *LifecycleRule) GetExpirePeriod() *durationpb.Duration

func (*LifecycleRule) GetRetainedTop

func (x *LifecycleRule) GetRetainedTop() int64

func (*LifecycleRule) GetTagRegexp

func (x *LifecycleRule) GetTagRegexp() string

func (*LifecycleRule) GetUntagged

func (x *LifecycleRule) GetUntagged() bool

func (*LifecycleRule) ProtoMessage

func (*LifecycleRule) ProtoMessage()

func (*LifecycleRule) ProtoReflect

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

func (*LifecycleRule) Reset

func (x *LifecycleRule) Reset()

func (*LifecycleRule) SetDescription

func (m *LifecycleRule) SetDescription(v string)

func (*LifecycleRule) SetExpirePeriod

func (m *LifecycleRule) SetExpirePeriod(v *durationpb.Duration)

func (*LifecycleRule) SetRetainedTop

func (m *LifecycleRule) SetRetainedTop(v int64)

func (*LifecycleRule) SetTagRegexp

func (m *LifecycleRule) SetTagRegexp(v string)

func (*LifecycleRule) SetUntagged

func (m *LifecycleRule) SetUntagged(v bool)

func (*LifecycleRule) String

func (x *LifecycleRule) String() string

type ListDryRunLifecyclePolicyResultAffectedImagesRequest

type ListDryRunLifecyclePolicyResultAffectedImagesRequest struct {

	// ID of the dry run result of the lifecycle policy
	DryRunLifecyclePolicyResultId string `` /* 156-byte string literal not displayed */
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns a [ListDryRunLifecyclePolicyResultAffectedImagesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	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
	// [ListDryRunLifecyclePolicyResultAffectedImagesResponse.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"`
	// A filter expression that filters affected images listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sorting the list by [LifecyclePolicy.name] and [LifecyclePolicy.created_at] fields.
	// The default sorting order is ascending.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) Descriptor deprecated

Deprecated: Use ListDryRunLifecyclePolicyResultAffectedImagesRequest.ProtoReflect.Descriptor instead.

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetDryRunLifecyclePolicyResultId

func (x *ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetDryRunLifecyclePolicyResultId() string

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetFilter

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetOrderBy

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetPageSize

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) GetPageToken

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) ProtoMessage

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) ProtoReflect

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) Reset

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetDryRunLifecyclePolicyResultId

func (m *ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetDryRunLifecyclePolicyResultId(v string)

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetFilter

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetOrderBy

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetPageSize

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) SetPageToken

func (*ListDryRunLifecyclePolicyResultAffectedImagesRequest) String

type ListDryRunLifecyclePolicyResultAffectedImagesResponse

type ListDryRunLifecyclePolicyResultAffectedImagesResponse struct {

	// List of affected images.
	AffectedImages []*Image `protobuf:"bytes,1,rep,name=affected_images,json=affectedImages,proto3" json:"affected_images,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_size], use `next_page_token` as the value
	// for the [ListDryRunLifecyclePolicyResultAffectedImagesRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page 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 (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) Descriptor deprecated

Deprecated: Use ListDryRunLifecyclePolicyResultAffectedImagesResponse.ProtoReflect.Descriptor instead.

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) GetAffectedImages

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) GetNextPageToken

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) ProtoMessage

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) ProtoReflect

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) Reset

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) SetAffectedImages

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) SetNextPageToken

func (*ListDryRunLifecyclePolicyResultAffectedImagesResponse) String

type ListDryRunLifecyclePolicyResultsRequest

type ListDryRunLifecyclePolicyResultsRequest struct {

	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_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 [ListDryRunLifecyclePolicyResultsResponse.next_page_token] that can be used to get
	// the next page of results in subsequent list requests.
	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
	// [ListDryRunLifecyclePolicyResultsResponse.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"`
	// A filter expression that filters dry run results listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sorting the list by [DryRunLifecyclePolicyResult.run_at] and [DryRunLifecyclePolicyResult.affected_images_count] fields.
	// The default sorting order is ascending.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDryRunLifecyclePolicyResultsRequest) Descriptor deprecated

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

Deprecated: Use ListDryRunLifecyclePolicyResultsRequest.ProtoReflect.Descriptor instead.

func (*ListDryRunLifecyclePolicyResultsRequest) GetFilter

func (*ListDryRunLifecyclePolicyResultsRequest) GetLifecyclePolicyId

func (x *ListDryRunLifecyclePolicyResultsRequest) GetLifecyclePolicyId() string

func (*ListDryRunLifecyclePolicyResultsRequest) GetOrderBy

func (*ListDryRunLifecyclePolicyResultsRequest) GetPageSize

func (*ListDryRunLifecyclePolicyResultsRequest) GetPageToken

func (*ListDryRunLifecyclePolicyResultsRequest) ProtoMessage

func (*ListDryRunLifecyclePolicyResultsRequest) ProtoReflect

func (*ListDryRunLifecyclePolicyResultsRequest) Reset

func (*ListDryRunLifecyclePolicyResultsRequest) SetFilter

func (*ListDryRunLifecyclePolicyResultsRequest) SetLifecyclePolicyId

func (m *ListDryRunLifecyclePolicyResultsRequest) SetLifecyclePolicyId(v string)

func (*ListDryRunLifecyclePolicyResultsRequest) SetOrderBy

func (*ListDryRunLifecyclePolicyResultsRequest) SetPageSize

func (*ListDryRunLifecyclePolicyResultsRequest) SetPageToken

func (*ListDryRunLifecyclePolicyResultsRequest) String

type ListDryRunLifecyclePolicyResultsResponse

type ListDryRunLifecyclePolicyResultsResponse struct {

	// List of results of dry runs of a lifecycle policy.
	DryRunLifecyclePolicyResults []*DryRunLifecyclePolicyResult `` /* 151-byte string literal not displayed */
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListDryRunLifecyclePolicyResultsRequest.page_size] use `next_page_token` as the value
	// for the [ListDryRunLifecyclePolicyResultsRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page 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 (*ListDryRunLifecyclePolicyResultsResponse) Descriptor deprecated

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

Deprecated: Use ListDryRunLifecyclePolicyResultsResponse.ProtoReflect.Descriptor instead.

func (*ListDryRunLifecyclePolicyResultsResponse) GetDryRunLifecyclePolicyResults

func (x *ListDryRunLifecyclePolicyResultsResponse) GetDryRunLifecyclePolicyResults() []*DryRunLifecyclePolicyResult

func (*ListDryRunLifecyclePolicyResultsResponse) GetNextPageToken

func (x *ListDryRunLifecyclePolicyResultsResponse) GetNextPageToken() string

func (*ListDryRunLifecyclePolicyResultsResponse) ProtoMessage

func (*ListDryRunLifecyclePolicyResultsResponse) ProtoReflect

func (*ListDryRunLifecyclePolicyResultsResponse) Reset

func (*ListDryRunLifecyclePolicyResultsResponse) SetDryRunLifecyclePolicyResults

func (m *ListDryRunLifecyclePolicyResultsResponse) SetDryRunLifecyclePolicyResults(v []*DryRunLifecyclePolicyResult)

func (*ListDryRunLifecyclePolicyResultsResponse) SetNextPageToken

func (m *ListDryRunLifecyclePolicyResultsResponse) SetNextPageToken(v string)

func (*ListDryRunLifecyclePolicyResultsResponse) String

type ListImagesRequest

type ListImagesRequest struct {

	// ID of the registry to list Docker images in.
	//
	// [registry_id] is ignored if a [ListImagesRequest.repository_name] is specified in the request.
	//
	// 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"`
	// Name of the repository to list Docker images in.
	//
	// To get the repository name use a [RepositoryService.List] request.
	RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// ID of the folder to list Docker images in.
	//
	// [folder_id] is ignored if a [ListImagesRequest.repository_name] or a [ListImagesRequest.registry_id] are specified in the request.
	//
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,7,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 [ListImagesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	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
	// [ListImagesResponse.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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Image.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be a maximum of 256 characters long and match the regular expression `[a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))`.
	Filter  string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListImagesRequest) Descriptor deprecated

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

Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.

func (*ListImagesRequest) GetFilter

func (x *ListImagesRequest) GetFilter() string

func (*ListImagesRequest) GetFolderId

func (x *ListImagesRequest) GetFolderId() string

func (*ListImagesRequest) GetOrderBy

func (x *ListImagesRequest) GetOrderBy() string

func (*ListImagesRequest) GetPageSize

func (x *ListImagesRequest) GetPageSize() int64

func (*ListImagesRequest) GetPageToken

func (x *ListImagesRequest) GetPageToken() string

func (*ListImagesRequest) GetRegistryId

func (x *ListImagesRequest) GetRegistryId() string

func (*ListImagesRequest) GetRepositoryName

func (x *ListImagesRequest) GetRepositoryName() string

func (*ListImagesRequest) ProtoMessage

func (*ListImagesRequest) ProtoMessage()

func (*ListImagesRequest) ProtoReflect

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

func (*ListImagesRequest) Reset

func (x *ListImagesRequest) Reset()

func (*ListImagesRequest) SetFilter

func (m *ListImagesRequest) SetFilter(v string)

func (*ListImagesRequest) SetFolderId

func (m *ListImagesRequest) SetFolderId(v string)

func (*ListImagesRequest) SetOrderBy

func (m *ListImagesRequest) SetOrderBy(v string)

func (*ListImagesRequest) SetPageSize

func (m *ListImagesRequest) SetPageSize(v int64)

func (*ListImagesRequest) SetPageToken

func (m *ListImagesRequest) SetPageToken(v string)

func (*ListImagesRequest) SetRegistryId

func (m *ListImagesRequest) SetRegistryId(v string)

func (*ListImagesRequest) SetRepositoryName

func (m *ListImagesRequest) SetRepositoryName(v string)

func (*ListImagesRequest) String

func (x *ListImagesRequest) String() string

type ListImagesResponse

type ListImagesResponse struct {

	// List of Image resources.
	Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListImagesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListImagesRequest.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 (*ListImagesResponse) Descriptor deprecated

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

Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.

func (*ListImagesResponse) GetImages

func (x *ListImagesResponse) GetImages() []*Image

func (*ListImagesResponse) GetNextPageToken

func (x *ListImagesResponse) GetNextPageToken() string

func (*ListImagesResponse) ProtoMessage

func (*ListImagesResponse) ProtoMessage()

func (*ListImagesResponse) ProtoReflect

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

func (*ListImagesResponse) Reset

func (x *ListImagesResponse) Reset()

func (*ListImagesResponse) SetImages

func (m *ListImagesResponse) SetImages(v []*Image)

func (*ListImagesResponse) SetNextPageToken

func (m *ListImagesResponse) SetNextPageToken(v string)

func (*ListImagesResponse) String

func (x *ListImagesResponse) String() string

type ListIpPermissionRequest

type ListIpPermissionRequest 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 (*ListIpPermissionRequest) Descriptor deprecated

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

Deprecated: Use ListIpPermissionRequest.ProtoReflect.Descriptor instead.

func (*ListIpPermissionRequest) GetRegistryId

func (x *ListIpPermissionRequest) GetRegistryId() string

func (*ListIpPermissionRequest) ProtoMessage

func (*ListIpPermissionRequest) ProtoMessage()

func (*ListIpPermissionRequest) ProtoReflect

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

func (*ListIpPermissionRequest) Reset

func (x *ListIpPermissionRequest) Reset()

func (*ListIpPermissionRequest) SetRegistryId

func (m *ListIpPermissionRequest) SetRegistryId(v string)

func (*ListIpPermissionRequest) String

func (x *ListIpPermissionRequest) 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 (*ListIpPermissionsResponse) Reset

func (x *ListIpPermissionsResponse) Reset()

func (*ListIpPermissionsResponse) SetPermissions

func (m *ListIpPermissionsResponse) SetPermissions(v []*IpPermission)

func (*ListIpPermissionsResponse) String

func (x *ListIpPermissionsResponse) String() string

type ListLifecyclePoliciesRequest

type ListLifecyclePoliciesRequest struct {

	// Types that are assignable to Id:
	//
	//	*ListLifecyclePoliciesRequest_RegistryId
	//	*ListLifecyclePoliciesRequest_RepositoryId
	Id isListLifecyclePoliciesRequest_Id `protobuf_oneof:"id"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns
	// a [ListLifecyclePoliciesResponse.next_page_token] that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	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
	// [ListLifecyclePoliciesResponse.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"`
	// A filter expression that filters lifecycle policy resources listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [LifecyclePolicy.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Sorting the list by [LifecyclePolicy.name], [LifecyclePolicy.created_at] and [LifecyclePolicy.status] fields.
	// The default sorting order is ascending.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLifecyclePoliciesRequest) Descriptor deprecated

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

Deprecated: Use ListLifecyclePoliciesRequest.ProtoReflect.Descriptor instead.

func (*ListLifecyclePoliciesRequest) GetFilter

func (x *ListLifecyclePoliciesRequest) GetFilter() string

func (*ListLifecyclePoliciesRequest) GetId

func (m *ListLifecyclePoliciesRequest) GetId() isListLifecyclePoliciesRequest_Id

func (*ListLifecyclePoliciesRequest) GetOrderBy

func (x *ListLifecyclePoliciesRequest) GetOrderBy() string

func (*ListLifecyclePoliciesRequest) GetPageSize

func (x *ListLifecyclePoliciesRequest) GetPageSize() int64

func (*ListLifecyclePoliciesRequest) GetPageToken

func (x *ListLifecyclePoliciesRequest) GetPageToken() string

func (*ListLifecyclePoliciesRequest) GetRegistryId

func (x *ListLifecyclePoliciesRequest) GetRegistryId() string

func (*ListLifecyclePoliciesRequest) GetRepositoryId

func (x *ListLifecyclePoliciesRequest) GetRepositoryId() string

func (*ListLifecyclePoliciesRequest) ProtoMessage

func (*ListLifecyclePoliciesRequest) ProtoMessage()

func (*ListLifecyclePoliciesRequest) ProtoReflect

func (*ListLifecyclePoliciesRequest) Reset

func (x *ListLifecyclePoliciesRequest) Reset()

func (*ListLifecyclePoliciesRequest) SetFilter

func (m *ListLifecyclePoliciesRequest) SetFilter(v string)

func (*ListLifecyclePoliciesRequest) SetId

func (*ListLifecyclePoliciesRequest) SetOrderBy

func (m *ListLifecyclePoliciesRequest) SetOrderBy(v string)

func (*ListLifecyclePoliciesRequest) SetPageSize

func (m *ListLifecyclePoliciesRequest) SetPageSize(v int64)

func (*ListLifecyclePoliciesRequest) SetPageToken

func (m *ListLifecyclePoliciesRequest) SetPageToken(v string)

func (*ListLifecyclePoliciesRequest) SetRegistryId

func (m *ListLifecyclePoliciesRequest) SetRegistryId(v string)

func (*ListLifecyclePoliciesRequest) SetRepositoryId

func (m *ListLifecyclePoliciesRequest) SetRepositoryId(v string)

func (*ListLifecyclePoliciesRequest) String

type ListLifecyclePoliciesRequest_Id

type ListLifecyclePoliciesRequest_Id = isListLifecyclePoliciesRequest_Id

type ListLifecyclePoliciesRequest_RegistryId

type ListLifecyclePoliciesRequest_RegistryId struct {
	// ID of the lifecycle policy.
	RegistryId string `protobuf:"bytes,1,opt,name=registry_id,json=registryId,proto3,oneof"`
}

type ListLifecyclePoliciesRequest_RepositoryId

type ListLifecyclePoliciesRequest_RepositoryId struct {
	// Repository of the lifecycle policy.
	RepositoryId string `protobuf:"bytes,6,opt,name=repository_id,json=repositoryId,proto3,oneof"`
}

type ListLifecyclePoliciesResponse

type ListLifecyclePoliciesResponse struct {

	// List of lifecycle policies.
	LifecyclePolicies []*LifecyclePolicy `protobuf:"bytes,1,rep,name=lifecycle_policies,json=lifecyclePolicies,proto3" json:"lifecycle_policies,omitempty"`
	// Token for getting the next page of the list. If the number of results is greater than
	// the specified [ListLifecyclePoliciesRequest.page_size], use `next_page_token` as the value
	// for the [ListLifecyclePoliciesRequest.page_token] parameter in the next list request.
	//
	// Each subsequent page 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 (*ListLifecyclePoliciesResponse) Descriptor deprecated

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

Deprecated: Use ListLifecyclePoliciesResponse.ProtoReflect.Descriptor instead.

func (*ListLifecyclePoliciesResponse) GetLifecyclePolicies

func (x *ListLifecyclePoliciesResponse) GetLifecyclePolicies() []*LifecyclePolicy

func (*ListLifecyclePoliciesResponse) GetNextPageToken

func (x *ListLifecyclePoliciesResponse) GetNextPageToken() string

func (*ListLifecyclePoliciesResponse) ProtoMessage

func (*ListLifecyclePoliciesResponse) ProtoMessage()

func (*ListLifecyclePoliciesResponse) ProtoReflect

func (*ListLifecyclePoliciesResponse) Reset

func (x *ListLifecyclePoliciesResponse) Reset()

func (*ListLifecyclePoliciesResponse) SetLifecyclePolicies

func (m *ListLifecyclePoliciesResponse) SetLifecyclePolicies(v []*LifecyclePolicy)

func (*ListLifecyclePoliciesResponse) SetNextPageToken

func (m *ListLifecyclePoliciesResponse) SetNextPageToken(v string)

func (*ListLifecyclePoliciesResponse) 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: 100.
	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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Registry.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistriesRequest) Descriptor deprecated

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

Deprecated: Use ListRegistriesRequest.ProtoReflect.Descriptor instead.

func (*ListRegistriesRequest) GetFilter

func (x *ListRegistriesRequest) GetFilter() string

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) SetFilter

func (m *ListRegistriesRequest) SetFilter(v string)

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 ListRepositoriesRequest

type ListRepositoriesRequest struct {

	// ID of the registry to list repositories in.
	//
	// 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"`
	// ID of the folder to list registries in.
	//
	// [folder_id] is ignored if a [ListImagesRequest.registry_id] is specified in the request.
	//
	// To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,6,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 [ListRepositoriesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	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
	// [ListRepositoriesResponse.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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Repository.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
	Filter  string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesRequest) Descriptor deprecated

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

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetFilter

func (x *ListRepositoriesRequest) GetFilter() string

func (*ListRepositoriesRequest) GetFolderId

func (x *ListRepositoriesRequest) GetFolderId() string

func (*ListRepositoriesRequest) GetOrderBy

func (x *ListRepositoriesRequest) GetOrderBy() string

func (*ListRepositoriesRequest) GetPageSize

func (x *ListRepositoriesRequest) GetPageSize() int64

func (*ListRepositoriesRequest) GetPageToken

func (x *ListRepositoriesRequest) GetPageToken() string

func (*ListRepositoriesRequest) GetRegistryId

func (x *ListRepositoriesRequest) GetRegistryId() string

func (*ListRepositoriesRequest) ProtoMessage

func (*ListRepositoriesRequest) ProtoMessage()

func (*ListRepositoriesRequest) ProtoReflect

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

func (*ListRepositoriesRequest) Reset

func (x *ListRepositoriesRequest) Reset()

func (*ListRepositoriesRequest) SetFilter

func (m *ListRepositoriesRequest) SetFilter(v string)

func (*ListRepositoriesRequest) SetFolderId

func (m *ListRepositoriesRequest) SetFolderId(v string)

func (*ListRepositoriesRequest) SetOrderBy

func (m *ListRepositoriesRequest) SetOrderBy(v string)

func (*ListRepositoriesRequest) SetPageSize

func (m *ListRepositoriesRequest) SetPageSize(v int64)

func (*ListRepositoriesRequest) SetPageToken

func (m *ListRepositoriesRequest) SetPageToken(v string)

func (*ListRepositoriesRequest) SetRegistryId

func (m *ListRepositoriesRequest) SetRegistryId(v string)

func (*ListRepositoriesRequest) String

func (x *ListRepositoriesRequest) String() string

type ListRepositoriesResponse

type ListRepositoriesResponse struct {

	// List of Repository resources.
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListRepositoriesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListRepositoriesRequest.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 (*ListRepositoriesResponse) Descriptor deprecated

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

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetNextPageToken

func (x *ListRepositoriesResponse) GetNextPageToken() string

func (*ListRepositoriesResponse) GetRepositories

func (x *ListRepositoriesResponse) GetRepositories() []*Repository

func (*ListRepositoriesResponse) ProtoMessage

func (*ListRepositoriesResponse) ProtoMessage()

func (*ListRepositoriesResponse) ProtoReflect

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

func (*ListRepositoriesResponse) Reset

func (x *ListRepositoriesResponse) Reset()

func (*ListRepositoriesResponse) SetNextPageToken

func (m *ListRepositoriesResponse) SetNextPageToken(v string)

func (*ListRepositoriesResponse) SetRepositories

func (m *ListRepositoriesResponse) SetRepositories(v []*Repository)

func (*ListRepositoriesResponse) String

func (x *ListRepositoriesResponse) String() string

type ListScanResultsRequest

type ListScanResultsRequest struct {

	// ID of the Image or Repository to list ScanResults for.
	//
	// To get the image ID use a [yandex.cloud.containerregistry.v1.ImageService.List] request.
	// To get the repository ID use a [yandex.cloud.containerregistry.v1.RepositoryService.List] request.
	//
	// Types that are assignable to Id:
	//
	//	*ListScanResultsRequest_ImageId
	//	*ListScanResultsRequest_RepositoryId
	Id isListScanResultsRequest_Id `protobuf_oneof:"id"`
	// 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: 100.
	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
	// [ListRegistriesResponse.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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [ScanResult.status] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`).
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// An order expression that orders resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [ScanResult.status] field.
	// 2. Order selector. Currently you can use ordering only on `ScanResult.status` field (critical first).
	OrderBy string `protobuf:"bytes,6,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListScanResultsRequest) Descriptor deprecated

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

Deprecated: Use ListScanResultsRequest.ProtoReflect.Descriptor instead.

func (*ListScanResultsRequest) GetFilter

func (x *ListScanResultsRequest) GetFilter() string

func (*ListScanResultsRequest) GetId

func (m *ListScanResultsRequest) GetId() isListScanResultsRequest_Id

func (*ListScanResultsRequest) GetImageId

func (x *ListScanResultsRequest) GetImageId() string

func (*ListScanResultsRequest) GetOrderBy

func (x *ListScanResultsRequest) GetOrderBy() string

func (*ListScanResultsRequest) GetPageSize

func (x *ListScanResultsRequest) GetPageSize() int64

func (*ListScanResultsRequest) GetPageToken

func (x *ListScanResultsRequest) GetPageToken() string

func (*ListScanResultsRequest) GetRepositoryId

func (x *ListScanResultsRequest) GetRepositoryId() string

func (*ListScanResultsRequest) ProtoMessage

func (*ListScanResultsRequest) ProtoMessage()

func (*ListScanResultsRequest) ProtoReflect

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

func (*ListScanResultsRequest) Reset

func (x *ListScanResultsRequest) Reset()

func (*ListScanResultsRequest) SetFilter

func (m *ListScanResultsRequest) SetFilter(v string)

func (*ListScanResultsRequest) SetId

func (*ListScanResultsRequest) SetImageId

func (m *ListScanResultsRequest) SetImageId(v string)

func (*ListScanResultsRequest) SetOrderBy

func (m *ListScanResultsRequest) SetOrderBy(v string)

func (*ListScanResultsRequest) SetPageSize

func (m *ListScanResultsRequest) SetPageSize(v int64)

func (*ListScanResultsRequest) SetPageToken

func (m *ListScanResultsRequest) SetPageToken(v string)

func (*ListScanResultsRequest) SetRepositoryId

func (m *ListScanResultsRequest) SetRepositoryId(v string)

func (*ListScanResultsRequest) String

func (x *ListScanResultsRequest) String() string

type ListScanResultsRequest_Id

type ListScanResultsRequest_Id = isListScanResultsRequest_Id

type ListScanResultsRequest_ImageId

type ListScanResultsRequest_ImageId struct {
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3,oneof"`
}

type ListScanResultsRequest_RepositoryId

type ListScanResultsRequest_RepositoryId struct {
	RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3,oneof"`
}

type ListScanResultsResponse

type ListScanResultsResponse struct {

	// List of ScanResult resources.
	ScanResults []*ScanResult `protobuf:"bytes,1,rep,name=scan_results,json=scanResults,proto3" json:"scan_results,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListImagesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListImagesRequest.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 (*ListScanResultsResponse) Descriptor deprecated

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

Deprecated: Use ListScanResultsResponse.ProtoReflect.Descriptor instead.

func (*ListScanResultsResponse) GetNextPageToken

func (x *ListScanResultsResponse) GetNextPageToken() string

func (*ListScanResultsResponse) GetScanResults

func (x *ListScanResultsResponse) GetScanResults() []*ScanResult

func (*ListScanResultsResponse) ProtoMessage

func (*ListScanResultsResponse) ProtoMessage()

func (*ListScanResultsResponse) ProtoReflect

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

func (*ListScanResultsResponse) Reset

func (x *ListScanResultsResponse) Reset()

func (*ListScanResultsResponse) SetNextPageToken

func (m *ListScanResultsResponse) SetNextPageToken(v string)

func (*ListScanResultsResponse) SetScanResults

func (m *ListScanResultsResponse) SetScanResults(v []*ScanResult)

func (*ListScanResultsResponse) String

func (x *ListScanResultsResponse) String() string

type ListVulnerabilitiesRequest

type ListVulnerabilitiesRequest struct {

	// ID of the ScanResult to get list of vulnerabilities for.
	ScanResultId string `protobuf:"bytes,1,opt,name=scan_result_id,json=scanResultId,proto3" json:"scan_result_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: 100.
	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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Vulnerability.severity] and [PackageVulnerability.name] fields.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`).
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// An order expression that orders resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on [Vulnerability.severity] and [PackageVulnerability.name] fields.
	// 2. Order selector. Currently you can use ordering only on `Vulnerability.severity` field (recent first).
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVulnerabilitiesRequest) Descriptor deprecated

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

Deprecated: Use ListVulnerabilitiesRequest.ProtoReflect.Descriptor instead.

func (*ListVulnerabilitiesRequest) GetFilter

func (x *ListVulnerabilitiesRequest) GetFilter() string

func (*ListVulnerabilitiesRequest) GetOrderBy

func (x *ListVulnerabilitiesRequest) GetOrderBy() string

func (*ListVulnerabilitiesRequest) GetPageSize

func (x *ListVulnerabilitiesRequest) GetPageSize() int64

func (*ListVulnerabilitiesRequest) GetPageToken

func (x *ListVulnerabilitiesRequest) GetPageToken() string

func (*ListVulnerabilitiesRequest) GetScanResultId

func (x *ListVulnerabilitiesRequest) GetScanResultId() string

func (*ListVulnerabilitiesRequest) ProtoMessage

func (*ListVulnerabilitiesRequest) ProtoMessage()

func (*ListVulnerabilitiesRequest) ProtoReflect

func (*ListVulnerabilitiesRequest) Reset

func (x *ListVulnerabilitiesRequest) Reset()

func (*ListVulnerabilitiesRequest) SetFilter

func (m *ListVulnerabilitiesRequest) SetFilter(v string)

func (*ListVulnerabilitiesRequest) SetOrderBy

func (m *ListVulnerabilitiesRequest) SetOrderBy(v string)

func (*ListVulnerabilitiesRequest) SetPageSize

func (m *ListVulnerabilitiesRequest) SetPageSize(v int64)

func (*ListVulnerabilitiesRequest) SetPageToken

func (m *ListVulnerabilitiesRequest) SetPageToken(v string)

func (*ListVulnerabilitiesRequest) SetScanResultId

func (m *ListVulnerabilitiesRequest) SetScanResultId(v string)

func (*ListVulnerabilitiesRequest) String

func (x *ListVulnerabilitiesRequest) String() string

type ListVulnerabilitiesResponse

type ListVulnerabilitiesResponse struct {

	// List of Vulnerability resources.
	Vulnerabilities []*Vulnerability `protobuf:"bytes,1,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListImagesRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListImagesRequest.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 (*ListVulnerabilitiesResponse) Descriptor deprecated

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

Deprecated: Use ListVulnerabilitiesResponse.ProtoReflect.Descriptor instead.

func (*ListVulnerabilitiesResponse) GetNextPageToken

func (x *ListVulnerabilitiesResponse) GetNextPageToken() string

func (*ListVulnerabilitiesResponse) GetVulnerabilities

func (x *ListVulnerabilitiesResponse) GetVulnerabilities() []*Vulnerability

func (*ListVulnerabilitiesResponse) ProtoMessage

func (*ListVulnerabilitiesResponse) ProtoMessage()

func (*ListVulnerabilitiesResponse) ProtoReflect

func (*ListVulnerabilitiesResponse) Reset

func (x *ListVulnerabilitiesResponse) Reset()

func (*ListVulnerabilitiesResponse) SetNextPageToken

func (m *ListVulnerabilitiesResponse) SetNextPageToken(v string)

func (*ListVulnerabilitiesResponse) SetVulnerabilities

func (m *ListVulnerabilitiesResponse) SetVulnerabilities(v []*Vulnerability)

func (*ListVulnerabilitiesResponse) String

func (x *ListVulnerabilitiesResponse) String() string

type PackageVulnerability

type PackageVulnerability struct {

	// Name of vulnerability in CVE database.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// URL to the page with description of vulnerability.
	Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"`
	// The package name where vulnerability has been found.
	Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`
	// The package manager name. Ex.: yum, rpm, dpkg.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// The version of the package where vulnerability has been found.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// The version of the package where vulnerability has been fixed.
	FixedBy string `protobuf:"bytes,6,opt,name=fixed_by,json=fixedBy,proto3" json:"fixed_by,omitempty"`
	// The place where vulnerability is originated (OS, lang package, etc.)
	Origin string `protobuf:"bytes,7,opt,name=origin,proto3" json:"origin,omitempty"`
	// The type of vulnerability origin - name of OS if origin="os" or package type (jar, gobinary, etc.) if origin="lang"
	Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

A PackageVulnerability resource.

func (*PackageVulnerability) Descriptor deprecated

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

Deprecated: Use PackageVulnerability.ProtoReflect.Descriptor instead.

func (*PackageVulnerability) GetFixedBy

func (x *PackageVulnerability) GetFixedBy() string
func (x *PackageVulnerability) GetLink() string

func (*PackageVulnerability) GetName

func (x *PackageVulnerability) GetName() string

func (*PackageVulnerability) GetOrigin

func (x *PackageVulnerability) GetOrigin() string

func (*PackageVulnerability) GetPackage

func (x *PackageVulnerability) GetPackage() string

func (*PackageVulnerability) GetSource

func (x *PackageVulnerability) GetSource() string

func (*PackageVulnerability) GetType

func (x *PackageVulnerability) GetType() string

func (*PackageVulnerability) GetVersion

func (x *PackageVulnerability) GetVersion() string

func (*PackageVulnerability) ProtoMessage

func (*PackageVulnerability) ProtoMessage()

func (*PackageVulnerability) ProtoReflect

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

func (*PackageVulnerability) Reset

func (x *PackageVulnerability) Reset()

func (*PackageVulnerability) SetFixedBy

func (m *PackageVulnerability) SetFixedBy(v string)
func (m *PackageVulnerability) SetLink(v string)

func (*PackageVulnerability) SetName

func (m *PackageVulnerability) SetName(v string)

func (*PackageVulnerability) SetOrigin

func (m *PackageVulnerability) SetOrigin(v string)

func (*PackageVulnerability) SetPackage

func (m *PackageVulnerability) SetPackage(v string)

func (*PackageVulnerability) SetSource

func (m *PackageVulnerability) SetSource(v string)

func (*PackageVulnerability) SetType

func (m *PackageVulnerability) SetType(v string)

func (*PackageVulnerability) SetVersion

func (m *PackageVulnerability) SetVersion(v string)

func (*PackageVulnerability) String

func (x *PackageVulnerability) String() string

type PushRule

type PushRule struct {

	// List of repositories that are scanned with rule. Child repositories are included into parent node. "*" - means all repositories in registry
	RepositoryPrefixes []string `protobuf:"bytes,1,rep,name=repository_prefixes,json=repositoryPrefixes,proto3" json:"repository_prefixes,omitempty"`
	// Turns off scan rule.
	Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*PushRule) Descriptor deprecated

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

Deprecated: Use PushRule.ProtoReflect.Descriptor instead.

func (*PushRule) GetDisabled

func (x *PushRule) GetDisabled() bool

func (*PushRule) GetRepositoryPrefixes

func (x *PushRule) GetRepositoryPrefixes() []string

func (*PushRule) ProtoMessage

func (*PushRule) ProtoMessage()

func (*PushRule) ProtoReflect

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

func (*PushRule) Reset

func (x *PushRule) Reset()

func (*PushRule) SetDisabled

func (m *PushRule) SetDisabled(v bool)

func (*PushRule) SetRepositoryPrefixes

func (m *PushRule) SetRepositoryPrefixes(v []string)

func (*PushRule) String

func (x *PushRule) 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"`
	// Output only. Status of the registry.
	Status Registry_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.containerregistry.v1.Registry_Status" json:"status,omitempty"`
	// Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Resource labels as `key:value` pairs. Maximum of 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Registry resource. For more information, see the Registry(/docs/container-registry/concepts/registry) section of the documentation.

func (*Registry) Descriptor deprecated

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

Deprecated: Use Registry.ProtoReflect.Descriptor instead.

func (*Registry) GetCreatedAt

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

func (*Registry) GetFolderId

func (x *Registry) GetFolderId() string

func (*Registry) GetId

func (x *Registry) GetId() string

func (*Registry) GetLabels

func (x *Registry) GetLabels() map[string]string

func (*Registry) GetName

func (x *Registry) GetName() string

func (*Registry) GetStatus

func (x *Registry) GetStatus() Registry_Status

func (*Registry) ProtoMessage

func (*Registry) ProtoMessage()

func (*Registry) ProtoReflect

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

func (*Registry) Reset

func (x *Registry) Reset()

func (*Registry) SetCreatedAt

func (m *Registry) SetCreatedAt(v *timestamppb.Timestamp)

func (*Registry) SetFolderId

func (m *Registry) SetFolderId(v string)

func (*Registry) SetId

func (m *Registry) SetId(v string)

func (*Registry) SetLabels

func (m *Registry) SetLabels(v map[string]string)

func (*Registry) SetName

func (m *Registry) SetName(v string)

func (*Registry) SetStatus

func (m *Registry) SetStatus(v Registry_Status)

func (*Registry) String

func (x *Registry) String() string

type RegistryServiceClient

type RegistryServiceClient interface {
	// Returns the specified Registry resource.
	//
	// To get the list of available Registry resources, make a [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.
	ListIpPermission(ctx context.Context, in *ListIpPermissionRequest, opts ...grpc.CallOption) (*ListIpPermissionsResponse, error)
	// Set ip permissions for the specified registry.
	SetIpPermission(ctx context.Context, in *SetIpPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Update ip permissions for the specified registry.
	UpdateIpPermission(ctx context.Context, in *UpdateIpPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, 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.

type RegistryServiceServer

type RegistryServiceServer interface {
	// Returns the specified Registry resource.
	//
	// To get the list of available Registry resources, make a [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.
	ListIpPermission(context.Context, *ListIpPermissionRequest) (*ListIpPermissionsResponse, error)
	// Set ip permissions for the specified registry.
	SetIpPermission(context.Context, *SetIpPermissionRequest) (*operation.Operation, error)
	// Update ip permissions for the specified registry.
	UpdateIpPermission(context.Context, *UpdateIpPermissionRequest) (*operation.Operation, error)
}

RegistryServiceServer is the server API for RegistryService service. All implementations should embed UnimplementedRegistryServiceServer for forward compatibility

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) 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 (Registry_Status) String

func (x Registry_Status) String() string

func (Registry_Status) Type

type Repository

type Repository struct {

	// Name of the repository.
	// The name is unique within the registry.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. ID of the repository.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

A Repository resource. For more information, see Repository(/docs/container-registry/concepts/repository).

func (*Repository) Descriptor deprecated

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

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetId

func (x *Repository) GetId() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

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

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) SetId

func (m *Repository) SetId(v string)

func (*Repository) SetName

func (m *Repository) SetName(v string)

func (*Repository) String

func (x *Repository) String() string

type RepositoryServiceClient

type RepositoryServiceClient interface {
	// Returns the specified Repository resource.
	//
	// To get the list of available Repository resources, make a [List] request.
	Get(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Returns the specified Repository resource.
	//
	// To get the list of available Repository resources, make a [List] request.
	GetByName(ctx context.Context, in *GetRepositoryByNameRequest, opts ...grpc.CallOption) (*Repository, error)
	// Retrieves the list of Repository resources in the specified registry.
	List(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
	// Lists access bindings for the specified repository.
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	// Upserts a repository in the specified registry.
	Upsert(ctx context.Context, in *UpsertRepositoryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified repository.
	Delete(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Sets access bindings for the specified repository.
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates access bindings for the specified repository.
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

RepositoryServiceClient is the client API for RepositoryService service.

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

type RepositoryServiceServer

type RepositoryServiceServer interface {
	// Returns the specified Repository resource.
	//
	// To get the list of available Repository resources, make a [List] request.
	Get(context.Context, *GetRepositoryRequest) (*Repository, error)
	// Returns the specified Repository resource.
	//
	// To get the list of available Repository resources, make a [List] request.
	GetByName(context.Context, *GetRepositoryByNameRequest) (*Repository, error)
	// Retrieves the list of Repository resources in the specified registry.
	List(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
	// Lists access bindings for the specified repository.
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	// Upserts a repository in the specified registry.
	Upsert(context.Context, *UpsertRepositoryRequest) (*operation.Operation, error)
	// Deletes the specified repository.
	Delete(context.Context, *DeleteRepositoryRequest) (*operation.Operation, error)
	// Sets access bindings for the specified repository.
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	// Updates access bindings for the specified repository.
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
}

RepositoryServiceServer is the server API for RepositoryService service. All implementations should embed UnimplementedRepositoryServiceServer for forward compatibility

type ScanMetadata

type ScanMetadata struct {

	// ID of the ScanResult that is being created.
	ScanResultId string `protobuf:"bytes,1,opt,name=scan_result_id,json=scanResultId,proto3" json:"scan_result_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanMetadata) Descriptor deprecated

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

Deprecated: Use ScanMetadata.ProtoReflect.Descriptor instead.

func (*ScanMetadata) GetScanResultId

func (x *ScanMetadata) GetScanResultId() string

func (*ScanMetadata) ProtoMessage

func (*ScanMetadata) ProtoMessage()

func (*ScanMetadata) ProtoReflect

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

func (*ScanMetadata) Reset

func (x *ScanMetadata) Reset()

func (*ScanMetadata) SetScanResultId

func (m *ScanMetadata) SetScanResultId(v string)

func (*ScanMetadata) String

func (x *ScanMetadata) String() string

type ScanPolicy

type ScanPolicy struct {

	// Output only. ID of the scan policy.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the registry that the scan policy belongs to.
	// Required. The maximum string length in characters is 50.
	RegistryId string `protobuf:"bytes,2,opt,name=registry_id,json=registryId,proto3" json:"registry_id,omitempty"`
	// Name of the scan policy.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the scan policy.
	// The maximum string length in characters is 256.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// The rules of scan policy.
	Rules *ScanRules `protobuf:"bytes,5,opt,name=rules,proto3" json:"rules,omitempty"`
	// Output only. Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Turns off scan policy.
	Disabled bool `protobuf:"varint,7,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanPolicy) Descriptor deprecated

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

Deprecated: Use ScanPolicy.ProtoReflect.Descriptor instead.

func (*ScanPolicy) GetCreatedAt

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

func (*ScanPolicy) GetDescription

func (x *ScanPolicy) GetDescription() string

func (*ScanPolicy) GetDisabled

func (x *ScanPolicy) GetDisabled() bool

func (*ScanPolicy) GetId

func (x *ScanPolicy) GetId() string

func (*ScanPolicy) GetName

func (x *ScanPolicy) GetName() string

func (*ScanPolicy) GetRegistryId

func (x *ScanPolicy) GetRegistryId() string

func (*ScanPolicy) GetRules

func (x *ScanPolicy) GetRules() *ScanRules

func (*ScanPolicy) ProtoMessage

func (*ScanPolicy) ProtoMessage()

func (*ScanPolicy) ProtoReflect

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

func (*ScanPolicy) Reset

func (x *ScanPolicy) Reset()

func (*ScanPolicy) SetCreatedAt

func (m *ScanPolicy) SetCreatedAt(v *timestamppb.Timestamp)

func (*ScanPolicy) SetDescription

func (m *ScanPolicy) SetDescription(v string)

func (*ScanPolicy) SetDisabled

func (m *ScanPolicy) SetDisabled(v bool)

func (*ScanPolicy) SetId

func (m *ScanPolicy) SetId(v string)

func (*ScanPolicy) SetName

func (m *ScanPolicy) SetName(v string)

func (*ScanPolicy) SetRegistryId

func (m *ScanPolicy) SetRegistryId(v string)

func (*ScanPolicy) SetRules

func (m *ScanPolicy) SetRules(v *ScanRules)

func (*ScanPolicy) String

func (x *ScanPolicy) String() string

type ScanPolicyServiceClient

type ScanPolicyServiceClient interface {
	// Returns the specified scan policy.
	Get(ctx context.Context, in *GetScanPolicyRequest, opts ...grpc.CallOption) (*ScanPolicy, error)
	// Returns scan policy for the registry if any exists.
	GetByRegistry(ctx context.Context, in *GetScanPolicyByRegistryRequest, opts ...grpc.CallOption) (*ScanPolicy, error)
	// Creates a scan policy for the specified registry.
	Create(ctx context.Context, in *CreateScanPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified scan policy.
	Update(ctx context.Context, in *UpdateScanPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified scan policy.
	Delete(ctx context.Context, in *DeleteScanPolicyRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ScanPolicyServiceClient is the client API for ScanPolicyService service.

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

type ScanPolicyServiceServer

type ScanPolicyServiceServer interface {
	// Returns the specified scan policy.
	Get(context.Context, *GetScanPolicyRequest) (*ScanPolicy, error)
	// Returns scan policy for the registry if any exists.
	GetByRegistry(context.Context, *GetScanPolicyByRegistryRequest) (*ScanPolicy, error)
	// Creates a scan policy for the specified registry.
	Create(context.Context, *CreateScanPolicyRequest) (*operation.Operation, error)
	// Updates the specified scan policy.
	Update(context.Context, *UpdateScanPolicyRequest) (*operation.Operation, error)
	// Deletes the specified scan policy.
	Delete(context.Context, *DeleteScanPolicyRequest) (*operation.Operation, error)
}

ScanPolicyServiceServer is the server API for ScanPolicyService service. All implementations should embed UnimplementedScanPolicyServiceServer for forward compatibility

type ScanRequest

type ScanRequest struct {

	// ID of the Image to be scanned for vulnerabilities.
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanRequest) Descriptor deprecated

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

Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.

func (*ScanRequest) GetImageId

func (x *ScanRequest) GetImageId() string

func (*ScanRequest) ProtoMessage

func (*ScanRequest) ProtoMessage()

func (*ScanRequest) ProtoReflect

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

func (*ScanRequest) Reset

func (x *ScanRequest) Reset()

func (*ScanRequest) SetImageId

func (m *ScanRequest) SetImageId(v string)

func (*ScanRequest) String

func (x *ScanRequest) String() string

type ScanResult

type ScanResult struct {

	// Output only. ID of the ScanResult.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. ID of the Image that the ScanResult belongs to.
	ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// Output only. The timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format when the scan been finished.
	ScannedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=scanned_at,json=scannedAt,proto3" json:"scanned_at,omitempty"`
	// Output only. The status of the ScanResult.
	Status ScanResult_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.containerregistry.v1.ScanResult_Status" json:"status,omitempty"`
	// Output only. Summary information about vulnerabilities found.
	Vulnerabilities *VulnerabilityStats `protobuf:"bytes,5,opt,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// contains filtered or unexported fields
}

A ScanResult resource.

func (*ScanResult) Descriptor deprecated

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

Deprecated: Use ScanResult.ProtoReflect.Descriptor instead.

func (*ScanResult) GetId

func (x *ScanResult) GetId() string

func (*ScanResult) GetImageId

func (x *ScanResult) GetImageId() string

func (*ScanResult) GetScannedAt

func (x *ScanResult) GetScannedAt() *timestamppb.Timestamp

func (*ScanResult) GetStatus

func (x *ScanResult) GetStatus() ScanResult_Status

func (*ScanResult) GetVulnerabilities

func (x *ScanResult) GetVulnerabilities() *VulnerabilityStats

func (*ScanResult) ProtoMessage

func (*ScanResult) ProtoMessage()

func (*ScanResult) ProtoReflect

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

func (*ScanResult) Reset

func (x *ScanResult) Reset()

func (*ScanResult) SetId

func (m *ScanResult) SetId(v string)

func (*ScanResult) SetImageId

func (m *ScanResult) SetImageId(v string)

func (*ScanResult) SetScannedAt

func (m *ScanResult) SetScannedAt(v *timestamppb.Timestamp)

func (*ScanResult) SetStatus

func (m *ScanResult) SetStatus(v ScanResult_Status)

func (*ScanResult) SetVulnerabilities

func (m *ScanResult) SetVulnerabilities(v *VulnerabilityStats)

func (*ScanResult) String

func (x *ScanResult) String() string

type ScanResult_Status

type ScanResult_Status int32
const (
	ScanResult_STATUS_UNSPECIFIED ScanResult_Status = 0
	// Image scan is in progress.
	ScanResult_RUNNING ScanResult_Status = 1
	// Image has been scanned and result is ready.
	ScanResult_READY ScanResult_Status = 2
	// Image scan is failed.
	ScanResult_ERROR ScanResult_Status = 3
)

func (ScanResult_Status) Descriptor

func (ScanResult_Status) Enum

func (ScanResult_Status) EnumDescriptor deprecated

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

Deprecated: Use ScanResult_Status.Descriptor instead.

func (ScanResult_Status) Number

func (ScanResult_Status) String

func (x ScanResult_Status) String() string

func (ScanResult_Status) Type

type ScanRules

type ScanRules struct {

	// Description of on-push scan rule.
	PushRule *PushRule `protobuf:"bytes,1,opt,name=push_rule,json=pushRule,proto3" json:"push_rule,omitempty"`
	// Description of time based rescan rule.
	ScheduleRules []*ScheduledRule `protobuf:"bytes,2,rep,name=schedule_rules,json=scheduleRules,proto3" json:"schedule_rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ScanRules) Descriptor deprecated

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

Deprecated: Use ScanRules.ProtoReflect.Descriptor instead.

func (*ScanRules) GetPushRule

func (x *ScanRules) GetPushRule() *PushRule

func (*ScanRules) GetScheduleRules

func (x *ScanRules) GetScheduleRules() []*ScheduledRule

func (*ScanRules) ProtoMessage

func (*ScanRules) ProtoMessage()

func (*ScanRules) ProtoReflect

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

func (*ScanRules) Reset

func (x *ScanRules) Reset()

func (*ScanRules) SetPushRule

func (m *ScanRules) SetPushRule(v *PushRule)

func (*ScanRules) SetScheduleRules

func (m *ScanRules) SetScheduleRules(v []*ScheduledRule)

func (*ScanRules) String

func (x *ScanRules) String() string

type ScannerServiceClient

type ScannerServiceClient interface {
	// Executes scanning of specified image.
	Scan(ctx context.Context, in *ScanRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Returns the specified ScanResult resource.
	//
	// To get the list of ScanResults for specified Image, make a [List] request.
	Get(ctx context.Context, in *GetScanResultRequest, opts ...grpc.CallOption) (*ScanResult, error)
	// Returns the last finished ScanResult for the specified Image.
	GetLast(ctx context.Context, in *GetLastScanResultRequest, opts ...grpc.CallOption) (*ScanResult, error)
	// Retrieves the list of ScanResults for specified Image.
	List(ctx context.Context, in *ListScanResultsRequest, opts ...grpc.CallOption) (*ListScanResultsResponse, error)
	// Retrieves the list of vulnerabilities found in particular scan.
	ListVulnerabilities(ctx context.Context, in *ListVulnerabilitiesRequest, opts ...grpc.CallOption) (*ListVulnerabilitiesResponse, error)
}

ScannerServiceClient is the client API for ScannerService service.

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

type ScannerServiceServer

type ScannerServiceServer interface {
	// Executes scanning of specified image.
	Scan(context.Context, *ScanRequest) (*operation.Operation, error)
	// Returns the specified ScanResult resource.
	//
	// To get the list of ScanResults for specified Image, make a [List] request.
	Get(context.Context, *GetScanResultRequest) (*ScanResult, error)
	// Returns the last finished ScanResult for the specified Image.
	GetLast(context.Context, *GetLastScanResultRequest) (*ScanResult, error)
	// Retrieves the list of ScanResults for specified Image.
	List(context.Context, *ListScanResultsRequest) (*ListScanResultsResponse, error)
	// Retrieves the list of vulnerabilities found in particular scan.
	ListVulnerabilities(context.Context, *ListVulnerabilitiesRequest) (*ListVulnerabilitiesResponse, error)
}

ScannerServiceServer is the server API for ScannerService service. All implementations should embed UnimplementedScannerServiceServer for forward compatibility

type ScheduledRule

type ScheduledRule struct {

	// List of repositories that are scanned with rule. Child repositories are included into parent node. "*" - means all repositories in registry
	RepositoryPrefixes []string `protobuf:"bytes,1,rep,name=repository_prefixes,json=repositoryPrefixes,proto3" json:"repository_prefixes,omitempty"`
	// Period of time since last scan to trigger automatic rescan.
	RescanPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=rescan_period,json=rescanPeriod,proto3" json:"rescan_period,omitempty"`
	// Turns off scan rule.
	Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ScheduledRule) Descriptor deprecated

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

Deprecated: Use ScheduledRule.ProtoReflect.Descriptor instead.

func (*ScheduledRule) GetDisabled

func (x *ScheduledRule) GetDisabled() bool

func (*ScheduledRule) GetRepositoryPrefixes

func (x *ScheduledRule) GetRepositoryPrefixes() []string

func (*ScheduledRule) GetRescanPeriod

func (x *ScheduledRule) GetRescanPeriod() *durationpb.Duration

func (*ScheduledRule) ProtoMessage

func (*ScheduledRule) ProtoMessage()

func (*ScheduledRule) ProtoReflect

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

func (*ScheduledRule) Reset

func (x *ScheduledRule) Reset()

func (*ScheduledRule) SetDisabled

func (m *ScheduledRule) SetDisabled(v bool)

func (*ScheduledRule) SetRepositoryPrefixes

func (m *ScheduledRule) SetRepositoryPrefixes(v []string)

func (*ScheduledRule) SetRescanPeriod

func (m *ScheduledRule) SetRescanPeriod(v *durationpb.Duration)

func (*ScheduledRule) String

func (x *ScheduledRule) String() string

type SetIpPermissionMetadata

type SetIpPermissionMetadata 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 (*SetIpPermissionMetadata) Descriptor deprecated

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

Deprecated: Use SetIpPermissionMetadata.ProtoReflect.Descriptor instead.

func (*SetIpPermissionMetadata) GetRegistryId

func (x *SetIpPermissionMetadata) GetRegistryId() string

func (*SetIpPermissionMetadata) ProtoMessage

func (*SetIpPermissionMetadata) ProtoMessage()

func (*SetIpPermissionMetadata) ProtoReflect

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

func (*SetIpPermissionMetadata) Reset

func (x *SetIpPermissionMetadata) Reset()

func (*SetIpPermissionMetadata) SetRegistryId

func (m *SetIpPermissionMetadata) SetRegistryId(v string)

func (*SetIpPermissionMetadata) String

func (x *SetIpPermissionMetadata) String() string

type SetIpPermissionRequest

type SetIpPermissionRequest 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.
	IpPermission []*IpPermission `protobuf:"bytes,2,rep,name=ip_permission,json=ipPermission,proto3" json:"ip_permission,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIpPermissionRequest) Descriptor deprecated

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

Deprecated: Use SetIpPermissionRequest.ProtoReflect.Descriptor instead.

func (*SetIpPermissionRequest) GetIpPermission

func (x *SetIpPermissionRequest) GetIpPermission() []*IpPermission

func (*SetIpPermissionRequest) GetRegistryId

func (x *SetIpPermissionRequest) GetRegistryId() string

func (*SetIpPermissionRequest) ProtoMessage

func (*SetIpPermissionRequest) ProtoMessage()

func (*SetIpPermissionRequest) ProtoReflect

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

func (*SetIpPermissionRequest) Reset

func (x *SetIpPermissionRequest) Reset()

func (*SetIpPermissionRequest) SetIpPermission

func (m *SetIpPermissionRequest) SetIpPermission(v []*IpPermission)

func (*SetIpPermissionRequest) SetRegistryId

func (m *SetIpPermissionRequest) SetRegistryId(v string)

func (*SetIpPermissionRequest) String

func (x *SetIpPermissionRequest) String() string

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedImageServiceServer) Delete

func (UnimplementedImageServiceServer) Get

func (UnimplementedImageServiceServer) List

type UnimplementedLifecyclePolicyServiceServer

type UnimplementedLifecyclePolicyServiceServer struct {
}

UnimplementedLifecyclePolicyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedLifecyclePolicyServiceServer) Create

func (UnimplementedLifecyclePolicyServiceServer) Delete

func (UnimplementedLifecyclePolicyServiceServer) DryRun

func (UnimplementedLifecyclePolicyServiceServer) Get

func (UnimplementedLifecyclePolicyServiceServer) Update

type UnimplementedRegistryServiceServer

type UnimplementedRegistryServiceServer struct {
}

UnimplementedRegistryServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRegistryServiceServer) Create

func (UnimplementedRegistryServiceServer) Delete

func (UnimplementedRegistryServiceServer) Get

func (UnimplementedRegistryServiceServer) List

func (UnimplementedRegistryServiceServer) ListIpPermission

func (UnimplementedRegistryServiceServer) SetAccessBindings

func (UnimplementedRegistryServiceServer) SetIpPermission

func (UnimplementedRegistryServiceServer) Update

func (UnimplementedRegistryServiceServer) UpdateAccessBindings

func (UnimplementedRegistryServiceServer) UpdateIpPermission

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct {
}

UnimplementedRepositoryServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRepositoryServiceServer) Delete

func (UnimplementedRepositoryServiceServer) Get

func (UnimplementedRepositoryServiceServer) GetByName

func (UnimplementedRepositoryServiceServer) List

func (UnimplementedRepositoryServiceServer) SetAccessBindings

func (UnimplementedRepositoryServiceServer) UpdateAccessBindings

func (UnimplementedRepositoryServiceServer) Upsert

type UnimplementedScanPolicyServiceServer

type UnimplementedScanPolicyServiceServer struct {
}

UnimplementedScanPolicyServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedScanPolicyServiceServer) Create

func (UnimplementedScanPolicyServiceServer) Delete

func (UnimplementedScanPolicyServiceServer) Get

func (UnimplementedScanPolicyServiceServer) GetByRegistry

func (UnimplementedScanPolicyServiceServer) Update

type UnimplementedScannerServiceServer

type UnimplementedScannerServiceServer struct {
}

UnimplementedScannerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedScannerServiceServer) Get

func (UnimplementedScannerServiceServer) GetLast

func (UnimplementedScannerServiceServer) List

func (UnimplementedScannerServiceServer) ListVulnerabilities

func (UnimplementedScannerServiceServer) Scan

type UnsafeImageServiceServer

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

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

type UnsafeLifecyclePolicyServiceServer

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

UnsafeLifecyclePolicyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LifecyclePolicyServiceServer 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 UnsafeRepositoryServiceServer

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

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

type UnsafeScanPolicyServiceServer

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

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

type UnsafeScannerServiceServer

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

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

type UpdateIpPermissionMetadata

type UpdateIpPermissionMetadata 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 (*UpdateIpPermissionMetadata) Descriptor deprecated

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

Deprecated: Use UpdateIpPermissionMetadata.ProtoReflect.Descriptor instead.

func (*UpdateIpPermissionMetadata) GetRegistryId

func (x *UpdateIpPermissionMetadata) GetRegistryId() string

func (*UpdateIpPermissionMetadata) ProtoMessage

func (*UpdateIpPermissionMetadata) ProtoMessage()

func (*UpdateIpPermissionMetadata) ProtoReflect

func (*UpdateIpPermissionMetadata) Reset

func (x *UpdateIpPermissionMetadata) Reset()

func (*UpdateIpPermissionMetadata) SetRegistryId

func (m *UpdateIpPermissionMetadata) SetRegistryId(v string)

func (*UpdateIpPermissionMetadata) String

func (x *UpdateIpPermissionMetadata) String() string

type UpdateIpPermissionRequest

type UpdateIpPermissionRequest 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 (*UpdateIpPermissionRequest) Descriptor deprecated

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

Deprecated: Use UpdateIpPermissionRequest.ProtoReflect.Descriptor instead.

func (*UpdateIpPermissionRequest) GetIpPermissionDeltas

func (x *UpdateIpPermissionRequest) GetIpPermissionDeltas() []*IpPermissionDelta

func (*UpdateIpPermissionRequest) GetRegistryId

func (x *UpdateIpPermissionRequest) GetRegistryId() string

func (*UpdateIpPermissionRequest) ProtoMessage

func (*UpdateIpPermissionRequest) ProtoMessage()

func (*UpdateIpPermissionRequest) ProtoReflect

func (*UpdateIpPermissionRequest) Reset

func (x *UpdateIpPermissionRequest) Reset()

func (*UpdateIpPermissionRequest) SetIpPermissionDeltas

func (m *UpdateIpPermissionRequest) SetIpPermissionDeltas(v []*IpPermissionDelta)

func (*UpdateIpPermissionRequest) SetRegistryId

func (m *UpdateIpPermissionRequest) SetRegistryId(v string)

func (*UpdateIpPermissionRequest) String

func (x *UpdateIpPermissionRequest) String() string

type UpdateLifecyclePolicyMetadata

type UpdateLifecyclePolicyMetadata struct {

	// ID of the lifecycle policy resource that is being updated.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLifecyclePolicyMetadata) Descriptor deprecated

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

Deprecated: Use UpdateLifecyclePolicyMetadata.ProtoReflect.Descriptor instead.

func (*UpdateLifecyclePolicyMetadata) GetLifecyclePolicyId

func (x *UpdateLifecyclePolicyMetadata) GetLifecyclePolicyId() string

func (*UpdateLifecyclePolicyMetadata) ProtoMessage

func (*UpdateLifecyclePolicyMetadata) ProtoMessage()

func (*UpdateLifecyclePolicyMetadata) ProtoReflect

func (*UpdateLifecyclePolicyMetadata) Reset

func (x *UpdateLifecyclePolicyMetadata) Reset()

func (*UpdateLifecyclePolicyMetadata) SetLifecyclePolicyId

func (m *UpdateLifecyclePolicyMetadata) SetLifecyclePolicyId(v string)

func (*UpdateLifecyclePolicyMetadata) String

type UpdateLifecyclePolicyRequest

type UpdateLifecyclePolicyRequest struct {

	// ID of the lifecycle policy.
	LifecyclePolicyId string `protobuf:"bytes,1,opt,name=lifecycle_policy_id,json=lifecyclePolicyId,proto3" json:"lifecycle_policy_id,omitempty"`
	// Field mask that specifies which fields of the lifecycle policy 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 lifecycle policy.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of lifecycle policy.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Status of the lifecycle policy.
	Status LifecyclePolicy_Status `` /* 128-byte string literal not displayed */
	// The rules of the lifecycle policy.
	Rules []*LifecycleRule `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLifecyclePolicyRequest) Descriptor deprecated

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

Deprecated: Use UpdateLifecyclePolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateLifecyclePolicyRequest) GetDescription

func (x *UpdateLifecyclePolicyRequest) GetDescription() string

func (*UpdateLifecyclePolicyRequest) GetLifecyclePolicyId

func (x *UpdateLifecyclePolicyRequest) GetLifecyclePolicyId() string

func (*UpdateLifecyclePolicyRequest) GetName

func (x *UpdateLifecyclePolicyRequest) GetName() string

func (*UpdateLifecyclePolicyRequest) GetRules

func (*UpdateLifecyclePolicyRequest) GetStatus

func (*UpdateLifecyclePolicyRequest) GetUpdateMask

func (*UpdateLifecyclePolicyRequest) ProtoMessage

func (*UpdateLifecyclePolicyRequest) ProtoMessage()

func (*UpdateLifecyclePolicyRequest) ProtoReflect

func (*UpdateLifecyclePolicyRequest) Reset

func (x *UpdateLifecyclePolicyRequest) Reset()

func (*UpdateLifecyclePolicyRequest) SetDescription

func (m *UpdateLifecyclePolicyRequest) SetDescription(v string)

func (*UpdateLifecyclePolicyRequest) SetLifecyclePolicyId

func (m *UpdateLifecyclePolicyRequest) SetLifecyclePolicyId(v string)

func (*UpdateLifecyclePolicyRequest) SetName

func (m *UpdateLifecyclePolicyRequest) SetName(v string)

func (*UpdateLifecyclePolicyRequest) SetRules

func (m *UpdateLifecyclePolicyRequest) SetRules(v []*LifecycleRule)

func (*UpdateLifecyclePolicyRequest) SetStatus

func (*UpdateLifecyclePolicyRequest) SetUpdateMask

func (m *UpdateLifecyclePolicyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateLifecyclePolicyRequest) 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 */
	// contains filtered or unexported fields
}

func (*UpdateRegistryRequest) Descriptor deprecated

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

Deprecated: Use UpdateRegistryRequest.ProtoReflect.Descriptor instead.

func (*UpdateRegistryRequest) GetLabels

func (x *UpdateRegistryRequest) GetLabels() map[string]string

func (*UpdateRegistryRequest) GetName

func (x *UpdateRegistryRequest) GetName() 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) SetLabels

func (m *UpdateRegistryRequest) SetLabels(v map[string]string)

func (*UpdateRegistryRequest) SetName

func (m *UpdateRegistryRequest) SetName(v 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

type UpdateScanPolicyMetadata

type UpdateScanPolicyMetadata struct {

	// ID of the scan policy resource that is updated.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateScanPolicyMetadata) Descriptor deprecated

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

Deprecated: Use UpdateScanPolicyMetadata.ProtoReflect.Descriptor instead.

func (*UpdateScanPolicyMetadata) GetScanPolicyId

func (x *UpdateScanPolicyMetadata) GetScanPolicyId() string

func (*UpdateScanPolicyMetadata) ProtoMessage

func (*UpdateScanPolicyMetadata) ProtoMessage()

func (*UpdateScanPolicyMetadata) ProtoReflect

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

func (*UpdateScanPolicyMetadata) Reset

func (x *UpdateScanPolicyMetadata) Reset()

func (*UpdateScanPolicyMetadata) SetScanPolicyId

func (m *UpdateScanPolicyMetadata) SetScanPolicyId(v string)

func (*UpdateScanPolicyMetadata) String

func (x *UpdateScanPolicyMetadata) String() string

type UpdateScanPolicyRequest

type UpdateScanPolicyRequest struct {

	// ID of the scan policy.
	ScanPolicyId string `protobuf:"bytes,1,opt,name=scan_policy_id,json=scanPolicyId,proto3" json:"scan_policy_id,omitempty"`
	// Field mask that specifies which fields of the scan policy 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 scan policy.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the scan policy.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Rules of the scan policy.
	Rules *ScanRules `protobuf:"bytes,5,opt,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateScanPolicyRequest) Descriptor deprecated

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

Deprecated: Use UpdateScanPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateScanPolicyRequest) GetDescription

func (x *UpdateScanPolicyRequest) GetDescription() string

func (*UpdateScanPolicyRequest) GetName

func (x *UpdateScanPolicyRequest) GetName() string

func (*UpdateScanPolicyRequest) GetRules

func (x *UpdateScanPolicyRequest) GetRules() *ScanRules

func (*UpdateScanPolicyRequest) GetScanPolicyId

func (x *UpdateScanPolicyRequest) GetScanPolicyId() string

func (*UpdateScanPolicyRequest) GetUpdateMask

func (x *UpdateScanPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateScanPolicyRequest) ProtoMessage

func (*UpdateScanPolicyRequest) ProtoMessage()

func (*UpdateScanPolicyRequest) ProtoReflect

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

func (*UpdateScanPolicyRequest) Reset

func (x *UpdateScanPolicyRequest) Reset()

func (*UpdateScanPolicyRequest) SetDescription

func (m *UpdateScanPolicyRequest) SetDescription(v string)

func (*UpdateScanPolicyRequest) SetName

func (m *UpdateScanPolicyRequest) SetName(v string)

func (*UpdateScanPolicyRequest) SetRules

func (m *UpdateScanPolicyRequest) SetRules(v *ScanRules)

func (*UpdateScanPolicyRequest) SetScanPolicyId

func (m *UpdateScanPolicyRequest) SetScanPolicyId(v string)

func (*UpdateScanPolicyRequest) SetUpdateMask

func (m *UpdateScanPolicyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateScanPolicyRequest) String

func (x *UpdateScanPolicyRequest) String() string

type UpsertRepositoryMetadata

type UpsertRepositoryMetadata struct {

	// ID of the repository that is being upserted.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertRepositoryMetadata) Descriptor deprecated

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

Deprecated: Use UpsertRepositoryMetadata.ProtoReflect.Descriptor instead.

func (*UpsertRepositoryMetadata) GetRepositoryId

func (x *UpsertRepositoryMetadata) GetRepositoryId() string

func (*UpsertRepositoryMetadata) ProtoMessage

func (*UpsertRepositoryMetadata) ProtoMessage()

func (*UpsertRepositoryMetadata) ProtoReflect

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

func (*UpsertRepositoryMetadata) Reset

func (x *UpsertRepositoryMetadata) Reset()

func (*UpsertRepositoryMetadata) SetRepositoryId

func (m *UpsertRepositoryMetadata) SetRepositoryId(v string)

func (*UpsertRepositoryMetadata) String

func (x *UpsertRepositoryMetadata) String() string

type UpsertRepositoryRequest

type UpsertRepositoryRequest struct {

	// Name of the repository.
	//
	// The name of the repository should match the name of the images that will be pushed in the repository.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertRepositoryRequest) Descriptor deprecated

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

Deprecated: Use UpsertRepositoryRequest.ProtoReflect.Descriptor instead.

func (*UpsertRepositoryRequest) GetName

func (x *UpsertRepositoryRequest) GetName() string

func (*UpsertRepositoryRequest) ProtoMessage

func (*UpsertRepositoryRequest) ProtoMessage()

func (*UpsertRepositoryRequest) ProtoReflect

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

func (*UpsertRepositoryRequest) Reset

func (x *UpsertRepositoryRequest) Reset()

func (*UpsertRepositoryRequest) SetName

func (m *UpsertRepositoryRequest) SetName(v string)

func (*UpsertRepositoryRequest) String

func (x *UpsertRepositoryRequest) String() string

type Vulnerability

type Vulnerability struct {

	// Output only. Severity of the Vulnerability.
	Severity Vulnerability_Severity `` /* 132-byte string literal not displayed */
	// Details of vulnerability depending on type. Only `package` vulnerability is supported at the moment.
	//
	// Types that are assignable to Vulnerability:
	//
	//	*Vulnerability_Package
	Vulnerability isVulnerability_Vulnerability `protobuf_oneof:"vulnerability"`
	// contains filtered or unexported fields
}

A Vulnerability resource.

func (*Vulnerability) Descriptor deprecated

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

Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.

func (*Vulnerability) GetPackage

func (x *Vulnerability) GetPackage() *PackageVulnerability

func (*Vulnerability) GetSeverity

func (x *Vulnerability) GetSeverity() Vulnerability_Severity

func (*Vulnerability) GetVulnerability

func (m *Vulnerability) GetVulnerability() isVulnerability_Vulnerability

func (*Vulnerability) ProtoMessage

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) ProtoReflect

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

func (*Vulnerability) Reset

func (x *Vulnerability) Reset()

func (*Vulnerability) SetPackage

func (m *Vulnerability) SetPackage(v *PackageVulnerability)

func (*Vulnerability) SetSeverity

func (m *Vulnerability) SetSeverity(v Vulnerability_Severity)

func (*Vulnerability) SetVulnerability

func (m *Vulnerability) SetVulnerability(v Vulnerability_Vulnerability)

func (*Vulnerability) String

func (x *Vulnerability) String() string

type VulnerabilityStats

type VulnerabilityStats struct {

	// Count of CRITICAL vulnerabilities.
	Critical int64 `protobuf:"varint,1,opt,name=critical,proto3" json:"critical,omitempty"`
	// Count of HIGH vulnerabilities.
	High int64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"`
	// Count of MEDIUM vulnerabilities.
	Medium int64 `protobuf:"varint,3,opt,name=medium,proto3" json:"medium,omitempty"`
	// Count of LOW vulnerabilities.
	Low int64 `protobuf:"varint,4,opt,name=low,proto3" json:"low,omitempty"`
	// Count of NEGLIGIBLE vulnerabilities.
	Negligible int64 `protobuf:"varint,5,opt,name=negligible,proto3" json:"negligible,omitempty"`
	// Count of other vulnerabilities.
	Undefined int64 `protobuf:"varint,6,opt,name=undefined,proto3" json:"undefined,omitempty"`
	// contains filtered or unexported fields
}

A VulnerabilityStats resource.

func (*VulnerabilityStats) Descriptor deprecated

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

Deprecated: Use VulnerabilityStats.ProtoReflect.Descriptor instead.

func (*VulnerabilityStats) GetCritical

func (x *VulnerabilityStats) GetCritical() int64

func (*VulnerabilityStats) GetHigh

func (x *VulnerabilityStats) GetHigh() int64

func (*VulnerabilityStats) GetLow

func (x *VulnerabilityStats) GetLow() int64

func (*VulnerabilityStats) GetMedium

func (x *VulnerabilityStats) GetMedium() int64

func (*VulnerabilityStats) GetNegligible

func (x *VulnerabilityStats) GetNegligible() int64

func (*VulnerabilityStats) GetUndefined

func (x *VulnerabilityStats) GetUndefined() int64

func (*VulnerabilityStats) ProtoMessage

func (*VulnerabilityStats) ProtoMessage()

func (*VulnerabilityStats) ProtoReflect

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

func (*VulnerabilityStats) Reset

func (x *VulnerabilityStats) Reset()

func (*VulnerabilityStats) SetCritical

func (m *VulnerabilityStats) SetCritical(v int64)

func (*VulnerabilityStats) SetHigh

func (m *VulnerabilityStats) SetHigh(v int64)

func (*VulnerabilityStats) SetLow

func (m *VulnerabilityStats) SetLow(v int64)

func (*VulnerabilityStats) SetMedium

func (m *VulnerabilityStats) SetMedium(v int64)

func (*VulnerabilityStats) SetNegligible

func (m *VulnerabilityStats) SetNegligible(v int64)

func (*VulnerabilityStats) SetUndefined

func (m *VulnerabilityStats) SetUndefined(v int64)

func (*VulnerabilityStats) String

func (x *VulnerabilityStats) String() string

type Vulnerability_Package

type Vulnerability_Package struct {
	Package *PackageVulnerability `protobuf:"bytes,2,opt,name=package,proto3,oneof"`
}

type Vulnerability_Severity

type Vulnerability_Severity int32
const (
	Vulnerability_SEVERITY_UNSPECIFIED Vulnerability_Severity = 0
	// Critical severity is a world-burning problem, exploitable for nearly all users.
	// Includes remote root privilege escalations, or massive data loss.
	Vulnerability_CRITICAL Vulnerability_Severity = 1
	// High severity is a real problem, exploitable for many users in a default installation.
	// Includes serious remote denial of services, local root privilege escalations, or data loss.
	Vulnerability_HIGH Vulnerability_Severity = 2
	// Medium severity is a real security problem, and is exploitable for many users.
	// Includes network daemon denial of service attacks, cross-site scripting, and gaining user privileges.
	// Updates should be made soon for this priority of issue.
	Vulnerability_MEDIUM Vulnerability_Severity = 3
	// Low severity is a security problem, but is hard to exploit due to environment, requires a user-assisted attack,
	// a small install base, or does very little damage. These tend to be included in security updates only when
	// higher priority issues require an update, or if many low priority issues have built up.
	Vulnerability_LOW Vulnerability_Severity = 4
	// Negligible severity is technically a security problem, but is only theoretical in nature, requires a very special situation,
	// has almost no install base, or does no real damage. These tend not to get backport from upstream,
	// and will likely not be included in security updates unless there is an easy fix and some other issue causes an update.
	Vulnerability_NEGLIGIBLE Vulnerability_Severity = 5
	// Unknown severity is either a security problem that has not been assigned to a priority yet or
	// a priority that our system did not recognize.
	Vulnerability_UNDEFINED Vulnerability_Severity = 6
)

func (Vulnerability_Severity) Descriptor

func (Vulnerability_Severity) Enum

func (Vulnerability_Severity) EnumDescriptor deprecated

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

Deprecated: Use Vulnerability_Severity.Descriptor instead.

func (Vulnerability_Severity) Number

func (Vulnerability_Severity) String

func (x Vulnerability_Severity) String() string

func (Vulnerability_Severity) Type

type Vulnerability_Vulnerability

type Vulnerability_Vulnerability = isVulnerability_Vulnerability

Jump to

Keyboard shortcuts

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