cmdeventsephreg

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AAFsoReadRegistry = fsoauthz.AAFsoReadRegistry
View Source
const AAFsoReadRepo = fsoauthz.AAFsoReadRepo
View Source
const AAFsoReadRoot = fsoauthz.AAFsoReadRoot

Variables

View Source
var (
	Du            = CmdDetails{/* contains filtered or unexported fields */}
	PingRegistry  = CmdDetails{}
	SplitRoot     = CmdDetails{/* contains filtered or unexported fields */}
	FreezeRepo    = CmdDetails{/* contains filtered or unexported fields */}
	UnfreezeRepo  = CmdDetails{/* contains filtered or unexported fields */}
	ArchiveRepo   = CmdDetails{/* contains filtered or unexported fields */}
	UnarchiveRepo = CmdDetails{/* contains filtered or unexported fields */}
)

Functions

func Cmd

func Cmd(lg Logger, args map[string]interface{}, details CmdDetails)

Types

type AclPolicy

type AclPolicy struct {
	Policy    string `json:"policy"`
	*RootInfo `json:"rootInfo,omitempty"`
}

type CmdDetails

type CmdDetails struct {
	// contains filtered or unexported fields
}

type Event

type Event struct {
	Event  string `json:"event"`
	Id     string `json:"id"`
	Parent string `json:"parent"`
	Etime  string `json:"etime"`

	*AclPolicy       `json:"aclPolicy,omitempty"`
	*PathDecision    `json:"pathDecision,omitempty"`
	*PathSuggestion  `json:"pathSuggestion,omitempty"`
	*PathUsage       `json:"pathUsage,omitempty"`
	*RootInfo        `json:"rootInfo,omitempty"`
	*SplitRootParams `json:"splitRootParams,omitempty"`
	*Status
	AuthorEmail      string `json:"authorEmail,omitempty"`
	AuthorName       string `json:"authorName,omitempty"`
	RegistryId       string `json:"registryId,omitempty"`
	RegistryName     string `json:"registryName,omitempty"`
	RepoArchiveURL   string `json:"repoArchiveUrl,omitempty"`
	RepoGlobalPath   string `json:"repoGlobalPath,omitempty"`
	RepoId           string `json:"repoId,omitempty"`
	StartRegistryVid string `json:"startRegistryVid,omitempty"`
	StartRepoVid     string `json:"startRepoVid,omitempty"`
	TarPath          string `json:"tarPath,omitempty"`
	WorkingDir       string `json:"workingDir,omitempty"`

	Note string `json:"note,omitempty"`
}

type Logger

type Logger interface {
	Errorw(msg string, kv ...interface{})
	Fatalw(msg string, kv ...interface{})
}

type PathDecision

type PathDecision struct {
	Path     string `json:"path"`
	Decision string `json:"decision"`
}

type PathSuggestion

type PathSuggestion struct {
	Path       string `json:"path"`
	Suggestion string `json:"suggestion"`
}

type PathUsage

type PathUsage struct {
	Path  string `json:"path"`
	Usage int64  `json:"usage"`
}

type RootInfo

type RootInfo struct {
	GlobalRoot string `json:"globalRoot"`
	Host       string `json:"host"`
	HostRoot   string `json:"hostRoot"`
}

type SplitRootParams

type SplitRootParams struct {
	MaxDepth     int32 `json:"maxDepth"`
	MinDiskUsage int64 `json:"minDiskUsage"`
	MaxDiskUsage int64 `json:"maxDiskUsage"`
}

type Status

type Status struct {
	StatusCode    int32  `json:"statusCode"`
	StatusMessage string `json:"statusMessage"`
}

Jump to

Keyboard shortcuts

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