datastore

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Provides interfaces and adapters for the DataStore service

Generated code. Do not modify by hand.

Index

Constants

View Source
const (
	Type                           = "DataStore"
	BySelectors_MATCH_EXACT        = datastore.BySelectors_MATCH_EXACT        //nolint: golint
	BySelectors_MATCH_SUBSET       = datastore.BySelectors_MATCH_SUBSET       //nolint: golint
	DeleteBundleRequest_DELETE     = datastore.DeleteBundleRequest_DELETE     //nolint: golint
	DeleteBundleRequest_DISSOCIATE = datastore.DeleteBundleRequest_DISSOCIATE //nolint: golint
	DeleteBundleRequest_RESTRICT   = datastore.DeleteBundleRequest_RESTRICT   //nolint: golint
)

Variables

View Source
var PluginClient catalog.PluginClient = pluginClient{}

PluginClient is a catalog PluginClient implementation for the DataStore plugin.

Functions

func PluginServer

func PluginServer(server DataStoreServer) catalog.PluginServer

PluginServer returns a catalog PluginServer implementation for the DataStore plugin.

Types

type AppendBundleRequest

type AppendBundleRequest = datastore.AppendBundleRequest //nolint: golint

type AppendBundleResponse

type AppendBundleResponse = datastore.AppendBundleResponse //nolint: golint

type BySelectors

type BySelectors = datastore.BySelectors //nolint: golint

type BySelectors_MatchBehavior

type BySelectors_MatchBehavior = datastore.BySelectors_MatchBehavior //nolint: golint

type CountAttestedNodesRequest added in v0.12.0

type CountAttestedNodesRequest = datastore.CountAttestedNodesRequest //nolint: golint

type CountAttestedNodesResponse added in v0.12.0

type CountAttestedNodesResponse = datastore.CountAttestedNodesResponse //nolint: golint

type CountBundlesRequest added in v0.12.0

type CountBundlesRequest = datastore.CountBundlesRequest //nolint: golint

type CountBundlesResponse added in v0.12.0

type CountBundlesResponse = datastore.CountBundlesResponse //nolint: golint

type CountRegistrationEntriesRequest added in v0.12.0

type CountRegistrationEntriesRequest = datastore.CountRegistrationEntriesRequest //nolint: golint

type CountRegistrationEntriesResponse added in v0.12.0

type CountRegistrationEntriesResponse = datastore.CountRegistrationEntriesResponse //nolint: golint

type CreateAttestedNodeRequest

type CreateAttestedNodeRequest = datastore.CreateAttestedNodeRequest //nolint: golint

type CreateAttestedNodeResponse

type CreateAttestedNodeResponse = datastore.CreateAttestedNodeResponse //nolint: golint

type CreateBundleRequest

type CreateBundleRequest = datastore.CreateBundleRequest //nolint: golint

type CreateBundleResponse

type CreateBundleResponse = datastore.CreateBundleResponse //nolint: golint

type CreateJoinTokenRequest

type CreateJoinTokenRequest = datastore.CreateJoinTokenRequest //nolint: golint

type CreateJoinTokenResponse

type CreateJoinTokenResponse = datastore.CreateJoinTokenResponse //nolint: golint

type CreateRegistrationEntryRequest

type CreateRegistrationEntryRequest = datastore.CreateRegistrationEntryRequest //nolint: golint

type CreateRegistrationEntryResponse

type CreateRegistrationEntryResponse = datastore.CreateRegistrationEntryResponse //nolint: golint

type DataStore

