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 ¶
- func CreateSmbShare(ctx context.Context, r CreateV12SmbShareRequest, client api.Client) (*openapi.Createv12SmbShareResponse, error)
- func DeleteSmbShare(ctx context.Context, r DeleteV12SmbShareRequest, client api.Client) error
- func GetSmbShare(ctx context.Context, params GetV12SmbShareParams, client api.Client) (*openapi.V12SmbSharesExtended, error)
- func ListSmbShares(ctx context.Context, params ListV12SmbSharesParams, client api.Client) (*openapi.V12SmbShares, error)
- func UpdateSmbShare(ctx context.Context, r UpdateV12SmbShareRequest, client api.Client) error
- type CreateV12SmbShareRequest
- type DeleteV12SmbShareRequest
- type GetV12SmbShareParams
- type ListV12SmbSharesParams
- type UpdateV12SmbShareRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSmbShare ¶
func CreateSmbShare( ctx context.Context, r CreateV12SmbShareRequest, client api.Client, ) (*openapi.Createv12SmbShareResponse, error)
CreateSmbShare POST smb share.
func DeleteSmbShare ¶
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 ¶
UpdateSmbShare UPDATE smb share.
Types ¶
type CreateV12SmbShareRequest ¶
type CreateV12SmbShareRequest struct {}
CreateV12SmbShareRequest contains request body
type DeleteV12SmbShareRequest ¶
type DeleteV12SmbShareRequest struct {}
DeleteV12SmbShareRequest contains request params
type GetV12SmbShareParams ¶
type GetV12SmbShareParams struct {}
GetV12SmbShareParams contains smb share params
type ListV12SmbSharesParams ¶
type ListV12SmbSharesParams struct {}
ListV12SmbSharesParams contains smb shares params
type UpdateV12SmbShareRequest ¶
type UpdateV12SmbShareRequest struct {}
UpdateV12SmbShareRequest contains request body