Documentation ¶
Overview ¶
Package datastore contains the GCP Datastore Backend.
Index ¶
- func NewClient(projectID string, opts ...option.ClientOption) (vanity.Backend, error)
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetImportPath() string
- func (m *Entry) GetVcs() string
- func (m *Entry) GetVcsRoot() string
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient creates a new Client for a given dataset. If the project ID is empty, it is derived from the DATASTORE_PROJECT_ID environment variable. If the DATASTORE_EMULATOR_HOST environment variable is set, client will use its value to connect to a locally-running datastore emulator. DetectProjectID can be passed as the projectID argument to instruct NewClient to detect the project ID from the credentials.
Types ¶
type Entry ¶
type Entry struct { ImportPath string `protobuf:"bytes,1,opt,name=importPath,proto3" json:"importPath,omitempty"` Vcs string `protobuf:"bytes,2,opt,name=vcs,proto3" json:"vcs,omitempty"` VcsRoot string `protobuf:"bytes,3,opt,name=vcsRoot,proto3" json:"vcsRoot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Entry) Descriptor ¶
func (*Entry) GetImportPath ¶
func (*Entry) GetVcsRoot ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.