type DataStore interface {
	AppendBundle(context.Context, *AppendBundleRequest) (*AppendBundleResponse, error)
	CountAttestedNodes(context.Context, *CountAttestedNodesRequest) (*CountAttestedNodesResponse, error)
	CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
	CountRegistrationEntries(context.Context, *CountRegistrationEntriesRequest) (*CountRegistrationEntriesResponse, error)
	CreateAttestedNode(context.Context, *CreateAttestedNodeRequest) (*CreateAttestedNodeResponse, error)
	CreateBundle(context.Context, *CreateBundleRequest) (*CreateBundleResponse, error)
	CreateJoinToken(context.Context, *CreateJoinTokenRequest) (*CreateJoinTokenResponse, error)
	CreateRegistrationEntry(context.Context, *CreateRegistrationEntryRequest) (*CreateRegistrationEntryResponse, error)
	DeleteAttestedNode(context.Context, *DeleteAttestedNodeRequest) (*DeleteAttestedNodeResponse, error)
	DeleteBundle(context.Context, *DeleteBundleRequest) (*DeleteBundleResponse, error)
	DeleteJoinToken(context.Context, *DeleteJoinTokenRequest) (*DeleteJoinTokenResponse, error)
	DeleteRegistrationEntry(context.Context, *DeleteRegistrationEntryRequest) (*DeleteRegistrationEntryResponse, error)
	FetchAttestedNode(context.Context, *FetchAttestedNodeRequest) (*FetchAttestedNodeResponse, error)
	FetchBundle(context.Context, *FetchBundleRequest) (*FetchBundleResponse, error)
	FetchJoinToken(context.Context, *FetchJoinTokenRequest) (*FetchJoinTokenResponse, error)
	FetchRegistrationEntry(context.Context, *FetchRegistrationEntryRequest) (*FetchRegistrationEntryResponse, error)
	GetNodeSelectors(context.Context, *GetNodeSelectorsRequest) (*GetNodeSelectorsResponse, error)
	ListAttestedNodes(context.Context, *ListAttestedNodesRequest) (*ListAttestedNodesResponse, error)
	ListBundles(context.Context, *ListBundlesRequest) (*ListBundlesResponse, error)
	ListNodeSelectors(context.Context, *ListNodeSelectorsRequest) (*ListNodeSelectorsResponse, error)
	ListRegistrationEntries(context.Context, *ListRegistrationEntriesRequest) (*ListRegistrationEntriesResponse, error)
	PruneBundle(context.Context, *PruneBundleRequest) (*PruneBundleResponse, error)
	PruneJoinTokens(context.Context, *PruneJoinTokensRequest) (*PruneJoinTokensResponse, error)
	PruneRegistrationEntries(context.Context, *PruneRegistrationEntriesRequest) (*PruneRegistrationEntriesResponse, error)
	SetBundle(context.Context, *SetBundleRequest) (*SetBundleResponse, error)
	SetNodeSelectors(context.Context, *SetNodeSelectorsRequest) (*SetNodeSelectorsResponse, error)
	UpdateAttestedNode(context.Context, *UpdateAttestedNodeRequest) (*UpdateAttestedNodeResponse, error)
	UpdateBundle(context.Context, *UpdateBundleRequest) (*UpdateBundleResponse, error)
	UpdateRegistrationEntry(context.Context, *UpdateRegistrationEntryRequest) (*UpdateRegistrationEntryResponse, error)
}

DataStore is the client interface for the service type DataStore interface.

func AdaptPluginClient

func AdaptPluginClient(client DataStoreClient) DataStore

type DataStoreClient

type DataStoreClient = datastore.DataStoreClient //nolint: golint

type DataStoreServer

type DataStoreServer = datastore.DataStoreServer //nolint: golint

type DeleteAttestedNodeRequest

type DeleteAttestedNodeRequest = datastore.DeleteAttestedNodeRequest //nolint: golint

type DeleteAttestedNodeResponse

type DeleteAttestedNodeResponse = datastore.DeleteAttestedNodeResponse //nolint: golint

type DeleteBundleRequest

type DeleteBundleRequest = datastore.DeleteBundleRequest //nolint: golint

type DeleteBundleRequest_Mode

type DeleteBundleRequest_Mode = datastore.DeleteBundleRequest_Mode //nolint: golint

type DeleteBundleResponse

type DeleteBundleResponse = datastore.DeleteBundleResponse //nolint: golint

type DeleteJoinTokenRequest

type DeleteJoinTokenRequest = datastore.DeleteJoinTokenRequest //nolint: golint

type DeleteJoinTokenResponse

type DeleteJoinTokenResponse = datastore.DeleteJoinTokenResponse //nolint: golint

type DeleteRegistrationEntryRequest

type DeleteRegistrationEntryRequest = datastore.DeleteRegistrationEntryRequest //nolint: golint

type DeleteRegistrationEntryResponse

type DeleteRegistrationEntryResponse = datastore.DeleteRegistrationEntryResponse //nolint: golint

type FetchAttestedNodeRequest

