integrationv1

package
v0.0.0-...-055766a Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AWSOIDCService_ListEICE_FullMethodName              = "/teleport.integration.v1.AWSOIDCService/ListEICE"
	AWSOIDCService_CreateEICE_FullMethodName            = "/teleport.integration.v1.AWSOIDCService/CreateEICE"
	AWSOIDCService_ListDatabases_FullMethodName         = "/teleport.integration.v1.AWSOIDCService/ListDatabases"
	AWSOIDCService_ListSecurityGroups_FullMethodName    = "/teleport.integration.v1.AWSOIDCService/ListSecurityGroups"
	AWSOIDCService_DeployDatabaseService_FullMethodName = "/teleport.integration.v1.AWSOIDCService/DeployDatabaseService"
	AWSOIDCService_DeployService_FullMethodName         = "/teleport.integration.v1.AWSOIDCService/DeployService"
	AWSOIDCService_EnrollEKSClusters_FullMethodName     = "/teleport.integration.v1.AWSOIDCService/EnrollEKSClusters"
	AWSOIDCService_ListEC2_FullMethodName               = "/teleport.integration.v1.AWSOIDCService/ListEC2"
	AWSOIDCService_ListEKSClusters_FullMethodName       = "/teleport.integration.v1.AWSOIDCService/ListEKSClusters"
)
View Source
const (
	IntegrationService_ListIntegrations_FullMethodName      = "/teleport.integration.v1.IntegrationService/ListIntegrations"
	IntegrationService_GetIntegration_FullMethodName        = "/teleport.integration.v1.IntegrationService/GetIntegration"
	IntegrationService_CreateIntegration_FullMethodName     = "/teleport.integration.v1.IntegrationService/CreateIntegration"
	IntegrationService_UpdateIntegration_FullMethodName     = "/teleport.integration.v1.IntegrationService/UpdateIntegration"
	IntegrationService_DeleteIntegration_FullMethodName     = "/teleport.integration.v1.IntegrationService/DeleteIntegration"
	IntegrationService_DeleteAllIntegrations_FullMethodName = "/teleport.integration.v1.IntegrationService/DeleteAllIntegrations"
	IntegrationService_GenerateAWSOIDCToken_FullMethodName  = "/teleport.integration.v1.IntegrationService/GenerateAWSOIDCToken"
)

Variables

View Source
var AWSOIDCService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "teleport.integration.v1.AWSOIDCService",
	HandlerType: (*AWSOIDCServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEICE",
			Handler:    _AWSOIDCService_ListEICE_Handler,
		},
		{
			MethodName: "CreateEICE",
			Handler:    _AWSOIDCService_CreateEICE_Handler,
		},
		{
			MethodName: "ListDatabases",
			Handler:    _AWSOIDCService_ListDatabases_Handler,
		},
		{
			MethodName: "ListSecurityGroups",
			Handler:    _AWSOIDCService_ListSecurityGroups_Handler,
		},
		{
			MethodName: "DeployDatabaseService",
			Handler:    _AWSOIDCService_DeployDatabaseService_Handler,
		},
		{
			MethodName: "DeployService",
			Handler:    _AWSOIDCService_DeployService_Handler,
		},
		{
			MethodName: "EnrollEKSClusters",
			Handler:    _AWSOIDCService_EnrollEKSClusters_Handler,
		},
		{
			MethodName: "ListEC2",
			Handler:    _AWSOIDCService_ListEC2_Handler,
		},
		{
			MethodName: "ListEKSClusters",
			Handler:    _AWSOIDCService_ListEKSClusters_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "teleport/integration/v1/awsoidc_service.proto",
}

AWSOIDCService_ServiceDesc is the grpc.ServiceDesc for AWSOIDCService 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_integration_v1_awsoidc_service_proto protoreflect.FileDescriptor
View Source
var File_teleport_integration_v1_integration_service_proto protoreflect.FileDescriptor
View Source
var IntegrationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "teleport.integration.v1.IntegrationService",
	HandlerType: (*IntegrationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListIntegrations",
			Handler:    _IntegrationService_ListIntegrations_Handler,
		},
		{
			MethodName: "GetIntegration",
			Handler:    _IntegrationService_GetIntegration_Handler,
		},
		{
			MethodName: "CreateIntegration",
			Handler:    _IntegrationService_CreateIntegration_Handler,
		},
		{
			MethodName: "UpdateIntegration",
			Handler:    _IntegrationService_UpdateIntegration_Handler,
		},
		{
			MethodName: "DeleteIntegration",
			Handler:    _IntegrationService_DeleteIntegration_Handler,
		},
		{
			MethodName: "DeleteAllIntegrations",
			Handler:    _IntegrationService_DeleteAllIntegrations_Handler,
		},
		{
			MethodName: "GenerateAWSOIDCToken",
			Handler:    _IntegrationService_GenerateAWSOIDCToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "teleport/integration/v1/integration_service.proto",
}

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

Functions

func RegisterAWSOIDCServiceServer

func RegisterAWSOIDCServiceServer(s grpc.ServiceRegistrar, srv AWSOIDCServiceServer)

func RegisterIntegrationServiceServer

func RegisterIntegrationServiceServer(s grpc.ServiceRegistrar, srv IntegrationServiceServer)

Types

type AWSOIDCServiceClient

type AWSOIDCServiceClient interface {
	// ListEICE returns a list of EC2 Instance Connect Endpoints.
	// An optional NextToken that can be used to fetch the next page.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceConnectEndpoints.html
	ListEICE(ctx context.Context, in *ListEICERequest, opts ...grpc.CallOption) (*ListEICEResponse, error)
	// CreateEICE creates multiple EC2 Instance Connect Endpoint using the provided Subnets and Security Group IDs.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html
	CreateEICE(ctx context.Context, in *CreateEICERequest, opts ...grpc.CallOption) (*CreateEICEResponse, error)
	// ListDatabases calls the following AWS API:
	// https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html
	// https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html
	// It returns a list of Databases and an optional NextToken that can be used to fetch the next page
	ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// ListSecurityGroups returns a list of AWS VPC SecurityGroups.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html
	ListSecurityGroups(ctx context.Context, in *ListSecurityGroupsRequest, opts ...grpc.CallOption) (*ListSecurityGroupsResponse, error)
	// DeployDatabaseService deploys a Database Services to Amazon ECS.
	DeployDatabaseService(ctx context.Context, in *DeployDatabaseServiceRequest, opts ...grpc.CallOption) (*DeployDatabaseServiceResponse, error)
	// DeployService deploys an ECS Service to Amazon ECS.
	DeployService(ctx context.Context, in *DeployServiceRequest, opts ...grpc.CallOption) (*DeployServiceResponse, error)
	// EnrollEKSClusters enrolls EKS clusters by installing kube agent Helm chart.
	EnrollEKSClusters(ctx context.Context, in *EnrollEKSClustersRequest, opts ...grpc.CallOption) (*EnrollEKSClustersResponse, error)
	// ListEC2 lists the EC2 instances of the AWS account per region.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
	ListEC2(ctx context.Context, in *ListEC2Request, opts ...grpc.CallOption) (*ListEC2Response, error)
	// ListEKSClusters retrieves a paginated list of EKS clusters in the specified AWS region for a specific account.
	// It uses the following APIs:
	// https://docs.aws.amazon.com/eks/latest/APIReference/API_ListClusters.html
	// https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeCluster.html
	ListEKSClusters(ctx context.Context, in *ListEKSClustersRequest, opts ...grpc.CallOption) (*ListEKSClustersResponse, error)
}

AWSOIDCServiceClient is the client API for AWSOIDCService service.

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

type AWSOIDCServiceServer

