discoveryconfigv1

package
v0.0.0-...-5e097c4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DiscoveryConfigService_ListDiscoveryConfigs_FullMethodName        = "/teleport.discoveryconfig.v1.DiscoveryConfigService/ListDiscoveryConfigs"
	DiscoveryConfigService_GetDiscoveryConfig_FullMethodName          = "/teleport.discoveryconfig.v1.DiscoveryConfigService/GetDiscoveryConfig"
	DiscoveryConfigService_CreateDiscoveryConfig_FullMethodName       = "/teleport.discoveryconfig.v1.DiscoveryConfigService/CreateDiscoveryConfig"
	DiscoveryConfigService_UpdateDiscoveryConfig_FullMethodName       = "/teleport.discoveryconfig.v1.DiscoveryConfigService/UpdateDiscoveryConfig"
	DiscoveryConfigService_UpsertDiscoveryConfig_FullMethodName       = "/teleport.discoveryconfig.v1.DiscoveryConfigService/UpsertDiscoveryConfig"
	DiscoveryConfigService_DeleteDiscoveryConfig_FullMethodName       = "/teleport.discoveryconfig.v1.DiscoveryConfigService/DeleteDiscoveryConfig"
	DiscoveryConfigService_DeleteAllDiscoveryConfigs_FullMethodName   = "/teleport.discoveryconfig.v1.DiscoveryConfigService/DeleteAllDiscoveryConfigs"
	DiscoveryConfigService_UpdateDiscoveryConfigStatus_FullMethodName = "/teleport.discoveryconfig.v1.DiscoveryConfigService/UpdateDiscoveryConfigStatus"
)

Variables

View Source
var (
	DiscoveryConfigState_name = map[int32]string{
		0: "DISCOVERY_CONFIG_STATE_UNSPECIFIED",
		1: "DISCOVERY_CONFIG_STATE_RUNNING",
		2: "DISCOVERY_CONFIG_STATE_ERROR",
		3: "DISCOVERY_CONFIG_STATE_SYNCING",
	}
	DiscoveryConfigState_value = map[string]int32{
		"DISCOVERY_CONFIG_STATE_UNSPECIFIED": 0,
		"DISCOVERY_CONFIG_STATE_RUNNING":     1,
		"DISCOVERY_CONFIG_STATE_ERROR":       2,
		"DISCOVERY_CONFIG_STATE_SYNCING":     3,
	}
)

Enum value maps for DiscoveryConfigState.

View Source
var DiscoveryConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "teleport.discoveryconfig.v1.DiscoveryConfigService",
	HandlerType: (*DiscoveryConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDiscoveryConfigs",
			Handler:    _DiscoveryConfigService_ListDiscoveryConfigs_Handler,
		},
		{
			MethodName: "GetDiscoveryConfig",
			Handler:    _DiscoveryConfigService_GetDiscoveryConfig_Handler,
		},
		{
			MethodName: "CreateDiscoveryConfig",
			Handler:    _DiscoveryConfigService_CreateDiscoveryConfig_Handler,
		},
		{
			MethodName: "UpdateDiscoveryConfig",
			Handler:    _DiscoveryConfigService_UpdateDiscoveryConfig_Handler,
		},
		{
			MethodName: "UpsertDiscoveryConfig",
			Handler:    _DiscoveryConfigService_UpsertDiscoveryConfig_Handler,
		},
		{
			MethodName: "DeleteDiscoveryConfig",
			Handler:    _DiscoveryConfigService_DeleteDiscoveryConfig_Handler,
		},
		{
			MethodName: "DeleteAllDiscoveryConfigs",
			Handler:    _DiscoveryConfigService_DeleteAllDiscoveryConfigs_Handler,
		},
		{
			MethodName: "UpdateDiscoveryConfigStatus",
			Handler:    _DiscoveryConfigService_UpdateDiscoveryConfigStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "teleport/discoveryconfig/v1/discoveryconfig_service.proto",
}

DiscoveryConfigService_ServiceDesc is the grpc.ServiceDesc for DiscoveryConfigService 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 File_teleport_discoveryconfig_v1_discoveryconfig_proto protoreflect.FileDescriptor
View Source
var File_teleport_discoveryconfig_v1_discoveryconfig_service_proto protoreflect.FileDescriptor

Functions

func RegisterDiscoveryConfigServiceServer

