cloudproviders

package
v5.12.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteMachineIdentities_Operation = `` /* 141-byte string literal not displayed */

The query or mutation executed by DeleteMachineIdentities.

View Source
const GetCloudKeystores_Operation = `` /* 368-byte string literal not displayed */

The query or mutation executed by GetCloudKeystores.

View Source
const GetCloudProviders_Operation = `` /* 268-byte string literal not displayed */

The query or mutation executed by GetCloudProviders.

View Source
const GetMachineIdentities_Operation = `` /* 716-byte string literal not displayed */

The query or mutation executed by GetMachineIdentities.

View Source
const ProvisionCertificateToMachineIdentity_Operation = `` /* 283-byte string literal not displayed */

The query or mutation executed by ProvisionCertificateToMachineIdentity.

View Source
const ProvisionCertificate_Operation = `` /* 320-byte string literal not displayed */

The query or mutation executed by ProvisionCertificate.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateProvisioningAWSOptionsInput

type CertificateProvisioningAWSOptionsInput struct {
	// Amazon Resource Name (ARN) uniquely identifying AWS certificate resource
	Arn  *string                                  `json:"arn"`
	Tags []*CertificateProvisioningTagOptionInput `json:"tags,omitempty"`
}

func (*CertificateProvisioningAWSOptionsInput) GetArn

GetArn returns CertificateProvisioningAWSOptionsInput.Arn, and is useful for accessing the field via an interface.

func (*CertificateProvisioningAWSOptionsInput) GetTags

GetTags returns CertificateProvisioningAWSOptionsInput.Tags, and is useful for accessing the field via an interface.

type CertificateProvisioningAzureOptionsInput

type CertificateProvisioningAzureOptionsInput struct {
	// An Azure object-name is a user provided name for and must be unique within a key vault. The name must be a 1-127 character string, starting with a letter and containing only 0-9, a-z, A-Z, and -.
	Name       *string                                  `json:"name"`
	Enabled    *bool                                    `json:"enabled"`
	Exportable *bool                                    `json:"exportable"`
	ReuseKey   *bool                                    `json:"reuseKey"`
	Tags       []*CertificateProvisioningTagOptionInput `json:"tags,omitempty"`
}

func (*CertificateProvisioningAzureOptionsInput) GetEnabled

GetEnabled returns CertificateProvisioningAzureOptionsInput.Enabled, and is useful for accessing the field via an interface.

func (*CertificateProvisioningAzureOptionsInput) GetExportable

func (v *CertificateProvisioningAzureOptionsInput) GetExportable() *bool

GetExportable returns CertificateProvisioningAzureOptionsInput.Exportable, and is useful for accessing the field via an interface.

func (*CertificateProvisioningAzureOptionsInput) GetName

GetName returns CertificateProvisioningAzureOptionsInput.Name, and is useful for accessing the field via an interface.

func (*CertificateProvisioningAzureOptionsInput) GetReuseKey

GetReuseKey returns CertificateProvisioningAzureOptionsInput.ReuseKey, and is useful for accessing the field via an interface.

func (*CertificateProvisioningAzureOptionsInput) GetTags

GetTags returns CertificateProvisioningAzureOptionsInput.Tags, and is useful for accessing the field via an interface.

type CertificateProvisioningGCPOptionsInput

type CertificateProvisioningGCPOptionsInput struct {
	// A GCM certificate id is a user provider name and must be unique within a region. The id must be a 1-63 character string, start with a letter and only contain lower case letters, digits and hyphens.
	Id          *string                                  `json:"id"`
	Description *string                                  `json:"description"`
	Scope       *GCMCertificateScope                     `json:"scope"`
	Labels      []*CertificateProvisioningTagOptionInput `json:"labels,omitempty"`
}

func (*CertificateProvisioningGCPOptionsInput) GetDescription

func (v *CertificateProvisioningGCPOptionsInput) GetDescription() *string

GetDescription returns CertificateProvisioningGCPOptionsInput.Description, and is useful for accessing the field via an interface.

func (*CertificateProvisioningGCPOptionsInput) GetId

GetId returns CertificateProvisioningGCPOptionsInput.Id, and is useful for accessing the field via an interface.

func (*CertificateProvisioningGCPOptionsInput) GetLabels

GetLabels returns CertificateProvisioningGCPOptionsInput.Labels, and is useful for accessing the field via an interface.

func (*CertificateProvisioningGCPOptionsInput) GetScope

