shared

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionStatusType

type ConnectionStatusType string
const (
	ConnectionStatusTypePending             ConnectionStatusType = "pending"
	ConnectionStatusTypeProcessing          ConnectionStatusType = "processing"
	ConnectionStatusTypeConnected           ConnectionStatusType = "connected"
	ConnectionStatusTypeErrorNoAccountSetup ConnectionStatusType = "error_no_account_setup"
	ConnectionStatusTypeErrorPermissions    ConnectionStatusType = "error_permissions"
	ConnectionStatusTypeReauth              ConnectionStatusType = "reauth"
)

func (ConnectionStatusType) IsKnown

func (r ConnectionStatusType) IsKnown() bool

type OperationSupport

type OperationSupport string
  • `supported`: This operation is supported by both the provider and Finch
  • `not_supported_by_finch`: This operation is not supported by Finch but supported by the provider
  • `not_supported_by_provider`: This operation is not supported by the provider, so Finch cannot support
  • `client_access_only`: This behavior is supported by the provider, but only available to the client and not to Finch
const (
	OperationSupportSupported              OperationSupport = "supported"
	OperationSupportNotSupportedByFinch    OperationSupport = "not_supported_by_finch"
	OperationSupportNotSupportedByProvider OperationSupport = "not_supported_by_provider"
	OperationSupportClientAccessOnly       OperationSupport = "client_access_only"
)

func (OperationSupport) IsKnown

func (r OperationSupport) IsKnown() bool

type OperationSupportMatrix

type OperationSupportMatrix struct {
	//   - `supported`: This operation is supported by both the provider and Finch
	//   - `not_supported_by_finch`: This operation is not supported by Finch but
	//     supported by the provider
	//   - `not_supported_by_provider`: This operation is not supported by the provider,
	//     so Finch cannot support
	//   - `client_access_only`: This behavior is supported by the provider, but only
	//     available to the client and not to Finch
	Create OperationSupport `json:"create"`
	//   - `supported`: This operation is supported by both the provider and Finch
	//   - `not_supported_by_finch`: This operation is not supported by Finch but
	//     supported by the provider
	//   - `not_supported_by_provider`: This operation is not supported by the provider,
	//     so Finch cannot support
	//   - `client_access_only`: This behavior is supported by the provider, but only
	//     available to the client and not to Finch
	Delete OperationSupport `json:"delete"`
	//   - `supported`: This operation is supported by both the provider and Finch
	//   - `not_supported_by_finch`: This operation is not supported by Finch but
	//     supported by the provider
	//   - `not_supported_by_provider`: This operation is not supported by the provider,
	//     so Finch cannot support
	//   - `client_access_only`: This behavior is supported by the provider, but only
	//     available to the client and not to Finch
	Read OperationSupport `json:"read"`
	//   - `supported`: This operation is supported by both the provider and Finch
	//   - `not_supported_by_finch`: This operation is not supported by Finch but
	//     supported by the provider
	//   - `not_supported_by_provider`: This operation is not supported by the provider,
	//     so Finch cannot support
	//   - `client_access_only`: This behavior is supported by the provider, but only
	//     available to the client and not to Finch
	Update OperationSupport           `json:"update"`
	JSON   operationSupportMatrixJSON `json:"-"`
}

func (*OperationSupportMatrix) UnmarshalJSON

func (r *OperationSupportMatrix) UnmarshalJSON(data []byte) (err error)

type Paging

type Paging struct {
	// The total number of elements for the entire query (not just the given page)
	Count int64 `json:"count"`
	// The current start index of the returned list of elements
	Offset int64      `json:"offset"`
	JSON   pagingJSON `json:"-"`
}

func (*Paging) UnmarshalJSON

func (r *Paging) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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