Documentation
¶
Index ¶
- Variables
- type AWSConnection
- type AWSDetails
- type AWSSpec
- type AzureConnection
- type AzureDetails
- type AzureSpec
- type ClusterConnectionSpec
- type ClusterDetails
- type ClusterSpec
- type CredentialSpec
- type GCPConnection
- type GCPDetails
- type GCPSpec
- type GitConnection
- type GitDetails
- type GitSSHDetails
- type GitSpec
- type WorkflowRun
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GitSSHURL = regexp.MustCompile(`^([a-z-]+)@([a-zA-Z0-9\-.]+):(.+)/(.+)(\.git)?$`)
)
Functions ¶
This section is empty.
Types ¶
type AWSConnection ¶ added in v1.16.1
type AWSDetails ¶
type AWSDetails struct {
Connection AWSConnection
// deprecated
AccessKeyID string
// deprecated
SecretAccessKey string
Region string
}
func (*AWSDetails) GetAccessKeyID ¶ added in v1.16.1
func (ad *AWSDetails) GetAccessKeyID() string
func (*AWSDetails) GetSecretAccessKey ¶ added in v1.16.1
func (ad *AWSDetails) GetSecretAccessKey() string
func (*AWSDetails) GetSessionToken ¶ added in v1.17.5
func (ad *AWSDetails) GetSessionToken() string
type AWSSpec ¶
type AWSSpec struct {
AWS *AWSDetails
}
type AzureConnection ¶ added in v1.17.2
type AzureDetails ¶ added in v1.17.2
type AzureDetails struct {
Connection AzureConnection
}
type AzureSpec ¶ added in v1.17.2
type AzureSpec struct {
Azure *AzureDetails
}
type ClusterConnectionSpec ¶ added in v1.16.0
type ClusterDetails ¶
type ClusterSpec ¶
type ClusterSpec struct {
Cluster *ClusterDetails
}
type CredentialSpec ¶
type GCPConnection ¶ added in v1.16.2
type GCPConnection struct {
ServiceAccountKey string `json:"serviceAccountKey"`
}
type GCPDetails ¶ added in v1.16.0
type GCPDetails struct {
Connection GCPConnection
Project string
// deprecated
ServiceAccountKey string `json:"serviceAccountKey"`
}
func (*GCPDetails) GetServiceAccountKey ¶ added in v1.16.2
func (gd *GCPDetails) GetServiceAccountKey() string
type GCPSpec ¶ added in v1.16.0
type GCPSpec struct {
Google *GCPDetails
}
type GitConnection ¶
type GitConnection struct {
SSHKey string `spec:"sshKey"`
}
type GitDetails ¶
type GitDetails struct {
// Newer connection support for SSH keys.
Connection *GitConnection
// Older explicit Base64-encoded SSH keys.
SSHKey string `spec:"ssh_key"`
Name string
Repository string
Branch string
KnownHosts string `spec:"known_hosts"`
}
func (*GitDetails) ConfiguredKnownHosts ¶ added in v1.16.5
func (gd *GitDetails) ConfiguredKnownHosts() (string, bool, error)
func (*GitDetails) ConfiguredSSHKey ¶
func (gd *GitDetails) ConfiguredSSHKey() (string, bool, error)
type GitSSHDetails ¶ added in v1.16.6
type GitSpec ¶
type GitSpec struct {
GitRepository *GitDetails `spec:"git"`
}
type WorkflowRun ¶ added in v1.17.3
Click to show internal directories.
Click to hide internal directories.