modulev1

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_buf_module_v1_module_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Module

type Module struct {

	// files are the files that make up the set.
	//
	// Sorted by path.
	// Path must be unique.
	// Only the target files. No imports.
	//
	// Maximum total size of all content: 32MB.
	Files []*ModuleFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// dependencies are the dependencies.
	Dependencies []*ModulePin `protobuf:"bytes,2,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

Module is a module.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetDependencies

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

func (*Module) GetFiles

func (x *Module) GetFiles() []*ModuleFile

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

type ModuleFile

type ModuleFile struct {

	// path is the relative path of the file.
	// Path can only use '/' as the separator character, and includes no ".." components.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// content is the content of the file.
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

ModuleFile is a file within a FileSet.

func (*ModuleFile) Descriptor deprecated

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

Deprecated: Use ModuleFile.ProtoReflect.Descriptor instead.

func (*ModuleFile) GetContent

func (x *ModuleFile) GetContent() []byte

func (*ModuleFile) GetPath

func (x *ModuleFile) GetPath() string

func (*ModuleFile) ProtoMessage

func (*ModuleFile) ProtoMessage()

func (*ModuleFile) ProtoReflect

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

func (*ModuleFile) Reset

func (x *ModuleFile) Reset()

func (*ModuleFile) String

func (x *ModuleFile) String() string

type ModulePin added in v0.34.0

type ModulePin struct {
	Remote     string               `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
	Owner      string               `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string               `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	Track      string               `protobuf:"bytes,4,opt,name=track,proto3" json:"track,omitempty"`
	Commit     string               `protobuf:"bytes,5,opt,name=commit,proto3" json:"commit,omitempty"`
	Digest     string               `protobuf:"bytes,6,opt,name=digest,proto3" json:"digest,omitempty"`
	CreateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

ModulePin is a module pin.

func (*ModulePin) Descriptor deprecated added in v0.34.0

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

Deprecated: Use ModulePin.ProtoReflect.Descriptor instead.

func (*ModulePin) GetCommit added in v0.34.0

func (x *ModulePin) GetCommit() string

func (*ModulePin) GetCreateTime added in v0.34.0

func (x *ModulePin) GetCreateTime() *timestamp.Timestamp

func (*ModulePin) GetDigest added in v0.34.0

func (x *ModulePin) GetDigest() string

func (*ModulePin) GetOwner added in v0.34.0

func (x *ModulePin) GetOwner() string

func (*ModulePin) GetRemote added in v0.34.0

func (x *ModulePin) GetRemote() string

func (*ModulePin) GetRepository added in v0.34.0

func (x *ModulePin) GetRepository() string

func (*ModulePin) GetTrack added in v0.34.0

func (x *ModulePin) GetTrack() string

func (*ModulePin) ProtoMessage added in v0.34.0

func (*ModulePin) ProtoMessage()

func (*ModulePin) ProtoReflect added in v0.34.0

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

func (*ModulePin) Reset added in v0.34.0

func (x *ModulePin) Reset()

func (*ModulePin) String added in v0.34.0

func (x *ModulePin) String() string

type ModuleReference added in v0.34.0

type ModuleReference struct {
	Remote     string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
	Owner      string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// Types that are assignable to Reference:
	//	*ModuleReference_Track
	//	*ModuleReference_Commit
	Reference isModuleReference_Reference `protobuf_oneof:"reference"`
	// contains filtered or unexported fields
}

ModuleReference is a module reference.

func (*ModuleReference) Descriptor deprecated added in v0.34.0

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

Deprecated: Use ModuleReference.ProtoReflect.Descriptor instead.

func (*ModuleReference) GetCommit added in v0.34.0

func (x *ModuleReference) GetCommit() string

func (*ModuleReference) GetOwner added in v0.34.0

func (x *ModuleReference) GetOwner() string

func (*ModuleReference) GetReference added in v0.34.0

func (m *ModuleReference) GetReference() isModuleReference_Reference

func (*ModuleReference) GetRemote added in v0.34.0

func (x *ModuleReference) GetRemote() string

func (*ModuleReference) GetRepository added in v0.34.0

func (x *ModuleReference) GetRepository() string

func (*ModuleReference) GetTrack added in v0.34.0

func (x *ModuleReference) GetTrack() string

func (*ModuleReference) ProtoMessage added in v0.34.0

func (*ModuleReference) ProtoMessage()

func (*ModuleReference) ProtoReflect added in v0.34.0

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

func (*ModuleReference) Reset added in v0.34.0

func (x *ModuleReference) Reset()

func (*ModuleReference) String added in v0.34.0

func (x *ModuleReference) String() string

type ModuleReference_Commit added in v0.34.0

type ModuleReference_Commit struct {
	Commit string `protobuf:"bytes,5,opt,name=commit,proto3,oneof"`
}

type ModuleReference_Track added in v0.34.0

type ModuleReference_Track struct {
	Track string `protobuf:"bytes,4,opt,name=track,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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