clustersourcesecret

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareTanzuCoreV1alpha1ObjectReference

type VmwareTanzuCoreV1alpha1ObjectReference struct {

	// RID for the object.
	Rid string `json:"rid,omitempty"`

	// UID for the object.
	UID string `json:"uid,omitempty"`
}

VmwareTanzuCoreV1alpha1ObjectReference Reference references a foreign resource.

swagger:model vmware.tanzu.core.v1alpha1.object.Reference

func (*VmwareTanzuCoreV1alpha1ObjectReference) MarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectReference) UnmarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuCoreV1alpha1ObjectUID

type VmwareTanzuCoreV1alpha1ObjectUID struct {

	// UID for the object.
	Value string `json:"value,omitempty"`
}

VmwareTanzuCoreV1alpha1ObjectUID UID is a unique identifier for a resource.

swagger:model vmware.tanzu.core.v1alpha1.object.UID

func (*VmwareTanzuCoreV1alpha1ObjectUID) MarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectUID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*VmwareTanzuCoreV1alpha1ObjectUID) UnmarshalBinary

func (m *VmwareTanzuCoreV1alpha1ObjectUID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1AccountCredentialReference

type VmwareTanzuManageV1alpha1AccountCredentialReference struct {

	// UID of the reference.
	ReferenceUID *VmwareTanzuCoreV1alpha1ObjectUID `json:"referenceUid,omitempty"`

	// The RID of the resource referencing the credential.
	ResourceID *VmwareTanzuCoreV1alpha1ObjectReference `json:"resourceId,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialReference Reference contains information on another TMC resource using this credential. Credentials with references cannot be deleted as they are being used by some resource.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Reference

func (*VmwareTanzuManageV1alpha1AccountCredentialReference) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1AccountCredentialReference) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1AccountCredentialStatus

type VmwareTanzuManageV1alpha1AccountCredentialStatus struct {

	// List of available phases for a credential.
	AvailablePhases []*VmwareTanzuManageV1alpha1AccountCredentialStatusPhase `json:"availablePhases"`

	// The conditions describing a credential's status.
	//
	// - "Scheduled"
	//      * True when the credential is being created.
	//      * False if the credential cannot be created.
	// - "Ready"
	//      * True when the credential is created.
	//      * False if the credential creation failed.
	// - "Validating"
	//      * True when and if the intended service starts validating the credential.
	//      * False if the credential validation process failed. This value does not
	//        represent the validity of the credential.
	Conditions map[string]*status.VmwareTanzuCoreV1alpha1StatusCondition `json:"conditions,omitempty"`

	// Phase of the credential.
	Phase *VmwareTanzuManageV1alpha1AccountCredentialStatusPhase `json:"phase,omitempty"`

	// Additional information about the phase.
	PhaseInfo string `json:"phaseInfo,omitempty"`

	// The list of references. i.e. resources using the credential.
	References []*VmwareTanzuManageV1alpha1AccountCredentialReference `json:"references"`
}

VmwareTanzuManageV1alpha1AccountCredentialStatus Status of the credential.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status

func (*VmwareTanzuManageV1alpha1AccountCredentialStatus) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1AccountCredentialStatus) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase

type VmwareTanzuManageV1alpha1AccountCredentialStatusPhase string

VmwareTanzuManageV1alpha1AccountCredentialStatusPhase The overall phase of a credential.

  • PHASE_UNSPECIFIED: Unspecified phase.
  • CREATED: The credential is created and can be used.
  • VALIDATING: The credential's capabilities are being validated by the intended service.

Credentials can be used even if they have not been validated- this phase is set by the intended service if it validates credentials.

  • VALID: The credential satisfies the intended service's requirements.
  • INVALID: The credential does not satisfy the intended service's requirements.

Invalid credentials might require user action to fix their permissions- this information is provided by the intended service.

  • ERROR: An error occurred while the credential was being created or validated.
  • DELETING: The credential clean up has begun.
  • DELETED: The credential clean up has completed and will be removed from TMC.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.Status.Phase

const (

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED captures enum value "CREATED".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseCREATED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "CREATED"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING captures enum value "VALIDATING".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALIDATING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALIDATING"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID captures enum value "VALID".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "VALID"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID captures enum value "INVALID".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseINVALID VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "INVALID"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR captures enum value "ERROR".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseERROR VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "ERROR"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETING VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETING"

	// VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED captures enum value "DELETED".
	VmwareTanzuManageV1alpha1AccountCredentialStatusPhaseDELETED VmwareTanzuManageV1alpha1AccountCredentialStatusPhase = "DELETED"
)

nolint: gosec

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec struct {

	// Data contains the secret data. Each key must consist of alphanumeric
	// characters, '-', '_' or '.'.
	Data map[string]strfmt.Base64 `json:"data,omitempty"`

	// Type of Secret.
	// The default value is SECRET_TYPE_OPAQUE.
	Type *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec KeyValue Type credential stored in Account Manager.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec

func (*VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType

type VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType string

VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType Type of Secret.

  • SECRET_TYPE_UNSPECIFIED: SECRET_TYPE_UNSPECIFIED is default.
  • OPAQUE_SECRET_TYPE: SECRET_TYPE_OPAQUE maps to the k8s secret type OPAQUE.

It is arbitrary user-defined data.

  • DOCKERCONFIGJSON_SECRET_TYPE: DOCKERCONFIGJSON_SECRET_TYPE maps to Kubernetes secrets type kubernetes.io/dockerconfigjson.

swagger:model vmware.tanzu.manage.v1alpha1.account.credential.type.keyvalue.Spec.SecretType

const (

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED captures enum value "SECRET_TYPE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeSECRETTYPEUNSPECIFIED VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "SECRET_TYPE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE captures enum value "OPAQUE_SECRET_TYPE".
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeOPAQUESECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "OPAQUE_SECRET_TYPE"

	// VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE captures enum value "DOCKERCONFIGJSON_SECRET_TYPE".
	VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretTypeDOCKERCONFIGJSONSECRETTYPE VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpecSecretType = "DOCKERCONFIGJSON_SECRET_TYPE"
)

nolint: gosec

type VmwareTanzuManageV1alpha1ClusterFluxcdGetSourceSecretResponse

type VmwareTanzuManageV1alpha1ClusterFluxcdGetSourceSecretResponse struct {

	// SourceSecret returned.
	SourceSecret *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret `json:"sourceSecret,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdGetSourceSecretResponse Response from getting a SourceSecret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.GetSourceSecretResponse

func (*VmwareTanzuManageV1alpha1ClusterFluxcdGetSourceSecretResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdGetSourceSecretResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourceSecretRequest

type VmwareTanzuManageV1alpha1ClusterFluxcdSourceSecretRequest struct {

	// SourceSecret to create.
	SourceSecret *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret `json:"sourceSecret,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourceSecretRequest Request to create a SourceSecret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.CreateSourceSecretRequest

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourceSecretRequest) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourceSecretRequest) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret struct {

	// Full name for the Source Secret.
	FullName *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName `json:"fullName,omitempty"`

	// Metadata for the Source Secret object.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// Spec for the Source Secret.
	Spec *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec `json:"spec,omitempty"`

	// Status for the Source Secret.
	Status *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus `json:"status,omitempty"`

	// Metadata describing the type of the resource.
	Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret SourceSecret represents a credential used to authenticate to a fluxcd source such as GitRepository.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.SourceSecret

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName struct {

	// Name of Cluster.
	ClusterName string `json:"clusterName,omitempty"`

	// Name of management cluster.
	ManagementClusterName string `json:"managementClusterName,omitempty"`

	// Name of Source Secret.
	Name string `json:"name,omitempty"`

	// ID of Organization.
	OrgID string `json:"orgId,omitempty"`

	// Name of Provisioner.
	ProvisionerName string `json:"provisionerName,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName Full name of the Source Secret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.FullName

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretFullName) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretResponse

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretResponse struct {

	// SourceSecret created.
	SourceSecret *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecret `json:"sourceSecret,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretResponse Response from creating a SourceSecret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.CreateSourceSecretResponse

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec struct {

	// Data is the source credential in the form of key-value.
	Data *VmwareTanzuManageV1alpha1AccountCredentialTypeKeyvalueSpec `json:"data,omitempty"`

	// Type of Source Secret(username-password or SSH).
	SourceSecretType *VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType `json:"sourceSecretType,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec Spec of the Source Secret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.Spec

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus struct {

	// Status of the service secret.
	Status *VmwareTanzuManageV1alpha1AccountCredentialStatus `json:"status,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus Status of the Source Secret.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.Status

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretStatus) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType

type VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType string

VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType Source Secret Type represents the type of the secret.

  • UNSPECIFIED: Unspecified type for forward compatibility.
  • USERNAME_PASSWORD: Username Password type.
  • SSH: SSH type.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.fluxcd.sourcesecret.SourceSecretType

const (

	// VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeUNSPECIFIED captures enum value "UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeUNSPECIFIED VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType = "UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeUSERNAMEPASSWORD captures enum value "USERNAME_PASSWORD".
	VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeUSERNAMEPASSWORD VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType = "USERNAME_PASSWORD"

	// VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeSSH captures enum value "SSH".
	VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretTypeSSH VmwareTanzuManageV1alpha1ClusterFluxcdSourcesecretType = "SSH"
)

Jump to

Keyboard shortcuts

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