func RegisterDiscoveryConfigServiceServer(s grpc.ServiceRegistrar, srv DiscoveryConfigServiceServer)

Types

type CreateDiscoveryConfigRequest

type CreateDiscoveryConfigRequest struct {

	// DiscoveryConfig is the DiscoveryConfig to be created.
	DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,1,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"`
	// contains filtered or unexported fields
}

CreateDiscoveryConfigRequest is the request to create the provided DiscoveryConfig.

func (*CreateDiscoveryConfigRequest) Descriptor deprecated

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

Deprecated: Use CreateDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateDiscoveryConfigRequest) GetDiscoveryConfig

func (x *CreateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig

func (*CreateDiscoveryConfigRequest) ProtoMessage

func (*CreateDiscoveryConfigRequest) ProtoMessage()

func (*CreateDiscoveryConfigRequest) ProtoReflect

func (*CreateDiscoveryConfigRequest) Reset

func (x *CreateDiscoveryConfigRequest) Reset()

func (*CreateDiscoveryConfigRequest) String

type DeleteAllDiscoveryConfigsRequest

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

DeleteAllDiscoveryConfigsRequest is the request for deleting all DiscoveryConfigs.

func (*DeleteAllDiscoveryConfigsRequest) Descriptor deprecated

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

Deprecated: Use DeleteAllDiscoveryConfigsRequest.ProtoReflect.Descriptor instead.

func (*DeleteAllDiscoveryConfigsRequest) ProtoMessage

func (*DeleteAllDiscoveryConfigsRequest) ProtoMessage()

func (*DeleteAllDiscoveryConfigsRequest) ProtoReflect

func (*DeleteAllDiscoveryConfigsRequest) Reset

func (*DeleteAllDiscoveryConfigsRequest) String

type DeleteDiscoveryConfigRequest

type DeleteDiscoveryConfigRequest struct {

	// Name is the name of the DiscoveryConfig to be deleted.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteDiscoveryConfigRequest is a request for deleting a specific DiscoveryConfig resource.

func (*DeleteDiscoveryConfigRequest) Descriptor deprecated

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

Deprecated: Use DeleteDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteDiscoveryConfigRequest) GetName

func (x *DeleteDiscoveryConfigRequest) GetName() string

func (*DeleteDiscoveryConfigRequest) ProtoMessage

func (*DeleteDiscoveryConfigRequest) ProtoMessage()

func (*DeleteDiscoveryConfigRequest) ProtoReflect

func (*DeleteDiscoveryConfigRequest) Reset

func (x *DeleteDiscoveryConfigRequest) Reset()

func (*DeleteDiscoveryConfigRequest) String

type DiscoveryConfig

type DiscoveryConfig struct {

	// Header is the resource header.
	Header *v1.ResourceHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Spec is an DiscoveryConfig specification.
	Spec *DiscoveryConfigSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// Status is the resource Status
	Status *DiscoveryConfigStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

DiscoveryConfig is a resource that has Discovery Resource Matchers and a Discovery Group.

Teleport Discovery Services will load the dynamic DiscoveryConfigs whose Discovery Group matches the discovery_group defined in their configuration.

func (*DiscoveryConfig) Descriptor deprecated

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

Deprecated: Use DiscoveryConfig.ProtoReflect.Descriptor instead.

func (*DiscoveryConfig) GetHeader

func (x *DiscoveryConfig) GetHeader() *v1.ResourceHeader

func (*DiscoveryConfig) GetSpec

func (x *DiscoveryConfig) GetSpec() *DiscoveryConfigSpec

func (*DiscoveryConfig) GetStatus

func (x *DiscoveryConfig) GetStatus() *DiscoveryConfigStatus

func (*DiscoveryConfig) ProtoMessage

func (*DiscoveryConfig) ProtoMessage()

func (*DiscoveryConfig) ProtoReflect

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

func (*DiscoveryConfig) Reset

func (x *DiscoveryConfig) Reset()

func (*DiscoveryConfig) String

func (x *DiscoveryConfig) String() string

type DiscoveryConfigServiceClient

type DiscoveryConfigServiceClient interface {
	// ListDiscoveryConfigs returns a paginated list of Discovery Config resources.
	ListDiscoveryConfigs(ctx context.Context, in *ListDiscoveryConfigsRequest, opts ...grpc.CallOption) (*ListDiscoveryConfigsResponse, error)
	// GetDiscoveryConfig returns the specified DiscoveryConfig resource.
	GetDiscoveryConfig(ctx context.Context, in *GetDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error)
	// CreateDiscoveryConfig creates a new DiscoveryConfig resource.
	CreateDiscoveryConfig(ctx context.Context, in *CreateDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error)
	// UpdateDiscoveryConfig updates an existing DiscoveryConfig resource.
	UpdateDiscoveryConfig(ctx context.Context, in *UpdateDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error)
	// UpsertDiscoveryConfig creates or updates a DiscoveryConfig resource.
	UpsertDiscoveryConfig(ctx context.Context, in *UpsertDiscoveryConfigRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error)
	// DeleteDiscoveryConfig removes the specified DiscoveryConfig resource.
	DeleteDiscoveryConfig(ctx context.Context, in *DeleteDiscoveryConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteAllDiscoveryConfigs removes all DiscoveryConfigs.
	DeleteAllDiscoveryConfigs(ctx context.Context, in *DeleteAllDiscoveryConfigsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// UpdateDiscoveryConfigStatus updates an existing DiscoveryConfig resource status object.
	UpdateDiscoveryConfigStatus(ctx context.Context, in *UpdateDiscoveryConfigStatusRequest, opts ...grpc.CallOption) (*DiscoveryConfig, error)
}

DiscoveryConfigServiceClient is the client API for DiscoveryConfigService 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.

DiscoveryConfigService provides methods to manage Discovery Configs.

Each Discovery Config has a set of matchers and a DiscoveryGroup. DiscoveryServices also have a DiscoveryGroup which will be used to load all the matchers from all the DiscoveryConfigs that have the same Group.

type DiscoveryConfigServiceServer

type DiscoveryConfigServiceServer interface {
	// ListDiscoveryConfigs returns a paginated list of Discovery Config resources.
	ListDiscoveryConfigs(context.Context, *ListDiscoveryConfigsRequest) (*ListDiscoveryConfigsResponse, error)
	// GetDiscoveryConfig returns the specified DiscoveryConfig resource.
	GetDiscoveryConfig(context.Context, *GetDiscoveryConfigRequest) (*DiscoveryConfig, error)
	// CreateDiscoveryConfig creates a new DiscoveryConfig resource.
	CreateDiscoveryConfig(context.Context, *CreateDiscoveryConfigRequest) (*DiscoveryConfig, error)
	// UpdateDiscoveryConfig updates an existing DiscoveryConfig resource.
	UpdateDiscoveryConfig(context.Context, *UpdateDiscoveryConfigRequest) (*DiscoveryConfig, error)
	// UpsertDiscoveryConfig creates or updates a DiscoveryConfig resource.
	UpsertDiscoveryConfig(context.Context, *UpsertDiscoveryConfigRequest) (*DiscoveryConfig, error)
	// DeleteDiscoveryConfig removes the specified DiscoveryConfig resource.
	DeleteDiscoveryConfig(context.Context, *DeleteDiscoveryConfigRequest) (*emptypb.Empty, error)
	// DeleteAllDiscoveryConfigs removes all DiscoveryConfigs.
	DeleteAllDiscoveryConfigs(context.Context, *DeleteAllDiscoveryConfigsRequest) (*emptypb.Empty, error)
	// UpdateDiscoveryConfigStatus updates an existing DiscoveryConfig resource status object.
	UpdateDiscoveryConfigStatus(context.Context, *UpdateDiscoveryConfigStatusRequest) (*DiscoveryConfig, error)
	// contains filtered or unexported methods
}

DiscoveryConfigServiceServer is the server API for DiscoveryConfigService service. All implementations must embed UnimplementedDiscoveryConfigServiceServer for forward compatibility.

DiscoveryConfigService provides methods to manage Discovery Configs.

Each Discovery Config has a set of matchers and a DiscoveryGroup. DiscoveryServices also have a DiscoveryGroup which will be used to load all the matchers from all the DiscoveryConfigs that have the same Group.

type DiscoveryConfigSpec

type DiscoveryConfigSpec struct {

	// DiscoveryGroup is used by discovery_service to add extra matchers.
	// All the discovery_services that have the same discovery_group, will load the matchers of this resource.
	DiscoveryGroup string `protobuf:"bytes,1,opt,name=discovery_group,json=discoveryGroup,proto3" json:"discovery_group,omitempty"`
	// AWS is a list of AWS Matchers.
	Aws []*types.AWSMatcher `protobuf:"bytes,2,rep,name=aws,proto3" json:"aws,omitempty"`
	// Azure is a list of Azure Matchers.
	Azure []*types.AzureMatcher `protobuf:"bytes,3,rep,name=azure,proto3" json:"azure,omitempty"`
	// GCP is a list of GCP Matchers.
	Gcp []*types.GCPMatcher `protobuf:"bytes,4,rep,name=gcp,proto3" json:"gcp,omitempty"`
	// Kube is a list of Kubernetes Matchers.
	Kube []*types.KubernetesMatcher `protobuf:"bytes,5,rep,name=kube,proto3" json:"kube,omitempty"`
	// AccessGraph is the configurations for syncing Cloud accounts into Access Graph.
	AccessGraph *types.AccessGraphSync `protobuf:"bytes,6,opt,name=access_graph,json=accessGraph,proto3" json:"access_graph,omitempty"`
	// contains filtered or unexported fields
}

DiscoveryConfigSpec contains properties required to create matchers to be used by discovery_service. Those matchers are used by discovery_service to watch for cloud resources and create them in Teleport.

func (*DiscoveryConfigSpec) Descriptor deprecated

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

Deprecated: Use DiscoveryConfigSpec.ProtoReflect.Descriptor instead.

func (*DiscoveryConfigSpec) GetAccessGraph

func (x *DiscoveryConfigSpec) GetAccessGraph() *types.AccessGraphSync

func (*DiscoveryConfigSpec) GetAws

func (x *DiscoveryConfigSpec) GetAws() []*types.AWSMatcher

func (*DiscoveryConfigSpec) GetAzure

func (x *DiscoveryConfigSpec) GetAzure() []*types.AzureMatcher

func (*DiscoveryConfigSpec) GetDiscoveryGroup

func (x *DiscoveryConfigSpec) GetDiscoveryGroup() string

func (*DiscoveryConfigSpec) GetGcp

func (x *DiscoveryConfigSpec) GetGcp() []*types.GCPMatcher

func (*DiscoveryConfigSpec) GetKube

func (*DiscoveryConfigSpec) ProtoMessage

func (*DiscoveryConfigSpec) ProtoMessage()

func (*DiscoveryConfigSpec) ProtoReflect

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

func (*DiscoveryConfigSpec) Reset

func (x *DiscoveryConfigSpec) Reset()

func (*DiscoveryConfigSpec) String

func (x *DiscoveryConfigSpec) String() string

type DiscoveryConfigState

type DiscoveryConfigState int32

DiscoveryConfigState is the state of the discovery config resource.

const (
	DiscoveryConfigState_DISCOVERY_CONFIG_STATE_UNSPECIFIED DiscoveryConfigState = 0
	// DISCOVERY_CONFIG_STATE_RUNNING is used when the operation doesn't report
	// incidents.
	DiscoveryConfigState_DISCOVERY_CONFIG_STATE_RUNNING DiscoveryConfigState = 1
	// DISCOVERY_CONFIG_STATE_ERROR is used when the operation reports
	// incidents.
	DiscoveryConfigState_DISCOVERY_CONFIG_STATE_ERROR DiscoveryConfigState = 2
	// DISCOVERY_CONFIG_STATE_SYNCING is used when the discovery process has started but didn't finished yet.
	DiscoveryConfigState_DISCOVERY_CONFIG_STATE_SYNCING DiscoveryConfigState = 3
)

func (DiscoveryConfigState) Descriptor

func (DiscoveryConfigState) Enum

func (DiscoveryConfigState) EnumDescriptor deprecated

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

Deprecated: Use DiscoveryConfigState.Descriptor instead.

func (DiscoveryConfigState) Number

func (DiscoveryConfigState) String

func (x DiscoveryConfigState) String() string

func (DiscoveryConfigState) Type

type DiscoveryConfigStatus

type DiscoveryConfigStatus struct {

	// State reports the Discovery config state.
	State DiscoveryConfigState `protobuf:"varint,1,opt,name=state,proto3,enum=teleport.discoveryconfig.v1.DiscoveryConfigState" json:"state,omitempty"`
	// error_message holds the error message when state is DISCOVERY_CONFIG_STATE_ERROR.
	ErrorMessage *string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
	// discovered_resources holds the count of the discovered resources in the previous iteration.
	DiscoveredResources uint64 `protobuf:"varint,3,opt,name=discovered_resources,json=discoveredResources,proto3" json:"discovered_resources,omitempty"`
	// last_sync_time is the timestamp when the Discovery Config was last sync.
	LastSyncTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"`
	// IntegrationDiscoveredResources maps an integration to discovered resources summary.
	IntegrationDiscoveredResources map[string]*IntegrationDiscoveredSummary `` /* 227-byte string literal not displayed */
	// contains filtered or unexported fields
}

DiscoveryConfigStatus holds dynamic information about the discovery configuration running status such as errors, state and count of the resources.

func (*DiscoveryConfigStatus) Descriptor deprecated

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

Deprecated: Use DiscoveryConfigStatus.ProtoReflect.Descriptor instead.

func (*DiscoveryConfigStatus) GetDiscoveredResources

func (x *DiscoveryConfigStatus) GetDiscoveredResources() uint64

func (*DiscoveryConfigStatus) GetErrorMessage

func (x *DiscoveryConfigStatus) GetErrorMessage() string

func (*DiscoveryConfigStatus) GetIntegrationDiscoveredResources

func (x *DiscoveryConfigStatus) GetIntegrationDiscoveredResources() map[string]*IntegrationDiscoveredSummary

func (*DiscoveryConfigStatus) GetLastSyncTime

func (x *DiscoveryConfigStatus) GetLastSyncTime() *timestamppb.Timestamp

func (*DiscoveryConfigStatus) GetState

func (*DiscoveryConfigStatus) ProtoMessage

func (*DiscoveryConfigStatus) ProtoMessage()

func (*DiscoveryConfigStatus) ProtoReflect

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

func (*DiscoveryConfigStatus) Reset

func (x *DiscoveryConfigStatus) Reset()

func (*DiscoveryConfigStatus) String

func (x *DiscoveryConfigStatus) String() string

type GetDiscoveryConfigRequest

type GetDiscoveryConfigRequest struct {

	// Name is the name of the DiscoveryConfig to be requested.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetDiscoveryConfigRequest is a request for a specific DiscoveryConfig resource.

func (*GetDiscoveryConfigRequest) Descriptor deprecated

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

Deprecated: Use GetDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*GetDiscoveryConfigRequest) GetName

func (x *GetDiscoveryConfigRequest) GetName() string

func (*GetDiscoveryConfigRequest) ProtoMessage

func (*GetDiscoveryConfigRequest) ProtoMessage()

func (*GetDiscoveryConfigRequest) ProtoReflect

func (*GetDiscoveryConfigRequest) Reset

func (x *GetDiscoveryConfigRequest) Reset()

func (*GetDiscoveryConfigRequest) String

func (x *GetDiscoveryConfigRequest) String() string

type IntegrationDiscoveredSummary

type IntegrationDiscoveredSummary struct {

	// AWSEC2 contains the summary for the AWS EC2 discovered instances.
	AwsEc2 *ResourcesDiscoveredSummary `protobuf:"bytes,1,opt,name=aws_ec2,json=awsEc2,proto3" json:"aws_ec2,omitempty"`
	// AWSRDS contains the summary for the AWS RDS discovered databases.
	AwsRds *ResourcesDiscoveredSummary `protobuf:"bytes,2,opt,name=aws_rds,json=awsRds,proto3" json:"aws_rds,omitempty"`
	// AWSEKS contains the summary for the AWS EKS discovered clusters.
	AwsEks *ResourcesDiscoveredSummary `protobuf:"bytes,3,opt,name=aws_eks,json=awsEks,proto3" json:"aws_eks,omitempty"`
	// contains filtered or unexported fields
}

IntegrationDiscoveredSummary contains the a summary for each resource type that was discovered.

func (*IntegrationDiscoveredSummary) Descriptor deprecated

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

Deprecated: Use IntegrationDiscoveredSummary.ProtoReflect.Descriptor instead.

func (*IntegrationDiscoveredSummary) GetAwsEc2

func (*IntegrationDiscoveredSummary) GetAwsEks

func (*IntegrationDiscoveredSummary) GetAwsRds

func (*IntegrationDiscoveredSummary) ProtoMessage

func (*IntegrationDiscoveredSummary) ProtoMessage()

func (*IntegrationDiscoveredSummary) ProtoReflect

func (*IntegrationDiscoveredSummary) Reset

func (x *IntegrationDiscoveredSummary) Reset()

func (*IntegrationDiscoveredSummary) String

type ListDiscoveryConfigsRequest

type ListDiscoveryConfigsRequest struct {

	// page_size is the size of the page to request.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// next_token is the page token.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListDiscoveryConfigsRequest is a request for a paginated list of DiscoveryConfigs.

func (*ListDiscoveryConfigsRequest) Descriptor deprecated

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

Deprecated: Use ListDiscoveryConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListDiscoveryConfigsRequest) GetNextToken

func (x *ListDiscoveryConfigsRequest) GetNextToken() string

func (*ListDiscoveryConfigsRequest) GetPageSize

func (x *ListDiscoveryConfigsRequest) GetPageSize() int32

func (*ListDiscoveryConfigsRequest) ProtoMessage

func (*ListDiscoveryConfigsRequest) ProtoMessage()

func (*ListDiscoveryConfigsRequest) ProtoReflect

func (*ListDiscoveryConfigsRequest) Reset

func (x *ListDiscoveryConfigsRequest) Reset()

func (*ListDiscoveryConfigsRequest) String

func (x *ListDiscoveryConfigsRequest) String() string

type ListDiscoveryConfigsResponse

type ListDiscoveryConfigsResponse struct {

	// DiscoveryConfigs is a list of DiscoveryConfigs.
	DiscoveryConfigs []*DiscoveryConfig `protobuf:"bytes,1,rep,name=discovery_configs,json=discoveryConfigs,proto3" json:"discovery_configs,omitempty"`
	// NextKey is the key for the next page of DiscoveryConfigs.
	NextKey string `protobuf:"bytes,2,opt,name=next_key,json=nextKey,proto3" json:"next_key,omitempty"`
	// TotalCount is the total number of discovery_config in all pages.
	TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListDiscoveryConfigsResponse is the response for ListDiscoveryConfigsRequest.

func (*ListDiscoveryConfigsResponse) Descriptor deprecated

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

Deprecated: Use ListDiscoveryConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListDiscoveryConfigsResponse) GetDiscoveryConfigs

func (x *ListDiscoveryConfigsResponse) GetDiscoveryConfigs() []*DiscoveryConfig

func (*ListDiscoveryConfigsResponse) GetNextKey

func (x *ListDiscoveryConfigsResponse) GetNextKey() string

func (*ListDiscoveryConfigsResponse) GetTotalCount

func (x *ListDiscoveryConfigsResponse) GetTotalCount() int32

func (*ListDiscoveryConfigsResponse) ProtoMessage

func (*ListDiscoveryConfigsResponse) ProtoMessage()

func (*ListDiscoveryConfigsResponse) ProtoReflect

func (*ListDiscoveryConfigsResponse) Reset

func (x *ListDiscoveryConfigsResponse) Reset()

func (*ListDiscoveryConfigsResponse) String

type ResourcesDiscoveredSummary

type ResourcesDiscoveredSummary struct {

	// Found holds the count of resources found.
	// After a resource is found, it starts the sync process and ends in either an enrolled or a failed resource.
	Found uint64 `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
	// Enrolled holds the count of the resources that were successfully enrolled.
	Enrolled uint64 `protobuf:"varint,2,opt,name=enrolled,proto3" json:"enrolled,omitempty"`
	// Failed holds the count of the resources that failed to enroll.
	Failed uint64 `protobuf:"varint,3,opt,name=failed,proto3" json:"failed,omitempty"`
	// contains filtered or unexported fields
}

ResourcesDiscoveredSummary represents the AWS resources that were discovered.

func (*ResourcesDiscoveredSummary) Descriptor deprecated

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

Deprecated: Use ResourcesDiscoveredSummary.ProtoReflect.Descriptor instead.

func (*ResourcesDiscoveredSummary) GetEnrolled

func (x *ResourcesDiscoveredSummary) GetEnrolled() uint64

func (*ResourcesDiscoveredSummary) GetFailed

func (x *ResourcesDiscoveredSummary) GetFailed() uint64

func (*ResourcesDiscoveredSummary) GetFound

func (x *ResourcesDiscoveredSummary) GetFound() uint64

func (*ResourcesDiscoveredSummary) ProtoMessage

func (*ResourcesDiscoveredSummary) ProtoMessage()

func (*ResourcesDiscoveredSummary) ProtoReflect

func (*ResourcesDiscoveredSummary) Reset

func (x *ResourcesDiscoveredSummary) Reset()

func (*ResourcesDiscoveredSummary) String

func (x *ResourcesDiscoveredSummary) String() string

type UnimplementedDiscoveryConfigServiceServer

type UnimplementedDiscoveryConfigServiceServer struct{}

UnimplementedDiscoveryConfigServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDiscoveryConfigServiceServer) CreateDiscoveryConfig

func (UnimplementedDiscoveryConfigServiceServer) DeleteAllDiscoveryConfigs

func (UnimplementedDiscoveryConfigServiceServer) DeleteDiscoveryConfig

func (UnimplementedDiscoveryConfigServiceServer) GetDiscoveryConfig

func (UnimplementedDiscoveryConfigServiceServer) ListDiscoveryConfigs

func (UnimplementedDiscoveryConfigServiceServer) UpdateDiscoveryConfig

func (UnimplementedDiscoveryConfigServiceServer) UpdateDiscoveryConfigStatus

func (UnimplementedDiscoveryConfigServiceServer) UpsertDiscoveryConfig

type UnsafeDiscoveryConfigServiceServer

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

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

type UpdateDiscoveryConfigRequest

type UpdateDiscoveryConfigRequest struct {

	// DiscoveryConfig is the DiscoveryConfig to be updated.
	DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,1,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"`
	// contains filtered or unexported fields
}

UpdateDiscoveryConfigRequest is the request to update the provided DiscoveryConfig.

func (*UpdateDiscoveryConfigRequest) Descriptor deprecated

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

Deprecated: Use UpdateDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateDiscoveryConfigRequest) GetDiscoveryConfig

func (x *UpdateDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig

func (*UpdateDiscoveryConfigRequest) ProtoMessage

func (*UpdateDiscoveryConfigRequest) ProtoMessage()

func (*UpdateDiscoveryConfigRequest) ProtoReflect

func (*UpdateDiscoveryConfigRequest) Reset

func (x *UpdateDiscoveryConfigRequest) Reset()

func (*UpdateDiscoveryConfigRequest) String

type UpdateDiscoveryConfigStatusRequest

type UpdateDiscoveryConfigStatusRequest struct {

	// Name is the name of the DiscoveryConfig to receive the status update.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// status is the status payload to be persisted.
	Status *DiscoveryConfigStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

UpdateDiscoveryConfigStatusRequest is the request to update the status field of the provided Discovery Config.

func (*UpdateDiscoveryConfigStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdateDiscoveryConfigStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdateDiscoveryConfigStatusRequest) GetName

func (*UpdateDiscoveryConfigStatusRequest) GetStatus

func (*UpdateDiscoveryConfigStatusRequest) ProtoMessage

func (*UpdateDiscoveryConfigStatusRequest) ProtoMessage()

func (*UpdateDiscoveryConfigStatusRequest) ProtoReflect

func (*UpdateDiscoveryConfigStatusRequest) Reset

func (*UpdateDiscoveryConfigStatusRequest) String

type UpsertDiscoveryConfigRequest

type UpsertDiscoveryConfigRequest struct {

	// DiscoveryConfig is the DiscoveryConfig to be upserted.
	DiscoveryConfig *DiscoveryConfig `protobuf:"bytes,1,opt,name=discovery_config,json=discoveryConfig,proto3" json:"discovery_config,omitempty"`
	// contains filtered or unexported fields
}

UpsertDiscoveryConfigRequest is the request to upsert the provided DiscoveryConfig.

func (*UpsertDiscoveryConfigRequest) Descriptor deprecated

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

Deprecated: Use UpsertDiscoveryConfigRequest.ProtoReflect.Descriptor instead.

func (*UpsertDiscoveryConfigRequest) GetDiscoveryConfig

func (x *UpsertDiscoveryConfigRequest) GetDiscoveryConfig() *DiscoveryConfig

func (*UpsertDiscoveryConfigRequest) ProtoMessage

func (*UpsertDiscoveryConfigRequest) ProtoMessage()

func (*UpsertDiscoveryConfigRequest) ProtoReflect

func (*UpsertDiscoveryConfigRequest) Reset

func (x *UpsertDiscoveryConfigRequest) Reset()

func (*UpsertDiscoveryConfigRequest) String

Jump to

Keyboard shortcuts

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