type AWSOIDCServiceServer interface {
	// ListEICE returns a list of EC2 Instance Connect Endpoints.
	// An optional NextToken that can be used to fetch the next page.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstanceConnectEndpoints.html
	ListEICE(context.Context, *ListEICERequest) (*ListEICEResponse, error)
	// CreateEICE creates multiple EC2 Instance Connect Endpoint using the provided Subnets and Security Group IDs.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateInstanceConnectEndpoint.html
	CreateEICE(context.Context, *CreateEICERequest) (*CreateEICEResponse, error)
	// ListDatabases calls the following AWS API:
	// https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html
	// https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html
	// It returns a list of Databases and an optional NextToken that can be used to fetch the next page
	ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// ListSecurityGroups returns a list of AWS VPC SecurityGroups.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html
	ListSecurityGroups(context.Context, *ListSecurityGroupsRequest) (*ListSecurityGroupsResponse, error)
	// DeployDatabaseService deploys a Database Services to Amazon ECS.
	DeployDatabaseService(context.Context, *DeployDatabaseServiceRequest) (*DeployDatabaseServiceResponse, error)
	// DeployService deploys an ECS Service to Amazon ECS.
	DeployService(context.Context, *DeployServiceRequest) (*DeployServiceResponse, error)
	// EnrollEKSClusters enrolls EKS clusters by installing kube agent Helm chart.
	EnrollEKSClusters(context.Context, *EnrollEKSClustersRequest) (*EnrollEKSClustersResponse, error)
	// ListEC2 lists the EC2 instances of the AWS account per region.
	// It uses the following API:
	// https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
	ListEC2(context.Context, *ListEC2Request) (*ListEC2Response, error)
	// ListEKSClusters retrieves a paginated list of EKS clusters in the specified AWS region for a specific account.
	// It uses the following APIs:
	// https://docs.aws.amazon.com/eks/latest/APIReference/API_ListClusters.html
	// https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeCluster.html
	ListEKSClusters(context.Context, *ListEKSClustersRequest) (*ListEKSClustersResponse, error)
	// contains filtered or unexported methods
}

AWSOIDCServiceServer is the server API for AWSOIDCService service. All implementations must embed UnimplementedAWSOIDCServiceServer for forward compatibility

type CreateEICERequest

type CreateEICERequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// Endpoints is is a list of EC2 Instance Connect Endpoints to be created.
	// Required.
	Endpoints []*EC2ICEndpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

CreateEICERequest contains the required fields to create an AWS EC2 Instance Connect Endpoint.

func (*CreateEICERequest) Descriptor deprecated

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

Deprecated: Use CreateEICERequest.ProtoReflect.Descriptor instead.

func (*CreateEICERequest) GetEndpoints

func (x *CreateEICERequest) GetEndpoints() []*EC2ICEndpoint

func (*CreateEICERequest) GetIntegration

func (x *CreateEICERequest) GetIntegration() string

func (*CreateEICERequest) GetRegion

func (x *CreateEICERequest) GetRegion() string

func (*CreateEICERequest) ProtoMessage

func (*CreateEICERequest) ProtoMessage()

func (*CreateEICERequest) ProtoReflect

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

func (*CreateEICERequest) Reset

func (x *CreateEICERequest) Reset()

func (*CreateEICERequest) String

func (x *CreateEICERequest) String() string

type CreateEICEResponse

type CreateEICEResponse struct {

	// Name is the Endpoint ID.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// CreatedEndpoints contains the name of created endpoints and their Subnet.
	CreatedEndpoints []*EC2ICEndpoint `protobuf:"bytes,2,rep,name=created_endpoints,json=createdEndpoints,proto3" json:"created_endpoints,omitempty"`
	// contains filtered or unexported fields
}

CreateEICEResponse is a request to create a VPC Endpoint of EC2 Instance Connect Endpoint type.

func (*CreateEICEResponse) Descriptor deprecated

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

Deprecated: Use CreateEICEResponse.ProtoReflect.Descriptor instead.

func (*CreateEICEResponse) GetCreatedEndpoints

func (x *CreateEICEResponse) GetCreatedEndpoints() []*EC2ICEndpoint

func (*CreateEICEResponse) GetName

func (x *CreateEICEResponse) GetName() string

func (*CreateEICEResponse) ProtoMessage

func (*CreateEICEResponse) ProtoMessage()

func (*CreateEICEResponse) ProtoReflect

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

func (*CreateEICEResponse) Reset

func (x *CreateEICEResponse) Reset()

func (*CreateEICEResponse) String

func (x *CreateEICEResponse) String() string

type CreateIntegrationRequest

type CreateIntegrationRequest struct {

	// Integration is the integration to be created.
	Integration *types.IntegrationV1 `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// contains filtered or unexported fields
}

CreateIntegrationRequest is the request to create the provided integration.

func (*CreateIntegrationRequest) Descriptor deprecated

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

Deprecated: Use CreateIntegrationRequest.ProtoReflect.Descriptor instead.

func (*CreateIntegrationRequest) GetIntegration

func (x *CreateIntegrationRequest) GetIntegration() *types.IntegrationV1

func (*CreateIntegrationRequest) ProtoMessage

func (*CreateIntegrationRequest) ProtoMessage()

func (*CreateIntegrationRequest) ProtoReflect

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

func (*CreateIntegrationRequest) Reset

func (x *CreateIntegrationRequest) Reset()

func (*CreateIntegrationRequest) String

func (x *CreateIntegrationRequest) String() string

type DeleteAllIntegrationsRequest

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

DeleteAllIntegrationsRequest is the request for deleting all integrations. DEPRECATED: Can't delete all integrations over gRPC.

func (*DeleteAllIntegrationsRequest) Descriptor deprecated

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

Deprecated: Use DeleteAllIntegrationsRequest.ProtoReflect.Descriptor instead.

func (*DeleteAllIntegrationsRequest) ProtoMessage

func (*DeleteAllIntegrationsRequest) ProtoMessage()

func (*DeleteAllIntegrationsRequest) ProtoReflect

func (*DeleteAllIntegrationsRequest) Reset

func (x *DeleteAllIntegrationsRequest) Reset()

func (*DeleteAllIntegrationsRequest) String

type DeleteIntegrationRequest

type DeleteIntegrationRequest struct {

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

DeleteIntegrationRequest is a request for deleting a specific Integration resource.

func (*DeleteIntegrationRequest) Descriptor deprecated

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

Deprecated: Use DeleteIntegrationRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntegrationRequest) GetName

func (x *DeleteIntegrationRequest) GetName() string

func (*DeleteIntegrationRequest) ProtoMessage

func (*DeleteIntegrationRequest) ProtoMessage()

func (*DeleteIntegrationRequest) ProtoReflect

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

func (*DeleteIntegrationRequest) Reset

func (x *DeleteIntegrationRequest) Reset()

func (*DeleteIntegrationRequest) String

func (x *DeleteIntegrationRequest) String() string

type DeployDatabaseServiceDeployment

type DeployDatabaseServiceDeployment struct {

	// TeleportConfigString is the teleport.yaml configuration (base64 encoded) used by teleport.
	// Required.
	TeleportConfigString string `protobuf:"bytes,1,opt,name=teleport_config_string,json=teleportConfigString,proto3" json:"teleport_config_string,omitempty"`
	// VpcId is the VPCID where the service is going to be deployed.
	// Required.
	VpcId string `protobuf:"bytes,2,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
	// SubnetIds are the subnets for the network configuration.
	// They must belong to the VpcId above.
	// Required.
	SubnetIds []string `protobuf:"bytes,3,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// SecurityGroups are the SecurityGroup IDs to associate with this particular deployment.
	// If empty, the default security group for the VPC is going to be used.
	SecurityGroups []string `protobuf:"bytes,4,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
	// contains filtered or unexported fields
}

DeployDatabaseServiceDeployment represents a single deployment.

func (*DeployDatabaseServiceDeployment) Descriptor deprecated

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

Deprecated: Use DeployDatabaseServiceDeployment.ProtoReflect.Descriptor instead.

func (*DeployDatabaseServiceDeployment) GetSecurityGroups

func (x *DeployDatabaseServiceDeployment) GetSecurityGroups() []string

func (*DeployDatabaseServiceDeployment) GetSubnetIds

func (x *DeployDatabaseServiceDeployment) GetSubnetIds() []string

func (*DeployDatabaseServiceDeployment) GetTeleportConfigString

