Documentation
¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
- Constants
- Variables
- func Execute(opts ...ExecuteOptFunc)
- func HandleSuccess(command *cobra.Command, id string, t table.Model, policyObject interface{})
- func InitProfile(cmd *cobra.Command, onlyNew bool) *profiles.ProfileStore
- func MountRoot(newRoot *cobra.Command, cmd *cobra.Command) error
- func NewHandler(cmd *cobra.Command) handlers.Handler
- type ExecuteConfig
- type ExecuteOptFunc
Constants ¶
View Source
const ( TDF3 = "tdf3" NANO = "nano" )
Variables ¶
View Source
var ( OtdfctlCfg config.Config RootCmd = &man.Docs.GetDoc("<root>").Command )
Functions ¶
func Execute ¶
func Execute(opts ...ExecuteOptFunc)
func HandleSuccess ¶
HandleSuccess prints a success message according to the configured format (styled table or JSON)
func InitProfile ¶ added in v0.10.0
func InitProfile(cmd *cobra.Command, onlyNew bool) *profiles.ProfileStore
Types ¶
type ExecuteConfig ¶
type ExecuteConfig struct {
// contains filtered or unexported fields
}
type ExecuteOptFunc ¶
type ExecuteOptFunc func(c ExecuteConfig) ExecuteConfig
func WithMountTo ¶
func WithMountTo(cmd *cobra.Command, renameCmd *cobra.Command) ExecuteOptFunc
Source Files
¶
- auth-clearCachedCredentials.go
- auth-clientCredentials.go
- auth-login.go
- auth-logout.go
- auth-printAccessToken.go
- auth.go
- config.go
- dev-selectors.go
- dev.go
- execute.go
- interactive.go
- kas-grants.go
- kas-registry.go
- policy-attributeNamespaces.go
- policy-attributeValues.go
- policy-attributes.go
- policy-resourceMappings.go
- policy-subjectConditionSets.go
- policy-subject_mappings.go
- policy.go
- profile.go
- root.go
- tdf-decrypt.go
- tdf-encrypt.go
- tdf-inspect.go
Click to show internal directories.
Click to hide internal directories.