type FetchAttestedNodeRequest = datastore.FetchAttestedNodeRequest //nolint: golint

type FetchAttestedNodeResponse

type FetchAttestedNodeResponse = datastore.FetchAttestedNodeResponse //nolint: golint

type FetchBundleRequest

type FetchBundleRequest = datastore.FetchBundleRequest //nolint: golint

type FetchBundleResponse

type FetchBundleResponse = datastore.FetchBundleResponse //nolint: golint

type FetchJoinTokenRequest

type FetchJoinTokenRequest = datastore.FetchJoinTokenRequest //nolint: golint

type FetchJoinTokenResponse

type FetchJoinTokenResponse = datastore.FetchJoinTokenResponse //nolint: golint

type FetchRegistrationEntryRequest

type FetchRegistrationEntryRequest = datastore.FetchRegistrationEntryRequest //nolint: golint

type FetchRegistrationEntryResponse

type FetchRegistrationEntryResponse = datastore.FetchRegistrationEntryResponse //nolint: golint

type GetNodeSelectorsRequest

type GetNodeSelectorsRequest = datastore.GetNodeSelectorsRequest //nolint: golint

type GetNodeSelectorsResponse

type GetNodeSelectorsResponse = datastore.GetNodeSelectorsResponse //nolint: golint

type JoinToken

type JoinToken = datastore.JoinToken //nolint: golint

type ListAttestedNodesRequest

type ListAttestedNodesRequest = datastore.ListAttestedNodesRequest //nolint: golint

type ListAttestedNodesResponse

type ListAttestedNodesResponse = datastore.ListAttestedNodesResponse //nolint: golint

type ListBundlesRequest

type ListBundlesRequest = datastore.ListBundlesRequest //nolint: golint

type ListBundlesResponse

type ListBundlesResponse = datastore.ListBundlesResponse //nolint: golint

type ListNodeSelectorsRequest added in v0.12.0

type ListNodeSelectorsRequest = datastore.ListNodeSelectorsRequest //nolint: golint

type ListNodeSelectorsResponse added in v0.12.0

type ListNodeSelectorsResponse = datastore.ListNodeSelectorsResponse //nolint: golint

type ListRegistrationEntriesRequest

type ListRegistrationEntriesRequest = datastore.ListRegistrationEntriesRequest //nolint: golint

type ListRegistrationEntriesResponse

type ListRegistrationEntriesResponse = datastore.ListRegistrationEntriesResponse //nolint: golint

type NodeSelectors

type NodeSelectors = datastore.NodeSelectors //nolint: golint

type Pagination

type Pagination = datastore.Pagination //nolint: golint

type Plugin

