Documentation
¶
Index ¶
- Constants
- type CertificateCloudMetadata
- type CloudKeystore
- type CloudKeystoreType
- type CloudMachineIdentity
- type CloudProvider
- type CloudProviderStatus
- type CloudProviderType
- type GetCloudKeystoreRequest
- type GetCloudMachineIdentityRequest
- type GetCloudProviderRequest
- type MachineIdentityStatus
- type ProvisioningMetadata
- type ProvisioningOptions
- type ProvisioningRequest
- type ProvisioningResponse
- type WorkFlowResponseData
- type WorkflowResponse
Constants ¶
View Source
const ( CloudProviderStatusUnknown CloudProviderStatus = iota CloudProviderStatusValidated CloudProviderStatusNotValidated CloudProviderStatusValidatedStr = "VALIDATED" CloudProviderStatusNotValidatedStr = "NOT_VALIDATED" CloudProviderStatusUnknownStr = "UNKNOWN" )
View Source
const ( CloudProviderTypeUnknown CloudProviderType = iota CloudProviderTypeAWS CloudProviderTypeAzure CloudProviderTypeGCP CloudProviderTypeAWSStr = "AWS" CloudProviderTypeAzureStr = "AZURE" CloudProviderTypeGCPStr = "GCP" CloudProviderTypeUnknownStr = "UNKNOWN" )
View Source
const ( CloudKeystoreTypeUnknown CloudKeystoreType = iota CloudKeystoreTypeACM CloudKeystoreTypeAKV CloudKeystoreTypeGCM CloudKeystoreTypeACMStr = "ACM" CloudKeystoreTypeAKVStr = "AKV" CloudKeystoreTypeGCMStr = "GCM" CloudKeystoreTypeUnknownStr = "UNKNOWN" )
View Source
const ( MachineIdentityStatusUnknown MachineIdentityStatus = iota MachineIdentityStatusNew MachineIdentityStatusPending MachineIdentityStatusInstalled MachineIdentityStatusDiscovered MachineIdentityStatusValidated MachineIdentityStatusMissing MachineIdentityStatusFailed MachineIdentityStatusUnknownStr = "UNKNOWN" MachineIdentityStatusNewStr = "NEW" MachineIdentityStatusPendingStr = "PENDING" MachineIdentityStatusInstalledStr = "INSTALLED" MachineIdentityStatusDiscoveredStr = "DISCOVERED" MachineIdentityStatusValidatedStr = "VALIDATED" MachineIdentityStatusMissingStr = "MISSING" MachineIdentityStatusFailedStr = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateCloudMetadata ¶
type CertificateCloudMetadata struct {
// contains filtered or unexported fields
}
func NewCertificateCloudMetadata ¶
func NewCertificateCloudMetadata(values map[string]interface{}) CertificateCloudMetadata
func (*CertificateCloudMetadata) GetKeystoreType ¶ added in v5.7.1
func (ccm *CertificateCloudMetadata) GetKeystoreType() CloudKeystoreType
func (*CertificateCloudMetadata) GetMetadata ¶
func (ccm *CertificateCloudMetadata) GetMetadata() map[string]interface{}
func (*CertificateCloudMetadata) GetValue ¶
func (ccm *CertificateCloudMetadata) GetValue(key string) interface{}
type CloudKeystore ¶
type CloudKeystore struct {
ID string
Name string
Type CloudKeystoreType
MachineIdentitiesCount int
}
type CloudKeystoreType ¶ added in v5.7.1
type CloudKeystoreType int
func (CloudKeystoreType) String ¶ added in v5.7.1
func (ckt CloudKeystoreType) String() string
type CloudMachineIdentity ¶
type CloudMachineIdentity struct {
ID string
CloudKeystoreID string
CloudKeystoreName string
CloudProviderID string
CloudProviderName string
CertificateID string
Metadata *CertificateCloudMetadata
Status MachineIdentityStatus
StatusDetails string
}
type CloudProvider ¶
type CloudProvider struct {
ID string
Name string
Type CloudProviderType
Status CloudProviderStatus
StatusDetails string
KeystoresCount int
}
type CloudProviderStatus ¶
type CloudProviderStatus int
func GetCloudProviderStatus ¶ added in v5.7.1
func GetCloudProviderStatus(status string) CloudProviderStatus
func (CloudProviderStatus) String ¶
func (cps CloudProviderStatus) String() string
type CloudProviderType ¶
type CloudProviderType int
func (CloudProviderType) String ¶
func (cpt CloudProviderType) String() string
type GetCloudKeystoreRequest ¶
type GetCloudProviderRequest ¶
type GetCloudProviderRequest struct {
Name string
Status CloudProviderStatus
Type CloudProviderType
}
type MachineIdentityStatus ¶
type MachineIdentityStatus int
func (MachineIdentityStatus) String ¶
func (mis MachineIdentityStatus) String() string
type ProvisioningMetadata ¶ added in v5.7.1
type ProvisioningOptions ¶ added in v5.7.1
type ProvisioningRequest ¶ added in v5.7.1
type ProvisioningResponse ¶
type WorkFlowResponseData ¶
type WorkflowResponse ¶
type WorkflowResponse struct {
SpecVersion string `json:"specversion"`
Id string `json:"id"`
Source string `json:"source"`
Type string `json:"type"`
Subject string `json:"subject"`
DataContentType string `json:"datacontenttype"`
Time string `json:"time"`
Data WorkFlowResponseData `json:"data"`
EventKind string `json:"eventkind"`
EventResource string `json:"eventresource"`
Recipient string `json:"recipient"`
CorrelationID string `json:"correlationid"`
Stream string `json:"stream"`
}
Click to show internal directories.
Click to hide internal directories.