aws

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 12 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
var File_aws_entity_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use AWS.ProtoReflect.Descriptor instead.

func (*AWS) GetAwsAccountId

func (x *AWS) GetAwsAccountId() string

func (*AWS) GetAwsId

func (x *AWS) GetAwsId() uint32

func (*AWS) GetCreatedAt

func (x *AWS) GetCreatedAt() int64

func (*AWS) GetName

func (x *AWS) GetName() string

func (*AWS) GetProjectId

func (x *AWS) GetProjectId() uint32

func (*AWS) GetUpdatedAt

func (x *AWS) GetUpdatedAt() int64

func (*AWS) ProtoMessage

func (*AWS) ProtoMessage()

func (*AWS) ProtoReflect

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

func (*AWS) Reset

func (x *AWS) Reset()

func (*AWS) String

func (x *AWS) String() string

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

func (*AWSForUpsert) Validate

func (a *AWSForUpsert) Validate() error

Validate AWSForUpsert

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

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

func (*ListAWSRequest) Validate

func (l *ListAWSRequest) Validate() error

Validate ListAWSRequest

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

func (*PutAWSRequest) Validate

func (p *PutAWSRequest) Validate() error

Validate PutAWSRequest

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

const (
	Status_UNKNOWN     Status = 0
	Status_OK          Status = 1
	Status_CONFIGURED  Status = 2
	Status_IN_PROGRESS Status = 3
	Status_ERROR       Status = 4
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

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

func (*UnimplementedAWSServiceServer) DetachDataSource

func (*UnimplementedAWSServiceServer) InvokeScan

func (*UnimplementedAWSServiceServer) InvokeScanAll

func (*UnimplementedAWSServiceServer) ListAWS

func (*UnimplementedAWSServiceServer) ListDataSource

func (*UnimplementedAWSServiceServer) PutAWS

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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