GetScope returns CertificateProvisioningGCPOptionsInput.Scope, and is useful for accessing the field via an interface.

type CertificateProvisioningOptionsInput

type CertificateProvisioningOptionsInput struct {
	AwsOptions   *CertificateProvisioningAWSOptionsInput   `json:"awsOptions,omitempty"`
	AzureOptions *CertificateProvisioningAzureOptionsInput `json:"azureOptions,omitempty"`
	GcpOptions   *CertificateProvisioningGCPOptionsInput   `json:"gcpOptions,omitempty"`
}

func (*CertificateProvisioningOptionsInput) GetAwsOptions

GetAwsOptions returns CertificateProvisioningOptionsInput.AwsOptions, and is useful for accessing the field via an interface.

func (*CertificateProvisioningOptionsInput) GetAzureOptions

GetAzureOptions returns CertificateProvisioningOptionsInput.AzureOptions, and is useful for accessing the field via an interface.

func (*CertificateProvisioningOptionsInput) GetGcpOptions

GetGcpOptions returns CertificateProvisioningOptionsInput.GcpOptions, and is useful for accessing the field via an interface.

type CertificateProvisioningTagOptionInput

type CertificateProvisioningTagOptionInput struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*CertificateProvisioningTagOptionInput) GetName

GetName returns CertificateProvisioningTagOptionInput.Name, and is useful for accessing the field via an interface.

func (*CertificateProvisioningTagOptionInput) GetValue

GetValue returns CertificateProvisioningTagOptionInput.Value, and is useful for accessing the field via an interface.

type CloudKeystoreType

type CloudKeystoreType string

Indicates the type of a Cloud Keystore

const (
	// AWS Certificate Manager
	CloudKeystoreTypeAcm CloudKeystoreType = "ACM"
	// Azure Key Vault
	CloudKeystoreTypeAkv CloudKeystoreType = "AKV"
	// Google Certificate Manager
	CloudKeystoreTypeGcm CloudKeystoreType = "GCM"
	// Akamai Content Delivery Network
	CloudKeystoreTypeAkamaiCdn CloudKeystoreType = "AKAMAI_CDN"
)

type CloudProviderStatus

type CloudProviderStatus string

Indicates the status of a cloud provider

const (
	// The cloud provider is successfully validated
	CloudProviderStatusValidated CloudProviderStatus = "VALIDATED"
	// The cloud provider is not validated or the validation fails for some reason
	CloudProviderStatusNotValidated CloudProviderStatus = "NOT_VALIDATED"
)

type CloudProviderType

type CloudProviderType string

Indicates the type of a Cloud Provider

const (
	// AWS cloud provider type
	CloudProviderTypeAws CloudProviderType = "AWS"
	// Azure cloud provider type
	CloudProviderTypeAzure CloudProviderType = "AZURE"
	// Google cloud provider type
	CloudProviderTypeGcp CloudProviderType = "GCP"
	// Akamai cloud provider type
	CloudProviderTypeAkamai CloudProviderType = "AKAMAI"
)

type CloudProvidersClient

type CloudProvidersClient struct {
	// contains filtered or unexported fields
}

func NewCloudProvidersClient

func NewCloudProvidersClient(url string, httpClient *http.Client) *CloudProvidersClient

func (*CloudProvidersClient) DeleteMachineIdentity

func (c *CloudProvidersClient) DeleteMachineIdentity(ctx context.Context, id string) (bool, error)

func (*CloudProvidersClient) GetCloudKeystore

func (*CloudProvidersClient) GetCloudProvider

func (*CloudProvidersClient) GetMachineIdentity

func (*CloudProvidersClient) ProvisionCertificate

func (c *CloudProvidersClient) ProvisionCertificate(ctx context.Context, certificateID string, cloudKeystoreID string, wsClientID string, options *CertificateProvisioningOptionsInput) (*domain.ProvisioningResponse, error)

func (*CloudProvidersClient) ProvisionCertificateToMachineIdentity

func (c *CloudProvidersClient) ProvisionCertificateToMachineIdentity(ctx context.Context, certificateID *string, machineIdentityID string, wsClientID string) (*domain.ProvisioningResponse, error)

type DeleteMachineIdentitiesResponse

type DeleteMachineIdentitiesResponse struct {
	// Deletes a list of Cloud machine identities
	DeleteCloudMachineIdentities bool `json:"deleteCloudMachineIdentities"`
}

DeleteMachineIdentitiesResponse is returned by DeleteMachineIdentities on success.

func DeleteMachineIdentities

