Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagNamespace = "namespace" FlagSubject = "subject" FlagSubjectID = "subject-id" FlagSubjectSet = "subject-set" FlagRelation = "relation" FlagObject = "object" FlagPageSize = "page-size" FlagPageToken = "page-token" )
View Source
const (
FlagForce = "force"
)
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
func NewDeleteAllCmd ¶
func NewDeleteCmd ¶
func NewParseCmd ¶
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
func MustNewProtoCollection ¶
func MustNewProtoCollection(rels []*rts.RelationTuple) *Collection
func NewAPICollection ¶
func NewAPICollection(rels []*ketoapi.RelationTuple) *Collection
func NewProtoCollection ¶
func NewProtoCollection(rels []*rts.RelationTuple) (*Collection, error)
func (*Collection) Header ¶
func (r *Collection) Header() []string
func (*Collection) IDs ¶
func (r *Collection) IDs() []string
func (*Collection) Interface ¶
func (r *Collection) Interface() interface{}
func (*Collection) Len ¶
func (r *Collection) Len() int
func (*Collection) MarshalJSON ¶
func (r *Collection) MarshalJSON() ([]byte, error)
func (*Collection) Table ¶
func (r *Collection) Table() [][]string
func (*Collection) UnmarshalJSON ¶
func (r *Collection) UnmarshalJSON(raw []byte) error
type OutputTuple ¶
type OutputTuple struct {
*ketoapi.RelationTuple
}
func (*OutputTuple) Columns ¶
func (r *OutputTuple) Columns() []string
func (*OutputTuple) Header ¶
func (r *OutputTuple) Header() []string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.