Documentation ¶
Index ¶
Constants ¶
View Source
const ( S3Type = v1alpha1.ConnectionType("s3") GcsType = v1alpha1.ConnectionType("gcs") AzureBlobType = v1alpha1.ConnectionType("azureblob") GITType = v1alpha1.ConnectionType("git") DockerType = v1alpha1.ConnectionType("docker") EcrType = v1alpha1.ConnectionType("ecr") DecryptedDataMask = "*****" )
Variables ¶
View Source
var ( AllConnectionTypes = []v1alpha1.ConnectionType{ S3Type, GcsType, AzureBlobType, GITType, DockerType, EcrType, } AllConnectionTypesSet = map[v1alpha1.ConnectionType]interface{}{} ObjectStorageTypesSet = map[v1alpha1.ConnectionType]bool{ GcsType: true, S3Type: true, AzureBlobType: true, } )
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { // Connection id ID string `json:"id"` // CreatedAt CreatedAt time.Time `json:"createdAt,omitempty"` // UpdatedAt UpdatedAt time.Time `json:"updatedAt,omitempty"` // Connection specification Spec v1alpha1.ConnectionSpec `json:"spec"` // Connection status Status v1alpha1.ConnectionStatus `json:"status,omitempty"` }
func (*Connection) DecodeBase64Fields ¶
func (c *Connection) DecodeBase64Fields() error
Decodes sensitive data from base64
func (*Connection) DeleteSensitiveData ¶
func (c *Connection) DeleteSensitiveData() *Connection
Replace sensitive data with mask in the connection
func (*Connection) EncodeBase64Fields ¶
func (c *Connection) EncodeBase64Fields()
Encodes sensitive data and public key to base64
Click to show internal directories.
Click to hide internal directories.