func DeleteMachineIdentities(
	ctx_ context.Context,
	client_ graphql.Client,
	machineIdentityIds []string,
) (*DeleteMachineIdentitiesResponse, error)

func (*DeleteMachineIdentitiesResponse) GetDeleteCloudMachineIdentities

func (v *DeleteMachineIdentitiesResponse) GetDeleteCloudMachineIdentities() bool

GetDeleteCloudMachineIdentities returns DeleteMachineIdentitiesResponse.DeleteCloudMachineIdentities, and is useful for accessing the field via an interface.

type GCMCertificateScope

type GCMCertificateScope string

Indicates the Scope for a certificate provisioned to GCP Certificate Manager

const (
	// Certificates with default scope are served from core Google data centers. If unsure, choose this option.
	GCMCertificateScopeDefault GCMCertificateScope = "DEFAULT"
	// Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence.
	// See https://cloud.google.com/vpc/docs/edge-locations.
	GCMCertificateScopeEdgeCache GCMCertificateScope = "EDGE_CACHE"
	// Certificates with ALL_REGIONS scope are served from all Google Cloud
	// regions. See https://cloud.google.com/compute/docs/regions-zones.
	GCMCertificateScopeAllRegions GCMCertificateScope = "ALL_REGIONS"
)

type GetCloudKeystoresCloudKeystoresCloudKeystoreConnection

type GetCloudKeystoresCloudKeystoresCloudKeystoreConnection struct {
	// CloudKeystores in the current page, without cursor
	Nodes []*GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore `json:"nodes"`
}

GetCloudKeystoresCloudKeystoresCloudKeystoreConnection includes the requested fields of the GraphQL type CloudKeystoreConnection. The GraphQL type's documentation follows.

A page of CloudKeystore results

func (*GetCloudKeystoresCloudKeystoresCloudKeystoreConnection) GetNodes

GetNodes returns GetCloudKeystoresCloudKeystoresCloudKeystoreConnection.Nodes, and is useful for accessing the field via an interface.

type GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore

type GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore struct {
	Id string `json:"id"`
	// Cloud Keystore name
	//
	// A string between 3 and 250 characters
	Name                   string            `json:"name"`
	Type                   CloudKeystoreType `json:"type"`
	MachineIdentitiesCount int               `json:"machineIdentitiesCount"`
}

GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore includes the requested fields of the GraphQL type CloudKeystore.

func (*GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore) GetId

GetId returns GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore.Id, and is useful for accessing the field via an interface.

func (*GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore) GetMachineIdentitiesCount

GetMachineIdentitiesCount returns GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore.MachineIdentitiesCount, and is useful for accessing the field via an interface.

func (*GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore) GetName

GetName returns GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore.Name, and is useful for accessing the field via an interface.

func (*GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore) GetType

GetType returns GetCloudKeystoresCloudKeystoresCloudKeystoreConnectionNodesCloudKeystore.Type, and is useful for accessing the field via an interface.

type GetCloudKeystoresResponse

type GetCloudKeystoresResponse struct {
	// Retrieves Cloud Keystores.
	// The pagination can be either forward or backward. To enable forward pagination, two arguments
	// are used: `after` and `first`. To enable backward pagination, two arguments are used: `before` and `last`.
	// If arguments for both forward and backward pagination are supplied, forward pagination wil be used. If no arguments
	// are supplied, it returns the first page of 10 cloud keystores (i.e. defaults `first` to 10). The result is sorted by
	// the added on date in ascending order.
	// - after: returns the elements in the list that come after the specified cursor. Defaults to empty string, meaning
	// that we return the first page of cloud providers, if `first` value is supplied
	// - first: non-negative integer, denoting the first `n` number of records to return after the `after` cursor value.
	// Max value is 100
	// - before: returns the elements in the list that come before the specified cursor. By default is the empty string,
	// meaning that the results will be the last page, if `last` value is supplied
	// - last: non-negative integer, denoting the last `n` number of records to return before the `before` cursor value.
	// Max value is 100
	CloudKeystores *GetCloudKeystoresCloudKeystoresCloudKeystoreConnection `json:"cloudKeystores"`
}

GetCloudKeystoresResponse is returned by GetCloudKeystores on success.

func GetCloudKeystores

func GetCloudKeystores(
	ctx_ context.Context,
	client_ graphql.Client,
	cloudKeystoreId *string,
	cloudKeystoreName *string,
	cloudProviderId *string,
	cloudProviderName *string,
) (*GetCloudKeystoresResponse, error)

