Documentation ¶
Index ¶
Constants ¶
View Source
const ( TcpProtocol = "tcp" NfsPort = int32(2049) )
Variables ¶
This section is empty.
Functions ¶
func NewClientProvider ¶
func NewClientProvider() awsclient.SkrClientProvider[Client]
Types ¶
type Client ¶
type Client interface { DescribeSecurityGroups(ctx context.Context, filters []ec2Types.Filter, groupIds []string) ([]ec2Types.SecurityGroup, error) CreateSecurityGroup(ctx context.Context, vpcId, name string, tags []ec2Types.Tag) (string, error) AuthorizeSecurityGroupIngress(ctx context.Context, groupId string, ipPermissions []ec2Types.IpPermission) error DescribeFileSystems(ctx context.Context) ([]efsTypes.FileSystemDescription, error) CreateFileSystem( ctx context.Context, performanceMode efsTypes.PerformanceMode, throughputMode efsTypes.ThroughputMode, tags []efsTypes.Tag, ) (*efs.CreateFileSystemOutput, error) DescribeMountTargets(ctx context.Context, fsId string) ([]efsTypes.MountTargetDescription, error) CreateMountTarget(ctx context.Context, fsId, subnetId string, securityGroups []string) (string, error) DescribeMountTargetSecurityGroups(ctx context.Context, mountTargetId string) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.