Documentation
¶
Overview ¶
Package s4wave_apt implements apt repository block types and world operations.
Index ¶
- Constants
- Variables
- func NewAptPackageBlock() block.Block
- func NewAptRepositoryBlock() block.Block
- type AptPackage
- func (m *AptPackage) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AptPackage) CloneVT() *AptPackage
- func (this *AptPackage) EqualMessageVT(thatMsg any) bool
- func (this *AptPackage) EqualVT(that *AptPackage) bool
- func (x *AptPackage) GetArchitecture() string
- func (p *AptPackage) GetBlockTypeId() string
- func (x *AptPackage) GetChecksums() []*AptPackageChecksum
- func (x *AptPackage) GetConflicts() []string
- func (x *AptPackage) GetDebRef() *block.BlockRef
- func (x *AptPackage) GetDepends() []string
- func (x *AptPackage) GetDescription() string
- func (x *AptPackage) GetName() string
- func (x *AptPackage) GetProvides() []string
- func (x *AptPackage) GetSize() uint64
- func (x *AptPackage) GetState() AptPackageState
- func (x *AptPackage) GetVersion() string
- func (p *AptPackage) MarshalBlock() ([]byte, error)
- func (x *AptPackage) MarshalJSON() ([]byte, error)
- func (x *AptPackage) MarshalProtoJSON(s *json.MarshalState)
- func (x *AptPackage) MarshalProtoText() string
- func (m *AptPackage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AptPackage) MarshalToVT(dAtA []byte) (int, error)
- func (m *AptPackage) MarshalVT() (dAtA []byte, err error)
- func (*AptPackage) ProtoMessage()
- func (x *AptPackage) Reset()
- func (m *AptPackage) SizeVT() (n int)
- func (x *AptPackage) String() string
- func (p *AptPackage) UnmarshalBlock(data []byte) error
- func (x *AptPackage) UnmarshalJSON(b []byte) error
- func (x *AptPackage) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AptPackage) UnmarshalVT(dAtA []byte) error
- func (p *AptPackage) Validate() error
- type AptPackageChecksum
- func (m *AptPackageChecksum) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AptPackageChecksum) CloneVT() *AptPackageChecksum
- func (this *AptPackageChecksum) EqualMessageVT(thatMsg any) bool
- func (this *AptPackageChecksum) EqualVT(that *AptPackageChecksum) bool
- func (x *AptPackageChecksum) GetAlgorithm() string
- func (x *AptPackageChecksum) GetHex() string
- func (x *AptPackageChecksum) MarshalJSON() ([]byte, error)
- func (x *AptPackageChecksum) MarshalProtoJSON(s *json.MarshalState)
- func (x *AptPackageChecksum) MarshalProtoText() string
- func (m *AptPackageChecksum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AptPackageChecksum) MarshalToVT(dAtA []byte) (int, error)
- func (m *AptPackageChecksum) MarshalVT() (dAtA []byte, err error)
- func (*AptPackageChecksum) ProtoMessage()
- func (x *AptPackageChecksum) Reset()
- func (m *AptPackageChecksum) SizeVT() (n int)
- func (x *AptPackageChecksum) String() string
- func (x *AptPackageChecksum) UnmarshalJSON(b []byte) error
- func (x *AptPackageChecksum) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AptPackageChecksum) UnmarshalVT(dAtA []byte) error
- type AptPackageState
- func (x AptPackageState) Enum() *AptPackageState
- func (x AptPackageState) MarshalJSON() ([]byte, error)
- func (x AptPackageState) MarshalProtoJSON(s *json.MarshalState)
- func (x AptPackageState) MarshalProtoText() string
- func (x AptPackageState) MarshalText() ([]byte, error)
- func (x AptPackageState) String() string
- func (x *AptPackageState) UnmarshalJSON(b []byte) error
- func (x *AptPackageState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *AptPackageState) UnmarshalText(b []byte) error
- type AptRepository
- func (m *AptRepository) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *AptRepository) CloneVT() *AptRepository
- func (this *AptRepository) EqualMessageVT(thatMsg any) bool
- func (this *AptRepository) EqualVT(that *AptRepository) bool
- func (x *AptRepository) GetArchitectures() []string
- func (r *AptRepository) GetBlockTypeId() string
- func (x *AptRepository) GetComponents() []string
- func (x *AptRepository) GetDistribution() string
- func (x *AptRepository) GetIndexRef() *bucket.ObjectRef
- func (x *AptRepository) GetSigningKeyRef() *block.BlockRef
- func (x *AptRepository) GetState() AptRepositoryState
- func (r *AptRepository) MarshalBlock() ([]byte, error)
- func (x *AptRepository) MarshalJSON() ([]byte, error)
- func (x *AptRepository) MarshalProtoJSON(s *json.MarshalState)
- func (x *AptRepository) MarshalProtoText() string
- func (m *AptRepository) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AptRepository) MarshalToVT(dAtA []byte) (int, error)
- func (m *AptRepository) MarshalVT() (dAtA []byte, err error)
- func (*AptRepository) ProtoMessage()
- func (x *AptRepository) Reset()
- func (m *AptRepository) SizeVT() (n int)
- func (x *AptRepository) String() string
- func (r *AptRepository) UnmarshalBlock(data []byte) error
- func (x *AptRepository) UnmarshalJSON(b []byte) error
- func (x *AptRepository) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *AptRepository) UnmarshalVT(dAtA []byte) error
- func (r *AptRepository) Validate() error
- type AptRepositoryState
- func (x AptRepositoryState) Enum() *AptRepositoryState
- func (x AptRepositoryState) MarshalJSON() ([]byte, error)
- func (x AptRepositoryState) MarshalProtoJSON(s *json.MarshalState)
- func (x AptRepositoryState) MarshalProtoText() string
- func (x AptRepositoryState) MarshalText() ([]byte, error)
- func (x AptRepositoryState) String() string
- func (x *AptRepositoryState) UnmarshalJSON(b []byte) error
- func (x *AptRepositoryState) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *AptRepositoryState) UnmarshalText(b []byte) error
Constants ¶
const AptPackageTypeID = "spacewave-vm/apt/package"
AptPackageTypeID is the type identifier for AptPackage objects.
const AptRepositoryTypeID = "spacewave-vm/apt/repository"
AptRepositoryTypeID is the type identifier for AptRepository objects.
Variables ¶
var ( AptRepositoryState_name = map[int32]string{ 0: "AptRepositoryState_EMPTY", 1: "AptRepositoryState_INDEXING", 2: "AptRepositoryState_READY", 3: "AptRepositoryState_ERROR", } AptRepositoryState_value = map[string]int32{ "AptRepositoryState_EMPTY": 0, "AptRepositoryState_INDEXING": 1, "AptRepositoryState_READY": 2, "AptRepositoryState_ERROR": 3, } )
Enum value maps for AptRepositoryState.
var ( AptPackageState_name = map[int32]string{ 0: "AptPackageState_IMPORTING", 1: "AptPackageState_BUILT", 2: "AptPackageState_PUBLISHED", 3: "AptPackageState_SUPERSEDED", } AptPackageState_value = map[string]int32{ "AptPackageState_IMPORTING": 0, "AptPackageState_BUILT": 1, "AptPackageState_PUBLISHED": 2, "AptPackageState_SUPERSEDED": 3, } )
Enum value maps for AptPackageState.
var PredAptPackageBuildSpec = quad.IRI("spacewave-vm/apt/package-buildspec")
PredAptPackageBuildSpec links an AptPackage to the AptBuildSpec that produced it.
var PredAptRepoBuildSpec = quad.IRI("spacewave-vm/apt/repo-buildspec")
PredAptRepoBuildSpec links an AptRepository to an AptBuildSpec.
var PredAptRepoPackage = quad.IRI("spacewave-vm/apt/repo-package")
PredAptRepoPackage links an AptRepository to an AptPackage.
Functions ¶
func NewAptPackageBlock ¶
NewAptPackageBlock constructs a new AptPackage block.
func NewAptRepositoryBlock ¶
NewAptRepositoryBlock constructs a new AptRepository block.
Types ¶
type AptPackage ¶
type AptPackage struct {
// State is the package publication lifecycle state.
State AptPackageState `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
// Name is the binary package name, e.g. "busybox".
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Version is the Debian package version.
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// Architecture is the Debian architecture, e.g. "i386".
Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"`
// Depends is the parsed Depends control field.
Depends []string `protobuf:"bytes,5,rep,name=depends,proto3" json:"depends,omitempty"`
// Provides is the parsed Provides control field.
Provides []string `protobuf:"bytes,6,rep,name=provides,proto3" json:"provides,omitempty"`
// Conflicts is the parsed Conflicts control field.
Conflicts []string `protobuf:"bytes,7,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
// Description is the package description from the control file.
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
// Size is the .deb payload size in bytes.
Size uint64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
// Checksums are the recorded .deb payload digests.
Checksums []*AptPackageChecksum `protobuf:"bytes,10,rep,name=checksums,proto3" json:"checksums,omitempty"`
// DebRef points at the stored .deb payload block.
DebRef *block.BlockRef `protobuf:"bytes,11,opt,name=deb_ref,json=debRef,proto3" json:"debRef,omitempty"`
// contains filtered or unexported fields
}
AptPackage stores apt package metadata and the .deb payload reference.
func (*AptPackage) CloneMessageVT ¶
func (m *AptPackage) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AptPackage) CloneVT ¶
func (m *AptPackage) CloneVT() *AptPackage
func (*AptPackage) EqualMessageVT ¶
func (this *AptPackage) EqualMessageVT(thatMsg any) bool
func (*AptPackage) EqualVT ¶
func (this *AptPackage) EqualVT(that *AptPackage) bool
func (*AptPackage) GetArchitecture ¶
func (x *AptPackage) GetArchitecture() string
func (*AptPackage) GetBlockTypeId ¶
func (p *AptPackage) GetBlockTypeId() string
GetBlockTypeId returns the block type identifier.
func (*AptPackage) GetChecksums ¶
func (x *AptPackage) GetChecksums() []*AptPackageChecksum
func (*AptPackage) GetConflicts ¶
func (x *AptPackage) GetConflicts() []string
func (*AptPackage) GetDebRef ¶
func (x *AptPackage) GetDebRef() *block.BlockRef
func (*AptPackage) GetDepends ¶
func (x *AptPackage) GetDepends() []string
func (*AptPackage) GetDescription ¶
func (x *AptPackage) GetDescription() string
func (*AptPackage) GetName ¶
func (x *AptPackage) GetName() string
func (*AptPackage) GetProvides ¶
func (x *AptPackage) GetProvides() []string
func (*AptPackage) GetSize ¶
func (x *AptPackage) GetSize() uint64
func (*AptPackage) GetState ¶
func (x *AptPackage) GetState() AptPackageState
func (*AptPackage) GetVersion ¶
func (x *AptPackage) GetVersion() string
func (*AptPackage) MarshalBlock ¶
func (p *AptPackage) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*AptPackage) MarshalJSON ¶
func (x *AptPackage) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AptPackage to JSON.
func (*AptPackage) MarshalProtoJSON ¶
func (x *AptPackage) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AptPackage message to JSON.
func (*AptPackage) MarshalProtoText ¶
func (x *AptPackage) MarshalProtoText() string
func (*AptPackage) MarshalToSizedBufferVT ¶
func (m *AptPackage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AptPackage) MarshalToVT ¶
func (m *AptPackage) MarshalToVT(dAtA []byte) (int, error)
func (*AptPackage) MarshalVT ¶
func (m *AptPackage) MarshalVT() (dAtA []byte, err error)
func (*AptPackage) ProtoMessage ¶
func (*AptPackage) ProtoMessage()
func (*AptPackage) Reset ¶
func (x *AptPackage) Reset()
func (*AptPackage) SizeVT ¶
func (m *AptPackage) SizeVT() (n int)
func (*AptPackage) String ¶
func (x *AptPackage) String() string
func (*AptPackage) UnmarshalBlock ¶
func (p *AptPackage) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block from binary.
func (*AptPackage) UnmarshalJSON ¶
func (x *AptPackage) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AptPackage from JSON.
func (*AptPackage) UnmarshalProtoJSON ¶
func (x *AptPackage) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AptPackage message from JSON.
func (*AptPackage) UnmarshalVT ¶
func (m *AptPackage) UnmarshalVT(dAtA []byte) error
func (*AptPackage) Validate ¶
func (p *AptPackage) Validate() error
Validate performs cursory checks on the AptPackage.
type AptPackageChecksum ¶
type AptPackageChecksum struct {
// Algorithm is the checksum algorithm name, e.g. "sha256".
Algorithm string `protobuf:"bytes,1,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
// Hex is the lowercase hex digest.
Hex string `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
// contains filtered or unexported fields
}
AptPackageChecksum records a digest for the .deb payload.
func (*AptPackageChecksum) CloneMessageVT ¶
func (m *AptPackageChecksum) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AptPackageChecksum) CloneVT ¶
func (m *AptPackageChecksum) CloneVT() *AptPackageChecksum
func (*AptPackageChecksum) EqualMessageVT ¶
func (this *AptPackageChecksum) EqualMessageVT(thatMsg any) bool
func (*AptPackageChecksum) EqualVT ¶
func (this *AptPackageChecksum) EqualVT(that *AptPackageChecksum) bool
func (*AptPackageChecksum) GetAlgorithm ¶
func (x *AptPackageChecksum) GetAlgorithm() string
func (*AptPackageChecksum) GetHex ¶
func (x *AptPackageChecksum) GetHex() string
func (*AptPackageChecksum) MarshalJSON ¶
func (x *AptPackageChecksum) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AptPackageChecksum to JSON.
func (*AptPackageChecksum) MarshalProtoJSON ¶
func (x *AptPackageChecksum) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AptPackageChecksum message to JSON.
func (*AptPackageChecksum) MarshalProtoText ¶
func (x *AptPackageChecksum) MarshalProtoText() string
func (*AptPackageChecksum) MarshalToSizedBufferVT ¶
func (m *AptPackageChecksum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AptPackageChecksum) MarshalToVT ¶
func (m *AptPackageChecksum) MarshalToVT(dAtA []byte) (int, error)
func (*AptPackageChecksum) MarshalVT ¶
func (m *AptPackageChecksum) MarshalVT() (dAtA []byte, err error)
func (*AptPackageChecksum) ProtoMessage ¶
func (*AptPackageChecksum) ProtoMessage()
func (*AptPackageChecksum) Reset ¶
func (x *AptPackageChecksum) Reset()
func (*AptPackageChecksum) SizeVT ¶
func (m *AptPackageChecksum) SizeVT() (n int)
func (*AptPackageChecksum) String ¶
func (x *AptPackageChecksum) String() string
func (*AptPackageChecksum) UnmarshalJSON ¶
func (x *AptPackageChecksum) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AptPackageChecksum from JSON.
func (*AptPackageChecksum) UnmarshalProtoJSON ¶
func (x *AptPackageChecksum) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AptPackageChecksum message from JSON.
func (*AptPackageChecksum) UnmarshalVT ¶
func (m *AptPackageChecksum) UnmarshalVT(dAtA []byte) error
type AptPackageState ¶
type AptPackageState int32
AptPackageState is the publication lifecycle state of an AptPackage.
const ( // AptPackageState_IMPORTING means the package is being ingested. AptPackageState_AptPackageState_IMPORTING AptPackageState = 0 // AptPackageState_BUILT means the package artifact exists but is not indexed. AptPackageState_AptPackageState_BUILT AptPackageState = 1 // AptPackageState_PUBLISHED means the package is included in the current index. AptPackageState_AptPackageState_PUBLISHED AptPackageState = 2 // AptPackageState_SUPERSEDED means a newer package replaced this package. AptPackageState_AptPackageState_SUPERSEDED AptPackageState = 3 )
func (AptPackageState) Enum ¶
func (x AptPackageState) Enum() *AptPackageState
func (AptPackageState) MarshalJSON ¶
func (x AptPackageState) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AptPackageState to JSON.
func (AptPackageState) MarshalProtoJSON ¶
func (x AptPackageState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AptPackageState to JSON.
func (AptPackageState) MarshalProtoText ¶
func (x AptPackageState) MarshalProtoText() string
func (AptPackageState) MarshalText ¶
func (x AptPackageState) MarshalText() ([]byte, error)
MarshalText marshals the AptPackageState to text.
func (AptPackageState) String ¶
func (x AptPackageState) String() string
func (*AptPackageState) UnmarshalJSON ¶
func (x *AptPackageState) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AptPackageState from JSON.
func (*AptPackageState) UnmarshalProtoJSON ¶
func (x *AptPackageState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AptPackageState from JSON.
func (*AptPackageState) UnmarshalText ¶
func (x *AptPackageState) UnmarshalText(b []byte) error
UnmarshalText unmarshals the AptPackageState from text.
type AptRepository ¶
type AptRepository struct {
// State is the current repository index lifecycle state.
State AptRepositoryState `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
// Distribution is the apt distribution name, e.g. "stable".
Distribution string `protobuf:"bytes,2,opt,name=distribution,proto3" json:"distribution,omitempty"`
// Components is the apt component list, e.g. ["main"].
Components []string `protobuf:"bytes,3,rep,name=components,proto3" json:"components,omitempty"`
// Architectures is the architecture list served by this repository.
Architectures []string `protobuf:"bytes,4,rep,name=architectures,proto3" json:"architectures,omitempty"`
// SigningKeyRef points at the standalone Ed25519 GPG signing key block.
SigningKeyRef *block.BlockRef `protobuf:"bytes,5,opt,name=signing_key_ref,json=signingKeyRef,proto3" json:"signingKeyRef,omitempty"`
// IndexRef points at the materialized dists/ UnixFS tree.
IndexRef *bucket.ObjectRef `protobuf:"bytes,6,opt,name=index_ref,json=indexRef,proto3" json:"indexRef,omitempty"`
// contains filtered or unexported fields
}
AptRepository stores apt repository metadata and index roots.
func (*AptRepository) CloneMessageVT ¶
func (m *AptRepository) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*AptRepository) CloneVT ¶
func (m *AptRepository) CloneVT() *AptRepository
func (*AptRepository) EqualMessageVT ¶
func (this *AptRepository) EqualMessageVT(thatMsg any) bool
func (*AptRepository) EqualVT ¶
func (this *AptRepository) EqualVT(that *AptRepository) bool
func (*AptRepository) GetArchitectures ¶
func (x *AptRepository) GetArchitectures() []string
func (*AptRepository) GetBlockTypeId ¶
func (r *AptRepository) GetBlockTypeId() string
GetBlockTypeId returns the block type identifier.
func (*AptRepository) GetComponents ¶
func (x *AptRepository) GetComponents() []string
func (*AptRepository) GetDistribution ¶
func (x *AptRepository) GetDistribution() string
func (*AptRepository) GetIndexRef ¶
func (x *AptRepository) GetIndexRef() *bucket.ObjectRef
func (*AptRepository) GetSigningKeyRef ¶
func (x *AptRepository) GetSigningKeyRef() *block.BlockRef
func (*AptRepository) GetState ¶
func (x *AptRepository) GetState() AptRepositoryState
func (*AptRepository) MarshalBlock ¶
func (r *AptRepository) MarshalBlock() ([]byte, error)
MarshalBlock marshals the block to binary.
func (*AptRepository) MarshalJSON ¶
func (x *AptRepository) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AptRepository to JSON.
func (*AptRepository) MarshalProtoJSON ¶
func (x *AptRepository) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AptRepository message to JSON.
func (*AptRepository) MarshalProtoText ¶
func (x *AptRepository) MarshalProtoText() string
func (*AptRepository) MarshalToSizedBufferVT ¶
func (m *AptRepository) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AptRepository) MarshalToVT ¶
func (m *AptRepository) MarshalToVT(dAtA []byte) (int, error)
func (*AptRepository) MarshalVT ¶
func (m *AptRepository) MarshalVT() (dAtA []byte, err error)
func (*AptRepository) ProtoMessage ¶
func (*AptRepository) ProtoMessage()
func (*AptRepository) Reset ¶
func (x *AptRepository) Reset()
func (*AptRepository) SizeVT ¶
func (m *AptRepository) SizeVT() (n int)
func (*AptRepository) String ¶
func (x *AptRepository) String() string
func (*AptRepository) UnmarshalBlock ¶
func (r *AptRepository) UnmarshalBlock(data []byte) error
UnmarshalBlock unmarshals the block from binary.
func (*AptRepository) UnmarshalJSON ¶
func (x *AptRepository) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AptRepository from JSON.
func (*AptRepository) UnmarshalProtoJSON ¶
func (x *AptRepository) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AptRepository message from JSON.
func (*AptRepository) UnmarshalVT ¶
func (m *AptRepository) UnmarshalVT(dAtA []byte) error
func (*AptRepository) Validate ¶
func (r *AptRepository) Validate() error
Validate performs cursory checks on the AptRepository.
type AptRepositoryState ¶
type AptRepositoryState int32
AptRepositoryState is the index lifecycle state of an AptRepository.
const ( // AptRepositoryState_EMPTY means the repository has no generated index. AptRepositoryState_AptRepositoryState_EMPTY AptRepositoryState = 0 // AptRepositoryState_INDEXING means index regeneration is in progress. AptRepositoryState_AptRepositoryState_INDEXING AptRepositoryState = 1 // AptRepositoryState_READY means the repository index is generated and usable. AptRepositoryState_AptRepositoryState_READY AptRepositoryState = 2 // AptRepositoryState_ERROR means the last index regeneration failed. AptRepositoryState_AptRepositoryState_ERROR AptRepositoryState = 3 )
func (AptRepositoryState) Enum ¶
func (x AptRepositoryState) Enum() *AptRepositoryState
func (AptRepositoryState) MarshalJSON ¶
func (x AptRepositoryState) MarshalJSON() ([]byte, error)
MarshalJSON marshals the AptRepositoryState to JSON.
func (AptRepositoryState) MarshalProtoJSON ¶
func (x AptRepositoryState) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the AptRepositoryState to JSON.
func (AptRepositoryState) MarshalProtoText ¶
func (x AptRepositoryState) MarshalProtoText() string
func (AptRepositoryState) MarshalText ¶
func (x AptRepositoryState) MarshalText() ([]byte, error)
MarshalText marshals the AptRepositoryState to text.
func (AptRepositoryState) String ¶
func (x AptRepositoryState) String() string
func (*AptRepositoryState) UnmarshalJSON ¶
func (x *AptRepositoryState) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the AptRepositoryState from JSON.
func (*AptRepositoryState) UnmarshalProtoJSON ¶
func (x *AptRepositoryState) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the AptRepositoryState from JSON.
func (*AptRepositoryState) UnmarshalText ¶
func (x *AptRepositoryState) UnmarshalText(b []byte) error
UnmarshalText unmarshals the AptRepositoryState from text.