func (*GetCloudKeystoresResponse) GetCloudKeystores

GetCloudKeystores returns GetCloudKeystoresResponse.CloudKeystores, and is useful for accessing the field via an interface.

type GetCloudProvidersCloudProvidersCloudProviderConnection

type GetCloudProvidersCloudProvidersCloudProviderConnection struct {
	// CloudProviders in the current page, without cursor
	Nodes []*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider `json:"nodes"`
}

GetCloudProvidersCloudProvidersCloudProviderConnection includes the requested fields of the GraphQL type CloudProviderConnection. The GraphQL type's documentation follows.

A page of CloudProvider results

func (*GetCloudProvidersCloudProvidersCloudProviderConnection) GetNodes

GetNodes returns GetCloudProvidersCloudProvidersCloudProviderConnection.Nodes, and is useful for accessing the field via an interface.

type GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider

type GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider struct {
	Id             string              `json:"id"`
	Name           string              `json:"name"`
	Type           CloudProviderType   `json:"type"`
	Status         CloudProviderStatus `json:"status"`
	StatusDetails  *string             `json:"statusDetails"`
	KeystoresCount int                 `json:"keystoresCount"`
}

GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider includes the requested fields of the GraphQL type CloudProvider.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetId

GetId returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.Id, and is useful for accessing the field via an interface.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetKeystoresCount

GetKeystoresCount returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.KeystoresCount, and is useful for accessing the field via an interface.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetName

GetName returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.Name, and is useful for accessing the field via an interface.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetStatus

GetStatus returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.Status, and is useful for accessing the field via an interface.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetStatusDetails

GetStatusDetails returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.StatusDetails, and is useful for accessing the field via an interface.

func (*GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider) GetType

GetType returns GetCloudProvidersCloudProvidersCloudProviderConnectionNodesCloudProvider.Type, and is useful for accessing the field via an interface.

type GetCloudProvidersResponse

type GetCloudProvidersResponse struct {
	// Retrieves Cloud Providers.
	// The pagination can be either forward or backward. To enable forward pagination, two arguments
	// are used: `after` and `first`. To enable backward pagination, two arguments are used: `before` and `last`.
	// If arguments for both forward and backward pagination are supplied, forward pagination wil be used. If no arguments
	// are supplied, it returns the first page of 10 cloud providers (i.e. defaults `first` to 10). The result is sorted by
	// the added on date in ascending order.
	// - after: returns the elements in the list that come after the specified cursor. Defaults to empty string, meaning
	// that we return the first page of cloud providers, if `first` value is supplied
	// - first: non-negative integer, denoting the first `n` number of records to return after the `after` cursor value.
	// Max value is 100
	// - before: returns the elements in the list that come before the specified cursor. By default is the empty string,
	// meaning that the results will be the last page, if `last` value is supplied
	// - last: non-negative integer, denoting the last `n` number of records to return before the `before` cursor value.
	// Max value is 100
	CloudProviders *GetCloudProvidersCloudProvidersCloudProviderConnection `json:"cloudProviders"`
}

GetCloudProvidersResponse is returned by GetCloudProviders on success.

func GetCloudProviders

func GetCloudProviders(
	ctx_ context.Context,
	client_ graphql.Client,
	status *CloudProviderStatus,
	providerType *CloudProviderType,
	name string,
) (*GetCloudProvidersResponse, error)

func (*GetCloudProvidersResponse) GetCloudProviders

GetCloudProviders returns GetCloudProvidersResponse.CloudProviders, and is useful for accessing the field via an interface.

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection struct {
	// MachineIdentity in the current page, without cursor
	Nodes []*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity `json:"nodes"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection includes the requested fields of the GraphQL type MachineIdentityConnection. The GraphQL type's documentation follows.

A page of MachineIdentity results

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection) GetNodes

GetNodes returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection.Nodes, and is useful for accessing the field via an interface.

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity struct {
	Id                string                                                                                                                   `json:"id"`
	CloudKeystoreId   string                                                                                                                   `json:"cloudKeystoreId"`
	CloudKeystoreName *string                                                                                                                  `json:"cloudKeystoreName"`
	CloudProviderId   *string                                                                                                                  `json:"cloudProviderId"`
	CloudProviderName *string                                                                                                                  `json:"cloudProviderName"`
	Metadata          *GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataCertificateCloudMetadata `json:"-"`
	Status            MachineIdentityStatus                                                                                                    `json:"status"`
	StatusDetails     *string                                                                                                                  `json:"statusDetails"`
	CertificateId     string                                                                                                                   `json:"certificateId"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity includes the requested fields of the GraphQL type MachineIdentity.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetCertificateId

GetCertificateId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.CertificateId, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetCloudKeystoreId

GetCloudKeystoreId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.CloudKeystoreId, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetCloudKeystoreName

GetCloudKeystoreName returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.CloudKeystoreName, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetCloudProviderId

GetCloudProviderId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.CloudProviderId, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetCloudProviderName

GetCloudProviderName returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.CloudProviderName, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetId

GetId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.Id, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetMetadata

GetMetadata returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.Metadata, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetStatus

GetStatus returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.Status, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) GetStatusDetails

