v1

package
v0.0.0-...-6c70c3a Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DependencyDirection_name = map[int32]string{
		0: "UPSTREAM",
		1: "DOWNSTREAM",
	}
	DependencyDirection_value = map[string]int32{
		"UPSTREAM":   0,
		"DOWNSTREAM": 1,
	}
)

Enum value maps for DependencyDirection.

Functions

This section is empty.

Types

type DependencyDirection

type DependencyDirection int32

DependencyDirection describes a dependency direction.

const (
	// UPSTREAM describes a dependency to another module this module depends on.
	DependencyDirection_UPSTREAM DependencyDirection = 0
	// DOWNSTREAM describes a dependency to another module which depends on this module.
	DependencyDirection_DOWNSTREAM DependencyDirection = 1
)

func (DependencyDirection) Descriptor

func (DependencyDirection) Enum

func (DependencyDirection) EnumDescriptor deprecated

func (DependencyDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use DependencyDirection.Descriptor instead.

func (DependencyDirection) Number

func (DependencyDirection) String

func (x DependencyDirection) String() string

func (DependencyDirection) Type

type Module

type Module struct {

	// Namespace specifies the module namespace.
	// The namespace groups one or more modules with each other.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name specifies the module name.
	// The module name represents this module in a namespace.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Type specifies the module type.
	// The module type represents in th emost cases the underlying technology.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// ModuleVersion specifies the module version details.
	Version *ModuleVersion `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// Annotations contains arbitrary metadata.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Dependencies specifies zero, one or more dependencies to other modules.
	Dependencies []*ModuleDependency `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

Module represents an arbitrary artefact.

func (*Module) Descriptor deprecated

func (*Module) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetAnnotations

func (x *Module) GetAnnotations() map[string]string

func (*Module) GetDependencies

func (x *Module) GetDependencies() []*ModuleDependency

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetNamespace

func (x *Module) GetNamespace() string

func (*Module) GetType

func (x *Module) GetType() string

func (*Module) GetVersion

func (x *Module) GetVersion() *ModuleVersion

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

func (*Module) Validate

func (x *Module) Validate() error

Validate checks if the specification constraints are fulfilled.

type ModuleDependency

type ModuleDependency struct {

	// Namespace specifies the dependent module namespace.
	// The namespace groups one or more modules with each other.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Name specifies the dependent module name.
	// The module name represents this module in a namespace.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Type specifies the dependent module type.
	// The module type represents in th emost cases the underlying technology.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Version specifies the dependent module version.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// Direction specifies the dependency direction.
	// If omitted, the default is UPSTREAM.
	Direction *DependencyDirection `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Dependency represents a dependency to another module.

func (*ModuleDependency) Descriptor deprecated

func (*ModuleDependency) Descriptor() ([]byte, []int)

Deprecated: Use ModuleDependency.ProtoReflect.Descriptor instead.

func (*ModuleDependency) GetDirection

func (x *ModuleDependency) GetDirection() DependencyDirection

func (*ModuleDependency) GetName

func (x *ModuleDependency) GetName() string

func (*ModuleDependency) GetNamespace

func (x *ModuleDependency) GetNamespace() string

func (*ModuleDependency) GetType

func (x *ModuleDependency) GetType() string

func (*ModuleDependency) GetVersion

func (x *ModuleDependency) GetVersion() string

func (*ModuleDependency) ProtoMessage

func (*ModuleDependency) ProtoMessage()

func (*ModuleDependency) ProtoReflect

func (x *ModuleDependency) ProtoReflect() protoreflect.Message

func (*ModuleDependency) Reset

func (x *ModuleDependency) Reset()

func (*ModuleDependency) String

func (x *ModuleDependency) String() string

func (*ModuleDependency) Validate

func (x *ModuleDependency) Validate() error

Validate checks if the specification constraints are fulfilled.

type ModuleVersion

type ModuleVersion struct {

	// Name specifies the actual module version.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Schema describes the used version schema.
	Schema *string `protobuf:"bytes,2,opt,name=schema,proto3,oneof" json:"schema,omitempty"`
	// Replaces specifies an array of module versions replaced by this module version.
	Replaces []string `protobuf:"bytes,3,rep,name=replaces,proto3" json:"replaces,omitempty"`
	// contains filtered or unexported fields
}

ModuleVersion represents the module version details.

func (*ModuleVersion) Descriptor deprecated

func (*ModuleVersion) Descriptor() ([]byte, []int)

Deprecated: Use ModuleVersion.ProtoReflect.Descriptor instead.

func (*ModuleVersion) GetName

func (x *ModuleVersion) GetName() string

func (*ModuleVersion) GetReplaces

func (x *ModuleVersion) GetReplaces() []string

func (*ModuleVersion) GetSchema

func (x *ModuleVersion) GetSchema() string

func (*ModuleVersion) ProtoMessage

func (*ModuleVersion) ProtoMessage()

func (*ModuleVersion) ProtoReflect

func (x *ModuleVersion) ProtoReflect() protoreflect.Message

func (*ModuleVersion) Reset

func (x *ModuleVersion) Reset()

func (*ModuleVersion) String

func (x *ModuleVersion) String() string

func (*ModuleVersion) Validate

func (x *ModuleVersion) Validate() error

Validate checks if the specification constraints are fulfilled.

Jump to

Keyboard shortcuts

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