func (x *DeployDatabaseServiceDeployment) GetTeleportConfigString() string

func (*DeployDatabaseServiceDeployment) GetVpcId

func (*DeployDatabaseServiceDeployment) ProtoMessage

func (*DeployDatabaseServiceDeployment) ProtoMessage()

func (*DeployDatabaseServiceDeployment) ProtoReflect

func (*DeployDatabaseServiceDeployment) Reset

func (*DeployDatabaseServiceDeployment) String

type DeployDatabaseServiceRequest

type DeployDatabaseServiceRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// TaskRoleARN is the AWS IAM Role received by the deployed service.
	// Required.
	TaskRoleArn string `protobuf:"bytes,3,opt,name=task_role_arn,json=taskRoleArn,proto3" json:"task_role_arn,omitempty"`
	// TeleportVersion is the teleport version to be deployed.
	// This is used to fetch the correct tag for the teleport container image.
	// Eg, 14.3.4 (no "v" prefix)
	// Required.
	TeleportVersion string `protobuf:"bytes,4,opt,name=teleport_version,json=teleportVersion,proto3" json:"teleport_version,omitempty"`
	// DeploymentJoinTokenName is the Teleport IAM Join Token to be used by the deployed
	// service to join the cluster.
	// Required.
	DeploymentJoinTokenName string `` /* 134-byte string literal not displayed */
	// Deployments is a list of services that will be deployed.
	Deployments []*DeployDatabaseServiceDeployment `protobuf:"bytes,6,rep,name=deployments,proto3" json:"deployments,omitempty"`
	// contains filtered or unexported fields
}

DeployDatabaseServiceRequest is a request to deploy .

func (*DeployDatabaseServiceRequest) Descriptor deprecated

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

Deprecated: Use DeployDatabaseServiceRequest.ProtoReflect.Descriptor instead.

func (*DeployDatabaseServiceRequest) GetDeploymentJoinTokenName

func (x *DeployDatabaseServiceRequest) GetDeploymentJoinTokenName() string

func (*DeployDatabaseServiceRequest) GetDeployments

func (*DeployDatabaseServiceRequest) GetIntegration

func (x *DeployDatabaseServiceRequest) GetIntegration() string

func (*DeployDatabaseServiceRequest) GetRegion

func (x *DeployDatabaseServiceRequest) GetRegion() string

func (*DeployDatabaseServiceRequest) GetTaskRoleArn

func (x *DeployDatabaseServiceRequest) GetTaskRoleArn() string

func (*DeployDatabaseServiceRequest) GetTeleportVersion

func (x *DeployDatabaseServiceRequest) GetTeleportVersion() string

func (*DeployDatabaseServiceRequest) ProtoMessage

func (*DeployDatabaseServiceRequest) ProtoMessage()

func (*DeployDatabaseServiceRequest) ProtoReflect

func (*DeployDatabaseServiceRequest) Reset

func (x *DeployDatabaseServiceRequest) Reset()

func (*DeployDatabaseServiceRequest) String

type DeployDatabaseServiceResponse

type DeployDatabaseServiceResponse struct {

	// ClusterArn identifies the cluster where the deployment was made.
	ClusterArn string `protobuf:"bytes,1,opt,name=cluster_arn,json=clusterArn,proto3" json:"cluster_arn,omitempty"`
	// ClusterDashboardUrl is the URL for Amazon Web Console that links directly to the Amazon ECS Cluster.
	ClusterDashboardUrl string `protobuf:"bytes,2,opt,name=cluster_dashboard_url,json=clusterDashboardUrl,proto3" json:"cluster_dashboard_url,omitempty"`
	// contains filtered or unexported fields
}

DeployDatabaseServiceResponse contains information about the deployed service.

func (*DeployDatabaseServiceResponse) Descriptor deprecated

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

Deprecated: Use DeployDatabaseServiceResponse.ProtoReflect.Descriptor instead.

func (*DeployDatabaseServiceResponse) GetClusterArn

func (x *DeployDatabaseServiceResponse) GetClusterArn() string

func (*DeployDatabaseServiceResponse) GetClusterDashboardUrl

func (x *DeployDatabaseServiceResponse) GetClusterDashboardUrl() string

func (*DeployDatabaseServiceResponse) ProtoMessage

func (*DeployDatabaseServiceResponse) ProtoMessage()

func (*DeployDatabaseServiceResponse) ProtoReflect

func (*DeployDatabaseServiceResponse) Reset

func (x *DeployDatabaseServiceResponse) Reset()

func (*DeployDatabaseServiceResponse) String

type DeployServiceRequest

type DeployServiceRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// DeploymentMode is the deployment name that should be applied when creating the ECS Service.
	// Allowed modes: database-service
	// Required.
	DeploymentMode string `protobuf:"bytes,3,opt,name=deployment_mode,json=deploymentMode,proto3" json:"deployment_mode,omitempty"`
	// SecurityGroups to apply to the service's network configuration.
	// If empty, the default security group for the VPC is going to be used.
	SecurityGroups []string `protobuf:"bytes,4,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
	// SubnetIds are the subnets for the network configuration.
	// Required.
	SubnetIds []string `protobuf:"bytes,5,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// TaskRoleARN is the AWS IAM Role received by the deployed service.
	// Required.
	TaskRoleArn string `protobuf:"bytes,6,opt,name=task_role_arn,json=taskRoleArn,proto3" json:"task_role_arn,omitempty"`
	// TeleportVersion is the teleport version to be deployed.
	// This is used to fetch the correct tag for the teleport container image.
	// Eg, 14.3.4 (no "v" prefix)
	// Required.
	TeleportVersion string `protobuf:"bytes,7,opt,name=teleport_version,json=teleportVersion,proto3" json:"teleport_version,omitempty"`
	// DeploymentJoinTokenName is the Teleport IAM Join Token to be used by the deployed
	// service to join the cluster.
	// Required.
	DeploymentJoinTokenName string `` /* 134-byte string literal not displayed */
	// TeleportConfigString is the teleport.yaml configuration (base64 encoded) used by teleport.
	// Required.
	TeleportConfigString string `protobuf:"bytes,9,opt,name=teleport_config_string,json=teleportConfigString,proto3" json:"teleport_config_string,omitempty"`
	// contains filtered or unexported fields
}

DeployServiceRequest is a request to deploy .

func (*DeployServiceRequest) Descriptor deprecated

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

Deprecated: Use DeployServiceRequest.ProtoReflect.Descriptor instead.

func (*DeployServiceRequest) GetDeploymentJoinTokenName

func (x *DeployServiceRequest) GetDeploymentJoinTokenName() string

func (*DeployServiceRequest) GetDeploymentMode

func (x *DeployServiceRequest) GetDeploymentMode() string

func (*DeployServiceRequest) GetIntegration

func (x *DeployServiceRequest) GetIntegration() string

func (*DeployServiceRequest) GetRegion

func (x *DeployServiceRequest) GetRegion() string

func (*DeployServiceRequest) GetSecurityGroups

func (x *DeployServiceRequest) GetSecurityGroups() []string

func (*DeployServiceRequest) GetSubnetIds

func (x *DeployServiceRequest) GetSubnetIds() []string

func (*DeployServiceRequest) GetTaskRoleArn

func (x *DeployServiceRequest) GetTaskRoleArn() string

func (*DeployServiceRequest) GetTeleportConfigString

func (x *DeployServiceRequest) GetTeleportConfigString() string

func (*DeployServiceRequest) GetTeleportVersion

func (x *DeployServiceRequest) GetTeleportVersion() string

func (*DeployServiceRequest) ProtoMessage

func (*DeployServiceRequest) ProtoMessage()

func (*DeployServiceRequest) ProtoReflect

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

func (*DeployServiceRequest) Reset

func (x *DeployServiceRequest) Reset()

func (*DeployServiceRequest) String

func (x *DeployServiceRequest) String() string

type DeployServiceResponse