GetStatusDetails returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity.StatusDetails, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) MarshalJSON

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentity) UnmarshalJSON

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata struct {
	Typename *string `json:"__typename"`
	Arn      string  `json:"arn"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata includes the requested fields of the GraphQL type AWSCertificateMetadata.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata) GetArn

GetArn returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata.Arn, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata) GetTypename

GetTypename returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata.Typename, and is useful for accessing the field via an interface.

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata added in v5.11.1

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata struct {
	Typename *string `json:"__typename"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata includes the requested fields of the GraphQL type AkamaiCertificateMetadata.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata) GetTypename added in v5.11.1

GetTypename returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata.Typename, and is useful for accessing the field via an interface.

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata struct {
	Typename *string `json:"__typename"`
	AzureId  string  `json:"azureId"`
	Name     string  `json:"name"`
	Version  string  `json:"version"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata includes the requested fields of the GraphQL type AzureCertificateMetadata.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata) GetAzureId

GetAzureId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata.AzureId, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata) GetName

GetName returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata.Name, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata) GetTypename

GetTypename returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata.Typename, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata) GetVersion

GetVersion returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata.Version, and is useful for accessing the field via an interface.

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataCertificateCloudMetadata

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataCertificateCloudMetadata interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataCertificateCloudMetadata includes the requested fields of the GraphQL interface CertificateCloudMetadata.

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataCertificateCloudMetadata is implemented by the following types: GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAWSCertificateMetadata GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAkamaiCertificateMetadata GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataAzureCertificateMetadata GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata

type GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata struct {
	Typename *string `json:"__typename"`
	GcpId    string  `json:"gcpId"`
	Name     string  `json:"name"`
}

GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata includes the requested fields of the GraphQL type GCPCertificateMetadata.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata) GetGcpId

GetGcpId returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata.GcpId, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata) GetName

GetName returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata.Name, and is useful for accessing the field via an interface.

func (*GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata) GetTypename

GetTypename returns GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnectionNodesMachineIdentityMetadataGCPCertificateMetadata.Typename, and is useful for accessing the field via an interface.

type GetMachineIdentitiesResponse

type GetMachineIdentitiesResponse struct {
	// Retrieves machine identities for a Cloud Keystore.
	// The pagination can be either forward or backward. To enable forward pagination, two arguments
	// are used: `after` and `first`. To enable backward pagination, two arguments are used: `before` and `last`.
	// If arguments for both forward and backward pagination are supplied, forward pagination wil be used. If no arguments
	// are supplied, it returns the first page of 10 machine identities (i.e. defaults `first` to 10). The result is sorted by
	// the added on date in descending order.
	// - after: returns the elements in the list that come after the specified cursor. Defaults to empty string, meaning
	// that we return the first page of certificates, if `first` value is supplied
	// - first: non-negative integer, denoting the first `n` number of records to return after the `after` cursor value.
	// Max value is 1000
	// - before: returns the elements in the list that come before the specified cursor. By default is the empty string,
	// meaning that the results will be the last page, if `last` value is supplied
	// - last: non-negative integer, denoting the last `n` number of records to return before the `before` cursor value.
	// Max value is 1000
	CloudMachineIdentities *GetMachineIdentitiesCloudMachineIdentitiesMachineIdentityConnection `json:"cloudMachineIdentities"`
}

GetMachineIdentitiesResponse is returned by GetMachineIdentities on success.

func GetMachineIdentities

func GetMachineIdentities(
	ctx_ context.Context,
	client_ graphql.Client,
	cloudKeystoreId *string,
	machineIdentityId *string,
	fingerprints []string,
	newlyDiscovered *bool,
	metadata *string,
) (*GetMachineIdentitiesResponse, error)

func (*GetMachineIdentitiesResponse) GetCloudMachineIdentities

GetCloudMachineIdentities returns GetMachineIdentitiesResponse.CloudMachineIdentities, and is useful for accessing the field via an interface.

type MachineIdentityStatus

type MachineIdentityStatus string
const (
	MachineIdentityStatusNew        MachineIdentityStatus = "NEW"
	MachineIdentityStatusPending    MachineIdentityStatus = "PENDING"
	MachineIdentityStatusInstalled  MachineIdentityStatus = "INSTALLED"
	MachineIdentityStatusDiscovered MachineIdentityStatus = "DISCOVERED"
	MachineIdentityStatusValidated  MachineIdentityStatus = "VALIDATED"
	MachineIdentityStatusMissing    MachineIdentityStatus = "MISSING"
	MachineIdentityStatusFailed     MachineIdentityStatus = "FAILED"
)

type ProvisionCertificateProvisionToCloudKeystoreWorkflowResult

type ProvisionCertificateProvisionToCloudKeystoreWorkflowResult struct {
	WorkflowId   string `json:"workflowId"`
	WorkflowName string `json:"workflowName"`
}

ProvisionCertificateProvisionToCloudKeystoreWorkflowResult includes the requested fields of the GraphQL type WorkflowResult.

func (*ProvisionCertificateProvisionToCloudKeystoreWorkflowResult) GetWorkflowId

GetWorkflowId returns ProvisionCertificateProvisionToCloudKeystoreWorkflowResult.WorkflowId, and is useful for accessing the field via an interface.

func (*ProvisionCertificateProvisionToCloudKeystoreWorkflowResult) GetWorkflowName

GetWorkflowName returns ProvisionCertificateProvisionToCloudKeystoreWorkflowResult.WorkflowName, and is useful for accessing the field via an interface.

type ProvisionCertificateResponse

type ProvisionCertificateResponse struct {
	// Provision a certificate to a Cloud Keystore
	ProvisionToCloudKeystore *ProvisionCertificateProvisionToCloudKeystoreWorkflowResult `json:"provisionToCloudKeystore"`
}

ProvisionCertificateResponse is returned by ProvisionCertificate on success.

func ProvisionCertificate

func ProvisionCertificate(
	ctx_ context.Context,
	client_ graphql.Client,
	certificateId string,
	cloudKeystoreId string,
	wsClientId string,
	options *CertificateProvisioningOptionsInput,
) (*ProvisionCertificateResponse, error)

func (*ProvisionCertificateResponse) GetProvisionToCloudKeystore

GetProvisionToCloudKeystore returns ProvisionCertificateResponse.ProvisionToCloudKeystore, and is useful for accessing the field via an interface.

type ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult

type ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult struct {
	WorkflowId   string `json:"workflowId"`
	WorkflowName string `json:"workflowName"`
}

ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult includes the requested fields of the GraphQL type WorkflowResult.

func (*ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult) GetWorkflowId

GetWorkflowId returns ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult.WorkflowId, and is useful for accessing the field via an interface.

func (*ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult) GetWorkflowName

GetWorkflowName returns ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult.WorkflowName, and is useful for accessing the field via an interface.

type ProvisionCertificateToMachineIdentityResponse

type ProvisionCertificateToMachineIdentityResponse struct {
	// Provision to existing Cloud Machine Identity. If `certificateId` is not provided a re-provisioning of the existing certificate would be triggered
	ProvisionToCloudMachineIdentity *ProvisionCertificateToMachineIdentityProvisionToCloudMachineIdentityWorkflowResult `json:"provisionToCloudMachineIdentity"`
}

ProvisionCertificateToMachineIdentityResponse is returned by ProvisionCertificateToMachineIdentity on success.

func ProvisionCertificateToMachineIdentity

func ProvisionCertificateToMachineIdentity(
	ctx_ context.Context,
	client_ graphql.Client,
	machineIdentityId string,
	wsClientId string,
	certificateId *string,
) (*ProvisionCertificateToMachineIdentityResponse, error)

func (*ProvisionCertificateToMachineIdentityResponse) GetProvisionToCloudMachineIdentity

GetProvisionToCloudMachineIdentity returns ProvisionCertificateToMachineIdentityResponse.ProvisionToCloudMachineIdentity, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

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