Documentation
¶
Index ¶
- type GcpConnectorGeneric
- func (gcp *GcpConnectorGeneric) Delete(ctx context.Context) error
- func (gcp *GcpConnectorGeneric) GetCurrentLockId(ctx context.Context) (uuid.UUID, error)
- func (gcp *GcpConnectorGeneric) GetLockPath(ctx context.Context) string
- func (gcp *GcpConnectorGeneric) Lock(ctx context.Context) (uuid.UUID, error)
- func (gcp *GcpConnectorGeneric) Read(ctx context.Context, data interface{}) error
- func (gcp *GcpConnectorGeneric) Unlock(ctx context.Context, lockId uuid.UUID) error
- func (gcp *GcpConnectorGeneric) WaitForlock(ctx context.Context, timeout time.Duration, existingLock ...uuid.UUID) (uuid.UUID, error)
- func (gcp *GcpConnectorGeneric) Write(ctx context.Context, data interface{}) error
- type GcpConnectorNetwork
- type NetworkConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GcpConnectorGeneric ¶ added in v0.1.0
func NewGeneric ¶ added in v0.1.0
func NewGeneric(BucketName string, FullFilePath string) GcpConnectorGeneric
func (*GcpConnectorGeneric) Delete ¶ added in v0.1.0
func (gcp *GcpConnectorGeneric) Delete(ctx context.Context) error
func (*GcpConnectorGeneric) GetCurrentLockId ¶ added in v0.1.0
Get the current lock ID if there is one at string format and send error if there is no lock, error will be nil if there is a lock that can be retrieve
func (*GcpConnectorGeneric) GetLockPath ¶ added in v0.1.0
func (gcp *GcpConnectorGeneric) GetLockPath(ctx context.Context) string
func (*GcpConnectorGeneric) Read ¶ added in v0.1.0
func (gcp *GcpConnectorGeneric) Read(ctx context.Context, data interface{}) error
type GcpConnectorNetwork ¶ added in v0.1.0
type GcpConnectorNetwork struct { GcpConnectorGeneric BaseCidrRange string }
func NewNetwork ¶ added in v0.1.0
func NewNetwork(bucketName string, baseCidr string) GcpConnectorNetwork
type NetworkConfig ¶
Click to show internal directories.
Click to hide internal directories.