type Plugin interface {
	AppendBundle(context.Context, *AppendBundleRequest) (*AppendBundleResponse, error)
	Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error)
	CountAttestedNodes(context.Context, *CountAttestedNodesRequest) (*CountAttestedNodesResponse, error)
	CountBundles(context.Context, *CountBundlesRequest) (*CountBundlesResponse, error)
	CountRegistrationEntries(context.Context, *CountRegistrationEntriesRequest) (*CountRegistrationEntriesResponse, error)
	CreateAttestedNode(context.Context, *CreateAttestedNodeRequest) (*CreateAttestedNodeResponse, error)
	CreateBundle(context.Context, *CreateBundleRequest) (*CreateBundleResponse, error)
	CreateJoinToken(context.Context, *CreateJoinTokenRequest) (*CreateJoinTokenResponse, error)
	CreateRegistrationEntry(context.Context, *CreateRegistrationEntryRequest) (*CreateRegistrationEntryResponse, error)
	DeleteAttestedNode(context.Context, *DeleteAttestedNodeRequest) (*DeleteAttestedNodeResponse, error)
	DeleteBundle(context.Context, *DeleteBundleRequest) (*DeleteBundleResponse, error)
	DeleteJoinToken(context.Context, *DeleteJoinTokenRequest) (*DeleteJoinTokenResponse, error)
	DeleteRegistrationEntry(context.Context, *DeleteRegistrationEntryRequest) (*DeleteRegistrationEntryResponse, error)
	FetchAttestedNode(context.Context, *FetchAttestedNodeRequest) (*FetchAttestedNodeResponse, error)
	FetchBundle(context.Context, *FetchBundleRequest) (*FetchBundleResponse, error)
	FetchJoinToken(context.Context, *FetchJoinTokenRequest) (*FetchJoinTokenResponse, error)
	FetchRegistrationEntry(context.Context, *FetchRegistrationEntryRequest) (*FetchRegistrationEntryResponse, error)
	GetNodeSelectors(context.Context, *GetNodeSelectorsRequest) (*GetNodeSelectorsResponse, error)
	GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error)
	ListAttestedNodes(context.Context, *ListAttestedNodesRequest) (*ListAttestedNodesResponse, error)
	ListBundles(context.Context, *ListBundlesRequest) (*ListBundlesResponse, error)
	ListNodeSelectors(context.Context, *ListNodeSelectorsRequest) (*ListNodeSelectorsResponse, error)
	ListRegistrationEntries(context.Context, *ListRegistrationEntriesRequest) (*ListRegistrationEntriesResponse, error)
	PruneBundle(context.Context, *PruneBundleRequest) (*PruneBundleResponse, error)
	PruneJoinTokens(context.Context, *PruneJoinTokensRequest) (*PruneJoinTokensResponse, error)
	PruneRegistrationEntries(context.Context, *PruneRegistrationEntriesRequest) (*PruneRegistrationEntriesResponse, error)
	SetBundle(context.Context, *SetBundleRequest) (*SetBundleResponse, error)
	SetNodeSelectors(context.Context, *SetNodeSelectorsRequest) (*SetNodeSelectorsResponse, error)
	UpdateAttestedNode(context.Context, *UpdateAttestedNodeRequest) (*UpdateAttestedNodeResponse, error)
	UpdateBundle(context.Context, *UpdateBundleRequest) (*UpdateBundleResponse, error)
	UpdateRegistrationEntry(context.Context, *UpdateRegistrationEntryRequest) (*UpdateRegistrationEntryResponse, error)
}

Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.

type PruneBundleRequest

type PruneBundleRequest = datastore.PruneBundleRequest //nolint: golint

type PruneBundleResponse

type PruneBundleResponse = datastore.PruneBundleResponse //nolint: golint

type PruneJoinTokensRequest

type PruneJoinTokensRequest = datastore.PruneJoinTokensRequest //nolint: golint

type PruneJoinTokensResponse

type PruneJoinTokensResponse = datastore.PruneJoinTokensResponse //nolint: golint

type PruneRegistrationEntriesRequest

type PruneRegistrationEntriesRequest = datastore.PruneRegistrationEntriesRequest //nolint: golint

type PruneRegistrationEntriesResponse

type PruneRegistrationEntriesResponse = datastore.PruneRegistrationEntriesResponse //nolint: golint

type SetBundleRequest

type SetBundleRequest = datastore.SetBundleRequest //nolint: golint

type SetBundleResponse

type SetBundleResponse = datastore.SetBundleResponse //nolint: golint

type SetNodeSelectorsRequest

type SetNodeSelectorsRequest = datastore.SetNodeSelectorsRequest //nolint: golint

type SetNodeSelectorsResponse

type SetNodeSelectorsResponse = datastore.SetNodeSelectorsResponse //nolint: golint

type UnimplementedDataStoreServer

type UnimplementedDataStoreServer = datastore.UnimplementedDataStoreServer //nolint: golint

type UnsafeDataStoreServer added in v0.12.0

type UnsafeDataStoreServer = datastore.UnsafeDataStoreServer //nolint: golint

type UpdateAttestedNodeRequest

type UpdateAttestedNodeRequest = datastore.UpdateAttestedNodeRequest //nolint: golint

type UpdateAttestedNodeResponse

type UpdateAttestedNodeResponse = datastore.UpdateAttestedNodeResponse //nolint: golint

type UpdateBundleRequest

type UpdateBundleRequest = datastore.UpdateBundleRequest //nolint: golint

type UpdateBundleResponse

type UpdateBundleResponse = datastore.UpdateBundleResponse //nolint: golint

type UpdateRegistrationEntryRequest

type UpdateRegistrationEntryRequest = datastore.UpdateRegistrationEntryRequest //nolint: golint

type UpdateRegistrationEntryResponse

type UpdateRegistrationEntryResponse = datastore.UpdateRegistrationEntryResponse //nolint: golint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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