Documentation
¶
Index ¶
- type IPAccessList
- func (i IPAccessList) Identifier() interface{}
- func (i IPAccessList) ToAtlas() (*mongodbatlas.ProjectIPAccessList, error)
- func (i IPAccessList) WithAWSGroup(group string) IPAccessList
- func (i IPAccessList) WithCIDR(cidr string) IPAccessList
- func (i IPAccessList) WithComment(comment string) IPAccessList
- func (i IPAccessList) WithDeleteAfterDate(date string) IPAccessList
- func (i IPAccessList) WithIP(ip string) IPAccessList
- type PrivateEndpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPAccessList ¶
type IPAccessList struct {
// Unique identifier of AWS security group in this access list entry.
// +optional
AwsSecurityGroup string `json:"awsSecurityGroup,omitempty"`
// Range of IP addresses in CIDR notation in this access list entry.
// +optional
CIDRBlock string `json:"cidrBlock,omitempty"`
// Comment associated with this access list entry.
// +optional
Comment string `json:"comment,omitempty"`
// Timestamp in ISO 8601 date and time format in UTC after which Atlas deletes the temporary access list entry.
// +optional
DeleteAfterDate string `json:"deleteAfterDate,omitempty"`
// Entry using an IP address in this access list entry.
// +optional
IPAddress string `json:"ipAddress,omitempty"`
}
func NewIPAccessList ¶
func NewIPAccessList() IPAccessList
func (IPAccessList) Identifier ¶
func (i IPAccessList) Identifier() interface{}
Identifier returns the "id" of the ProjectIPAccessList. Note, that it's an error to specify more than one of these fields - the business layer must validate this beforehand
func (IPAccessList) ToAtlas ¶
func (i IPAccessList) ToAtlas() (*mongodbatlas.ProjectIPAccessList, error)
ToAtlas converts the ProjectIPAccessList to native Atlas client format.
func (IPAccessList) WithAWSGroup ¶
func (i IPAccessList) WithAWSGroup(group string) IPAccessList
func (IPAccessList) WithCIDR ¶
func (i IPAccessList) WithCIDR(cidr string) IPAccessList
func (IPAccessList) WithComment ¶
func (i IPAccessList) WithComment(comment string) IPAccessList
func (IPAccessList) WithDeleteAfterDate ¶
func (i IPAccessList) WithDeleteAfterDate(date string) IPAccessList
func (IPAccessList) WithIP ¶
func (i IPAccessList) WithIP(ip string) IPAccessList
type PrivateEndpoint ¶ added in v0.6.1
type PrivateEndpoint struct {
// Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts AWS or AZURE.
// +kubebuilder:validation:Enum=AWS;GCP;AZURE;TENANT
Provider provider.ProviderName `json:"provider"`
// Cloud provider region for which you want to create the private endpoint service.
Region string `json:"region"`
// Unique identifier of the private endpoint you created in your AWS VPC or Azure Vnet.
// +optional
ID string `json:"id,omitempty"`
// Private IP address of the private endpoint network interface you created in your Azure VNet.
// +optional
IP string `json:"ip,omitempty"`
}
func (PrivateEndpoint) ToAtlas ¶ added in v0.6.1
func (i PrivateEndpoint) ToAtlas() (*mongodbatlas.PrivateEndpoint, error)
ToAtlas converts the PrivateEndpoint to native Atlas client format.
Click to show internal directories.
Click to hide internal directories.