Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultArtifactGroup = "default"
View Source
const REGISTRY_CNCF_PATH = "/apis/cncf/v0"
View Source
const REGISTRY_COMPAT_PATH = "/apis/ccompat/v6"
View Source
const REGISTRY_CORE_PATH = "/apis/registry/v2"
Variables ¶
This section is empty.
Functions ¶
func GetInstanceAPIError ¶
func GetInstanceAPIError(err error) (e registryinstanceclient.Error, ok bool)
GetInstanceAPIError gets a strongly typed error from an error
func TransformInstanceError ¶
TransformInstanceError code contains message that can be returned to the user
func ValidateName ¶
func ValidateName(val interface{}) error
ValidateName validates the proposed name of a Kafka instance
Types ¶
type CompatibilityEndpoints ¶ added in v0.41.1
type CompatibilityEndpoints struct { CoreRegistry string `json:"coreRegistryAPI"` SchemaRegistry string `json:"schemaRegistryCompatAPI"` CncfSchemaRegistry string `json:"cncfSchemaRegistryAPI"` }
CompatibilityEndpoints - Service Registry API paths for various clients
func GetCompatibilityEndpoints ¶ added in v0.41.0
func GetCompatibilityEndpoints(url string) *CompatibilityEndpoints
GetCompatibilityEndpoints returns the compatible API endpoints
type FlagSet ¶ added in v0.39.0
func NewFlagSet ¶ added in v0.39.0
NewFlagSet returns a new flag set with common Service Registry flags
func (*FlagSet) AddRegistryInstance ¶ added in v0.39.0
AddRegistryInstance adds a flag for setting the Service Registry instance ID
Click to show internal directories.
Click to hide internal directories.