v12

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Dell Inc, or its subsidiaries.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSmbShare

CreateSmbShare POST smb share.

func DeleteSmbShare

func DeleteSmbShare(
	ctx context.Context, r DeleteV12SmbShareRequest,
	client api.Client,
) error

DeleteSmbShare Delete one export.

func GetSmbShare

func GetSmbShare(
	ctx context.Context,
	params GetV12SmbShareParams,
	client api.Client,
) (*openapi.V12SmbSharesExtended, error)

GetSmbShare GET smb share.

func ListSmbShares

func ListSmbShares(
	ctx context.Context,
	params ListV12SmbSharesParams,
	client api.Client,
) (*openapi.V12SmbShares, error)

ListSmbShares GETs all smb shares.

func UpdateSmbShare

func UpdateSmbShare(
	ctx context.Context,
	r UpdateV12SmbShareRequest,
	client api.Client,
) error

UpdateSmbShare UPDATE smb share.

Types

type CreateV12SmbShareRequest

type CreateV12SmbShareRequest struct {
	V12SmbShare *openapi.V12SmbShare
	Zone        *string `json:"zone,omitempty"`
}

CreateV12SmbShareRequest contains request body

type DeleteV12SmbShareRequest

type DeleteV12SmbShareRequest struct {
	V12SmbShareId string
	Zone          *string `json:"zone,omitempty"`
}

DeleteV12SmbShareRequest contains request params

type GetV12SmbShareParams

type GetV12SmbShareParams struct {
	V12SmbShareId string
	Scope         *string `json:"scope,omitempty"`
	ResolveNames  *bool   `json:"resolve_names,omitempty"`
	Zone          *string `json:"zone,omitempty"`
}

GetV12SmbShareParams contains smb share params

type ListV12SmbSharesParams

type ListV12SmbSharesParams struct {
	Sort         *string `json:"sort,omitempty"`
	Zone         *string `json:"zone,omitempty"`
	Resume       *string `json:"resume,omitempty"`
	ResolveNames *bool   `json:"resolve_names,omitempty"`
	Limit        *int32  `json:"limit,omitempty"`
	Offset       *int32  `json:"offset,omitempty"`
	Scope        *string `json:"scope,omitempty"`
	Dir          *string `json:"dir,omitempty"`
}

ListV12SmbSharesParams contains smb shares params

type UpdateV12SmbShareRequest

type UpdateV12SmbShareRequest struct {
	V12SmbShareId string
	V12SmbShare   *openapi.V12SmbShareExtendedExtended
	Zone          *string `json:"zone,omitempty"`
}

UpdateV12SmbShareRequest contains request body

Jump to

Keyboard shortcuts

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