Documentation ¶
Index ¶
- Variables
- type DependencyDirection
- func (DependencyDirection) Descriptor() protoreflect.EnumDescriptor
- func (x DependencyDirection) Enum() *DependencyDirection
- func (DependencyDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x DependencyDirection) Number() protoreflect.EnumNumber
- func (x DependencyDirection) String() string
- func (DependencyDirection) Type() protoreflect.EnumType
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAnnotations() map[string]string
- func (x *Module) GetDependencies() []*ModuleDependency
- func (x *Module) GetName() string
- func (x *Module) GetNamespace() string
- func (x *Module) GetType() string
- func (x *Module) GetVersion() *ModuleVersion
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- func (x *Module) Validate() error
- type ModuleDependency
- func (*ModuleDependency) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleDependency) GetDirection() DependencyDirection
- func (x *ModuleDependency) GetName() string
- func (x *ModuleDependency) GetNamespace() string
- func (x *ModuleDependency) GetType() string
- func (x *ModuleDependency) GetVersion() string
- func (*ModuleDependency) ProtoMessage()
- func (x *ModuleDependency) ProtoReflect() protoreflect.Message
- func (x *ModuleDependency) Reset()
- func (x *ModuleDependency) String() string
- func (x *ModuleDependency) Validate() error
- type ModuleVersion
- func (*ModuleVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleVersion) GetName() string
- func (x *ModuleVersion) GetReplaces() []string
- func (x *ModuleVersion) GetSchema() string
- func (*ModuleVersion) ProtoMessage()
- func (x *ModuleVersion) ProtoReflect() protoreflect.Message
- func (x *ModuleVersion) Reset()
- func (x *ModuleVersion) String() string
- func (x *ModuleVersion) Validate() error
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.
View Source
var File_spec_proto protoreflect.FileDescriptor
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) Descriptor() protoreflect.EnumDescriptor
func (DependencyDirection) Enum ¶
func (x DependencyDirection) Enum() *DependencyDirection
func (DependencyDirection) EnumDescriptor
deprecated
func (DependencyDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use DependencyDirection.Descriptor instead.
func (DependencyDirection) Number ¶
func (x DependencyDirection) Number() protoreflect.EnumNumber
func (DependencyDirection) String ¶
func (x DependencyDirection) String() string
func (DependencyDirection) Type ¶
func (DependencyDirection) Type() protoreflect.EnumType
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) GetAnnotations ¶
func (*Module) GetDependencies ¶
func (x *Module) GetDependencies() []*ModuleDependency
func (*Module) GetNamespace ¶
func (*Module) GetVersion ¶
func (x *Module) GetVersion() *ModuleVersion
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
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.
Click to show internal directories.
Click to hide internal directories.