schema

package
v0.0.0-...-4add913 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package schema is cli sub command for communcating with permify schema api

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() v1.SchemaClient

func New

func New() *cobra.Command

New - Creates new data command

Types

type ReadCmd

type ReadCmd struct {
	Command string
}

ReadCmd - implements schema read api

func (*ReadCmd) Cmd

func (rc *ReadCmd) Cmd() *cobra.Command

Cmd - read command

func (*ReadCmd) Run

func (rc *ReadCmd) Run(cmd *cobra.Command, args []string)

type WriteCmd

type WriteCmd struct {
	Command string
}

WriteCmd - implements schema read api

func (*WriteCmd) Cmd

func (wc *WriteCmd) Cmd() *cobra.Command

Cmd - read command

func (*WriteCmd) Run

func (wc *WriteCmd) Run(cmd *cobra.Command, args []string)

Jump to

Keyboard shortcuts

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