Documentation ¶
Index ¶
Constants ¶
View Source
const ( RemoteServeTypeUnspecified = RemoteServeType(iota) RemoteServeTypeSocketUnix RemoteServeTypePortHTTP RemoteServeTypeStdioLocal )
View Source
const ( RemoteTypeUnspecified = RemoteType(iota) RemoteTypeNativeDotenvXDG RemoteTypeSocketUnix RemoteTypePortHTTP RemoteTypeStdioLocal RemoteTypeStdioSSH )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalWorkingCopy ¶
type LocalWorkingCopy interface { WorkingCopy LocalRepo }
type RemoteServeType ¶
type RemoteServeType int
func (*RemoteServeType) Set ¶
func (t *RemoteServeType) Set(v string) (err error)
func (RemoteServeType) String ¶
func (i RemoteServeType) String() string
type RemoteTransferOptions ¶
type RemoteTransferOptions struct { PrintCopies bool IncludeObjects bool IncludeBlobs bool AllowMergeConflicts bool }
TODO add HTTP header options for these flags
func (*RemoteTransferOptions) SetFlagSet ¶
func (options *RemoteTransferOptions) SetFlagSet(f *flag.FlagSet)
func (RemoteTransferOptions) WithPrintCopies ¶
func (options RemoteTransferOptions) WithPrintCopies( value bool, ) RemoteTransferOptions
type RemoteType ¶
type RemoteType int
func GetAllRemoteTypes ¶
func GetAllRemoteTypes() []RemoteType
func (*RemoteType) Set ¶
func (t *RemoteType) Set(v string) (err error)
func (RemoteType) String ¶
func (i RemoteType) String() string
type Repo ¶
type Repo interface { GetEnv() env_ui.Env GetStoreVersion() interfaces.StoreVersion GetRepoType() repo_type.Type GetBlobStore() interfaces.BlobStore GetInventoryListStore() sku.InventoryListStore }
TODO explore permissions for who can read / write from the inventory list store
type UnixSocket ¶
type WorkingCopy ¶
type WorkingCopy interface { Repo MakeExternalQueryGroup( builderOptions query.BuilderOptions, externalQueryOptions sku.ExternalQueryOptions, args ...string, ) (qg *query.Group, err error) MakeInventoryList( qg *query.Group, ) (list *sku.List, err error) PullQueryGroupFromRemote( remote Repo, qg *query.Group, options RemoteTransferOptions, ) (err error) ReadObjectHistory( oid *ids.ObjectId, ) (skus []*sku.Transacted, err error) }
Click to show internal directories.
Click to hide internal directories.