type DeployServiceResponse struct {

	// ClusterArn identifies the cluster where the deployment was made.
	ClusterArn string `protobuf:"bytes,1,opt,name=cluster_arn,json=clusterArn,proto3" json:"cluster_arn,omitempty"`
	// ServiceARN is the Amazon ECS Cluster Service ARN created to run the task.
	ServiceArn string `protobuf:"bytes,2,opt,name=service_arn,json=serviceArn,proto3" json:"service_arn,omitempty"`
	// TaskDefinitionARN is the Amazon ECS Task Definition ARN created to run the Service.
	TaskDefinitionArn string `protobuf:"bytes,3,opt,name=task_definition_arn,json=taskDefinitionArn,proto3" json:"task_definition_arn,omitempty"`
	// ServiceDashboardURL is a link to the service's Dashboard URL in Amazon Console.
	ServiceDashboardUrl string `protobuf:"bytes,4,opt,name=service_dashboard_url,json=serviceDashboardUrl,proto3" json:"service_dashboard_url,omitempty"`
	// contains filtered or unexported fields
}

DeployServiceResponse contains information about the deployed service.

func (*DeployServiceResponse) Descriptor deprecated

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

Deprecated: Use DeployServiceResponse.ProtoReflect.Descriptor instead.

func (*DeployServiceResponse) GetClusterArn

func (x *DeployServiceResponse) GetClusterArn() string

func (*DeployServiceResponse) GetServiceArn

func (x *DeployServiceResponse) GetServiceArn() string

func (*DeployServiceResponse) GetServiceDashboardUrl

func (x *DeployServiceResponse) GetServiceDashboardUrl() string

func (*DeployServiceResponse) GetTaskDefinitionArn

func (x *DeployServiceResponse) GetTaskDefinitionArn() string

func (*DeployServiceResponse) ProtoMessage

func (*DeployServiceResponse) ProtoMessage()

func (*DeployServiceResponse) ProtoReflect

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

func (*DeployServiceResponse) Reset

func (x *DeployServiceResponse) Reset()

func (*DeployServiceResponse) String

func (x *DeployServiceResponse) String() string

type EC2ICEndpoint

type EC2ICEndpoint struct {

	// Name is the endpoint name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// SubnetID is the Subnet where the Endpoint will be created.
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// SecurityGroupIDs is a list of SecurityGroups to assign to the Endpoint.
	// If not specified, the Endpoint will receive the default SG for the Subnet's VPC.
	SecurityGroupIds []string `protobuf:"bytes,3,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// contains filtered or unexported fields
}

EC2ICEndpoint contains the information for a single Endpoint to be created.

func (*EC2ICEndpoint) Descriptor deprecated

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

Deprecated: Use EC2ICEndpoint.ProtoReflect.Descriptor instead.

func (*EC2ICEndpoint) GetName

func (x *EC2ICEndpoint) GetName() string

func (*EC2ICEndpoint) GetSecurityGroupIds

func (x *EC2ICEndpoint) GetSecurityGroupIds() []string

func (*EC2ICEndpoint) GetSubnetId

func (x *EC2ICEndpoint) GetSubnetId() string

func (*EC2ICEndpoint) ProtoMessage

func (*EC2ICEndpoint) ProtoMessage()

func (*EC2ICEndpoint) ProtoReflect

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

func (*EC2ICEndpoint) Reset

func (x *EC2ICEndpoint) Reset()

func (*EC2ICEndpoint) String

func (x *EC2ICEndpoint) String() string

type EC2InstanceConnectEndpoint

type EC2InstanceConnectEndpoint struct {

	// Name is the endpoint name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// State is the endpoint state.
	// Known values:
	// create-in-progress | create-complete | create-failed | delete-in-progress | delete-complete | delete-failed
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// StateMessage contains a message describing the state of the EICE.
	StateMessage string `protobuf:"bytes,3,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`
	// DashboardLink is a URL to AWS Console where the user can see the EC2 Instance Connect Endpoint.
	DashboardLink string `protobuf:"bytes,4,opt,name=dashboard_link,json=dashboardLink,proto3" json:"dashboard_link,omitempty"`
	// SubnetID is the subnet used by the endpoint.
	SubnetId string `protobuf:"bytes,5,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// VPCID is the VPC ID where the Endpoint is created.
	VpcId string `protobuf:"bytes,6,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
	// contains filtered or unexported fields
}

EC2InstanceConnectEndpoint is a representation of a Amazon VPC EC2 Instance Connect Endpoint.

func (*EC2InstanceConnectEndpoint) Descriptor deprecated

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

Deprecated: Use EC2InstanceConnectEndpoint.ProtoReflect.Descriptor instead.

func (x *EC2InstanceConnectEndpoint) GetDashboardLink() string

func (*EC2InstanceConnectEndpoint) GetName

func (x *EC2InstanceConnectEndpoint) GetName() string

func (*EC2InstanceConnectEndpoint) GetState

func (x *EC2InstanceConnectEndpoint) GetState() string

func (*EC2InstanceConnectEndpoint) GetStateMessage

func (x *EC2InstanceConnectEndpoint) GetStateMessage() string

func (*EC2InstanceConnectEndpoint) GetSubnetId

func (x *EC2InstanceConnectEndpoint) GetSubnetId() string

func (*EC2InstanceConnectEndpoint) GetVpcId

func (x *EC2InstanceConnectEndpoint) GetVpcId() string

func (*EC2InstanceConnectEndpoint) ProtoMessage

func (*EC2InstanceConnectEndpoint) ProtoMessage()

func (*EC2InstanceConnectEndpoint) ProtoReflect

func (*EC2InstanceConnectEndpoint) Reset

func (x *EC2InstanceConnectEndpoint) Reset()

func (*EC2InstanceConnectEndpoint) String

func (x *EC2InstanceConnectEndpoint) String() string

type EKSCluster

