crossrefs

package
v0.0.0-...-8832f83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

_       _

*__ _____ __ ___ ___ __ _| |_ ___ *\ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ * \ V V / __/ (_| |\ V /| | (_| | || __/ * \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| * * Copyright © 2016 - 2019 Weaviate. All rights reserved. * LICENSE: https://github.com/creativesoftwarefdn/weaviate/blob/develop/LICENSE.md * DESIGN & CONCEPT: Bob van Luijt (@bobvanluijt) * CONTACT: hello@creativesoftwarefdn.org

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidClassName

func ValidClassName(name string) bool

ValidClassName verifies if the specified class is a valid crossReference name. This does not mean the class currently exists on the specified instance or that the instance exist, but simply that the name is valid. Receiving a false could also still mean the class is not network-ref, but simply a local-ref.

Types

type NetworkClass

type NetworkClass struct {
	PeerName  string
	ClassName string
}

NetworkClass references one class in a remote peer Can be used against the network to verify both peer and class actually exist.

func ParseClass

func ParseClass(name string) (NetworkClass, error)

ParseClass into a NetworkClass

func (NetworkClass) String

func (n NetworkClass) String() string

type NetworkKind

type NetworkKind struct {
	Kind     kind.Kind
	PeerName string
	ID       strfmt.UUID
}

NetworkKind is one particular kind (i.e. thing or action) of a peer identified by its UUID

Jump to

Keyboard shortcuts

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