Documentation ¶
Index ¶
- Variables
- type AwsCredential
- func (*AwsCredential) Descriptor() ([]byte, []int)deprecated
- func (x *AwsCredential) GetApiVersion() string
- func (x *AwsCredential) GetKind() string
- func (x *AwsCredential) GetMetadata() *shared.ApiResourceMetadata
- func (x *AwsCredential) GetSpec() *AwsCredentialSpec
- func (x *AwsCredential) GetStatus() *shared.ApiResourceLifecycleAndAuditStatus
- func (*AwsCredential) ProtoMessage()
- func (x *AwsCredential) ProtoReflect() protoreflect.Message
- func (x *AwsCredential) Reset()
- func (x *AwsCredential) String() string
- type AwsCredentialSpec
- func (*AwsCredentialSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AwsCredentialSpec) GetAccessKeyId() string
- func (x *AwsCredentialSpec) GetAccountId() string
- func (x *AwsCredentialSpec) GetRegion() string
- func (x *AwsCredentialSpec) GetSecretAccessKey() string
- func (*AwsCredentialSpec) ProtoMessage()
- func (x *AwsCredentialSpec) ProtoReflect() protoreflect.Message
- func (x *AwsCredentialSpec) Reset()
- func (x *AwsCredentialSpec) String() string
Constants ¶
This section is empty.
Variables ¶
var File_project_planton_credential_awscredential_v1_api_proto protoreflect.FileDescriptor
var File_project_planton_credential_awscredential_v1_spec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AwsCredential ¶
type AwsCredential struct { // api-version ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // resource-kind Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` // metadata Metadata *shared.ApiResourceMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // spec Spec *AwsCredentialSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` // status Status *shared.ApiResourceLifecycleAndAuditStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
aws-credential
func (*AwsCredential) Descriptor
deprecated
func (*AwsCredential) Descriptor() ([]byte, []int)
Deprecated: Use AwsCredential.ProtoReflect.Descriptor instead.
func (*AwsCredential) GetApiVersion ¶
func (x *AwsCredential) GetApiVersion() string
func (*AwsCredential) GetKind ¶
func (x *AwsCredential) GetKind() string
func (*AwsCredential) GetMetadata ¶
func (x *AwsCredential) GetMetadata() *shared.ApiResourceMetadata
func (*AwsCredential) GetSpec ¶
func (x *AwsCredential) GetSpec() *AwsCredentialSpec
func (*AwsCredential) GetStatus ¶
func (x *AwsCredential) GetStatus() *shared.ApiResourceLifecycleAndAuditStatus
func (*AwsCredential) ProtoMessage ¶
func (*AwsCredential) ProtoMessage()
func (*AwsCredential) ProtoReflect ¶
func (x *AwsCredential) ProtoReflect() protoreflect.Message
func (*AwsCredential) Reset ¶
func (x *AwsCredential) Reset()
func (*AwsCredential) String ¶
func (x *AwsCredential) String() string
type AwsCredentialSpec ¶
type AwsCredentialSpec struct { // The AWS Account ID, which uniquely identifies the AWS account. // This is a mandatory field and must be a numeric string. // The value cannot be empty and must only contain numbers (0-9). AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // The AWS Access Key ID, which is used to authenticate API requests to AWS services. // This is a required field, and it must always start with 'AKIA' followed by 16 alphanumeric characters. // This field must contain exactly 20 characters, and validation rules ensure the correctness of the format. AccessKeyId string `protobuf:"bytes,2,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"` // The AWS Secret Access Key, which is used in combination with the access key ID to authenticate API requests to AWS services. // This is a required field, and the value must be exactly 40 characters long. // The secret access key can include numbers, lowercase and uppercase letters, slashes (/), and plus signs (+). SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` // The AWS region to be used when configuring this AWS credential. // This optional field allows specifying the region in which resources will be created or managed. Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
AwsCredentialSpec message represents the specification required to connect an AWS Account. This message consolidates all necessary input parameters to establish a connection with an AWS Account, ensuring accurate configuration and validation of credentials. Fields include details like AWS account ID, access credentials, and the region, providing a complete set of information for securely connecting to AWS. Detailed validation rules have been applied to these fields to ensure input correctness and adherence to security protocols.
func (*AwsCredentialSpec) Descriptor
deprecated
func (*AwsCredentialSpec) Descriptor() ([]byte, []int)
Deprecated: Use AwsCredentialSpec.ProtoReflect.Descriptor instead.
func (*AwsCredentialSpec) GetAccessKeyId ¶
func (x *AwsCredentialSpec) GetAccessKeyId() string
func (*AwsCredentialSpec) GetAccountId ¶
func (x *AwsCredentialSpec) GetAccountId() string
func (*AwsCredentialSpec) GetRegion ¶
func (x *AwsCredentialSpec) GetRegion() string
func (*AwsCredentialSpec) GetSecretAccessKey ¶
func (x *AwsCredentialSpec) GetSecretAccessKey() string
func (*AwsCredentialSpec) ProtoMessage ¶
func (*AwsCredentialSpec) ProtoMessage()
func (*AwsCredentialSpec) ProtoReflect ¶
func (x *AwsCredentialSpec) ProtoReflect() protoreflect.Message
func (*AwsCredentialSpec) Reset ¶
func (x *AwsCredentialSpec) Reset()
func (*AwsCredentialSpec) String ¶
func (x *AwsCredentialSpec) String() string