Documentation ¶
Index ¶
- Variables
- type KasRegistryDbClient
- func (c KasRegistryDbClient) CreateKeyAccessServer(ctx context.Context, r *kasr.CreateKeyAccessServerRequest) (*kasr.KeyAccessServer, error)
- func (c KasRegistryDbClient) DeleteKeyAccessServer(ctx context.Context, id string) (*kasr.KeyAccessServer, error)
- func (c KasRegistryDbClient) GetKeyAccessServer(ctx context.Context, id string) (*kasr.KeyAccessServer, error)
- func (c KasRegistryDbClient) ListKeyAccessServers(ctx context.Context) ([]*kasr.KeyAccessServer, error)
- func (c KasRegistryDbClient) UpdateKeyAccessServer(ctx context.Context, id string, r *kasr.UpdateKeyAccessServerRequest) (*kasr.KeyAccessServer, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TableKeyAccessServerRegistry = "key_access_servers" Tables struct { KeyAccessServerRegistry db.Table } )
Functions ¶
This section is empty.
Types ¶
type KasRegistryDbClient ¶
func NewClient ¶
func NewClient(c db.Client) *KasRegistryDbClient
func (KasRegistryDbClient) CreateKeyAccessServer ¶
func (c KasRegistryDbClient) CreateKeyAccessServer(ctx context.Context, r *kasr.CreateKeyAccessServerRequest) (*kasr.KeyAccessServer, error)
func (KasRegistryDbClient) DeleteKeyAccessServer ¶
func (c KasRegistryDbClient) DeleteKeyAccessServer(ctx context.Context, id string) (*kasr.KeyAccessServer, error)
func (KasRegistryDbClient) GetKeyAccessServer ¶
func (c KasRegistryDbClient) GetKeyAccessServer(ctx context.Context, id string) (*kasr.KeyAccessServer, error)
func (KasRegistryDbClient) ListKeyAccessServers ¶
func (c KasRegistryDbClient) ListKeyAccessServers(ctx context.Context) ([]*kasr.KeyAccessServer, error)
func (KasRegistryDbClient) UpdateKeyAccessServer ¶
func (c KasRegistryDbClient) UpdateKeyAccessServer(ctx context.Context, id string, r *kasr.UpdateKeyAccessServerRequest) (*kasr.KeyAccessServer, error)
Click to show internal directories.
Click to hide internal directories.