type EKSCluster struct {

	// Name is the name of AWS EKS cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Region is an AWS region.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// Arn is an AWS ARN identification of the EKS cluster.
	Arn string `protobuf:"bytes,3,opt,name=arn,proto3" json:"arn,omitempty"`
	// Labels are labels of a EKS cluster.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// JoinLabels are Teleport labels that should be injected into kube agent
	// if the cluster will be enrolled into Teleport (agent installed on it).
	JoinLabels map[string]string `` /* 179-byte string literal not displayed */
	// Status is a current status of an EKS cluster in AWS.
	// Known values are:
	// CREATING | ACTIVE | DELETING | FAILED | UPDATING | PENDING
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

EKSCluster represents an Amazon EKS Cluster.

func (*EKSCluster) Descriptor deprecated

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

Deprecated: Use EKSCluster.ProtoReflect.Descriptor instead.

func (*EKSCluster) GetArn

func (x *EKSCluster) GetArn() string

func (*EKSCluster) GetJoinLabels

func (x *EKSCluster) GetJoinLabels() map[string]string

func (*EKSCluster) GetLabels

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

func (*EKSCluster) GetName

func (x *EKSCluster) GetName() string

func (*EKSCluster) GetRegion

func (x *EKSCluster) GetRegion() string

func (*EKSCluster) GetStatus

func (x *EKSCluster) GetStatus() string

func (*EKSCluster) ProtoMessage

func (*EKSCluster) ProtoMessage()

func (*EKSCluster) ProtoReflect

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

func (*EKSCluster) Reset

func (x *EKSCluster) Reset()

func (*EKSCluster) String

func (x *EKSCluster) String() string

type EnrollEKSClusterResult

type EnrollEKSClusterResult struct {

	// ClusterName identifies what EKS cluster this result is for.
	EksClusterName string `protobuf:"bytes,1,opt,name=eks_cluster_name,json=eksClusterName,proto3" json:"eks_cluster_name,omitempty"`
	// ResourceID shows what internal resource ID label was used by the Helm chart.
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Error show what error happened during enrollment. Empty if no error happened.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

EnrollEKSClusterResult contains result for a single cluster enrollment.

func (*EnrollEKSClusterResult) Descriptor deprecated

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

Deprecated: Use EnrollEKSClusterResult.ProtoReflect.Descriptor instead.

func (*EnrollEKSClusterResult) GetEksClusterName

func (x *EnrollEKSClusterResult) GetEksClusterName() string

func (*EnrollEKSClusterResult) GetError

func (x *EnrollEKSClusterResult) GetError() string

func (*EnrollEKSClusterResult) GetResourceId

func (x *EnrollEKSClusterResult) GetResourceId() string

func (*EnrollEKSClusterResult) ProtoMessage

func (*EnrollEKSClusterResult) ProtoMessage()

func (*EnrollEKSClusterResult) ProtoReflect

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

func (*EnrollEKSClusterResult) Reset

func (x *EnrollEKSClusterResult) Reset()

func (*EnrollEKSClusterResult) String

func (x *EnrollEKSClusterResult) String() string

type EnrollEKSClustersRequest

type EnrollEKSClustersRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// ClusterNames is names of EKS clusters to enroll.
	// Required.
	EksClusterNames []string `protobuf:"bytes,3,rep,name=eks_cluster_names,json=eksClusterNames,proto3" json:"eks_cluster_names,omitempty"`
	// EnableAppDiscovery specifies if we should enable Kubernetes App Discovery inside the enrolled EKS cluster.
	EnableAppDiscovery bool `protobuf:"varint,4,opt,name=enable_app_discovery,json=enableAppDiscovery,proto3" json:"enable_app_discovery,omitempty"`
	// AgentVersion is version of agent Helm chart to install on the EKS cluster.
	// Required.
	AgentVersion string `protobuf:"bytes,5,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// contains filtered or unexported fields
}

EnrollEKSClustersRequest is request to enroll EKS clusters.

func (*EnrollEKSClustersRequest) Descriptor deprecated

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

Deprecated: Use EnrollEKSClustersRequest.ProtoReflect.Descriptor instead.

func (*EnrollEKSClustersRequest) GetAgentVersion

func (x *EnrollEKSClustersRequest) GetAgentVersion() string

func (*EnrollEKSClustersRequest) GetEksClusterNames

func (x *EnrollEKSClustersRequest) GetEksClusterNames() []string

func (*EnrollEKSClustersRequest) GetEnableAppDiscovery

func (x *EnrollEKSClustersRequest) GetEnableAppDiscovery() bool

func (*EnrollEKSClustersRequest) GetIntegration

func (x *EnrollEKSClustersRequest) GetIntegration() string

func (*EnrollEKSClustersRequest) GetRegion

func (x *EnrollEKSClustersRequest) GetRegion() string

func (*EnrollEKSClustersRequest) ProtoMessage

func (*EnrollEKSClustersRequest) ProtoMessage()

func (*EnrollEKSClustersRequest) ProtoReflect

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

func (*EnrollEKSClustersRequest) Reset

func (x *EnrollEKSClustersRequest) Reset()

func (*EnrollEKSClustersRequest) String

func (x *EnrollEKSClustersRequest) String() string

type EnrollEKSClustersResponse

type EnrollEKSClustersResponse struct {

	// Results shows result of enrollment for each requested EKS cluster.
	Results []*EnrollEKSClusterResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

EnrollEKSClustersResponse is a response to enrolling EKS clusters.

func (*EnrollEKSClustersResponse) Descriptor deprecated

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

Deprecated: Use EnrollEKSClustersResponse.ProtoReflect.Descriptor instead.

func (*EnrollEKSClustersResponse) GetResults

func (*EnrollEKSClustersResponse) ProtoMessage

func (*EnrollEKSClustersResponse) ProtoMessage()

func (*EnrollEKSClustersResponse) ProtoReflect

func (*EnrollEKSClustersResponse) Reset

func (x *EnrollEKSClustersResponse) Reset()

func (*EnrollEKSClustersResponse) String

func (x *EnrollEKSClustersResponse) String() string

type GenerateAWSOIDCTokenRequest

type GenerateAWSOIDCTokenRequest struct {

	// Issuer is the entity that is signing the JWT.
	// This value must contain the AWS OIDC Integration configured provider (Teleport Proxy's Public URL)
	//
	// Deprecated: Ignored because value is calculated server side.
	//
	// Deprecated: Marked as deprecated in teleport/integration/v1/integration_service.proto.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Integration is the AWS OIDC Integration name.
	// If not provided, it will use the Teleport's Proxy Public URL as issuer.
	// Optional.
	Integration string `protobuf:"bytes,2,opt,name=integration,proto3" json:"integration,omitempty"`
	// contains filtered or unexported fields
}

GenerateAWSOIDCTokenRequest are the parameters used to request an AWS OIDC Integration token.

func (*GenerateAWSOIDCTokenRequest) Descriptor deprecated

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

Deprecated: Use GenerateAWSOIDCTokenRequest.ProtoReflect.Descriptor instead.

func (*GenerateAWSOIDCTokenRequest) GetIntegration

func (x *GenerateAWSOIDCTokenRequest) GetIntegration() string

func (*GenerateAWSOIDCTokenRequest) GetIssuer deprecated

func (x *GenerateAWSOIDCTokenRequest) GetIssuer() string

Deprecated: Marked as deprecated in teleport/integration/v1/integration_service.proto.

func (*GenerateAWSOIDCTokenRequest) ProtoMessage

func (*GenerateAWSOIDCTokenRequest) ProtoMessage()

func (*GenerateAWSOIDCTokenRequest) ProtoReflect

func (*GenerateAWSOIDCTokenRequest) Reset

func (x *GenerateAWSOIDCTokenRequest) Reset()

func (*GenerateAWSOIDCTokenRequest) String

func (x *GenerateAWSOIDCTokenRequest) String() string

type GenerateAWSOIDCTokenResponse

type GenerateAWSOIDCTokenResponse struct {

	// Token is the signed JWT ready to be used
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

GenerateAWSOIDCTokenResponse contains a signed AWS OIDC Integration token.

func (*GenerateAWSOIDCTokenResponse) Descriptor deprecated

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

Deprecated: Use GenerateAWSOIDCTokenResponse.ProtoReflect.Descriptor instead.

func (*GenerateAWSOIDCTokenResponse) GetToken

func (x *GenerateAWSOIDCTokenResponse) GetToken() string

func (*GenerateAWSOIDCTokenResponse) ProtoMessage

func (*GenerateAWSOIDCTokenResponse) ProtoMessage()

func (*GenerateAWSOIDCTokenResponse) ProtoReflect

func (*GenerateAWSOIDCTokenResponse) Reset

func (x *GenerateAWSOIDCTokenResponse) Reset()

func (*GenerateAWSOIDCTokenResponse) String

type GetIntegrationRequest

type GetIntegrationRequest struct {

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

GetIntegrationRequest is a request for a specific Integration resource.

func (*GetIntegrationRequest) Descriptor deprecated

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

Deprecated: Use GetIntegrationRequest.ProtoReflect.Descriptor instead.

func (*GetIntegrationRequest) GetName

func (x *GetIntegrationRequest) GetName() string

func (*GetIntegrationRequest) ProtoMessage

func (*GetIntegrationRequest) ProtoMessage()

func (*GetIntegrationRequest) ProtoReflect

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

func (*GetIntegrationRequest) Reset

func (x *GetIntegrationRequest) Reset()

func (*GetIntegrationRequest) String

func (x *GetIntegrationRequest) String() string

type IntegrationServiceClient

type IntegrationServiceClient interface {
	// ListIntegrations returns a paginated list of Integration resources.
	ListIntegrations(ctx context.Context, in *ListIntegrationsRequest, opts ...grpc.CallOption) (*ListIntegrationsResponse, error)
	// GetIntegration returns the specified Integration resource.
	GetIntegration(ctx context.Context, in *GetIntegrationRequest, opts ...grpc.CallOption) (*types.IntegrationV1, error)
	// CreateIntegration creates a new Integration resource.
	CreateIntegration(ctx context.Context, in *CreateIntegrationRequest, opts ...grpc.CallOption) (*types.IntegrationV1, error)
	// UpdateIntegration updates an existing Integration resource.
	UpdateIntegration(ctx context.Context, in *UpdateIntegrationRequest, opts ...grpc.CallOption) (*types.IntegrationV1, error)
	// DeleteIntegration removes the specified Integration resource.
	DeleteIntegration(ctx context.Context, in *DeleteIntegrationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteAllIntegrations removes all Integrations.
	// DEPRECATED: Can't delete all integrations over gRPC.
	DeleteAllIntegrations(ctx context.Context, in *DeleteAllIntegrationsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GenerateAWSOIDCToken generates a token to be used when executing an AWS OIDC Integration action.
	GenerateAWSOIDCToken(ctx context.Context, in *GenerateAWSOIDCTokenRequest, opts ...grpc.CallOption) (*GenerateAWSOIDCTokenResponse, error)
}

IntegrationServiceClient is the client API for IntegrationService service.

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

type IntegrationServiceServer

type IntegrationServiceServer interface {
	// ListIntegrations returns a paginated list of Integration resources.
	ListIntegrations(context.Context, *ListIntegrationsRequest) (*ListIntegrationsResponse, error)
	// GetIntegration returns the specified Integration resource.
	GetIntegration(context.Context, *GetIntegrationRequest) (*types.IntegrationV1, error)
	// CreateIntegration creates a new Integration resource.
	CreateIntegration(context.Context, *CreateIntegrationRequest) (*types.IntegrationV1, error)
	// UpdateIntegration updates an existing Integration resource.
	UpdateIntegration(context.Context, *UpdateIntegrationRequest) (*types.IntegrationV1, error)
	// DeleteIntegration removes the specified Integration resource.
	DeleteIntegration(context.Context, *DeleteIntegrationRequest) (*emptypb.Empty, error)
	// DeleteAllIntegrations removes all Integrations.
	// DEPRECATED: Can't delete all integrations over gRPC.
	DeleteAllIntegrations(context.Context, *DeleteAllIntegrationsRequest) (*emptypb.Empty, error)
	// GenerateAWSOIDCToken generates a token to be used when executing an AWS OIDC Integration action.
	GenerateAWSOIDCToken(context.Context, *GenerateAWSOIDCTokenRequest) (*GenerateAWSOIDCTokenResponse, error)
	// contains filtered or unexported methods
}

IntegrationServiceServer is the server API for IntegrationService service. All implementations must embed UnimplementedIntegrationServiceServer for forward compatibility

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// RDSType is either instance or cluster (for Aurora DBs).
	// Required.
	RdsType string `protobuf:"bytes,3,opt,name=rds_type,json=rdsType,proto3" json:"rds_type,omitempty"`
	// Engines filters the returned Databases based on their engine.
	// Eg, mysql, postgres, mariadb, aurora, aurora-mysql, aurora-postgresql
	// Required.
	Engines []string `protobuf:"bytes,4,rep,name=engines,proto3" json:"engines,omitempty"`
	// NextToken is the token to be used to fetch the next page.
	// If empty, the first page is fetched.
	NextToken string `protobuf:"bytes,5,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListDatabasesRequest is a request for a paginated list of AWS Databases.

func (*ListDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDatabasesRequest) GetEngines

func (x *ListDatabasesRequest) GetEngines() []string

func (*ListDatabasesRequest) GetIntegration

func (x *ListDatabasesRequest) GetIntegration() string

func (*ListDatabasesRequest) GetNextToken

func (x *ListDatabasesRequest) GetNextToken() string

func (*ListDatabasesRequest) GetRdsType

func (x *ListDatabasesRequest) GetRdsType() string

func (*ListDatabasesRequest) GetRegion

func (x *ListDatabasesRequest) GetRegion() string

func (*ListDatabasesRequest) ProtoMessage

func (*ListDatabasesRequest) ProtoMessage()

func (*ListDatabasesRequest) ProtoReflect

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

func (*ListDatabasesRequest) Reset

func (x *ListDatabasesRequest) Reset()

func (*ListDatabasesRequest) String

func (x *ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {

	// Databases contains the page of Databases.
	Databases []*types.DatabaseV3 `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// NextToken is used for pagination.
	// If non-empty, it can be used to request the next page.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListDatabasesResponse contains a page of AWS Databases.

func (*ListDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDatabasesResponse) GetDatabases

func (x *ListDatabasesResponse) GetDatabases() []*types.DatabaseV3

func (*ListDatabasesResponse) GetNextToken

func (x *ListDatabasesResponse) GetNextToken() string

func (*ListDatabasesResponse) ProtoMessage

func (*ListDatabasesResponse) ProtoMessage()

func (*ListDatabasesResponse) ProtoReflect

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

func (*ListDatabasesResponse) Reset

func (x *ListDatabasesResponse) Reset()

func (*ListDatabasesResponse) String

func (x *ListDatabasesResponse) String() string

type ListEC2Request

type ListEC2Request struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// NextToken is the token to be used to fetch the next page.
	// If empty, the first page is fetched.
	NextToken string `protobuf:"bytes,3,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEC2Request is a request for a paginated list of AWS EC2 instances.

func (*ListEC2Request) Descriptor deprecated

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

Deprecated: Use ListEC2Request.ProtoReflect.Descriptor instead.

func (*ListEC2Request) GetIntegration

func (x *ListEC2Request) GetIntegration() string

func (*ListEC2Request) GetNextToken

func (x *ListEC2Request) GetNextToken() string

func (*ListEC2Request) GetRegion

func (x *ListEC2Request) GetRegion() string

func (*ListEC2Request) ProtoMessage

func (*ListEC2Request) ProtoMessage()

func (*ListEC2Request) ProtoReflect

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

func (*ListEC2Request) Reset

func (x *ListEC2Request) Reset()

func (*ListEC2Request) String

func (x *ListEC2Request) String() string

type ListEC2Response

type ListEC2Response struct {

	// Servers contains the page of EC2.
	Servers []*types.ServerV2 `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// NextToken is used for pagination.
	// If non-empty, it can be used to request the next page.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEC2Response contains a page of AWS EC2 instances represented as Nodes.

func (*ListEC2Response) Descriptor deprecated

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

Deprecated: Use ListEC2Response.ProtoReflect.Descriptor instead.

func (*ListEC2Response) GetNextToken

func (x *ListEC2Response) GetNextToken() string

func (*ListEC2Response) GetServers

func (x *ListEC2Response) GetServers() []*types.ServerV2

func (*ListEC2Response) ProtoMessage

func (*ListEC2Response) ProtoMessage()

func (*ListEC2Response) ProtoReflect

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

func (*ListEC2Response) Reset

func (x *ListEC2Response) Reset()

func (*ListEC2Response) String

func (x *ListEC2Response) String() string

type ListEICERequest

type ListEICERequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// VPCIDs is used to filter for EICEs of those VPCs.
	// Required.
	VpcIds []string `protobuf:"bytes,3,rep,name=vpc_ids,json=vpcIds,proto3" json:"vpc_ids,omitempty"`
	// NextToken is the token to be used to fetch the next page.
	// If empty, the first page is fetched.
	NextToken string `protobuf:"bytes,4,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEICERequest is a request for a paginated list of AWS EC2 Instance Connect Endpoints.

func (*ListEICERequest) Descriptor deprecated

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

Deprecated: Use ListEICERequest.ProtoReflect.Descriptor instead.

func (*ListEICERequest) GetIntegration

func (x *ListEICERequest) GetIntegration() string

func (*ListEICERequest) GetNextToken

func (x *ListEICERequest) GetNextToken() string

func (*ListEICERequest) GetRegion

func (x *ListEICERequest) GetRegion() string

func (*ListEICERequest) GetVpcIds

func (x *ListEICERequest) GetVpcIds() []string

func (*ListEICERequest) ProtoMessage

func (*ListEICERequest) ProtoMessage()

func (*ListEICERequest) ProtoReflect

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

func (*ListEICERequest) Reset

func (x *ListEICERequest) Reset()

func (*ListEICERequest) String

func (x *ListEICERequest) String() string

type ListEICEResponse

type ListEICEResponse struct {

	// EC2ICEs contains the page of EC2 Instance Connect Endpoints.
	Ec2Ices []*EC2InstanceConnectEndpoint `protobuf:"bytes,1,rep,name=ec2ices,proto3" json:"ec2ices,omitempty"`
	// DashboardLink is the URL for AWS Web Console that lists all the Endpoints for the queries VPCs.
	DashboardLink string `protobuf:"bytes,2,opt,name=dashboard_link,json=dashboardLink,proto3" json:"dashboard_link,omitempty"`
	// NextToken is used for pagination.
	// If non-empty, it can be used to request the next page.
	NextToken string `protobuf:"bytes,3,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEICEResponse contains a page of AWS EC2 Instance Connect Endpoints.

func (*ListEICEResponse) Descriptor deprecated

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

Deprecated: Use ListEICEResponse.ProtoReflect.Descriptor instead.

func (x *ListEICEResponse) GetDashboardLink() string

func (*ListEICEResponse) GetEc2Ices

func (x *ListEICEResponse) GetEc2Ices() []*EC2InstanceConnectEndpoint

func (*ListEICEResponse) GetNextToken

func (x *ListEICEResponse) GetNextToken() string

func (*ListEICEResponse) ProtoMessage

func (*ListEICEResponse) ProtoMessage()

func (*ListEICEResponse) ProtoReflect

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

func (*ListEICEResponse) Reset

func (x *ListEICEResponse) Reset()

func (*ListEICEResponse) String

func (x *ListEICEResponse) String() string

type ListEKSClustersRequest

type ListEKSClustersRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// NextToken is the token to be used to fetch the next page.
	// If empty, the first page is fetched.
	NextToken string `protobuf:"bytes,3,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEKSClustersRequest is a request for a paginated list of AWS EKS Clusters.

func (*ListEKSClustersRequest) Descriptor deprecated

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

Deprecated: Use ListEKSClustersRequest.ProtoReflect.Descriptor instead.

func (*ListEKSClustersRequest) GetIntegration

func (x *ListEKSClustersRequest) GetIntegration() string

func (*ListEKSClustersRequest) GetNextToken

func (x *ListEKSClustersRequest) GetNextToken() string

func (*ListEKSClustersRequest) GetRegion

func (x *ListEKSClustersRequest) GetRegion() string

func (*ListEKSClustersRequest) ProtoMessage

func (*ListEKSClustersRequest) ProtoMessage()

func (*ListEKSClustersRequest) ProtoReflect

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

func (*ListEKSClustersRequest) Reset

func (x *ListEKSClustersRequest) Reset()

func (*ListEKSClustersRequest) String

func (x *ListEKSClustersRequest) String() string

type ListEKSClustersResponse

type ListEKSClustersResponse struct {

	// Clusters contains the page of EKS Clusters.
	Clusters []*EKSCluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// NextToken is used for pagination.
	// If non-empty, it can be used to request the next page.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListEKSClustersResponse contains a page of AWS EKS Clusters.

func (*ListEKSClustersResponse) Descriptor deprecated

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

Deprecated: Use ListEKSClustersResponse.ProtoReflect.Descriptor instead.

func (*ListEKSClustersResponse) GetClusters

func (x *ListEKSClustersResponse) GetClusters() []*EKSCluster

func (*ListEKSClustersResponse) GetNextToken

func (x *ListEKSClustersResponse) GetNextToken() string

func (*ListEKSClustersResponse) ProtoMessage

func (*ListEKSClustersResponse) ProtoMessage()

func (*ListEKSClustersResponse) ProtoReflect

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

func (*ListEKSClustersResponse) Reset

func (x *ListEKSClustersResponse) Reset()

func (*ListEKSClustersResponse) String

func (x *ListEKSClustersResponse) String() string

type ListIntegrationsRequest

type ListIntegrationsRequest struct {

	// Limit is the maximum amount of resources to retrieve.
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// NextKey is the key for the next page of Integrations.
	NextKey string `protobuf:"bytes,2,opt,name=next_key,json=nextKey,proto3" json:"next_key,omitempty"`
	// contains filtered or unexported fields
}

ListIntegrationsRequest is a request for a paginated list of Integrations.

func (*ListIntegrationsRequest) Descriptor deprecated

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

Deprecated: Use ListIntegrationsRequest.ProtoReflect.Descriptor instead.

func (*ListIntegrationsRequest) GetLimit

func (x *ListIntegrationsRequest) GetLimit() int32

func (*ListIntegrationsRequest) GetNextKey

func (x *ListIntegrationsRequest) GetNextKey() string

func (*ListIntegrationsRequest) ProtoMessage

func (*ListIntegrationsRequest) ProtoMessage()

func (*ListIntegrationsRequest) ProtoReflect

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

func (*ListIntegrationsRequest) Reset

func (x *ListIntegrationsRequest) Reset()

func (*ListIntegrationsRequest) String

func (x *ListIntegrationsRequest) String() string

type ListIntegrationsResponse

type ListIntegrationsResponse struct {

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

ListIntegrationsResponse is the response for ListIntegrationsRequest.

func (*ListIntegrationsResponse) Descriptor deprecated

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

Deprecated: Use ListIntegrationsResponse.ProtoReflect.Descriptor instead.

func (*ListIntegrationsResponse) GetIntegrations

func (x *ListIntegrationsResponse) GetIntegrations() []*types.IntegrationV1

func (*ListIntegrationsResponse) GetNextKey

func (x *ListIntegrationsResponse) GetNextKey() string

func (*ListIntegrationsResponse) GetTotalCount

func (x *ListIntegrationsResponse) GetTotalCount() int32

func (*ListIntegrationsResponse) ProtoMessage

func (*ListIntegrationsResponse) ProtoMessage()

func (*ListIntegrationsResponse) ProtoReflect

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

func (*ListIntegrationsResponse) Reset

func (x *ListIntegrationsResponse) Reset()

func (*ListIntegrationsResponse) String

func (x *ListIntegrationsResponse) String() string

type ListSecurityGroupsRequest

type ListSecurityGroupsRequest struct {

	// Integration is the AWS OIDC Integration name.
	// Required.
	Integration string `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// Region is the AWS Region
	// Required.
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// VPCID is the VPC ID for listing SecurityGroups.
	// Required.
	VpcId string `protobuf:"bytes,3,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"`
	// NextToken is the token to be used to fetch the next page.
	// If empty, the first page is fetched.
	NextToken string `protobuf:"bytes,4,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListSecurityGroupsRequest is a request for a paginated list of AWS SecurityGroups.

func (*ListSecurityGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListSecurityGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListSecurityGroupsRequest) GetIntegration

func (x *ListSecurityGroupsRequest) GetIntegration() string

func (*ListSecurityGroupsRequest) GetNextToken

func (x *ListSecurityGroupsRequest) GetNextToken() string

func (*ListSecurityGroupsRequest) GetRegion

func (x *ListSecurityGroupsRequest) GetRegion() string

func (*ListSecurityGroupsRequest) GetVpcId

func (x *ListSecurityGroupsRequest) GetVpcId() string

func (*ListSecurityGroupsRequest) ProtoMessage

func (*ListSecurityGroupsRequest) ProtoMessage()

func (*ListSecurityGroupsRequest) ProtoReflect

func (*ListSecurityGroupsRequest) Reset

func (x *ListSecurityGroupsRequest) Reset()

func (*ListSecurityGroupsRequest) String

func (x *ListSecurityGroupsRequest) String() string

type ListSecurityGroupsResponse

type ListSecurityGroupsResponse struct {

	// SecurityGroups contains the page of SecurityGroups.
	SecurityGroups []*SecurityGroup `protobuf:"bytes,1,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
	// NextToken is used for pagination.
	// If non-empty, it can be used to request the next page.
	NextToken string `protobuf:"bytes,2,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

ListSecurityGroupsResponse contains a page of AWS SecurityGroups.

func (*ListSecurityGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListSecurityGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListSecurityGroupsResponse) GetNextToken

func (x *ListSecurityGroupsResponse) GetNextToken() string

func (*ListSecurityGroupsResponse) GetSecurityGroups

func (x *ListSecurityGroupsResponse) GetSecurityGroups() []*SecurityGroup

func (*ListSecurityGroupsResponse) ProtoMessage

func (*ListSecurityGroupsResponse) ProtoMessage()

func (*ListSecurityGroupsResponse) ProtoReflect

func (*ListSecurityGroupsResponse) Reset

func (x *ListSecurityGroupsResponse) Reset()

func (*ListSecurityGroupsResponse) String

func (x *ListSecurityGroupsResponse) String() string

type SecurityGroup

type SecurityGroup struct {

	// Name is the SecurityGroup name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID is the SecurityGroup ID.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Description is a small description of the SecurityGroup.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// InboundRules describe the Security Group Inbound Rules.
	// The CIDR of each rule represents the source IP that the rule applies to.
	InboundRules []*SecurityGroupRule `protobuf:"bytes,4,rep,name=inbound_rules,json=inboundRules,proto3" json:"inbound_rules,omitempty"`
	// OutboundRules describe the Security Group Outbound Rules.
	// The CIDR of each rule represents the destination IP that the rule applies to.
	OutboundRules []*SecurityGroupRule `protobuf:"bytes,5,rep,name=outbound_rules,json=outboundRules,proto3" json:"outbound_rules,omitempty"`
	// contains filtered or unexported fields
}

SecurityGroup is a representation of a SecurityGroup

func (*SecurityGroup) Descriptor deprecated

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

Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.

func (*SecurityGroup) GetDescription

func (x *SecurityGroup) GetDescription() string

func (*SecurityGroup) GetId

func (x *SecurityGroup) GetId() string

func (*SecurityGroup) GetInboundRules

func (x *SecurityGroup) GetInboundRules() []*SecurityGroupRule

func (*SecurityGroup) GetName

func (x *SecurityGroup) GetName() string

func (*SecurityGroup) GetOutboundRules

func (x *SecurityGroup) GetOutboundRules() []*SecurityGroupRule

func (*SecurityGroup) ProtoMessage

func (*SecurityGroup) ProtoMessage()

func (*SecurityGroup) ProtoReflect

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

func (*SecurityGroup) Reset

func (x *SecurityGroup) Reset()

func (*SecurityGroup) String

func (x *SecurityGroup) String() string

type SecurityGroupRule

type SecurityGroupRule struct {

	// IPProtocol is the protocol used to describe the rule.
	// If the rule applies to all protocols, the "all" value is used.
	// The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number (see Protocol
	// Numbers (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)).
	IpProtocol string `protobuf:"bytes,1,opt,name=ip_protocol,json=ipProtocol,proto3" json:"ip_protocol,omitempty"`
	// FromPort is the inclusive start of the Port range for the Rule.
	FromPort int32 `protobuf:"varint,2,opt,name=from_port,json=fromPort,proto3" json:"from_port,omitempty"`
	// ToPort is the inclusive end of the Port range for the Rule.
	ToPort int32 `protobuf:"varint,3,opt,name=to_port,json=toPort,proto3" json:"to_port,omitempty"`
	// CIDRs contains a list of IP ranges that this rule applies to and a description for the value.
	Cidrs []*SecurityGroupRuleCIDR `protobuf:"bytes,4,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
	// contains filtered or unexported fields
}

SecurityGroupRule is a representation of a SecurityGroupRule. Either for Inbound or Outbound rules.

func (*SecurityGroupRule) Descriptor deprecated

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

Deprecated: Use SecurityGroupRule.ProtoReflect.Descriptor instead.

func (*SecurityGroupRule) GetCidrs

func (x *SecurityGroupRule) GetCidrs() []*SecurityGroupRuleCIDR

func (*SecurityGroupRule) GetFromPort

func (x *SecurityGroupRule) GetFromPort() int32

func (*SecurityGroupRule) GetIpProtocol

func (x *SecurityGroupRule) GetIpProtocol() string

func (*SecurityGroupRule) GetToPort

func (x *SecurityGroupRule) GetToPort() int32

func (*SecurityGroupRule) ProtoMessage

func (*SecurityGroupRule) ProtoMessage()

func (*SecurityGroupRule) ProtoReflect

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

func (*SecurityGroupRule) Reset

func (x *SecurityGroupRule) Reset()

func (*SecurityGroupRule) String

func (x *SecurityGroupRule) String() string

type SecurityGroupRuleCIDR

type SecurityGroupRuleCIDR struct {

	// CIDR is the IP range using CIDR notation.
	Cidr string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"`
	// Description contains a small text describing the CIDR.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

CIDR has a CIDR (IP Range) and a description for the value.

func (*SecurityGroupRuleCIDR) Descriptor deprecated

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

Deprecated: Use SecurityGroupRuleCIDR.ProtoReflect.Descriptor instead.

func (*SecurityGroupRuleCIDR) GetCidr

func (x *SecurityGroupRuleCIDR) GetCidr() string

func (*SecurityGroupRuleCIDR) GetDescription

func (x *SecurityGroupRuleCIDR) GetDescription() string

func (*SecurityGroupRuleCIDR) ProtoMessage

func (*SecurityGroupRuleCIDR) ProtoMessage()

func (*SecurityGroupRuleCIDR) ProtoReflect

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

func (*SecurityGroupRuleCIDR) Reset

func (x *SecurityGroupRuleCIDR) Reset()

func (*SecurityGroupRuleCIDR) String

func (x *SecurityGroupRuleCIDR) String() string

type UnimplementedAWSOIDCServiceServer

type UnimplementedAWSOIDCServiceServer struct {
}

UnimplementedAWSOIDCServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAWSOIDCServiceServer) CreateEICE

func (UnimplementedAWSOIDCServiceServer) DeployService

func (UnimplementedAWSOIDCServiceServer) EnrollEKSClusters

func (UnimplementedAWSOIDCServiceServer) ListDatabases

func (UnimplementedAWSOIDCServiceServer) ListEC2

func (UnimplementedAWSOIDCServiceServer) ListEICE

func (UnimplementedAWSOIDCServiceServer) ListEKSClusters

func (UnimplementedAWSOIDCServiceServer) ListSecurityGroups

type UnimplementedIntegrationServiceServer

type UnimplementedIntegrationServiceServer struct {
}

UnimplementedIntegrationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIntegrationServiceServer) CreateIntegration

func (UnimplementedIntegrationServiceServer) DeleteAllIntegrations

func (UnimplementedIntegrationServiceServer) DeleteIntegration

func (UnimplementedIntegrationServiceServer) GenerateAWSOIDCToken

func (UnimplementedIntegrationServiceServer) GetIntegration

func (UnimplementedIntegrationServiceServer) ListIntegrations

func (UnimplementedIntegrationServiceServer) UpdateIntegration

type UnsafeAWSOIDCServiceServer

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

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

type UnsafeIntegrationServiceServer

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

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

type UpdateIntegrationRequest

type UpdateIntegrationRequest struct {

	// Integration is the integration to be created.
	Integration *types.IntegrationV1 `protobuf:"bytes,1,opt,name=integration,proto3" json:"integration,omitempty"`
	// contains filtered or unexported fields
}

UpdateIntegrationRequest is the request to update the provided integration.

func (*UpdateIntegrationRequest) Descriptor deprecated

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

Deprecated: Use UpdateIntegrationRequest.ProtoReflect.Descriptor instead.

func (*UpdateIntegrationRequest) GetIntegration

func (x *UpdateIntegrationRequest) GetIntegration() *types.IntegrationV1

func (*UpdateIntegrationRequest) ProtoMessage

func (*UpdateIntegrationRequest) ProtoMessage()

func (*UpdateIntegrationRequest) ProtoReflect

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

func (*UpdateIntegrationRequest) Reset

func (x *UpdateIntegrationRequest) Reset()

func (*UpdateIntegrationRequest) String

func (x *UpdateIntegrationRequest) String() string

Jump to

Keyboard shortcuts

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