db

package
v0.0.0-...-1a78383 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {
	ID              string
	Provider        string
	SecurityGroupID string
	Source          *ACLSource
	Destination     *ACLDestination
}

type ACLDestination

type ACLDestination struct {
	VPCID       string
	InstanceIDs []string
	Labels      types.Label
	Condition   string
}

type ACLSource

type ACLSource struct {
	VPCID     string
	IPs       []string
	Labels    types.Label
	Condition string
}

type Client

type Client interface {
	Open(filename string) error
	Close() error
	UpdateConnectionRequest(cr *types.ConnectionRequest, id string) error
	GetConnectionRequest(id string) (*types.ConnectionRequest, error)
	ListConnectionRequests() ([]types.ConnectionRequest, error)
	DeleteConnectionRequest(id string) error
	UpdateACL(acl *ACL, aclID string) error
	GetACL(aclID string) (*ACL, error)
	ListACLs() ([]ACL, error)
	DeleteACL(aclID string) error
}

func NewClient

func NewClient() Client

Directories

Path Synopsis
Package mock_db is a generated GoMock package.
Package mock_db is a generated GoMock package.

Jump to

Keyboard shortcuts

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