Documentation ¶
Index ¶
- Variables
- func RegisterAWSServiceServer(s *grpc.Server, srv AWSServiceServer)
- type AWS
- func (*AWS) Descriptor() ([]byte, []int)deprecated
- func (x *AWS) GetAwsAccountId() string
- func (x *AWS) GetAwsId() uint32
- func (x *AWS) GetCreatedAt() int64
- func (x *AWS) GetName() string
- func (x *AWS) GetProjectId() uint32
- func (x *AWS) GetUpdatedAt() int64
- func (*AWS) ProtoMessage()
- func (x *AWS) ProtoReflect() protoreflect.Message
- func (x *AWS) Reset()
- func (x *AWS) String() string
- type AWSForUpsert
- func (*AWSForUpsert) Descriptor() ([]byte, []int)deprecated
- func (x *AWSForUpsert) GetAwsAccountId() string
- func (x *AWSForUpsert) GetName() string
- func (x *AWSForUpsert) GetProjectId() uint32
- func (*AWSForUpsert) ProtoMessage()
- func (x *AWSForUpsert) ProtoReflect() protoreflect.Message
- func (x *AWSForUpsert) Reset()
- func (x *AWSForUpsert) String() string
- func (a *AWSForUpsert) Validate() error
- type AWSRelDataSource
- func (*AWSRelDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *AWSRelDataSource) GetAssumeRoleArn() string
- func (x *AWSRelDataSource) GetAwsDataSourceId() uint32
- func (x *AWSRelDataSource) GetAwsId() uint32
- func (x *AWSRelDataSource) GetCreatedAt() int64
- func (x *AWSRelDataSource) GetExternalId() string
- func (x *AWSRelDataSource) GetProjectId() uint32
- func (x *AWSRelDataSource) GetScanAt() int64
- func (x *AWSRelDataSource) GetSpecificVersion() string
- func (x *AWSRelDataSource) GetStatus() Status
- func (x *AWSRelDataSource) GetStatusDetail() string
- func (x *AWSRelDataSource) GetUpdatedAt() int64
- func (*AWSRelDataSource) ProtoMessage()
- func (x *AWSRelDataSource) ProtoReflect() protoreflect.Message
- func (x *AWSRelDataSource) Reset()
- func (x *AWSRelDataSource) String() string
- type AWSServiceClient
- type AWSServiceServer
- type AttachDataSourceRequest
- func (*AttachDataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachDataSourceRequest) GetAttachDataSource() *DataSourceForAttach
- func (x *AttachDataSourceRequest) GetProjectId() uint32
- func (*AttachDataSourceRequest) ProtoMessage()
- func (x *AttachDataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *AttachDataSourceRequest) Reset()
- func (x *AttachDataSourceRequest) String() string
- func (a *AttachDataSourceRequest) Validate() error
- func (a *AttachDataSourceRequest) ValidateForUser() error
- type AttachDataSourceResponse
- func (*AttachDataSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachDataSourceResponse) GetDataSource() *AWSRelDataSource
- func (*AttachDataSourceResponse) ProtoMessage()
- func (x *AttachDataSourceResponse) ProtoReflect() protoreflect.Message
- func (x *AttachDataSourceResponse) Reset()
- func (x *AttachDataSourceResponse) String() string
- type DataSource
- func (*DataSource) Descriptor() ([]byte, []int)deprecated
- func (x *DataSource) GetAssumeRoleArn() string
- func (x *DataSource) GetAwsDataSourceId() uint32
- func (x *DataSource) GetAwsId() uint32
- func (x *DataSource) GetDataSource() string
- func (x *DataSource) GetExternalId() string
- func (x *DataSource) GetMaxScore() float32
- func (x *DataSource) GetProjectId() uint32
- func (x *DataSource) GetScanAt() int64
- func (x *DataSource) GetSpecificVersion() string
- func (x *DataSource) GetStatus() Status
- func (x *DataSource) GetStatusDetail() string
- func (*DataSource) ProtoMessage()
- func (x *DataSource) ProtoReflect() protoreflect.Message
- func (x *DataSource) Reset()
- func (x *DataSource) String() string
- type DataSourceForAttach
- func (*DataSourceForAttach) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceForAttach) GetAssumeRoleArn() string
- func (x *DataSourceForAttach) GetAwsDataSourceId() uint32
- func (x *DataSourceForAttach) GetAwsId() uint32
- func (x *DataSourceForAttach) GetExternalId() string
- func (x *DataSourceForAttach) GetProjectId() uint32
- func (x *DataSourceForAttach) GetScanAt() int64
- func (x *DataSourceForAttach) GetSpecificVersion() string
- func (x *DataSourceForAttach) GetStatus() Status
- func (x *DataSourceForAttach) GetStatusDetail() string
- func (*DataSourceForAttach) ProtoMessage()
- func (x *DataSourceForAttach) ProtoReflect() protoreflect.Message
- func (x *DataSourceForAttach) Reset()
- func (x *DataSourceForAttach) String() string
- func (d *DataSourceForAttach) Validate() error
- func (d *DataSourceForAttach) ValidateForUser() error
- type DeleteAWSRequest
- func (*DeleteAWSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAWSRequest) GetAwsId() uint32
- func (x *DeleteAWSRequest) GetProjectId() uint32
- func (*DeleteAWSRequest) ProtoMessage()
- func (x *DeleteAWSRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAWSRequest) Reset()
- func (x *DeleteAWSRequest) String() string
- func (d *DeleteAWSRequest) Validate() error
- type DetachDataSourceRequest
- func (*DetachDataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachDataSourceRequest) GetAwsDataSourceId() uint32
- func (x *DetachDataSourceRequest) GetAwsId() uint32
- func (x *DetachDataSourceRequest) GetProjectId() uint32
- func (*DetachDataSourceRequest) ProtoMessage()
- func (x *DetachDataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *DetachDataSourceRequest) Reset()
- func (x *DetachDataSourceRequest) String() string
- func (d *DetachDataSourceRequest) Validate() error
- type InvokeScanAllRequest
- func (*InvokeScanAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeScanAllRequest) GetAwsDataSourceId() uint32
- func (*InvokeScanAllRequest) ProtoMessage()
- func (x *InvokeScanAllRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeScanAllRequest) Reset()
- func (x *InvokeScanAllRequest) String() string
- type InvokeScanRequest
- func (*InvokeScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeScanRequest) GetAwsDataSourceId() uint32
- func (x *InvokeScanRequest) GetAwsId() uint32
- func (x *InvokeScanRequest) GetProjectId() uint32
- func (x *InvokeScanRequest) GetScanOnly() bool
- func (*InvokeScanRequest) ProtoMessage()
- func (x *InvokeScanRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeScanRequest) Reset()
- func (x *InvokeScanRequest) String() string
- func (i *InvokeScanRequest) Validate() error
- type ListAWSRequest
- func (*ListAWSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAWSRequest) GetAwsAccountId() string
- func (x *ListAWSRequest) GetAwsId() uint32
- func (x *ListAWSRequest) GetProjectId() uint32
- func (*ListAWSRequest) ProtoMessage()
- func (x *ListAWSRequest) ProtoReflect() protoreflect.Message
- func (x *ListAWSRequest) Reset()
- func (x *ListAWSRequest) String() string
- func (l *ListAWSRequest) Validate() error
- type ListAWSResponse
- type ListDataSourceRequest
- func (*ListDataSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSourceRequest) GetAwsId() uint32
- func (x *ListDataSourceRequest) GetDataSource() string
- func (x *ListDataSourceRequest) GetProjectId() uint32
- func (*ListDataSourceRequest) ProtoMessage()
- func (x *ListDataSourceRequest) ProtoReflect() protoreflect.Message
- func (x *ListDataSourceRequest) Reset()
- func (x *ListDataSourceRequest) String() string
- func (l *ListDataSourceRequest) Validate() error
- type ListDataSourceResponse
- func (*ListDataSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDataSourceResponse) GetDataSource() []*DataSource
- func (*ListDataSourceResponse) ProtoMessage()
- func (x *ListDataSourceResponse) ProtoReflect() protoreflect.Message
- func (x *ListDataSourceResponse) Reset()
- func (x *ListDataSourceResponse) String() string
- type PutAWSRequest
- func (*PutAWSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PutAWSRequest) GetAws() *AWSForUpsert
- func (x *PutAWSRequest) GetProjectId() uint32
- func (*PutAWSRequest) ProtoMessage()
- func (x *PutAWSRequest) ProtoReflect() protoreflect.Message
- func (x *PutAWSRequest) Reset()
- func (x *PutAWSRequest) String() string
- func (p *PutAWSRequest) Validate() error
- type PutAWSResponse
- type Status
- type UnimplementedAWSServiceServer
- func (*UnimplementedAWSServiceServer) AttachDataSource(context.Context, *AttachDataSourceRequest) (*AttachDataSourceResponse, error)
- func (*UnimplementedAWSServiceServer) DeleteAWS(context.Context, *DeleteAWSRequest) (*emptypb.Empty, error)
- func (*UnimplementedAWSServiceServer) DetachDataSource(context.Context, *DetachDataSourceRequest) (*emptypb.Empty, error)
- func (*UnimplementedAWSServiceServer) InvokeScan(context.Context, *InvokeScanRequest) (*emptypb.Empty, error)
- func (*UnimplementedAWSServiceServer) InvokeScanAll(context.Context, *InvokeScanAllRequest) (*emptypb.Empty, error)
- func (*UnimplementedAWSServiceServer) ListAWS(context.Context, *ListAWSRequest) (*ListAWSResponse, error)
- func (*UnimplementedAWSServiceServer) ListDataSource(context.Context, *ListDataSourceRequest) (*ListDataSourceResponse, error)
- func (*UnimplementedAWSServiceServer) PutAWS(context.Context, *PutAWSRequest) (*PutAWSResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "UNKNOWN", 1: "OK", 2: "CONFIGURED", 3: "IN_PROGRESS", 4: "ERROR", } Status_value = map[string]int32{ "UNKNOWN": 0, "OK": 1, "CONFIGURED": 2, "IN_PROGRESS": 3, "ERROR": 4, } )
Enum value maps for Status.
var File_aws_entity_proto protoreflect.FileDescriptor
var File_aws_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAWSServiceServer ¶
func RegisterAWSServiceServer(s *grpc.Server, srv AWSServiceServer)
Types ¶
type AWS ¶
type AWS struct { AwsId uint32 `protobuf:"varint,1,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsAccountId string `protobuf:"bytes,4,opt,name=aws_account_id,json=awsAccountId,proto3" json:"aws_account_id,omitempty"` // 12桁のAWSアカウントID CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
AWS
func (*AWS) Descriptor
deprecated
func (*AWS) GetAwsAccountId ¶
func (*AWS) GetCreatedAt ¶
func (*AWS) GetProjectId ¶
func (*AWS) GetUpdatedAt ¶
func (*AWS) ProtoMessage ¶
func (*AWS) ProtoMessage()
func (*AWS) ProtoReflect ¶
func (x *AWS) ProtoReflect() protoreflect.Message
type AWSForUpsert ¶
type AWSForUpsert struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ProjectId uint32 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsAccountId string `protobuf:"bytes,3,opt,name=aws_account_id,json=awsAccountId,proto3" json:"aws_account_id,omitempty"` // 12桁のAWSアカウントID // contains filtered or unexported fields }
AWSForUpsert (Unique keys: aws_account_id)
func (*AWSForUpsert) Descriptor
deprecated
func (*AWSForUpsert) Descriptor() ([]byte, []int)
Deprecated: Use AWSForUpsert.ProtoReflect.Descriptor instead.
func (*AWSForUpsert) GetAwsAccountId ¶
func (x *AWSForUpsert) GetAwsAccountId() string
func (*AWSForUpsert) GetName ¶
func (x *AWSForUpsert) GetName() string
func (*AWSForUpsert) GetProjectId ¶
func (x *AWSForUpsert) GetProjectId() uint32
func (*AWSForUpsert) ProtoMessage ¶
func (*AWSForUpsert) ProtoMessage()
func (*AWSForUpsert) ProtoReflect ¶
func (x *AWSForUpsert) ProtoReflect() protoreflect.Message
func (*AWSForUpsert) Reset ¶
func (x *AWSForUpsert) Reset()
func (*AWSForUpsert) String ¶
func (x *AWSForUpsert) String() string
type AWSRelDataSource ¶
type AWSRelDataSource struct { AwsId uint32 `protobuf:"varint,1,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` AwsDataSourceId uint32 `protobuf:"varint,2,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AssumeRoleArn string `protobuf:"bytes,4,opt,name=assume_role_arn,json=assumeRoleArn,proto3" json:"assume_role_arn,omitempty"` ExternalId string `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` Status Status `protobuf:"varint,6,opt,name=status,proto3,enum=datasource.aws.Status" json:"status,omitempty"` StatusDetail string `protobuf:"bytes,7,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` ScanAt int64 `protobuf:"varint,8,opt,name=scan_at,json=scanAt,proto3" json:"scan_at,omitempty"` CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` SpecificVersion string `protobuf:"bytes,11,opt,name=specific_version,json=specificVersion,proto3" json:"specific_version,omitempty"` // contains filtered or unexported fields }
AWSRelDataSource
func (*AWSRelDataSource) Descriptor
deprecated
func (*AWSRelDataSource) Descriptor() ([]byte, []int)
Deprecated: Use AWSRelDataSource.ProtoReflect.Descriptor instead.
func (*AWSRelDataSource) GetAssumeRoleArn ¶
func (x *AWSRelDataSource) GetAssumeRoleArn() string
func (*AWSRelDataSource) GetAwsDataSourceId ¶
func (x *AWSRelDataSource) GetAwsDataSourceId() uint32
func (*AWSRelDataSource) GetAwsId ¶
func (x *AWSRelDataSource) GetAwsId() uint32
func (*AWSRelDataSource) GetCreatedAt ¶
func (x *AWSRelDataSource) GetCreatedAt() int64
func (*AWSRelDataSource) GetExternalId ¶
func (x *AWSRelDataSource) GetExternalId() string
func (*AWSRelDataSource) GetProjectId ¶
func (x *AWSRelDataSource) GetProjectId() uint32
func (*AWSRelDataSource) GetScanAt ¶
func (x *AWSRelDataSource) GetScanAt() int64
func (*AWSRelDataSource) GetSpecificVersion ¶ added in v0.6.0
func (x *AWSRelDataSource) GetSpecificVersion() string
func (*AWSRelDataSource) GetStatus ¶
func (x *AWSRelDataSource) GetStatus() Status
func (*AWSRelDataSource) GetStatusDetail ¶
func (x *AWSRelDataSource) GetStatusDetail() string
func (*AWSRelDataSource) GetUpdatedAt ¶
func (x *AWSRelDataSource) GetUpdatedAt() int64
func (*AWSRelDataSource) ProtoMessage ¶
func (*AWSRelDataSource) ProtoMessage()
func (*AWSRelDataSource) ProtoReflect ¶
func (x *AWSRelDataSource) ProtoReflect() protoreflect.Message
func (*AWSRelDataSource) Reset ¶
func (x *AWSRelDataSource) Reset()
func (*AWSRelDataSource) String ¶
func (x *AWSRelDataSource) String() string
type AWSServiceClient ¶
type AWSServiceClient interface { // AWS ListAWS(ctx context.Context, in *ListAWSRequest, opts ...grpc.CallOption) (*ListAWSResponse, error) PutAWS(ctx context.Context, in *PutAWSRequest, opts ...grpc.CallOption) (*PutAWSResponse, error) DeleteAWS(ctx context.Context, in *DeleteAWSRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // AWS DataSource ListDataSource(ctx context.Context, in *ListDataSourceRequest, opts ...grpc.CallOption) (*ListDataSourceResponse, error) AttachDataSource(ctx context.Context, in *AttachDataSourceRequest, opts ...grpc.CallOption) (*AttachDataSourceResponse, error) DetachDataSource(ctx context.Context, in *DetachDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Scan InvokeScan(ctx context.Context, in *InvokeScanRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) InvokeScanAll(ctx context.Context, in *InvokeScanAllRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AWSServiceClient is the client API for AWSService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAWSServiceClient ¶
func NewAWSServiceClient(cc grpc.ClientConnInterface) AWSServiceClient
type AWSServiceServer ¶
type AWSServiceServer interface { // AWS ListAWS(context.Context, *ListAWSRequest) (*ListAWSResponse, error) PutAWS(context.Context, *PutAWSRequest) (*PutAWSResponse, error) DeleteAWS(context.Context, *DeleteAWSRequest) (*emptypb.Empty, error) // AWS DataSource ListDataSource(context.Context, *ListDataSourceRequest) (*ListDataSourceResponse, error) AttachDataSource(context.Context, *AttachDataSourceRequest) (*AttachDataSourceResponse, error) DetachDataSource(context.Context, *DetachDataSourceRequest) (*emptypb.Empty, error) // Scan InvokeScan(context.Context, *InvokeScanRequest) (*emptypb.Empty, error) InvokeScanAll(context.Context, *InvokeScanAllRequest) (*emptypb.Empty, error) }
AWSServiceServer is the server API for AWSService service.
type AttachDataSourceRequest ¶
type AttachDataSourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AttachDataSource *DataSourceForAttach `protobuf:"bytes,2,opt,name=attach_data_source,json=attachDataSource,proto3" json:"attach_data_source,omitempty"` // contains filtered or unexported fields }
func (*AttachDataSourceRequest) Descriptor
deprecated
func (*AttachDataSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachDataSourceRequest.ProtoReflect.Descriptor instead.
func (*AttachDataSourceRequest) GetAttachDataSource ¶
func (x *AttachDataSourceRequest) GetAttachDataSource() *DataSourceForAttach
func (*AttachDataSourceRequest) GetProjectId ¶
func (x *AttachDataSourceRequest) GetProjectId() uint32
func (*AttachDataSourceRequest) ProtoMessage ¶
func (*AttachDataSourceRequest) ProtoMessage()
func (*AttachDataSourceRequest) ProtoReflect ¶
func (x *AttachDataSourceRequest) ProtoReflect() protoreflect.Message
func (*AttachDataSourceRequest) Reset ¶
func (x *AttachDataSourceRequest) Reset()
func (*AttachDataSourceRequest) String ¶
func (x *AttachDataSourceRequest) String() string
func (*AttachDataSourceRequest) Validate ¶
func (a *AttachDataSourceRequest) Validate() error
Validate AttachDataSourceRequest
func (*AttachDataSourceRequest) ValidateForUser ¶
func (a *AttachDataSourceRequest) ValidateForUser() error
ValidateForUser AttachDataSourceRequest
type AttachDataSourceResponse ¶
type AttachDataSourceResponse struct { DataSource *AWSRelDataSource `protobuf:"bytes,1,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
func (*AttachDataSourceResponse) Descriptor
deprecated
func (*AttachDataSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachDataSourceResponse.ProtoReflect.Descriptor instead.
func (*AttachDataSourceResponse) GetDataSource ¶
func (x *AttachDataSourceResponse) GetDataSource() *AWSRelDataSource
func (*AttachDataSourceResponse) ProtoMessage ¶
func (*AttachDataSourceResponse) ProtoMessage()
func (*AttachDataSourceResponse) ProtoReflect ¶
func (x *AttachDataSourceResponse) ProtoReflect() protoreflect.Message
func (*AttachDataSourceResponse) Reset ¶
func (x *AttachDataSourceResponse) Reset()
func (*AttachDataSourceResponse) String ¶
func (x *AttachDataSourceResponse) String() string
type DataSource ¶
type DataSource struct { AwsDataSourceId uint32 `protobuf:"varint,1,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` // aws_data_source.aws_data_source_id DataSource string `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // aws_data_source.data_source MaxScore float32 `protobuf:"fixed32,3,opt,name=max_score,json=maxScore,proto3" json:"max_score,omitempty"` // aws_data_source.max_score AwsId uint32 `protobuf:"varint,4,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` // aws_rel_data_source.aws_id ProjectId uint32 `protobuf:"varint,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // aws_rel_data_source.project_id AssumeRoleArn string `protobuf:"bytes,7,opt,name=assume_role_arn,json=assumeRoleArn,proto3" json:"assume_role_arn,omitempty"` // aws_rel_data_source.assume_role_arn ExternalId string `protobuf:"bytes,8,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // aws_rel_data_source.external_id Status Status `protobuf:"varint,9,opt,name=status,proto3,enum=datasource.aws.Status" json:"status,omitempty"` // aws_rel_data_source.status StatusDetail string `protobuf:"bytes,10,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` // aws_rel_data_source.status_detail ScanAt int64 `protobuf:"varint,11,opt,name=scan_at,json=scanAt,proto3" json:"scan_at,omitempty"` // aws_rel_data_source.scan_at SpecificVersion string `protobuf:"bytes,12,opt,name=specific_version,json=specificVersion,proto3" json:"specific_version,omitempty"` // aws_rel_data_source.specific_version // contains filtered or unexported fields }
DataSource(data_sourceと紐づくaws_rel_data_sourceの状態)
func (*DataSource) Descriptor
deprecated
func (*DataSource) Descriptor() ([]byte, []int)
Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetAssumeRoleArn ¶
func (x *DataSource) GetAssumeRoleArn() string
func (*DataSource) GetAwsDataSourceId ¶
func (x *DataSource) GetAwsDataSourceId() uint32
func (*DataSource) GetAwsId ¶
func (x *DataSource) GetAwsId() uint32
func (*DataSource) GetDataSource ¶
func (x *DataSource) GetDataSource() string
func (*DataSource) GetExternalId ¶
func (x *DataSource) GetExternalId() string
func (*DataSource) GetMaxScore ¶
func (x *DataSource) GetMaxScore() float32
func (*DataSource) GetProjectId ¶
func (x *DataSource) GetProjectId() uint32
func (*DataSource) GetScanAt ¶
func (x *DataSource) GetScanAt() int64
func (*DataSource) GetSpecificVersion ¶ added in v0.6.0
func (x *DataSource) GetSpecificVersion() string
func (*DataSource) GetStatus ¶
func (x *DataSource) GetStatus() Status
func (*DataSource) GetStatusDetail ¶
func (x *DataSource) GetStatusDetail() string
func (*DataSource) ProtoMessage ¶
func (*DataSource) ProtoMessage()
func (*DataSource) ProtoReflect ¶
func (x *DataSource) ProtoReflect() protoreflect.Message
func (*DataSource) Reset ¶
func (x *DataSource) Reset()
func (*DataSource) String ¶
func (x *DataSource) String() string
type DataSourceForAttach ¶
type DataSourceForAttach struct { AwsId uint32 `protobuf:"varint,1,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` AwsDataSourceId uint32 `protobuf:"varint,2,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` ProjectId uint32 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AssumeRoleArn string `protobuf:"bytes,4,opt,name=assume_role_arn,json=assumeRoleArn,proto3" json:"assume_role_arn,omitempty"` ExternalId string `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` // assume_role時に指定する外部ID Status Status `protobuf:"varint,6,opt,name=status,proto3,enum=datasource.aws.Status" json:"status,omitempty"` StatusDetail string `protobuf:"bytes,7,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` ScanAt int64 `protobuf:"varint,8,opt,name=scan_at,json=scanAt,proto3" json:"scan_at,omitempty"` SpecificVersion string `protobuf:"bytes,9,opt,name=specific_version,json=specificVersion,proto3" json:"specific_version,omitempty"` // contains filtered or unexported fields }
DataSourceForAttach
func (*DataSourceForAttach) Descriptor
deprecated
func (*DataSourceForAttach) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceForAttach.ProtoReflect.Descriptor instead.
func (*DataSourceForAttach) GetAssumeRoleArn ¶
func (x *DataSourceForAttach) GetAssumeRoleArn() string
func (*DataSourceForAttach) GetAwsDataSourceId ¶
func (x *DataSourceForAttach) GetAwsDataSourceId() uint32
func (*DataSourceForAttach) GetAwsId ¶
func (x *DataSourceForAttach) GetAwsId() uint32
func (*DataSourceForAttach) GetExternalId ¶
func (x *DataSourceForAttach) GetExternalId() string
func (*DataSourceForAttach) GetProjectId ¶
func (x *DataSourceForAttach) GetProjectId() uint32
func (*DataSourceForAttach) GetScanAt ¶
func (x *DataSourceForAttach) GetScanAt() int64
func (*DataSourceForAttach) GetSpecificVersion ¶ added in v0.6.0
func (x *DataSourceForAttach) GetSpecificVersion() string
func (*DataSourceForAttach) GetStatus ¶
func (x *DataSourceForAttach) GetStatus() Status
func (*DataSourceForAttach) GetStatusDetail ¶
func (x *DataSourceForAttach) GetStatusDetail() string
func (*DataSourceForAttach) ProtoMessage ¶
func (*DataSourceForAttach) ProtoMessage()
func (*DataSourceForAttach) ProtoReflect ¶
func (x *DataSourceForAttach) ProtoReflect() protoreflect.Message
func (*DataSourceForAttach) Reset ¶
func (x *DataSourceForAttach) Reset()
func (*DataSourceForAttach) String ¶
func (x *DataSourceForAttach) String() string
func (*DataSourceForAttach) Validate ¶
func (d *DataSourceForAttach) Validate() error
Validate DataSourceForAttach
func (*DataSourceForAttach) ValidateForUser ¶
func (d *DataSourceForAttach) ValidateForUser() error
ValidateForUser DataSourceForAttach
type DeleteAWSRequest ¶
type DeleteAWSRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsId uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAWSRequest) Descriptor
deprecated
func (*DeleteAWSRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAWSRequest.ProtoReflect.Descriptor instead.
func (*DeleteAWSRequest) GetAwsId ¶
func (x *DeleteAWSRequest) GetAwsId() uint32
func (*DeleteAWSRequest) GetProjectId ¶
func (x *DeleteAWSRequest) GetProjectId() uint32
func (*DeleteAWSRequest) ProtoMessage ¶
func (*DeleteAWSRequest) ProtoMessage()
func (*DeleteAWSRequest) ProtoReflect ¶
func (x *DeleteAWSRequest) ProtoReflect() protoreflect.Message
func (*DeleteAWSRequest) Reset ¶
func (x *DeleteAWSRequest) Reset()
func (*DeleteAWSRequest) String ¶
func (x *DeleteAWSRequest) String() string
func (*DeleteAWSRequest) Validate ¶
func (d *DeleteAWSRequest) Validate() error
Validate DeleteAWSRequest
type DetachDataSourceRequest ¶
type DetachDataSourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsId uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` AwsDataSourceId uint32 `protobuf:"varint,3,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` // contains filtered or unexported fields }
func (*DetachDataSourceRequest) Descriptor
deprecated
func (*DetachDataSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachDataSourceRequest.ProtoReflect.Descriptor instead.
func (*DetachDataSourceRequest) GetAwsDataSourceId ¶
func (x *DetachDataSourceRequest) GetAwsDataSourceId() uint32
func (*DetachDataSourceRequest) GetAwsId ¶
func (x *DetachDataSourceRequest) GetAwsId() uint32
func (*DetachDataSourceRequest) GetProjectId ¶
func (x *DetachDataSourceRequest) GetProjectId() uint32
func (*DetachDataSourceRequest) ProtoMessage ¶
func (*DetachDataSourceRequest) ProtoMessage()
func (*DetachDataSourceRequest) ProtoReflect ¶
func (x *DetachDataSourceRequest) ProtoReflect() protoreflect.Message
func (*DetachDataSourceRequest) Reset ¶
func (x *DetachDataSourceRequest) Reset()
func (*DetachDataSourceRequest) String ¶
func (x *DetachDataSourceRequest) String() string
func (*DetachDataSourceRequest) Validate ¶
func (d *DetachDataSourceRequest) Validate() error
Validate DetachDataSourceRequest
type InvokeScanAllRequest ¶
type InvokeScanAllRequest struct { AwsDataSourceId uint32 `protobuf:"varint,1,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` // contains filtered or unexported fields }
Invoke Scan All
func (*InvokeScanAllRequest) Descriptor
deprecated
func (*InvokeScanAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvokeScanAllRequest.ProtoReflect.Descriptor instead.
func (*InvokeScanAllRequest) GetAwsDataSourceId ¶
func (x *InvokeScanAllRequest) GetAwsDataSourceId() uint32
func (*InvokeScanAllRequest) ProtoMessage ¶
func (*InvokeScanAllRequest) ProtoMessage()
func (*InvokeScanAllRequest) ProtoReflect ¶
func (x *InvokeScanAllRequest) ProtoReflect() protoreflect.Message
func (*InvokeScanAllRequest) Reset ¶
func (x *InvokeScanAllRequest) Reset()
func (*InvokeScanAllRequest) String ¶
func (x *InvokeScanAllRequest) String() string
type InvokeScanRequest ¶
type InvokeScanRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsId uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` AwsDataSourceId uint32 `protobuf:"varint,3,opt,name=aws_data_source_id,json=awsDataSourceId,proto3" json:"aws_data_source_id,omitempty"` ScanOnly bool `protobuf:"varint,4,opt,name=scan_only,json=scanOnly,proto3" json:"scan_only,omitempty"` // contains filtered or unexported fields }
func (*InvokeScanRequest) Descriptor
deprecated
func (*InvokeScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvokeScanRequest.ProtoReflect.Descriptor instead.
func (*InvokeScanRequest) GetAwsDataSourceId ¶
func (x *InvokeScanRequest) GetAwsDataSourceId() uint32
func (*InvokeScanRequest) GetAwsId ¶
func (x *InvokeScanRequest) GetAwsId() uint32
func (*InvokeScanRequest) GetProjectId ¶
func (x *InvokeScanRequest) GetProjectId() uint32
func (*InvokeScanRequest) GetScanOnly ¶
func (x *InvokeScanRequest) GetScanOnly() bool
func (*InvokeScanRequest) ProtoMessage ¶
func (*InvokeScanRequest) ProtoMessage()
func (*InvokeScanRequest) ProtoReflect ¶
func (x *InvokeScanRequest) ProtoReflect() protoreflect.Message
func (*InvokeScanRequest) Reset ¶
func (x *InvokeScanRequest) Reset()
func (*InvokeScanRequest) String ¶
func (x *InvokeScanRequest) String() string
func (*InvokeScanRequest) Validate ¶
func (i *InvokeScanRequest) Validate() error
Validate InvokeScanRequest
type ListAWSRequest ¶
type ListAWSRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsId uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` AwsAccountId string `protobuf:"bytes,3,opt,name=aws_account_id,json=awsAccountId,proto3" json:"aws_account_id,omitempty"` // contains filtered or unexported fields }
func (*ListAWSRequest) Descriptor
deprecated
func (*ListAWSRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAWSRequest.ProtoReflect.Descriptor instead.
func (*ListAWSRequest) GetAwsAccountId ¶
func (x *ListAWSRequest) GetAwsAccountId() string
func (*ListAWSRequest) GetAwsId ¶
func (x *ListAWSRequest) GetAwsId() uint32
func (*ListAWSRequest) GetProjectId ¶
func (x *ListAWSRequest) GetProjectId() uint32
func (*ListAWSRequest) ProtoMessage ¶
func (*ListAWSRequest) ProtoMessage()
func (*ListAWSRequest) ProtoReflect ¶
func (x *ListAWSRequest) ProtoReflect() protoreflect.Message
func (*ListAWSRequest) Reset ¶
func (x *ListAWSRequest) Reset()
func (*ListAWSRequest) String ¶
func (x *ListAWSRequest) String() string
type ListAWSResponse ¶
type ListAWSResponse struct { Aws []*AWS `protobuf:"bytes,1,rep,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*ListAWSResponse) Descriptor
deprecated
func (*ListAWSResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAWSResponse.ProtoReflect.Descriptor instead.
func (*ListAWSResponse) GetAws ¶
func (x *ListAWSResponse) GetAws() []*AWS
func (*ListAWSResponse) ProtoMessage ¶
func (*ListAWSResponse) ProtoMessage()
func (*ListAWSResponse) ProtoReflect ¶
func (x *ListAWSResponse) ProtoReflect() protoreflect.Message
func (*ListAWSResponse) Reset ¶
func (x *ListAWSResponse) Reset()
func (*ListAWSResponse) String ¶
func (x *ListAWSResponse) String() string
type ListDataSourceRequest ¶
type ListDataSourceRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` AwsId uint32 `protobuf:"varint,2,opt,name=aws_id,json=awsId,proto3" json:"aws_id,omitempty"` DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
func (*ListDataSourceRequest) Descriptor
deprecated
func (*ListDataSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSourceRequest.ProtoReflect.Descriptor instead.
func (*ListDataSourceRequest) GetAwsId ¶
func (x *ListDataSourceRequest) GetAwsId() uint32
func (*ListDataSourceRequest) GetDataSource ¶
func (x *ListDataSourceRequest) GetDataSource() string
func (*ListDataSourceRequest) GetProjectId ¶
func (x *ListDataSourceRequest) GetProjectId() uint32
func (*ListDataSourceRequest) ProtoMessage ¶
func (*ListDataSourceRequest) ProtoMessage()
func (*ListDataSourceRequest) ProtoReflect ¶
func (x *ListDataSourceRequest) ProtoReflect() protoreflect.Message
func (*ListDataSourceRequest) Reset ¶
func (x *ListDataSourceRequest) Reset()
func (*ListDataSourceRequest) String ¶
func (x *ListDataSourceRequest) String() string
func (*ListDataSourceRequest) Validate ¶
func (l *ListDataSourceRequest) Validate() error
Validate ListDataSourceRequest
type ListDataSourceResponse ¶
type ListDataSourceResponse struct { DataSource []*DataSource `protobuf:"bytes,1,rep,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
func (*ListDataSourceResponse) Descriptor
deprecated
func (*ListDataSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDataSourceResponse.ProtoReflect.Descriptor instead.
func (*ListDataSourceResponse) GetDataSource ¶
func (x *ListDataSourceResponse) GetDataSource() []*DataSource
func (*ListDataSourceResponse) ProtoMessage ¶
func (*ListDataSourceResponse) ProtoMessage()
func (*ListDataSourceResponse) ProtoReflect ¶
func (x *ListDataSourceResponse) ProtoReflect() protoreflect.Message
func (*ListDataSourceResponse) Reset ¶
func (x *ListDataSourceResponse) Reset()
func (*ListDataSourceResponse) String ¶
func (x *ListDataSourceResponse) String() string
type PutAWSRequest ¶
type PutAWSRequest struct { ProjectId uint32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Aws *AWSForUpsert `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*PutAWSRequest) Descriptor
deprecated
func (*PutAWSRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutAWSRequest.ProtoReflect.Descriptor instead.
func (*PutAWSRequest) GetAws ¶
func (x *PutAWSRequest) GetAws() *AWSForUpsert
func (*PutAWSRequest) GetProjectId ¶
func (x *PutAWSRequest) GetProjectId() uint32
func (*PutAWSRequest) ProtoMessage ¶
func (*PutAWSRequest) ProtoMessage()
func (*PutAWSRequest) ProtoReflect ¶
func (x *PutAWSRequest) ProtoReflect() protoreflect.Message
func (*PutAWSRequest) Reset ¶
func (x *PutAWSRequest) Reset()
func (*PutAWSRequest) String ¶
func (x *PutAWSRequest) String() string
type PutAWSResponse ¶
type PutAWSResponse struct { Aws *AWS `protobuf:"bytes,1,opt,name=aws,proto3" json:"aws,omitempty"` // contains filtered or unexported fields }
func (*PutAWSResponse) Descriptor
deprecated
func (*PutAWSResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutAWSResponse.ProtoReflect.Descriptor instead.
func (*PutAWSResponse) GetAws ¶
func (x *PutAWSResponse) GetAws() *AWS
func (*PutAWSResponse) ProtoMessage ¶
func (*PutAWSResponse) ProtoMessage()
func (*PutAWSResponse) ProtoReflect ¶
func (x *PutAWSResponse) ProtoReflect() protoreflect.Message
func (*PutAWSResponse) Reset ¶
func (x *PutAWSResponse) Reset()
func (*PutAWSResponse) String ¶
func (x *PutAWSResponse) String() string
type Status ¶
type Status int32
Status
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type UnimplementedAWSServiceServer ¶
type UnimplementedAWSServiceServer struct { }
UnimplementedAWSServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAWSServiceServer) AttachDataSource ¶
func (*UnimplementedAWSServiceServer) AttachDataSource(context.Context, *AttachDataSourceRequest) (*AttachDataSourceResponse, error)
func (*UnimplementedAWSServiceServer) DeleteAWS ¶
func (*UnimplementedAWSServiceServer) DeleteAWS(context.Context, *DeleteAWSRequest) (*emptypb.Empty, error)
func (*UnimplementedAWSServiceServer) DetachDataSource ¶
func (*UnimplementedAWSServiceServer) DetachDataSource(context.Context, *DetachDataSourceRequest) (*emptypb.Empty, error)
func (*UnimplementedAWSServiceServer) InvokeScan ¶
func (*UnimplementedAWSServiceServer) InvokeScan(context.Context, *InvokeScanRequest) (*emptypb.Empty, error)
func (*UnimplementedAWSServiceServer) InvokeScanAll ¶
func (*UnimplementedAWSServiceServer) InvokeScanAll(context.Context, *InvokeScanAllRequest) (*emptypb.Empty, error)
func (*UnimplementedAWSServiceServer) ListAWS ¶
func (*UnimplementedAWSServiceServer) ListAWS(context.Context, *ListAWSRequest) (*ListAWSResponse, error)
func (*UnimplementedAWSServiceServer) ListDataSource ¶
func (*UnimplementedAWSServiceServer) ListDataSource(context.Context, *ListDataSourceRequest) (*ListDataSourceResponse, error)
func (*UnimplementedAWSServiceServer) PutAWS ¶
func (*UnimplementedAWSServiceServer) PutAWS(context.Context, *PutAWSRequest) (*PutAWSResponse, error)