v2alpha1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "filesystem"

GroupName is the group name of this API.

Variables

View Source
var Version = apiversion.NewVersionOrPanic("v2alpha1")

Version is the api version.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient() (*Client, error)

NewClient returns a client to make calls to the filesystem API group version v2alpha1. It's the caller's responsibility to Close the client when done.

func NewClientWithPipePath

func NewClientWithPipePath(pipePath string) (*Client, error)

NewClientWithPipePath returns a client to make calls to the named pipe located at "pipePath". It's the caller's responsibility to Close the client when done.

func (*Client) Close

func (w *Client) Close() error

Close closes the client. It must be called before the client gets GC-ed.

func (w *Client) CreateSymlink(context context.Context, request *v2alpha1.CreateSymlinkRequest, opts ...grpc.CallOption) (*v2alpha1.CreateSymlinkResponse, error)
func (w *Client) IsSymlink(context context.Context, request *v2alpha1.IsSymlinkRequest, opts ...grpc.CallOption) (*v2alpha1.IsSymlinkResponse, error)

func (*Client) Mkdir

func (w *Client) Mkdir(context context.Context, request *v2alpha1.MkdirRequest, opts ...grpc.CallOption) (*v2alpha1.MkdirResponse, error)

func (*Client) PathExists

func (w *Client) PathExists(context context.Context, request *v2alpha1.PathExistsRequest, opts ...grpc.CallOption) (*v2alpha1.PathExistsResponse, error)

func (*Client) Rmdir

func (w *Client) Rmdir(context context.Context, request *v2alpha1.RmdirRequest, opts ...grpc.CallOption) (*v2alpha1.RmdirResponse, error)

func (*Client) RmdirContents

func (w *Client) RmdirContents(context context.Context, request *v2alpha1.RmdirContentsRequest, opts ...grpc.CallOption) (*v2alpha1.RmdirContentsResponse, error)

Jump to

Keyboard shortcuts

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