Documentation
¶
Index ¶
- type AddBlock
- func (a AddBlock) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AddBlock) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddBlock)
- func (newState *AddBlock) SyncEffectiveFieldsDuringRead(existingState AddBlock)
- func (o AddBlock) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AddBlock) Type(ctx context.Context) attr.Type
- type AddBlockResponse
- func (a AddBlockResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *AddBlockResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddBlockResponse)
- func (newState *AddBlockResponse) SyncEffectiveFieldsDuringRead(existingState AddBlockResponse)
- func (o AddBlockResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o AddBlockResponse) Type(ctx context.Context) attr.Type
- type Close
- func (a Close) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Close) SyncEffectiveFieldsDuringCreateOrUpdate(plan Close)
- func (newState *Close) SyncEffectiveFieldsDuringRead(existingState Close)
- func (o Close) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Close) Type(ctx context.Context) attr.Type
- type CloseResponse
- func (a CloseResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CloseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloseResponse)
- func (newState *CloseResponse) SyncEffectiveFieldsDuringRead(existingState CloseResponse)
- func (o CloseResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CloseResponse) Type(ctx context.Context) attr.Type
- type Create
- func (a Create) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Create) SyncEffectiveFieldsDuringCreateOrUpdate(plan Create)
- func (newState *Create) SyncEffectiveFieldsDuringRead(existingState Create)
- func (o Create) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Create) Type(ctx context.Context) attr.Type
- type CreateDirectoryRequest
- func (a CreateDirectoryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryRequest)
- func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryRequest)
- func (o CreateDirectoryRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateDirectoryRequest) Type(ctx context.Context) attr.Type
- type CreateDirectoryResponse
- func (a CreateDirectoryResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryResponse)
- func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryResponse)
- func (o CreateDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateDirectoryResponse) Type(ctx context.Context) attr.Type
- type CreateResponse
- func (a CreateResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse)
- func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse)
- func (o CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o CreateResponse) Type(ctx context.Context) attr.Type
- type Delete
- func (a Delete) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Delete) SyncEffectiveFieldsDuringCreateOrUpdate(plan Delete)
- func (newState *Delete) SyncEffectiveFieldsDuringRead(existingState Delete)
- func (o Delete) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Delete) Type(ctx context.Context) attr.Type
- type DeleteDirectoryRequest
- func (a DeleteDirectoryRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryRequest)
- func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryRequest)
- func (o DeleteDirectoryRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteDirectoryRequest) Type(ctx context.Context) attr.Type
- type DeleteDirectoryResponse
- func (a DeleteDirectoryResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryResponse)
- func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryResponse)
- func (o DeleteDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteDirectoryResponse) Type(ctx context.Context) attr.Type
- type DeleteFileRequest
- func (a DeleteFileRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest)
- func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest)
- func (o DeleteFileRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteFileRequest) Type(ctx context.Context) attr.Type
- type DeleteResponse
- func (a DeleteResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
- func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
- func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DeleteResponse) Type(ctx context.Context) attr.Type
- type DirectoryEntry
- func (a DirectoryEntry) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DirectoryEntry) SyncEffectiveFieldsDuringCreateOrUpdate(plan DirectoryEntry)
- func (newState *DirectoryEntry) SyncEffectiveFieldsDuringRead(existingState DirectoryEntry)
- func (o DirectoryEntry) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DirectoryEntry) Type(ctx context.Context) attr.Type
- type DownloadRequest
- func (a DownloadRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DownloadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest)
- func (newState *DownloadRequest) SyncEffectiveFieldsDuringRead(existingState DownloadRequest)
- func (o DownloadRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DownloadRequest) Type(ctx context.Context) attr.Type
- type DownloadResponse
- func (a DownloadResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *DownloadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse)
- func (newState *DownloadResponse) SyncEffectiveFieldsDuringRead(existingState DownloadResponse)
- func (o DownloadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o DownloadResponse) Type(ctx context.Context) attr.Type
- type FileInfo
- func (a FileInfo) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate(plan FileInfo)
- func (newState *FileInfo) SyncEffectiveFieldsDuringRead(existingState FileInfo)
- func (o FileInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o FileInfo) Type(ctx context.Context) attr.Type
- type GetDirectoryMetadataRequest
- func (a GetDirectoryMetadataRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataRequest)
- func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataRequest)
- func (o GetDirectoryMetadataRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetDirectoryMetadataRequest) Type(ctx context.Context) attr.Type
- type GetDirectoryMetadataResponse
- func (a GetDirectoryMetadataResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataResponse)
- func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataResponse)
- func (o GetDirectoryMetadataResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetDirectoryMetadataResponse) Type(ctx context.Context) attr.Type
- type GetMetadataRequest
- func (a GetMetadataRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataRequest)
- func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetMetadataRequest)
- func (o GetMetadataRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetMetadataRequest) Type(ctx context.Context) attr.Type
- type GetMetadataResponse
- func (a GetMetadataResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataResponse)
- func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetMetadataResponse)
- func (o GetMetadataResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetMetadataResponse) Type(ctx context.Context) attr.Type
- type GetStatusRequest
- func (a GetStatusRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest)
- func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest)
- func (o GetStatusRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o GetStatusRequest) Type(ctx context.Context) attr.Type
- type ListDbfsRequest
- func (a ListDbfsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDbfsRequest)
- func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ListDbfsRequest)
- func (o ListDbfsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListDbfsRequest) Type(ctx context.Context) attr.Type
- type ListDirectoryContentsRequest
- func (a ListDirectoryContentsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryContentsRequest)
- func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringRead(existingState ListDirectoryContentsRequest)
- func (o ListDirectoryContentsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListDirectoryContentsRequest) Type(ctx context.Context) attr.Type
- type ListDirectoryResponse
- func (a ListDirectoryResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListDirectoryResponse) GetContents(ctx context.Context) ([]DirectoryEntry, bool)
- func (o *ListDirectoryResponse) SetContents(ctx context.Context, v []DirectoryEntry)
- func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryResponse)
- func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState ListDirectoryResponse)
- func (o ListDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListDirectoryResponse) Type(ctx context.Context) attr.Type
- type ListStatusResponse
- func (a ListStatusResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (o *ListStatusResponse) GetFiles(ctx context.Context) ([]FileInfo, bool)
- func (o *ListStatusResponse) SetFiles(ctx context.Context, v []FileInfo)
- func (newState *ListStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListStatusResponse)
- func (newState *ListStatusResponse) SyncEffectiveFieldsDuringRead(existingState ListStatusResponse)
- func (o ListStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ListStatusResponse) Type(ctx context.Context) attr.Type
- type MkDirs
- func (a MkDirs) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MkDirs) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkDirs)
- func (newState *MkDirs) SyncEffectiveFieldsDuringRead(existingState MkDirs)
- func (o MkDirs) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MkDirs) Type(ctx context.Context) attr.Type
- type MkDirsResponse
- func (a MkDirsResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MkDirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkDirsResponse)
- func (newState *MkDirsResponse) SyncEffectiveFieldsDuringRead(existingState MkDirsResponse)
- func (o MkDirsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MkDirsResponse) Type(ctx context.Context) attr.Type
- type Move
- func (a Move) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Move) SyncEffectiveFieldsDuringCreateOrUpdate(plan Move)
- func (newState *Move) SyncEffectiveFieldsDuringRead(existingState Move)
- func (o Move) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Move) Type(ctx context.Context) attr.Type
- type MoveResponse
- func (a MoveResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *MoveResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MoveResponse)
- func (newState *MoveResponse) SyncEffectiveFieldsDuringRead(existingState MoveResponse)
- func (o MoveResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o MoveResponse) Type(ctx context.Context) attr.Type
- type Put
- func (a Put) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *Put) SyncEffectiveFieldsDuringCreateOrUpdate(plan Put)
- func (newState *Put) SyncEffectiveFieldsDuringRead(existingState Put)
- func (o Put) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o Put) Type(ctx context.Context) attr.Type
- type PutResponse
- func (a PutResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse)
- func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse)
- func (o PutResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o PutResponse) Type(ctx context.Context) attr.Type
- type ReadDbfsRequest
- func (a ReadDbfsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadDbfsRequest)
- func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ReadDbfsRequest)
- func (o ReadDbfsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ReadDbfsRequest) Type(ctx context.Context) attr.Type
- type ReadResponse
- func (a ReadResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *ReadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadResponse)
- func (newState *ReadResponse) SyncEffectiveFieldsDuringRead(existingState ReadResponse)
- func (o ReadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o ReadResponse) Type(ctx context.Context) attr.Type
- type UploadRequest
- func (a UploadRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UploadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadRequest)
- func (newState *UploadRequest) SyncEffectiveFieldsDuringRead(existingState UploadRequest)
- func (o UploadRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UploadRequest) Type(ctx context.Context) attr.Type
- type UploadResponse
- func (a UploadResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
- func (newState *UploadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadResponse)
- func (newState *UploadResponse) SyncEffectiveFieldsDuringRead(existingState UploadResponse)
- func (o UploadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
- func (o UploadResponse) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddBlock ¶
type AddBlock struct { // The base64-encoded data to append to the stream. This has a limit of 1 // MB. Data types.String `tfsdk:"data" tf:""` // The handle on an open stream. Handle types.Int64 `tfsdk:"handle" tf:""` }
func (AddBlock) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlock. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AddBlock) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*AddBlock) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (AddBlock) ToObjectValue ¶ added in v1.61.0
func (o AddBlock) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddBlock only implements ToObjectValue() and Type().
type AddBlockResponse ¶
type AddBlockResponse struct { }
func (AddBlockResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in AddBlockResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*AddBlockResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *AddBlockResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan AddBlockResponse)
func (*AddBlockResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *AddBlockResponse) SyncEffectiveFieldsDuringRead(existingState AddBlockResponse)
func (AddBlockResponse) ToObjectValue ¶ added in v1.61.0
func (o AddBlockResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, AddBlockResponse only implements ToObjectValue() and Type().
type Close ¶
func (Close) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Close. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Close) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Close) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Close) ToObjectValue ¶ added in v1.61.0
func (o Close) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Close only implements ToObjectValue() and Type().
type CloseResponse ¶
type CloseResponse struct { }
func (CloseResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CloseResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CloseResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CloseResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CloseResponse)
func (*CloseResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CloseResponse) SyncEffectiveFieldsDuringRead(existingState CloseResponse)
func (CloseResponse) ToObjectValue ¶ added in v1.61.0
func (o CloseResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CloseResponse only implements ToObjectValue() and Type().
type Create ¶
type Create struct { // The flag that specifies whether to overwrite existing file/files. Overwrite types.Bool `tfsdk:"overwrite" tf:"optional"` // The path of the new file. The path should be the absolute DBFS path. Path types.String `tfsdk:"path" tf:""` }
func (Create) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Create. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Create) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Create) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Create) ToObjectValue ¶ added in v1.61.0
func (o Create) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Create only implements ToObjectValue() and Type().
type CreateDirectoryRequest ¶
type CreateDirectoryRequest struct { // The absolute path of a directory. DirectoryPath types.String `tfsdk:"-"` }
Create a directory
func (CreateDirectoryRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryRequest)
func (*CreateDirectoryRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryRequest)
func (CreateDirectoryRequest) ToObjectValue ¶ added in v1.61.0
func (o CreateDirectoryRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateDirectoryRequest only implements ToObjectValue() and Type().
type CreateDirectoryResponse ¶
type CreateDirectoryResponse struct { }
func (CreateDirectoryResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateDirectoryResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateDirectoryResponse)
func (*CreateDirectoryResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState CreateDirectoryResponse)
func (CreateDirectoryResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateDirectoryResponse only implements ToObjectValue() and Type().
type CreateResponse ¶
type CreateResponse struct { // Handle which should subsequently be passed into the AddBlock and Close // calls when writing to a file through a stream. Handle types.Int64 `tfsdk:"handle" tf:"optional"` }
func (CreateResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in CreateResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *CreateResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan CreateResponse)
func (*CreateResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *CreateResponse) SyncEffectiveFieldsDuringRead(existingState CreateResponse)
func (CreateResponse) ToObjectValue ¶ added in v1.61.0
func (o CreateResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, CreateResponse only implements ToObjectValue() and Type().
type Delete ¶
type Delete struct { // The path of the file or directory to delete. The path should be the // absolute DBFS path. Path types.String `tfsdk:"path" tf:""` // Whether or not to recursively delete the directory's contents. Deleting // empty directories can be done without providing the recursive flag. Recursive types.Bool `tfsdk:"recursive" tf:"optional"` }
func (Delete) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Delete. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Delete) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Delete) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Delete) ToObjectValue ¶ added in v1.61.0
func (o Delete) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Delete only implements ToObjectValue() and Type().
type DeleteDirectoryRequest ¶
type DeleteDirectoryRequest struct { // The absolute path of a directory. DirectoryPath types.String `tfsdk:"-"` }
Delete a directory
func (DeleteDirectoryRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryRequest)
func (*DeleteDirectoryRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteDirectoryRequest) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryRequest)
func (DeleteDirectoryRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteDirectoryRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteDirectoryRequest only implements ToObjectValue() and Type().
type DeleteDirectoryResponse ¶
type DeleteDirectoryResponse struct { }
func (DeleteDirectoryResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteDirectoryResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteDirectoryResponse)
func (*DeleteDirectoryResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState DeleteDirectoryResponse)
func (DeleteDirectoryResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteDirectoryResponse only implements ToObjectValue() and Type().
type DeleteFileRequest ¶
type DeleteFileRequest struct { // The absolute path of the file. FilePath types.String `tfsdk:"-"` }
Delete a file
func (DeleteFileRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteFileRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteFileRequest)
func (*DeleteFileRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteFileRequest) SyncEffectiveFieldsDuringRead(existingState DeleteFileRequest)
func (DeleteFileRequest) ToObjectValue ¶ added in v1.61.0
func (o DeleteFileRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteFileRequest only implements ToObjectValue() and Type().
type DeleteResponse ¶
type DeleteResponse struct { }
func (DeleteResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DeleteResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DeleteResponse)
func (*DeleteResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DeleteResponse) SyncEffectiveFieldsDuringRead(existingState DeleteResponse)
func (DeleteResponse) ToObjectValue ¶ added in v1.61.0
func (o DeleteResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DeleteResponse only implements ToObjectValue() and Type().
type DirectoryEntry ¶
type DirectoryEntry struct { // The length of the file in bytes. This field is omitted for directories. FileSize types.Int64 `tfsdk:"file_size" tf:"optional"` // True if the path is a directory. IsDirectory types.Bool `tfsdk:"is_directory" tf:"optional"` // Last modification time of given file in milliseconds since unix epoch. LastModified types.Int64 `tfsdk:"last_modified" tf:"optional"` // The name of the file or directory. This is the last component of the // path. Name types.String `tfsdk:"name" tf:"optional"` // The absolute path of the file or directory. Path types.String `tfsdk:"path" tf:"optional"` }
func (DirectoryEntry) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DirectoryEntry. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DirectoryEntry) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DirectoryEntry) SyncEffectiveFieldsDuringCreateOrUpdate(plan DirectoryEntry)
func (*DirectoryEntry) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DirectoryEntry) SyncEffectiveFieldsDuringRead(existingState DirectoryEntry)
func (DirectoryEntry) ToObjectValue ¶ added in v1.61.0
func (o DirectoryEntry) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DirectoryEntry only implements ToObjectValue() and Type().
type DownloadRequest ¶
Download a file
func (DownloadRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DownloadRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DownloadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadRequest)
func (*DownloadRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DownloadRequest) SyncEffectiveFieldsDuringRead(existingState DownloadRequest)
func (DownloadRequest) ToObjectValue ¶ added in v1.61.0
func (o DownloadRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DownloadRequest only implements ToObjectValue() and Type().
type DownloadResponse ¶
type DownloadResponse struct { ContentLength types.Int64 `tfsdk:"-"` ContentType types.String `tfsdk:"-"` Contents types.Object `tfsdk:"-"` LastModified types.String `tfsdk:"-"` }
func (DownloadResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in DownloadResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*DownloadResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *DownloadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan DownloadResponse)
func (*DownloadResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *DownloadResponse) SyncEffectiveFieldsDuringRead(existingState DownloadResponse)
func (DownloadResponse) ToObjectValue ¶ added in v1.61.0
func (o DownloadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, DownloadResponse only implements ToObjectValue() and Type().
type FileInfo ¶
type FileInfo struct { // The length of the file in bytes. This field is omitted for directories. FileSize types.Int64 `tfsdk:"file_size" tf:"optional"` // True if the path is a directory. IsDir types.Bool `tfsdk:"is_dir" tf:"optional"` // Last modification time of given file in milliseconds since epoch. ModificationTime types.Int64 `tfsdk:"modification_time" tf:"optional"` // The absolute path of the file or directory. Path types.String `tfsdk:"path" tf:"optional"` }
func (FileInfo) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in FileInfo. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*FileInfo) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*FileInfo) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (FileInfo) ToObjectValue ¶ added in v1.61.0
func (o FileInfo) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, FileInfo only implements ToObjectValue() and Type().
type GetDirectoryMetadataRequest ¶
type GetDirectoryMetadataRequest struct { // The absolute path of a directory. DirectoryPath types.String `tfsdk:"-"` }
Get directory metadata
func (GetDirectoryMetadataRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetDirectoryMetadataRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataRequest)
func (*GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetDirectoryMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataRequest)
func (GetDirectoryMetadataRequest) ToObjectValue ¶ added in v1.61.0
func (o GetDirectoryMetadataRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetDirectoryMetadataRequest only implements ToObjectValue() and Type().
type GetDirectoryMetadataResponse ¶
type GetDirectoryMetadataResponse struct { }
func (GetDirectoryMetadataResponse) GetComplexFieldTypes ¶ added in v1.61.0
func (a GetDirectoryMetadataResponse) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetDirectoryMetadataResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetDirectoryMetadataResponse)
func (*GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetDirectoryMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetDirectoryMetadataResponse)
func (GetDirectoryMetadataResponse) ToObjectValue ¶ added in v1.61.0
func (o GetDirectoryMetadataResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetDirectoryMetadataResponse only implements ToObjectValue() and Type().
type GetMetadataRequest ¶
type GetMetadataRequest struct { // The absolute path of the file. FilePath types.String `tfsdk:"-"` }
Get file metadata
func (GetMetadataRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataRequest)
func (*GetMetadataRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetMetadataRequest) SyncEffectiveFieldsDuringRead(existingState GetMetadataRequest)
func (GetMetadataRequest) ToObjectValue ¶ added in v1.61.0
func (o GetMetadataRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetMetadataRequest only implements ToObjectValue() and Type().
type GetMetadataResponse ¶
type GetMetadataResponse struct { ContentLength types.Int64 `tfsdk:"-"` ContentType types.String `tfsdk:"-"` LastModified types.String `tfsdk:"-"` }
func (GetMetadataResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetMetadataResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetMetadataResponse)
func (*GetMetadataResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetMetadataResponse) SyncEffectiveFieldsDuringRead(existingState GetMetadataResponse)
func (GetMetadataResponse) ToObjectValue ¶ added in v1.61.0
func (o GetMetadataResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetMetadataResponse only implements ToObjectValue() and Type().
type GetStatusRequest ¶
type GetStatusRequest struct { // The path of the file or directory. The path should be the absolute DBFS // path. Path types.String `tfsdk:"-"` }
Get the information of a file or directory
func (GetStatusRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in GetStatusRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *GetStatusRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan GetStatusRequest)
func (*GetStatusRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *GetStatusRequest) SyncEffectiveFieldsDuringRead(existingState GetStatusRequest)
func (GetStatusRequest) ToObjectValue ¶ added in v1.61.0
func (o GetStatusRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, GetStatusRequest only implements ToObjectValue() and Type().
type ListDbfsRequest ¶
type ListDbfsRequest struct { // The path of the file or directory. The path should be the absolute DBFS // path. Path types.String `tfsdk:"-"` }
List directory contents or file details
func (ListDbfsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDbfsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDbfsRequest)
func (*ListDbfsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ListDbfsRequest)
func (ListDbfsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListDbfsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListDbfsRequest only implements ToObjectValue() and Type().
type ListDirectoryContentsRequest ¶
type ListDirectoryContentsRequest struct { // The absolute path of a directory. DirectoryPath types.String `tfsdk:"-"` // The maximum number of directory entries to return. The response may // contain fewer entries. If the response contains a `next_page_token`, // there may be more entries, even if fewer than `page_size` entries are in // the response. // // We recommend not to set this value unless you are intentionally listing // less than the complete directory contents. // // If unspecified, at most 1000 directory entries will be returned. The // maximum value is 1000. Values above 1000 will be coerced to 1000. PageSize types.Int64 `tfsdk:"-"` // An opaque page token which was the `next_page_token` in the response of // the previous request to list the contents of this directory. Provide this // token to retrieve the next page of directory entries. When providing a // `page_token`, all other parameters provided to the request must match the // previous request. To list all of the entries in a directory, it is // necessary to continue requesting pages of entries until the response // contains no `next_page_token`. Note that the number of entries returned // must not be used to determine when the listing is complete. PageToken types.String `tfsdk:"-"` }
List directory contents
func (ListDirectoryContentsRequest) GetComplexFieldTypes ¶ added in v1.61.0
func (a ListDirectoryContentsRequest) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryContentsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListDirectoryContentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryContentsRequest)
func (*ListDirectoryContentsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListDirectoryContentsRequest) SyncEffectiveFieldsDuringRead(existingState ListDirectoryContentsRequest)
func (ListDirectoryContentsRequest) ToObjectValue ¶ added in v1.61.0
func (o ListDirectoryContentsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListDirectoryContentsRequest only implements ToObjectValue() and Type().
type ListDirectoryResponse ¶
type ListDirectoryResponse struct { // Array of DirectoryEntry. Contents types.List `tfsdk:"contents" tf:"optional"` // A token, which can be sent as `page_token` to retrieve the next page. NextPageToken types.String `tfsdk:"next_page_token" tf:"optional"` }
func (ListDirectoryResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListDirectoryResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListDirectoryResponse) GetContents ¶ added in v1.61.0
func (o *ListDirectoryResponse) GetContents(ctx context.Context) ([]DirectoryEntry, bool)
GetContents returns the value of the Contents field in ListDirectoryResponse as a slice of DirectoryEntry values. If the field is unknown or null, the boolean return value is false.
func (*ListDirectoryResponse) SetContents ¶ added in v1.61.0
func (o *ListDirectoryResponse) SetContents(ctx context.Context, v []DirectoryEntry)
SetContents sets the value of the Contents field in ListDirectoryResponse.
func (*ListDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListDirectoryResponse)
func (*ListDirectoryResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListDirectoryResponse) SyncEffectiveFieldsDuringRead(existingState ListDirectoryResponse)
func (ListDirectoryResponse) ToObjectValue ¶ added in v1.61.0
func (o ListDirectoryResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListDirectoryResponse only implements ToObjectValue() and Type().
type ListStatusResponse ¶
type ListStatusResponse struct { // A list of FileInfo's that describe contents of directory or file. See // example above. Files types.List `tfsdk:"files" tf:"optional"` }
func (ListStatusResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ListStatusResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ListStatusResponse) GetFiles ¶ added in v1.61.0
func (o *ListStatusResponse) GetFiles(ctx context.Context) ([]FileInfo, bool)
GetFiles returns the value of the Files field in ListStatusResponse as a slice of FileInfo values. If the field is unknown or null, the boolean return value is false.
func (*ListStatusResponse) SetFiles ¶ added in v1.61.0
func (o *ListStatusResponse) SetFiles(ctx context.Context, v []FileInfo)
SetFiles sets the value of the Files field in ListStatusResponse.
func (*ListStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ListStatusResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ListStatusResponse)
func (*ListStatusResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ListStatusResponse) SyncEffectiveFieldsDuringRead(existingState ListStatusResponse)
func (ListStatusResponse) ToObjectValue ¶ added in v1.61.0
func (o ListStatusResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ListStatusResponse only implements ToObjectValue() and Type().
type MkDirs ¶
type MkDirs struct { // The path of the new directory. The path should be the absolute DBFS path. Path types.String `tfsdk:"path" tf:""` }
func (MkDirs) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirs. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MkDirs) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*MkDirs) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (MkDirs) ToObjectValue ¶ added in v1.61.0
func (o MkDirs) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MkDirs only implements ToObjectValue() and Type().
type MkDirsResponse ¶
type MkDirsResponse struct { }
func (MkDirsResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MkDirsResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MkDirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MkDirsResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MkDirsResponse)
func (*MkDirsResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MkDirsResponse) SyncEffectiveFieldsDuringRead(existingState MkDirsResponse)
func (MkDirsResponse) ToObjectValue ¶ added in v1.61.0
func (o MkDirsResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MkDirsResponse only implements ToObjectValue() and Type().
type Move ¶
type Move struct { // The destination path of the file or directory. The path should be the // absolute DBFS path. DestinationPath types.String `tfsdk:"destination_path" tf:""` // The source path of the file or directory. The path should be the absolute // DBFS path. SourcePath types.String `tfsdk:"source_path" tf:""` }
func (Move) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Move. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Move) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Move) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Move) ToObjectValue ¶ added in v1.61.0
func (o Move) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Move only implements ToObjectValue() and Type().
type MoveResponse ¶
type MoveResponse struct { }
func (MoveResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in MoveResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*MoveResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *MoveResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan MoveResponse)
func (*MoveResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *MoveResponse) SyncEffectiveFieldsDuringRead(existingState MoveResponse)
func (MoveResponse) ToObjectValue ¶ added in v1.61.0
func (o MoveResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, MoveResponse only implements ToObjectValue() and Type().
type Put ¶
type Put struct { // This parameter might be absent, and instead a posted file will be used. Contents types.String `tfsdk:"contents" tf:"optional"` // The flag that specifies whether to overwrite existing file/files. Overwrite types.Bool `tfsdk:"overwrite" tf:"optional"` // The path of the new file. The path should be the absolute DBFS path. Path types.String `tfsdk:"path" tf:""` }
func (Put) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in Put. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*Put) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (*Put) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (Put) ToObjectValue ¶ added in v1.61.0
func (o Put) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, Put only implements ToObjectValue() and Type().
type PutResponse ¶
type PutResponse struct { }
func (PutResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in PutResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *PutResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan PutResponse)
func (*PutResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *PutResponse) SyncEffectiveFieldsDuringRead(existingState PutResponse)
func (PutResponse) ToObjectValue ¶ added in v1.61.0
func (o PutResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, PutResponse only implements ToObjectValue() and Type().
type ReadDbfsRequest ¶
type ReadDbfsRequest struct { // The number of bytes to read starting from the offset. This has a limit of // 1 MB, and a default value of 0.5 MB. Length types.Int64 `tfsdk:"-"` // The offset to read from in bytes. Offset types.Int64 `tfsdk:"-"` // The path of the file to read. The path should be the absolute DBFS path. Path types.String `tfsdk:"-"` }
Get the contents of a file
func (ReadDbfsRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadDbfsRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ReadDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadDbfsRequest)
func (*ReadDbfsRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ReadDbfsRequest) SyncEffectiveFieldsDuringRead(existingState ReadDbfsRequest)
func (ReadDbfsRequest) ToObjectValue ¶ added in v1.61.0
func (o ReadDbfsRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ReadDbfsRequest only implements ToObjectValue() and Type().
type ReadResponse ¶
type ReadResponse struct { // The number of bytes read (could be less than “length“ if we hit end of // file). This refers to number of bytes read in unencoded version (response // data is base64-encoded). BytesRead types.Int64 `tfsdk:"bytes_read" tf:"optional"` // The base64-encoded contents of the file read. Data types.String `tfsdk:"data" tf:"optional"` }
func (ReadResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in ReadResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*ReadResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *ReadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan ReadResponse)
func (*ReadResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *ReadResponse) SyncEffectiveFieldsDuringRead(existingState ReadResponse)
func (ReadResponse) ToObjectValue ¶ added in v1.61.0
func (o ReadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, ReadResponse only implements ToObjectValue() and Type().
type UploadRequest ¶
type UploadRequest struct { Contents types.Object `tfsdk:"-"` // The absolute path of the file. FilePath types.String `tfsdk:"-"` // If true, an existing file will be overwritten. Overwrite types.Bool `tfsdk:"-"` }
Upload a file
func (UploadRequest) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadRequest. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UploadRequest) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UploadRequest) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadRequest)
func (*UploadRequest) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UploadRequest) SyncEffectiveFieldsDuringRead(existingState UploadRequest)
func (UploadRequest) ToObjectValue ¶ added in v1.61.0
func (o UploadRequest) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UploadRequest only implements ToObjectValue() and Type().
type UploadResponse ¶
type UploadResponse struct { }
func (UploadResponse) GetComplexFieldTypes ¶ added in v1.61.0
GetComplexFieldTypes returns a map of the types of elements in complex fields in UploadResponse. Container types (types.Map, types.List, types.Set) and object types (types.Object) do not carry the type information of their elements in the Go type system. This function provides a way to retrieve the type information of the elements in complex fields at runtime. The values of the map are the reflected types of the contained elements. They must be either primitive values from the plugin framework type system (types.String{}, types.Bool{}, types.Int64{}, types.Float64{}) or TF SDK values.
func (*UploadResponse) SyncEffectiveFieldsDuringCreateOrUpdate ¶ added in v1.54.0
func (newState *UploadResponse) SyncEffectiveFieldsDuringCreateOrUpdate(plan UploadResponse)
func (*UploadResponse) SyncEffectiveFieldsDuringRead ¶ added in v1.54.0
func (newState *UploadResponse) SyncEffectiveFieldsDuringRead(existingState UploadResponse)
func (UploadResponse) ToObjectValue ¶ added in v1.61.0
func (o UploadResponse) ToObjectValue(ctx context.Context) basetypes.ObjectValue
TFSDK types cannot implement the ObjectValuable interface directly, as it would otherwise interfere with how the plugin framework retrieves and sets values in state. Thus, UploadResponse only implements ToObjectValue() and Type().