client

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CreateAWSEnvDocument = `` /* 744-byte string literal not displayed */
View Source
const CreateAzureEnvDocument = `` /* 643-byte string literal not displayed */
View Source
const CreateGCPEnvDocument = `` /* 546-byte string literal not displayed */
View Source
const CreateK8SEnvDocument = `` /* 885-byte string literal not displayed */
View Source
const DeleteAWSEnvDocument = `mutation DeleteAWSEnv ($input: DeleteAWSEnvInput!) {
	deleteAWSEnv(input: $input) {
		mutationId
		pendingMFA
	}
}
`
View Source
const DeleteAzureEnvDocument = `mutation DeleteAzureEnv ($input: DeleteAzureEnvInput!) {
	deleteAzureEnv(input: $input) {
		mutationId
		pendingMFA
	}
}
`
View Source
const DeleteGCPEnvDocument = `mutation DeleteGCPEnv ($input: DeleteGCPEnvInput!) {
	deleteGCPEnv(input: $input) {
		mutationId
		pendingMFA
	}
}
`
View Source
const DeleteK8SEnvDocument = `mutation DeleteK8SEnv ($input: DeleteK8SEnvInput!) {
	deleteK8SEnv(input: $input) {
		mutationId
		pendingMFA
	}
}
`
View Source
const GetAWSEnvDocument = `` /* 712-byte string literal not displayed */
View Source
const GetAWSEnvStatusDocument = `` /* 300-byte string literal not displayed */
View Source
const GetAzureEnvDocument = `` /* 609-byte string literal not displayed */
View Source
const GetAzureEnvStatusDocument = `` /* 262-byte string literal not displayed */
View Source
const GetGCPEnvDocument = `` /* 514-byte string literal not displayed */
View Source
const GetGCPEnvStatusDocument = `` /* 184-byte string literal not displayed */
View Source
const GetK8SEnvDocument = `` /* 853-byte string literal not displayed */
View Source
const GetK8SEnvStatusDocument = `` /* 184-byte string literal not displayed */
View Source
const UpdateAWSEnvDocument = `` /* 744-byte string literal not displayed */
View Source
const UpdateAzureEnvDocument = `` /* 643-byte string literal not displayed */
View Source
const UpdateGCPEnvDocument = `` /* 546-byte string literal not displayed */
View Source
const UpdateK8SEnvDocument = `` /* 885-byte string literal not displayed */

Variables

View Source
var DocumentOperationNames = map[string]string{
	GetAWSEnvDocument:         "GetAWSEnv",
	GetAWSEnvStatusDocument:   "GetAWSEnvStatus",
	CreateAWSEnvDocument:      "CreateAWSEnv",
	UpdateAWSEnvDocument:      "UpdateAWSEnv",
	DeleteAWSEnvDocument:      "DeleteAWSEnv",
	GetAzureEnvDocument:       "GetAzureEnv",
	GetAzureEnvStatusDocument: "GetAzureEnvStatus",
	CreateAzureEnvDocument:    "CreateAzureEnv",
	UpdateAzureEnvDocument:    "UpdateAzureEnv",
	DeleteAzureEnvDocument:    "DeleteAzureEnv",
	GetGCPEnvDocument:         "GetGCPEnv",
	GetGCPEnvStatusDocument:   "GetGCPEnvStatus",
	CreateGCPEnvDocument:      "CreateGCPEnv",
	UpdateGCPEnvDocument:      "UpdateGCPEnv",
	DeleteGCPEnvDocument:      "DeleteGCPEnv",
	GetK8SEnvDocument:         "GetK8SEnv",
	GetK8SEnvStatusDocument:   "GetK8SEnvStatus",
	CreateK8SEnvDocument:      "CreateK8SEnv",
	UpdateK8SEnvDocument:      "UpdateK8SEnv",
	DeleteK8SEnvDocument:      "DeleteK8SEnv",
}

Functions

func IsActiceClustersError added in v0.2.8

func IsActiceClustersError(err error) (bool, error)

func IsNotFoundError

func IsNotFoundError(err error) (bool, error)

func WithBearerAuthorization

func WithBearerAuthorization(ctx context.Context, token string) clientv2.RequestInterceptor

func WithUserAgent

func WithUserAgent(ctx context.Context, userAgent string) clientv2.RequestInterceptor

Types

type AWSEnv

type AWSEnv struct {
	// A globally-unique environment identifier.
	Name string `json:"name"`
	// Environment spec.
	Spec *AWSEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
	// Environment status.
	Status *AWSEnvStatus `json:"status"`
}

AWS environment.

type AWSEnvEndpointSpec

type AWSEnvEndpointSpec struct {
	// VPC endpoint service name in $endpoint_service_id.$region.vpce.amazonaws.com format.
	ServiceName string `json:"serviceName"`
	// By default, VPC endpoints get assigned $endpoint_service_id.$env_name.altinity.cloud DNS record.
	// Alias allows to override DNS record name to $alias.$env_name.altinity.cloud.
	Alias *string `json:"alias,omitempty"`
	// True indicates that Private DNS for this endpoint is enabled, false otherwise.
	PrivateDNS bool `json:"privateDNS"`
}

AWS environment VPC endpoint configuration.

type AWSEnvEndpointSpecInput

type AWSEnvEndpointSpecInput struct {
	// VPC endpoint service name (in $endpoint_service_id.$region.vpce.amazonaws.com format).
	ServiceName string `json:"serviceName"`
	// By default, VPC endpoints get assigned $endpoint_service_id.$env_name.altinity.cloud DNS record.
	// Alias allows to override DNS record name to $alias.$env_name.altinity.cloud.
	Alias *string `json:"alias,omitempty"`
	// Set to true to enable Private DNS for this endpoint. False by default.
	PrivateDNS *bool `json:"privateDNS,omitempty"`
}

AWS environment VPC endpoint configuration input.

type AWSEnvFilter

type AWSEnvFilter struct {
	// Names of the environments to return.
	// Names that don't match any of the existing environments are ignored.
	Names []string `json:"names,omitempty"`
}

AWS environments query filter.

type AWSEnvLoadBalancerInternalSpec

type AWSEnvLoadBalancerInternalSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
	// True indicates that traffic should be distributed across all specified availability zones,
	// false otherwise.
	//
	// True by default.
	CrossZone bool `json:"crossZone"`
	// ARNs for AWS principals that are allowed to create VPC endpoints.
	//
	// Examples:
	// - arn:aws:iam::$account_id:root
	EndpointServiceAllowedPrincipals []string `json:"endpointServiceAllowedPrincipals"`
}

AWS environment internal load balancer configuration.

type AWSEnvLoadBalancerInternalSpecInput

type AWSEnvLoadBalancerInternalSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
	// True indicates that traffic should be distributed across all specified availability zones,
	// false otherwise.
	//
	// True by default.
	CrossZone *bool `json:"crossZone,omitempty"`
	// ARNs for AWS principals that are allowed to create VPC endpoints.
	//
	// Examples:
	// - arn:aws:iam::$account_id:root
	EndpointServiceAllowedPrincipals []string `json:"endpointServiceAllowedPrincipals,omitempty"`
}

AWS environment internal load balancer configuration input.

type AWSEnvLoadBalancerInternalStatus

type AWSEnvLoadBalancerInternalStatus struct {
	// VPC endpoint service name in $endpoint_service_id.$region.vpce.amazonaws.com format (if any).
	EndpointServiceName *string `json:"endpointServiceName,omitempty"`
}

AWS environment internal load balancer status.

type AWSEnvLoadBalancerPublicSpec

type AWSEnvLoadBalancerPublicSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
	// True indicates that traffic should be distributed across all specified availability zones,
	// false otherwise.
	//
	// True by default.
	CrossZone bool `json:"crossZone"`
}

AWS environment public load balancer configuration.

type AWSEnvLoadBalancerPublicSpecInput

type AWSEnvLoadBalancerPublicSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
	// True indicates that traffic should be distributed across all specified availability zones,
	// false otherwise.
	//
	// True by default.
	CrossZone *bool `json:"crossZone,omitempty"`
}

AWS environment public load balancer configuration input.

type AWSEnvLoadBalancersSpec

type AWSEnvLoadBalancersSpec struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *AWSEnvLoadBalancerPublicSpec `json:"public"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *AWSEnvLoadBalancerInternalSpec `json:"internal"`
}

AWS environment load balancers configuration.

type AWSEnvLoadBalancersSpecInput

type AWSEnvLoadBalancersSpecInput struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *AWSEnvLoadBalancerPublicSpecInput `json:"public,omitempty"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *AWSEnvLoadBalancerInternalSpecInput `json:"internal,omitempty"`
}

AWS environment load balancers configuration input.

type AWSEnvLoadBalancersStatus

type AWSEnvLoadBalancersStatus struct {
	// Status of internal load balancer.
	Internal *AWSEnvLoadBalancerInternalStatus `json:"internal"`
}

AWS environment load balancers status.

type AWSEnvNodeGroupSpec

type AWSEnvNodeGroupSpec struct {
	// Unique (among environment node groups) node group identifier.
	Name string `json:"name"`
	// Instance type (https://aws.amazon.com/ec2/instance-types/).
	//
	// Example: "t4g.large"
	NodeType string `json:"nodeType"`
	// Availability zones.
	Zones []string `json:"zones"`
	// Maximum number of instances per availability zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workload that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations"`
}

AWS environment node group configuration.

type AWSEnvNodeGroupSpecInput

type AWSEnvNodeGroupSpecInput struct {
	// Unique (among environment node groups) node group identifier.
	//
	// Defaults to $nodeType.
	Name *string `json:"name,omitempty"`
	// Instance type (https://aws.amazon.com/ec2/instance-types/).
	NodeType string `json:"nodeType"`
	// Availability zones.
	//
	// Defaults to environment zones.
	Zones []string `json:"zones,omitempty"`
	// Maximum number of instances per availability zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads this group is reserved for.
	// Defaults to all.
	Reservations []NodeReservation `json:"reservations,omitempty"`
}

AWS environment node group configuration input.

type AWSEnvPeeringConnectionSpec

type AWSEnvPeeringConnectionSpec struct {
	// Target VPC ID.
	VpcID string `json:"vpcID"`
	// Target VPC region.
	//
	// Defaults to environment region.
	VpcRegion *string `json:"vpcRegion,omitempty"`
	// Target VPC AWS account ID.
	//
	// Defaults to environment AWS account ID.
	AwsAccountID *string `json:"awsAccountID,omitempty"`
}

AWS environment VPC peering configuration.

type AWSEnvPeeringConnectionSpecInput

type AWSEnvPeeringConnectionSpecInput struct {
	// Target VPC ID.
	VpcID string `json:"vpcID"`
	// Target VPC region.
	//
	// Defaults to environment region.
	VpcRegion *string `json:"vpcRegion,omitempty"`
	// Target VPC AWS account ID.
	//
	// Defaults to environment AWS account ID.
	AwsAccountID *string `json:"awsAccountID,omitempty"`
}

AWS environment VPC peering configuration input.

type AWSEnvPeeringConnectionStatus

type AWSEnvPeeringConnectionStatus struct {
	// Connection ID.
	ID *string `json:"id,omitempty"`
	// Target VPC ID.
	VpcID string `json:"vpcID"`
}

type AWSEnvSpec

type AWSEnvSpec struct {
	// ID of the AWS account (https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#ViewYourAWSId)
	// in which to provision AWS resources.
	//
	// Immutable.
	AwsAccountID string `json:"awsAccountID"`
	// VPC CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
	//
	// At least /21 required.
	//
	// Examples: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// AWS region (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.Regions).
	//
	// Example: "us-east-1"
	//
	// Immutable.
	Region string `json:"region"`
	// Explicit list of AWS availability zones.
	// At least 2 required.
	//
	// Example: ["us-east-1a", "us-east-1b"]
	Zones []string `json:"zones"`
	// Load balancers configuration.
	LoadBalancers *AWSEnvLoadBalancersSpec `json:"loadBalancers"`
	// Load balancing strategy.
	LoadBalancingStrategy LoadBalancingStrategy `json:"loadBalancingStrategy"`
	// List of node groups.
	// At least one required.
	NodeGroups []*AWSEnvNodeGroupSpec `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpec `json:"maintenanceWindows"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	//   CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	//   CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	//   CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// VPC peering configuration.
	PeeringConnections []*AWSEnvPeeringConnectionSpec `json:"peeringConnections"`
	// VPC endpoints configuration.
	Endpoints []*AWSEnvEndpointSpec `json:"endpoints"`
	// Tags to apply to AWS resources.
	Tags []*KeyValue `json:"tags"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management.
	CloudConnect bool `json:"cloudConnect"`
}

AWS environment configuration.

type AWSEnvSpecFragment

type AWSEnvSpecFragment struct {
	LoadBalancers         AWSEnvSpecFragment_LoadBalancers         "json:\"loadBalancers\" graphql:\"loadBalancers\""
	LoadBalancingStrategy LoadBalancingStrategy                    "json:\"loadBalancingStrategy\" graphql:\"loadBalancingStrategy\""
	CustomDomain          *string                                  "json:\"customDomain,omitempty\" graphql:\"customDomain\""
	NodeGroups            []*AWSEnvSpecFragment_NodeGroups         "json:\"nodeGroups\" graphql:\"nodeGroups\""
	MaintenanceWindows    []*AWSEnvSpecFragment_MaintenanceWindows "json:\"maintenanceWindows\" graphql:\"maintenanceWindows\""
	Region                string                                   "json:\"region\" graphql:\"region\""
	Zones                 []string                                 "json:\"zones\" graphql:\"zones\""
	Cidr                  string                                   "json:\"cidr\" graphql:\"cidr\""
	AwsAccountID          string                                   "json:\"awsAccountID\" graphql:\"awsAccountID\""
	PeeringConnections    []*AWSEnvSpecFragment_PeeringConnections "json:\"peeringConnections\" graphql:\"peeringConnections\""
	Endpoints             []*AWSEnvSpecFragment_Endpoints          "json:\"endpoints\" graphql:\"endpoints\""
	Tags                  []*AWSEnvSpecFragment_Tags               "json:\"tags\" graphql:\"tags\""
	CloudConnect          bool                                     "json:\"cloudConnect\" graphql:\"cloudConnect\""
}

func (*AWSEnvSpecFragment) GetAwsAccountID

func (t *AWSEnvSpecFragment) GetAwsAccountID() string

func (*AWSEnvSpecFragment) GetCidr

func (t *AWSEnvSpecFragment) GetCidr() string

func (*AWSEnvSpecFragment) GetCloudConnect

func (t *AWSEnvSpecFragment) GetCloudConnect() bool

func (*AWSEnvSpecFragment) GetCustomDomain

func (t *AWSEnvSpecFragment) GetCustomDomain() *string

func (*AWSEnvSpecFragment) GetEndpoints

func (t *AWSEnvSpecFragment) GetEndpoints() []*AWSEnvSpecFragment_Endpoints

func (*AWSEnvSpecFragment) GetLoadBalancers

func (*AWSEnvSpecFragment) GetLoadBalancingStrategy

func (t *AWSEnvSpecFragment) GetLoadBalancingStrategy() *LoadBalancingStrategy

func (*AWSEnvSpecFragment) GetMaintenanceWindows

func (t *AWSEnvSpecFragment) GetMaintenanceWindows() []*AWSEnvSpecFragment_MaintenanceWindows

func (*AWSEnvSpecFragment) GetNodeGroups

func (t *AWSEnvSpecFragment) GetNodeGroups() []*AWSEnvSpecFragment_NodeGroups

func (*AWSEnvSpecFragment) GetPeeringConnections

func (t *AWSEnvSpecFragment) GetPeeringConnections() []*AWSEnvSpecFragment_PeeringConnections

func (*AWSEnvSpecFragment) GetRegion

func (t *AWSEnvSpecFragment) GetRegion() string

func (*AWSEnvSpecFragment) GetTags

func (*AWSEnvSpecFragment) GetZones

func (t *AWSEnvSpecFragment) GetZones() []string

type AWSEnvSpecFragment_Endpoints

type AWSEnvSpecFragment_Endpoints struct {
	ServiceName string  "json:\"serviceName\" graphql:\"serviceName\""
	Alias       *string "json:\"alias,omitempty\" graphql:\"alias\""
	PrivateDNS  bool    "json:\"privateDNS\" graphql:\"privateDNS\""
}

func (*AWSEnvSpecFragment_Endpoints) GetAlias

func (t *AWSEnvSpecFragment_Endpoints) GetAlias() *string

func (*AWSEnvSpecFragment_Endpoints) GetPrivateDNS added in v0.3.1

func (t *AWSEnvSpecFragment_Endpoints) GetPrivateDNS() bool

func (*AWSEnvSpecFragment_Endpoints) GetServiceName

func (t *AWSEnvSpecFragment_Endpoints) GetServiceName() string

type AWSEnvSpecFragment_LoadBalancers

type AWSEnvSpecFragment_LoadBalancers struct {
	Public   AWSEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal AWSEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*AWSEnvSpecFragment_LoadBalancers) GetInternal

func (*AWSEnvSpecFragment_LoadBalancers) GetPublic

type AWSEnvSpecFragment_LoadBalancers_Internal

type AWSEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled                          bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges                   []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone                        bool     "json:\"crossZone\" graphql:\"crossZone\""
	EndpointServiceAllowedPrincipals []string "json:\"endpointServiceAllowedPrincipals\" graphql:\"endpointServiceAllowedPrincipals\""
}

func (*AWSEnvSpecFragment_LoadBalancers_Internal) GetCrossZone

func (*AWSEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals

func (t *AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals() []string

func (*AWSEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

func (t *AWSEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges() []string

type AWSEnvSpecFragment_LoadBalancers_Public

type AWSEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone      bool     "json:\"crossZone\" graphql:\"crossZone\""
}

func (*AWSEnvSpecFragment_LoadBalancers_Public) GetCrossZone

func (*AWSEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*AWSEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

func (t *AWSEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges() []string

type AWSEnvSpecFragment_MaintenanceWindows

type AWSEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*AWSEnvSpecFragment_MaintenanceWindows) GetDays

func (*AWSEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*AWSEnvSpecFragment_MaintenanceWindows) GetHour

func (*AWSEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (t *AWSEnvSpecFragment_MaintenanceWindows) GetLengthInHours() int64

func (*AWSEnvSpecFragment_MaintenanceWindows) GetName

type AWSEnvSpecFragment_NodeGroups

type AWSEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*AWSEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (t *AWSEnvSpecFragment_NodeGroups) GetCapacityPerZone() int64

func (*AWSEnvSpecFragment_NodeGroups) GetName

func (*AWSEnvSpecFragment_NodeGroups) GetNodeType

func (t *AWSEnvSpecFragment_NodeGroups) GetNodeType() string

func (*AWSEnvSpecFragment_NodeGroups) GetReservations

func (t *AWSEnvSpecFragment_NodeGroups) GetReservations() []NodeReservation

func (*AWSEnvSpecFragment_NodeGroups) GetZones

func (t *AWSEnvSpecFragment_NodeGroups) GetZones() []string

type AWSEnvSpecFragment_PeeringConnections

type AWSEnvSpecFragment_PeeringConnections struct {
	AwsAccountID *string "json:\"awsAccountID,omitempty\" graphql:\"awsAccountID\""
	VpcID        string  "json:\"vpcID\" graphql:\"vpcID\""
	VpcRegion    *string "json:\"vpcRegion,omitempty\" graphql:\"vpcRegion\""
}

func (*AWSEnvSpecFragment_PeeringConnections) GetAwsAccountID

func (t *AWSEnvSpecFragment_PeeringConnections) GetAwsAccountID() *string

func (*AWSEnvSpecFragment_PeeringConnections) GetVpcID

func (*AWSEnvSpecFragment_PeeringConnections) GetVpcRegion

func (t *AWSEnvSpecFragment_PeeringConnections) GetVpcRegion() *string

type AWSEnvSpecFragment_Tags

type AWSEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*AWSEnvSpecFragment_Tags) GetKey

func (t *AWSEnvSpecFragment_Tags) GetKey() string

func (*AWSEnvSpecFragment_Tags) GetValue

func (t *AWSEnvSpecFragment_Tags) GetValue() string

type AWSEnvStatus

type AWSEnvStatus struct {
	// Applied spec revision (monotonically-increasing).
	AppliedSpecRevision int64 `json:"appliedSpecRevision"`
	// Status of load balancers.
	LoadBalancers *AWSEnvLoadBalancersStatus `json:"loadBalancers"`
	// Status of peering connections.
	PeeringConnections []*AWSEnvPeeringConnectionStatus `json:"peeringConnections"`
	// True indicates that environment is pending deletion.
	PendingDelete bool `json:"pendingDelete"`
	// Status errors.
	Errors []*EnvStatusError `json:"errors"`
}

AWS environment status.

type AWSEnvUpdateSpecInput

type AWSEnvUpdateSpecInput struct {
	// Number of AWS availability zones.
	// At least 2 required (if specified).
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of AWS availability zones.
	// At least 2 required (if specified).
	//
	// Example: ["us-east-1a", "us-east-1b"]
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *AWSEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	NodeGroups []*AWSEnvNodeGroupSpecInput `json:"nodeGroups,omitempty"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// VPC peering configuration.
	PeeringConnections []*AWSEnvPeeringConnectionSpecInput `json:"peeringConnections,omitempty"`
	// VPC endpoints configuration.
	Endpoints []*AWSEnvEndpointSpecInput `json:"endpoints,omitempty"`
	// Tags to apply to AWS resources.
	Tags []*KeyValueInput `json:"tags,omitempty"`
}

AWS environment configuration update request input.

type AzureEnv added in v0.2.0

type AzureEnv struct {
	// A globally-unique environment identifier.
	Name string `json:"name"`
	// Environment spec.
	Spec *AzureEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
	// Environment status.
	Status *AzureEnvStatus `json:"status"`
}

Azure environment.

type AzureEnvFilter added in v0.2.0

type AzureEnvFilter struct {
	// Names of the environments to return.
	// Names that don't match any of the existing environments are ignored.
	Names []string `json:"names,omitempty"`
}

Azure environments query filter.

type AzureEnvLoadBalancerInternalSpec added in v0.2.0

type AzureEnvLoadBalancerInternalSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

Azure environment internal load balancer configuration.

type AzureEnvLoadBalancerInternalSpecInput added in v0.2.0

type AzureEnvLoadBalancerInternalSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type AzureEnvLoadBalancerInternalStatus added in v0.2.0

type AzureEnvLoadBalancerInternalStatus struct {
	// Private Link Service Alias / DNS Name in prefix.GUID.suffix format.
	PrivateLinkServiceAlias *string `json:"privateLinkServiceAlias,omitempty"`
}

Azure environment internal load balancer status.

type AzureEnvLoadBalancerPublicSpec added in v0.2.0

type AzureEnvLoadBalancerPublicSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

Azure environment public load balancer configuration.

type AzureEnvLoadBalancerPublicSpecInput added in v0.2.0

type AzureEnvLoadBalancerPublicSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type AzureEnvLoadBalancersSpec added in v0.2.0

type AzureEnvLoadBalancersSpec struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *AzureEnvLoadBalancerPublicSpec `json:"public"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *AzureEnvLoadBalancerInternalSpec `json:"internal"`
}

Azure environment load balancers configuration.

type AzureEnvLoadBalancersSpecInput added in v0.2.0

type AzureEnvLoadBalancersSpecInput struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *AzureEnvLoadBalancerPublicSpecInput `json:"public,omitempty"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *AzureEnvLoadBalancerInternalSpecInput `json:"internal,omitempty"`
}

Azure environment load balancers configuration input.

type AzureEnvLoadBalancersStatus added in v0.2.0

type AzureEnvLoadBalancersStatus struct {
	// Status of internal load balancer.
	Internal *AzureEnvLoadBalancerInternalStatus `json:"internal"`
}

Azure environment load balancers status.

type AzureEnvNodeGroupSpec added in v0.2.0

type AzureEnvNodeGroupSpec struct {
	// Unique (among environment node groups) node group identifier.
	Name string `json:"name"`
	// Instance type (https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series).
	//
	// Example: "PremiumV2_LRS"
	NodeType string `json:"nodeType"`
	// Availability zones.
	Zones []string `json:"zones"`
	// Maximum number of instances per availability zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workload that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations"`
}

Azure environment node group configuration.

type AzureEnvNodeGroupSpecInput added in v0.2.0

type AzureEnvNodeGroupSpecInput struct {
	// Unique (among environment node groups) node group identifier.
	//
	// Defaults to $nodeType.
	Name *string `json:"name,omitempty"`
	// Machine type (https://azure.microsoft.com/en-us/pricing/details/virtual-machines/series).
	//
	// Example: "PremiumV2_LRS"
	NodeType string `json:"nodeType"`
	// Azure zones.
	//
	// Defaults to environment zones.
	Zones []string `json:"zones,omitempty"`
	// Maximum number of instances per zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations,omitempty"`
}

Azure environment node group configuration input.

type AzureEnvSpec added in v0.2.0

type AzureEnvSpec struct {
	// ID of the Azure Active Directory tenant for user identity and access management.
	//
	// Immutable.
	TenantID string `json:"tenantID"`
	// ID linking the environment to a specific Azure subscription for resource management.
	//
	// Immutable.
	SubscriptionID string `json:"subscriptionID"`
	// VPC CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
	//
	// At least /21 required.
	//
	// Examples: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// Azure region (https://azure.microsoft.com/en-us/explore/global-infrastructure/geographies).
	//
	// Example: "eastus"
	//
	// Immutable.
	Region string `json:"region"`
	// Explicit list of Azure availability zones.
	// At least 2 required.
	//
	// Example: ["eastus-1", "eastus-2"]
	Zones []string `json:"zones"`
	// Load balancers configuration.
	LoadBalancers *AzureEnvLoadBalancersSpec `json:"loadBalancers"`
	// Load balancing strategy.
	LoadBalancingStrategy LoadBalancingStrategy `json:"loadBalancingStrategy"`
	// List of node groups.
	// At least one required.
	NodeGroups []*AzureEnvNodeGroupSpec `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpec `json:"maintenanceWindows"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	//   CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	//   CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, privatelink)
	//   CNAME *.privatelink.example.com. _.privatelink.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// Azure Private Link service configuration.
	PrivateLinkService *PrivateLinkServiceSpec `json:"privateLinkService"`
	// Tags to apply to Azure resources.
	Tags []*KeyValue `json:"tags"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management.
	CloudConnect bool `json:"cloudConnect"`
}

Azure environment configuration.

type AzureEnvSpecFragment added in v0.2.0

type AzureEnvSpecFragment struct {
	LoadBalancers         AzureEnvSpecFragment_LoadBalancers         "json:\"loadBalancers\" graphql:\"loadBalancers\""
	LoadBalancingStrategy LoadBalancingStrategy                      "json:\"loadBalancingStrategy\" graphql:\"loadBalancingStrategy\""
	CustomDomain          *string                                    "json:\"customDomain,omitempty\" graphql:\"customDomain\""
	NodeGroups            []*AzureEnvSpecFragment_NodeGroups         "json:\"nodeGroups\" graphql:\"nodeGroups\""
	MaintenanceWindows    []*AzureEnvSpecFragment_MaintenanceWindows "json:\"maintenanceWindows\" graphql:\"maintenanceWindows\""
	Tags                  []*AzureEnvSpecFragment_Tags               "json:\"tags\" graphql:\"tags\""
	PrivateLinkService    AzureEnvSpecFragment_PrivateLinkService    "json:\"privateLinkService\" graphql:\"privateLinkService\""
	Region                string                                     "json:\"region\" graphql:\"region\""
	Zones                 []string                                   "json:\"zones\" graphql:\"zones\""
	Cidr                  string                                     "json:\"cidr\" graphql:\"cidr\""
	TenantID              string                                     "json:\"tenantID\" graphql:\"tenantID\""
	SubscriptionID        string                                     "json:\"subscriptionID\" graphql:\"subscriptionID\""
	CloudConnect          bool                                       "json:\"cloudConnect\" graphql:\"cloudConnect\""
}

func (*AzureEnvSpecFragment) GetCidr added in v0.2.0

func (t *AzureEnvSpecFragment) GetCidr() string

func (*AzureEnvSpecFragment) GetCloudConnect added in v0.2.0

func (t *AzureEnvSpecFragment) GetCloudConnect() bool

func (*AzureEnvSpecFragment) GetCustomDomain added in v0.2.0

func (t *AzureEnvSpecFragment) GetCustomDomain() *string

func (*AzureEnvSpecFragment) GetLoadBalancers added in v0.2.0

func (*AzureEnvSpecFragment) GetLoadBalancingStrategy added in v0.2.0

func (t *AzureEnvSpecFragment) GetLoadBalancingStrategy() *LoadBalancingStrategy

func (*AzureEnvSpecFragment) GetMaintenanceWindows added in v0.2.0

func (t *AzureEnvSpecFragment) GetMaintenanceWindows() []*AzureEnvSpecFragment_MaintenanceWindows

func (*AzureEnvSpecFragment) GetNodeGroups added in v0.2.0

func (*AzureEnvSpecFragment) GetPrivateLinkService added in v0.2.0

func (*AzureEnvSpecFragment) GetRegion added in v0.2.0

func (t *AzureEnvSpecFragment) GetRegion() string

func (*AzureEnvSpecFragment) GetSubscriptionID added in v0.2.0

func (t *AzureEnvSpecFragment) GetSubscriptionID() string

func (*AzureEnvSpecFragment) GetTags added in v0.2.0

func (*AzureEnvSpecFragment) GetTenantID added in v0.2.0

func (t *AzureEnvSpecFragment) GetTenantID() string

func (*AzureEnvSpecFragment) GetZones added in v0.2.0

func (t *AzureEnvSpecFragment) GetZones() []string

type AzureEnvSpecFragment_LoadBalancers added in v0.2.0

type AzureEnvSpecFragment_LoadBalancers struct {
	Public   AzureEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal AzureEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*AzureEnvSpecFragment_LoadBalancers) GetInternal added in v0.2.0

func (*AzureEnvSpecFragment_LoadBalancers) GetPublic added in v0.2.0

type AzureEnvSpecFragment_LoadBalancers_Internal added in v0.2.0

type AzureEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*AzureEnvSpecFragment_LoadBalancers_Internal) GetEnabled added in v0.2.0

func (*AzureEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges added in v0.2.0

func (t *AzureEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges() []string

type AzureEnvSpecFragment_LoadBalancers_Public added in v0.2.0

type AzureEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*AzureEnvSpecFragment_LoadBalancers_Public) GetEnabled added in v0.2.0

func (*AzureEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges added in v0.2.0

func (t *AzureEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges() []string

type AzureEnvSpecFragment_MaintenanceWindows added in v0.2.0

type AzureEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*AzureEnvSpecFragment_MaintenanceWindows) GetDays added in v0.2.0

func (*AzureEnvSpecFragment_MaintenanceWindows) GetEnabled added in v0.2.0

func (*AzureEnvSpecFragment_MaintenanceWindows) GetHour added in v0.2.0

func (*AzureEnvSpecFragment_MaintenanceWindows) GetLengthInHours added in v0.2.0

func (t *AzureEnvSpecFragment_MaintenanceWindows) GetLengthInHours() int64

func (*AzureEnvSpecFragment_MaintenanceWindows) GetName added in v0.2.0

type AzureEnvSpecFragment_NodeGroups added in v0.2.0

type AzureEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
}

func (*AzureEnvSpecFragment_NodeGroups) GetCapacityPerZone added in v0.2.0

func (t *AzureEnvSpecFragment_NodeGroups) GetCapacityPerZone() int64

func (*AzureEnvSpecFragment_NodeGroups) GetName added in v0.2.0

func (*AzureEnvSpecFragment_NodeGroups) GetNodeType added in v0.2.0

func (t *AzureEnvSpecFragment_NodeGroups) GetNodeType() string

func (*AzureEnvSpecFragment_NodeGroups) GetReservations added in v0.2.0

func (t *AzureEnvSpecFragment_NodeGroups) GetReservations() []NodeReservation

func (*AzureEnvSpecFragment_NodeGroups) GetZones added in v0.2.0

func (t *AzureEnvSpecFragment_NodeGroups) GetZones() []string

type AzureEnvSpecFragment_PrivateLinkService added in v0.2.0

type AzureEnvSpecFragment_PrivateLinkService struct {
	AllowedSubscriptions []string "json:\"allowedSubscriptions\" graphql:\"allowedSubscriptions\""
}

func (*AzureEnvSpecFragment_PrivateLinkService) GetAllowedSubscriptions added in v0.2.0

func (t *AzureEnvSpecFragment_PrivateLinkService) GetAllowedSubscriptions() []string

type AzureEnvSpecFragment_Tags added in v0.2.0

type AzureEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*AzureEnvSpecFragment_Tags) GetKey added in v0.2.0

func (t *AzureEnvSpecFragment_Tags) GetKey() string

func (*AzureEnvSpecFragment_Tags) GetValue added in v0.2.0

func (t *AzureEnvSpecFragment_Tags) GetValue() string

type AzureEnvStatus added in v0.2.0

type AzureEnvStatus struct {
	// Applied spec revision (monotonically-increasing).
	AppliedSpecRevision int64 `json:"appliedSpecRevision"`
	// Status of load balancers.
	LoadBalancers *AzureEnvLoadBalancersStatus `json:"loadBalancers"`
	// True indicates that environment is pending deletion.
	PendingDelete bool `json:"pendingDelete"`
	// Status errors.
	Errors []*EnvStatusError `json:"errors"`
}

Azure environment status.

type Client

type Client struct {
	Client *clientv2.Client
}

func NewClient

func NewClient(cli clientv2.HttpClient, baseURL string, options *clientv2.Options, interceptors ...clientv2.RequestInterceptor) *Client

func (*Client) CreateAWSEnv

func (c *Client) CreateAWSEnv(ctx context.Context, input CreateAWSEnvInput, interceptors ...clientv2.RequestInterceptor) (*CreateAWSEnv, error)

func (*Client) CreateAzureEnv added in v0.2.0

func (c *Client) CreateAzureEnv(ctx context.Context, input CreateAzureEnvInput, interceptors ...clientv2.RequestInterceptor) (*CreateAzureEnv, error)

func (*Client) CreateGCPEnv

func (c *Client) CreateGCPEnv(ctx context.Context, input CreateGCPEnvInput, interceptors ...clientv2.RequestInterceptor) (*CreateGCPEnv, error)

func (*Client) CreateK8SEnv

func (c *Client) CreateK8SEnv(ctx context.Context, input CreateK8SEnvInput, interceptors ...clientv2.RequestInterceptor) (*CreateK8SEnv, error)

func (*Client) DeleteAWSEnv

func (c *Client) DeleteAWSEnv(ctx context.Context, input DeleteAWSEnvInput, interceptors ...clientv2.RequestInterceptor) (*DeleteAWSEnv, error)

func (*Client) DeleteAzureEnv added in v0.2.0

func (c *Client) DeleteAzureEnv(ctx context.Context, input DeleteAzureEnvInput, interceptors ...clientv2.RequestInterceptor) (*DeleteAzureEnv, error)

func (*Client) DeleteGCPEnv

func (c *Client) DeleteGCPEnv(ctx context.Context, input DeleteGCPEnvInput, interceptors ...clientv2.RequestInterceptor) (*DeleteGCPEnv, error)

func (*Client) DeleteK8SEnv

func (c *Client) DeleteK8SEnv(ctx context.Context, input DeleteK8SEnvInput, interceptors ...clientv2.RequestInterceptor) (*DeleteK8SEnv, error)

func (*Client) GetAWSEnv

func (c *Client) GetAWSEnv(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetAWSEnv, error)

func (*Client) GetAWSEnvStatus

func (c *Client) GetAWSEnvStatus(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetAWSEnvStatus, error)

func (*Client) GetAzureEnv added in v0.2.0

func (c *Client) GetAzureEnv(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetAzureEnv, error)

func (*Client) GetAzureEnvStatus added in v0.2.0

func (c *Client) GetAzureEnvStatus(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetAzureEnvStatus, error)

func (*Client) GetGCPEnv

func (c *Client) GetGCPEnv(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetGCPEnv, error)

func (*Client) GetGCPEnvStatus

func (c *Client) GetGCPEnvStatus(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetGCPEnvStatus, error)

func (*Client) GetK8SEnv

func (c *Client) GetK8SEnv(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetK8SEnv, error)

func (*Client) GetK8SEnvStatus

func (c *Client) GetK8SEnvStatus(ctx context.Context, name string, interceptors ...clientv2.RequestInterceptor) (*GetK8SEnvStatus, error)

func (*Client) UpdateAWSEnv

func (c *Client) UpdateAWSEnv(ctx context.Context, input UpdateAWSEnvInput, interceptors ...clientv2.RequestInterceptor) (*UpdateAWSEnv, error)

func (*Client) UpdateAzureEnv added in v0.2.0

func (c *Client) UpdateAzureEnv(ctx context.Context, input UpdateAzureEnvInput, interceptors ...clientv2.RequestInterceptor) (*UpdateAzureEnv, error)

func (*Client) UpdateGCPEnv

func (c *Client) UpdateGCPEnv(ctx context.Context, input UpdateGCPEnvInput, interceptors ...clientv2.RequestInterceptor) (*UpdateGCPEnv, error)

func (*Client) UpdateK8SEnv

func (c *Client) UpdateK8SEnv(ctx context.Context, input UpdateK8SEnvInput, interceptors ...clientv2.RequestInterceptor) (*UpdateK8SEnv, error)

type ClientError

type ClientError struct {
	NetworkErrors []interface{}  `json:"networkErrors"`
	GraphqlErrors []GraphQLError `json:"graphqlErrors"`
}

func ParseError

func ParseError(err error) (*ClientError, error)

type CodeGenEnvOutput added in v0.3.0

type CodeGenEnvOutput struct {
	Terraform string `json:"terraform"`
}

type CreateAWSEnv

type CreateAWSEnv struct {
	CreateAWSEnv CreateAWSEnv_CreateAWSEnv "json:\"createAWSEnv\" graphql:\"createAWSEnv\""
}

func (*CreateAWSEnv) GetCreateAWSEnv

func (t *CreateAWSEnv) GetCreateAWSEnv() *CreateAWSEnv_CreateAWSEnv

type CreateAWSEnvInput

type CreateAWSEnvInput struct {
	// A globally-unique environment identifier.
	//
	// Immutable.
	Name string `json:"name"`
	// Environment spec.
	Spec *CreateAWSEnvSpecInput `json:"spec"`
}

AWS environment create request input.

type CreateAWSEnvResult

type CreateAWSEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// AWS environment active configuration.
	Spec *AWSEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

AWS environment create request result.

type CreateAWSEnvSpecInput

type CreateAWSEnvSpecInput struct {
	// ID of the AWS account (https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#ViewYourAWSId)
	// in which to provision AWS resources.
	//
	// Immutable.
	AwsAccountID string `json:"awsAccountID"`
	// VPC CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10/8, 172.16/12, 192.168/16).
	//
	// At least /21 required.
	//
	// Example: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// AWS region (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html#Concepts.RegionsAndAvailabilityZones.Regions).
	//
	// Example: "us-east-1"
	//
	// Immutable.
	Region string `json:"region"`
	// Number of AWS availability zones.
	// At least 2 required.
	//
	// This field is optional if "zones" is specified.
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of AWS availability zones.
	// At least 2 required.
	//
	// Example: ["us-east-1a", "us-east-1b"]
	//
	// This field is optional if "numberOfZones" is specified.
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *AWSEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*AWSEnvNodeGroupSpecInput `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// VPC peering configuration.
	PeeringConnections []*AWSEnvPeeringConnectionSpecInput `json:"peeringConnections,omitempty"`
	// VPC endpoints configuration.
	Endpoints []*AWSEnvEndpointSpecInput `json:"endpoints,omitempty"`
	// Tags to apply to AWS resources.
	Tags []*KeyValueInput `json:"tags,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management (default).
	//
	// Immutable.
	CloudConnect *bool `json:"cloudConnect,omitempty"`
}

AWS environment configuration create request input.

type CreateAWSEnv_CreateAWSEnv

type CreateAWSEnv_CreateAWSEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *AWSEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*CreateAWSEnv_CreateAWSEnv) GetMutationID

func (t *CreateAWSEnv_CreateAWSEnv) GetMutationID() string

func (*CreateAWSEnv_CreateAWSEnv) GetSpec

func (*CreateAWSEnv_CreateAWSEnv) GetSpecRevision

func (t *CreateAWSEnv_CreateAWSEnv) GetSpecRevision() int64

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints struct {
	ServiceName string  "json:\"serviceName\" graphql:\"serviceName\""
	Alias       *string "json:\"alias,omitempty\" graphql:\"alias\""
	PrivateDNS  bool    "json:\"privateDNS\" graphql:\"privateDNS\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetAlias

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetPrivateDNS added in v0.3.1

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetServiceName

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers struct {
	Public   CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetInternal

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetPublic

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled                          bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges                   []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone                        bool     "json:\"crossZone\" graphql:\"crossZone\""
	EndpointServiceAllowedPrincipals []string "json:\"endpointServiceAllowedPrincipals\" graphql:\"endpointServiceAllowedPrincipals\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetCrossZone

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals

func (t *CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals() []string

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone      bool     "json:\"crossZone\" graphql:\"crossZone\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetCrossZone

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetDays

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetHour

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetName

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetName

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetNodeType

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetReservations

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetZones

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections struct {
	AwsAccountID *string "json:\"awsAccountID,omitempty\" graphql:\"awsAccountID\""
	VpcID        string  "json:\"vpcID\" graphql:\"vpcID\""
	VpcRegion    *string "json:\"vpcRegion,omitempty\" graphql:\"vpcRegion\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetAwsAccountID

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcID

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcRegion

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Tags

type CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Tags) GetKey

func (*CreateAWSEnv_CreateAWSEnv_Spec_AWSEnvSpecFragment_Tags) GetValue

type CreateAzureEnv added in v0.2.0

type CreateAzureEnv struct {
	CreateAzureEnv CreateAzureEnv_CreateAzureEnv "json:\"createAzureEnv\" graphql:\"createAzureEnv\""
}

func (*CreateAzureEnv) GetCreateAzureEnv added in v0.2.0

func (t *CreateAzureEnv) GetCreateAzureEnv() *CreateAzureEnv_CreateAzureEnv

type CreateAzureEnvInput added in v0.2.0

type CreateAzureEnvInput struct {
	// A globally-unique environment identifier.
	//
	// Immutable.
	Name string `json:"name"`
	// Environment spec.
	Spec *CreateAzureEnvSpecInput `json:"spec"`
}

Azure environment create request input.

type CreateAzureEnvResult added in v0.2.0

type CreateAzureEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// Azure environment active configuration.
	Spec *AzureEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

Azure environment create request result.

type CreateAzureEnvSpecInput added in v0.2.0

type CreateAzureEnvSpecInput struct {
	// ID of the Azure Active Directory tenant for user identity and access management.
	//
	// Immutable.
	TenantID string `json:"tenantID"`
	// ID linking the environment to a specific Azure subscription for resource management.
	//
	// Immutable.
	SubscriptionID string `json:"subscriptionID"`
	// Network CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10/8, 172.16/12, 192.168/16).
	//
	// At least /21 required.
	//
	// Example: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// Azure region (https://azure.microsoft.com/en-us/explore/global-infrastructure/geographies).
	//
	// Example: "eastus".
	//
	// Immutable.
	Region string `json:"region"`
	// Number of Azure zones.
	// At least 2 required.
	//
	// This field is optional if "zones" is specified.
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of Azure zones.
	// At least 2 required.
	//
	// Example: ["eastus-1", "eastus-2"]
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *AzureEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*AzureEnvNodeGroupSpecInput `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, privatelink)
	// CNAME *.privatelink.example.com. _.privatelink.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// Azure Private Link service configuration.
	PrivateLinkService *PrivateLinkServiceSpecInput `json:"privateLinkService,omitempty"`
	Tags               []*KeyValueInput             `json:"tags,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management (default).
	//
	// Immutable.
	CloudConnect *bool `json:"cloudConnect,omitempty"`
}

Azure environment configuration create request input.

type CreateAzureEnv_CreateAzureEnv added in v0.2.0

type CreateAzureEnv_CreateAzureEnv struct {
	MutationID   string                "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *AzureEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64                 "json:\"specRevision\" graphql:\"specRevision\""
}

func (*CreateAzureEnv_CreateAzureEnv) GetMutationID added in v0.2.0

func (t *CreateAzureEnv_CreateAzureEnv) GetMutationID() string

func (*CreateAzureEnv_CreateAzureEnv) GetSpec added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv) GetSpecRevision added in v0.2.0

func (t *CreateAzureEnv_CreateAzureEnv) GetSpecRevision() int64

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers struct {
	Public   CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetInternal added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetPublic added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetEnabled added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetEnabled added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetDays added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetEnabled added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetHour added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetLengthInHours added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetName added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetCapacityPerZone added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetName added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetNodeType added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetReservations added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetZones added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService struct {
	AllowedSubscriptions []string "json:\"allowedSubscriptions\" graphql:\"allowedSubscriptions\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService) GetAllowedSubscriptions added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_Tags added in v0.2.0

type CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_Tags) GetKey added in v0.2.0

func (*CreateAzureEnv_CreateAzureEnv_Spec_AzureEnvSpecFragment_Tags) GetValue added in v0.2.0

type CreateGCPEnv

type CreateGCPEnv struct {
	CreateGCPEnv CreateGCPEnv_CreateGCPEnv "json:\"createGCPEnv\" graphql:\"createGCPEnv\""
}

func (*CreateGCPEnv) GetCreateGCPEnv

func (t *CreateGCPEnv) GetCreateGCPEnv() *CreateGCPEnv_CreateGCPEnv

type CreateGCPEnvInput

type CreateGCPEnvInput struct {
	// A globally-unique environment identifier.
	//
	// Immutable.
	Name string `json:"name"`
	// Environment spec.
	Spec *CreateGCPEnvSpecInput `json:"spec"`
}

GCP environment create request input.

type CreateGCPEnvResult

type CreateGCPEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// GCP environment active configuration.
	Spec *GCPEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

GCP environment create request result.

type CreateGCPEnvSpecInput

type CreateGCPEnvSpecInput struct {
	// ID of the GCP project (https://support.google.com/googleapi/answer/7014113?hl=en#:~:text=The%20project%20ID%20is%20a,ID%20or%20create%20your%20own.)
	// in which to provision GCP resources.
	//
	// Immutable.
	GcpProjectID string `json:"gcpProjectId"`
	// Network CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10/8, 172.16/12, 192.168/16).
	//
	// At least /21 required.
	//
	// Example: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// GCP region (https://cloud.google.com/about/locations).
	//
	// Example: "us-west1".
	//
	// Immutable.
	Region string `json:"region"`
	// Number of GCP zones.
	// At least 2 required.
	//
	// This field is optional if "zones" is specified.
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of GCP zones.
	// At least 2 required.
	//
	// Example: ["us-west1a", "us-west1b"]
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *GCPEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*GCPEnvNodeGroupSpecInput `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management (default).
	//
	// Immutable.
	CloudConnect *bool `json:"cloudConnect,omitempty"`
}

GCP environment configuration create request input.

type CreateGCPEnv_CreateGCPEnv

type CreateGCPEnv_CreateGCPEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *GCPEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*CreateGCPEnv_CreateGCPEnv) GetMutationID

func (t *CreateGCPEnv_CreateGCPEnv) GetMutationID() string

func (*CreateGCPEnv_CreateGCPEnv) GetSpec

func (*CreateGCPEnv_CreateGCPEnv) GetSpecRevision

func (t *CreateGCPEnv_CreateGCPEnv) GetSpecRevision() int64

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers struct {
	Public   CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetInternal

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetPublic

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetDays

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetHour

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetName

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups

type CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetName

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetNodeType

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetReservations

func (*CreateGCPEnv_CreateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetZones

type CreateHCloudEnvInput added in v0.3.1

type CreateHCloudEnvInput struct {
	// A globally-unique environment identifier.
	//
	// Immutable.
	Name string `json:"name"`
	// Environment spec.
	Spec *CreateHCloudEnvSpecInput `json:"spec"`
}

HCloud environment create request input.

type CreateHCloudEnvResult added in v0.3.1

type CreateHCloudEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// HCloud environment active configuration.
	Spec *HCloudEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

HCloud environment create request result.

type CreateHCloudEnvSpecInput added in v0.3.1

type CreateHCloudEnvSpecInput struct {
	// Network CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10/8, 172.16/12, 192.168/16).
	//
	// At least /21 required.
	//
	// Example: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// HCloud network https://docs.hetzner.com/cloud/general/locations/
	//
	// Example: "us-west"
	//
	// Immutable.
	NetworkZone string `json:"networkZone"`
	// Explicit list of HCloud locations.
	// (currently supports single location only)
	//
	// Example: ["hil"]
	Locations []string `json:"locations"`
	// Load balancers configuration.
	LoadBalancers *HCloudEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*HCloudEnvNodeGroupSpecInput `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management.
	CloudConnect *bool `json:"cloudConnect,omitempty"`
	// Labels to apply to HCloud resources.
	Labels []*KeyValueInput `json:"labels,omitempty"`
	// Encrypted value of HCLOUD_TOKEN
	HcloudTokenEnc string `json:"hcloudTokenEnc"`
	// Wireguard peers configuration.
	WireguardPeers []*HCloudEnvWireguardPeerInput `json:"wireguardPeers"`
}

HCloud environment configuration create request input.

type CreateK8SEnv

type CreateK8SEnv struct {
	CreateK8SEnv CreateK8SEnv_CreateK8SEnv "json:\"createK8SEnv\" graphql:\"createK8SEnv\""
}

func (*CreateK8SEnv) GetCreateK8SEnv

func (t *CreateK8SEnv) GetCreateK8SEnv() *CreateK8SEnv_CreateK8SEnv

type CreateK8SEnvInput

type CreateK8SEnvInput struct {
	// A globally-unique environment identifier.
	//
	// Immutable.
	Name string `json:"name"`
	// Environment spec.
	Spec *CreateK8SEnvSpecInput `json:"spec"`
}

Kubernetes environment create request input.

type CreateK8SEnvResult

type CreateK8SEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// Kubernetes environment active configuration.
	Spec *K8SEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

Kubernetes environment create request result.

type CreateK8SEnvSpecInput

type CreateK8SEnvSpecInput struct {
	// Kubernetes distribution.
	//
	// Immutable.
	Distribution K8SDistribution `json:"distribution"`
	// Load balancers configuration.
	LoadBalancers *K8SEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*K8SEnvNodeGroupSpecInput `json:"nodeGroups"`
	// Custom node types.
	CustomNodeTypes []*K8SEnvCustomNodeTypeSpecInput `json:"customNodeTypes,omitempty"`
	// Metrics configuration.
	Metrics *K8SEnvMetricsSpecInput `json:"metrics,omitempty"`
	// Logs configuration.
	Logs *K8SEnvLogsSpecInput `json:"logs,omitempty"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
}

Kubernetes environment configuration create request input.

type CreateK8SEnv_CreateK8SEnv

type CreateK8SEnv_CreateK8SEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *K8SEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*CreateK8SEnv_CreateK8SEnv) GetMutationID

func (t *CreateK8SEnv_CreateK8SEnv) GetMutationID() string

func (*CreateK8SEnv_CreateK8SEnv) GetSpec

func (*CreateK8SEnv_CreateK8SEnv) GetSpecRevision

func (t *CreateK8SEnv_CreateK8SEnv) GetSpecRevision() int64

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes struct {
	Name                  string  "json:\"name\" graphql:\"name\""
	CPUAllocatable        float64 "json:\"cpuAllocatable\" graphql:\"cpuAllocatable\""
	MemAllocatableInBytes int64   "json:\"memAllocatableInBytes\" graphql:\"memAllocatableInBytes\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetCPUAllocatable

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetMemAllocatableInBytes

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetName

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers struct {
	Public   CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetInternal

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetPublic

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool                                                                                    "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                                "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetAnnotations

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetKey

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetValue

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool                                                                                  "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                              "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetAnnotations

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetKey

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetValue

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs struct {
	Storage CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage "json:\"storage\" graphql:\"storage\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs) GetStorage

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage struct {
	S3  *CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3  "json:\"s3,omitempty\" graphql:\"s3\""
	Gcs *CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs "json:\"gcs,omitempty\" graphql:\"gcs\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetGcs

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetS3

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs) GetBucketName

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3 struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
	Region     *string "json:\"region,omitempty\" graphql:\"region\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetBucketName

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetRegion

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetDays

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetHour

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetName

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Metrics

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Metrics struct {
	RetentionPeriodInDays *int64 "json:\"retentionPeriodInDays,omitempty\" graphql:\"retentionPeriodInDays\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups struct {
	Name            string                                                                      "json:\"name\" graphql:\"name\""
	NodeType        string                                                                      "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64                                                                       "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Selector        []*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector    "json:\"selector\" graphql:\"selector\""
	Tolerations     []*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations "json:\"tolerations\" graphql:\"tolerations\""
	Reservations    []NodeReservation                                                           "json:\"reservations\" graphql:\"reservations\""
	Zones           []string                                                                    "json:\"zones\" graphql:\"zones\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetName

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetNodeType

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetReservations

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetSelector

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetTolerations

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetZones

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetKey

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetValue

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations

type CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations struct {
	Effect   NodeTolerationEffect   "json:\"effect\" graphql:\"effect\""
	Operator NodeTolerationOperator "json:\"operator\" graphql:\"operator\""
	Key      string                 "json:\"key\" graphql:\"key\""
	Value    string                 "json:\"value\" graphql:\"value\""
}

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetEffect

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetKey

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetOperator

func (*CreateK8SEnv_CreateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetValue

type Day

type Day string

Day of the week.

const (
	DaySunday    Day = "SUNDAY"
	DayMonday    Day = "MONDAY"
	DayTuesday   Day = "TUESDAY"
	DayWednesday Day = "WEDNESDAY"
	DayThursday  Day = "THURSDAY"
	DayFriday    Day = "FRIDAY"
	DaySaturday  Day = "SATURDAY"
)

func (Day) IsValid

func (e Day) IsValid() bool

func (Day) MarshalGQL

func (e Day) MarshalGQL(w io.Writer)

func (Day) String

func (e Day) String() string

func (*Day) UnmarshalGQL

func (e *Day) UnmarshalGQL(v interface{}) error

type DeleteAWSEnv

type DeleteAWSEnv struct {
	DeleteAWSEnv DeleteAWSEnv_DeleteAWSEnv "json:\"deleteAWSEnv\" graphql:\"deleteAWSEnv\""
}

func (*DeleteAWSEnv) GetDeleteAWSEnv

func (t *DeleteAWSEnv) GetDeleteAWSEnv() *DeleteAWSEnv_DeleteAWSEnv

type DeleteAWSEnvInput

type DeleteAWSEnvInput struct {
	// The name of AWS environment to delete.
	Name string `json:"name"`
	// By default, delete mutation does not delete the env but rather marks it to be
	// removed once it's deprovisioned (which may take some time).
	// Set "force" to true to skip deprovisioning.
	Force *bool `json:"force,omitempty"`
	// By default, the delete operation will not delete any provisioned clusters and
	// the deletion will fail until the clusters get removed.
	// Set "forceDestroyClusters" to true remove all provisioned clusters as part of the environment deletion process.
	ForceDestroyClusters *bool `json:"forceDestroyClusters,omitempty"`
}

AWS environment delete request input.

type DeleteAWSEnvResult

type DeleteAWSEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	PendingMfa bool   `json:"pendingMFA"`
}

AWS environment delete request result.

type DeleteAWSEnv_DeleteAWSEnv

type DeleteAWSEnv_DeleteAWSEnv struct {
	MutationID string "json:\"mutationId\" graphql:\"mutationId\""
	PendingMfa bool   "json:\"pendingMFA\" graphql:\"pendingMFA\""
}

func (*DeleteAWSEnv_DeleteAWSEnv) GetMutationID

func (t *DeleteAWSEnv_DeleteAWSEnv) GetMutationID() string

func (*DeleteAWSEnv_DeleteAWSEnv) GetPendingMfa added in v0.2.2

func (t *DeleteAWSEnv_DeleteAWSEnv) GetPendingMfa() bool

type DeleteAzureEnv added in v0.2.0

type DeleteAzureEnv struct {
	DeleteAzureEnv DeleteAzureEnv_DeleteAzureEnv "json:\"deleteAzureEnv\" graphql:\"deleteAzureEnv\""
}

func (*DeleteAzureEnv) GetDeleteAzureEnv added in v0.2.0

func (t *DeleteAzureEnv) GetDeleteAzureEnv() *DeleteAzureEnv_DeleteAzureEnv

type DeleteAzureEnvInput added in v0.2.0

type DeleteAzureEnvInput struct {
	// The name of Azure environment to delete.
	Name string `json:"name"`
	// By default, delete mutation does not delete the env but rather marks it to be
	// removed once it's deprovisioned (which may take some time).
	// Set "force" to true to skip deprovisioning.
	Force *bool `json:"force,omitempty"`
	// By default, the delete operation will not delete any provisioned clusters and
	// the deletion will fail until the clusters get removed.
	// Set "forceDestroyClusters" to true remove all provisioned clusters as part of the environment deletion process.
	ForceDestroyClusters *bool `json:"forceDestroyClusters,omitempty"`
}

Azure environment delete request input.

type DeleteAzureEnvResult added in v0.2.0

type DeleteAzureEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	PendingMfa bool   `json:"pendingMFA"`
}

Azure environment delete request result.

type DeleteAzureEnv_DeleteAzureEnv added in v0.2.0

type DeleteAzureEnv_DeleteAzureEnv struct {
	MutationID string "json:\"mutationId\" graphql:\"mutationId\""
	PendingMfa bool   "json:\"pendingMFA\" graphql:\"pendingMFA\""
}

func (*DeleteAzureEnv_DeleteAzureEnv) GetMutationID added in v0.2.0

func (t *DeleteAzureEnv_DeleteAzureEnv) GetMutationID() string

func (*DeleteAzureEnv_DeleteAzureEnv) GetPendingMfa added in v0.2.2

func (t *DeleteAzureEnv_DeleteAzureEnv) GetPendingMfa() bool

type DeleteGCPEnv

type DeleteGCPEnv struct {
	DeleteGCPEnv DeleteGCPEnv_DeleteGCPEnv "json:\"deleteGCPEnv\" graphql:\"deleteGCPEnv\""
}

func (*DeleteGCPEnv) GetDeleteGCPEnv

func (t *DeleteGCPEnv) GetDeleteGCPEnv() *DeleteGCPEnv_DeleteGCPEnv

type DeleteGCPEnvInput

type DeleteGCPEnvInput struct {
	// The name of GCP environment to delete.
	Name string `json:"name"`
	// By default, delete mutation does not delete the env but rather marks it to be
	// removed once it's deprovisioned (which may take some time).
	// Set "force" to true to skip deprovisioning.
	Force *bool `json:"force,omitempty"`
	// By default, the delete operation will not delete any provisioned clusters and
	// the deletion will fail until the clusters get removed.
	// Set "forceDestroyClusters" to true remove all provisioned clusters as part of the environment deletion process.
	ForceDestroyClusters *bool `json:"forceDestroyClusters,omitempty"`
}

GCP environment delete request input.

type DeleteGCPEnvResult

type DeleteGCPEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	PendingMfa bool   `json:"pendingMFA"`
}

GCP environment delete request result.

type DeleteGCPEnv_DeleteGCPEnv

type DeleteGCPEnv_DeleteGCPEnv struct {
	MutationID string "json:\"mutationId\" graphql:\"mutationId\""
	PendingMfa bool   "json:\"pendingMFA\" graphql:\"pendingMFA\""
}

func (*DeleteGCPEnv_DeleteGCPEnv) GetMutationID

func (t *DeleteGCPEnv_DeleteGCPEnv) GetMutationID() string

func (*DeleteGCPEnv_DeleteGCPEnv) GetPendingMfa added in v0.2.2

func (t *DeleteGCPEnv_DeleteGCPEnv) GetPendingMfa() bool

type DeleteHCloudEnvInput added in v0.3.1

type DeleteHCloudEnvInput struct {
	// The name of HCloud environment to delete.
	Name string `json:"name"`
	// By default, delete mutation does not delete the env but rather marks it to be
	// removed once it's deprovisioned (which may take some time).
	// Set "force" to true to skip deprovisioning.
	Force *bool `json:"force,omitempty"`
	// By default, the delete operation will not delete any provisioned clusters and
	// the deletion will fail until the clusters get removed.
	// Set "forceDestroyClusters" to true remove all provisioned clusters as part of the environment deletion process.
	ForceDestroyClusters *bool `json:"forceDestroyClusters,omitempty"`
}

HCloud environment delete request input.

type DeleteHCloudEnvResult added in v0.3.1

type DeleteHCloudEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	PendingMfa bool   `json:"pendingMFA"`
}

HCloud environment delete request result.

type DeleteK8SEnv

type DeleteK8SEnv struct {
	DeleteK8SEnv DeleteK8SEnv_DeleteK8SEnv "json:\"deleteK8SEnv\" graphql:\"deleteK8SEnv\""
}

func (*DeleteK8SEnv) GetDeleteK8SEnv

func (t *DeleteK8SEnv) GetDeleteK8SEnv() *DeleteK8SEnv_DeleteK8SEnv

type DeleteK8SEnvInput

type DeleteK8SEnvInput struct {
	// The name of Kubernetes environment to delete.
	Name string `json:"name"`
	// By default, delete mutation does not delete the env but rather marks it to be
	// removed once it's deprovisioned (which may take some time).
	// Set "force" to true to skip deprovisioning.
	Force *bool `json:"force,omitempty"`
	// By default, the delete operation will not delete any provisioned clusters and
	// the deletion will fail until the clusters get removed.
	// Set "forceDestroyClusters" to true remove all provisioned clusters as part of the environment deletion process.
	ForceDestroyClusters *bool `json:"forceDestroyClusters,omitempty"`
}

Kubernetes environment delete request input.

type DeleteK8SEnvResult

type DeleteK8SEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	PendingMfa bool   `json:"pendingMFA"`
}

Kubernetes environment delete request result.

type DeleteK8SEnv_DeleteK8SEnv

type DeleteK8SEnv_DeleteK8SEnv struct {
	MutationID string "json:\"mutationId\" graphql:\"mutationId\""
	PendingMfa bool   "json:\"pendingMFA\" graphql:\"pendingMFA\""
}

func (*DeleteK8SEnv_DeleteK8SEnv) GetMutationID

func (t *DeleteK8SEnv_DeleteK8SEnv) GetMutationID() string

func (*DeleteK8SEnv_DeleteK8SEnv) GetPendingMfa added in v0.2.2

func (t *DeleteK8SEnv_DeleteK8SEnv) GetPendingMfa() bool

type EnvStatusError added in v0.3.0

type EnvStatusError struct {
	// Status error code.
	Code EnvStatusErrorCode `json:"code"`
	// Status error message.
	Message string `json:"message"`
}

Status error.

type EnvStatusErrorCode added in v0.3.0

type EnvStatusErrorCode string

Status error codes.

const (
	EnvStatusErrorCodeInternal                   EnvStatusErrorCode = "INTERNAL"
	EnvStatusErrorCodeDisconnected               EnvStatusErrorCode = "DISCONNECTED"
	EnvStatusErrorCodeCloudProviderAccessDenied  EnvStatusErrorCode = "CLOUD_PROVIDER_ACCESS_DENIED"
	EnvStatusErrorCodeCloudProviderQuotaExceeded EnvStatusErrorCode = "CLOUD_PROVIDER_QUOTA_EXCEEDED"
)

func (EnvStatusErrorCode) IsValid added in v0.3.0

func (e EnvStatusErrorCode) IsValid() bool

func (EnvStatusErrorCode) MarshalGQL added in v0.3.0

func (e EnvStatusErrorCode) MarshalGQL(w io.Writer)

func (EnvStatusErrorCode) String added in v0.3.0

func (e EnvStatusErrorCode) String() string

func (*EnvStatusErrorCode) UnmarshalGQL added in v0.3.0

func (e *EnvStatusErrorCode) UnmarshalGQL(v interface{}) error

type GCPEnv

type GCPEnv struct {
	// A globally-unique environment identifier.
	Name string `json:"name"`
	// Environment spec.
	Spec *GCPEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
	// Environment status.
	Status *GCPEnvStatus `json:"status"`
}

GCP environment.

type GCPEnvFilter

type GCPEnvFilter struct {
	// Names of the environments to return.
	// Names that don't match any of the existing environments are ignored.
	Names []string `json:"names,omitempty"`
}

GCP environments query filter.

type GCPEnvLoadBalancerInternalSpec

type GCPEnvLoadBalancerInternalSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

GCP environment internal load balancer configuration.

type GCPEnvLoadBalancerInternalSpecInput

type GCPEnvLoadBalancerInternalSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type GCPEnvLoadBalancerPublicSpec

type GCPEnvLoadBalancerPublicSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

GCP environment public load balancer configuration.

type GCPEnvLoadBalancerPublicSpecInput

type GCPEnvLoadBalancerPublicSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type GCPEnvLoadBalancersSpec

type GCPEnvLoadBalancersSpec struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *GCPEnvLoadBalancerPublicSpec `json:"public"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *GCPEnvLoadBalancerInternalSpec `json:"internal"`
}

GCP environment load balancers configuration.

type GCPEnvLoadBalancersSpecInput

type GCPEnvLoadBalancersSpecInput struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *GCPEnvLoadBalancerPublicSpecInput `json:"public,omitempty"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *GCPEnvLoadBalancerInternalSpecInput `json:"internal,omitempty"`
}

GCP environment load balancers configuration input.

type GCPEnvNodeGroupSpec

type GCPEnvNodeGroupSpec struct {
	// Unique (among environment node groups) node group identifier.
	Name string `json:"name"`
	// Machine type (https://cloud.google.com/compute/docs/machine-resource).
	//
	// Example: "e2-standard-2"
	NodeType string `json:"nodeType"`
	// GCP zones.
	Zones []string `json:"zones"`
	// Maximum number of instances per zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations"`
}

type GCPEnvNodeGroupSpecInput

type GCPEnvNodeGroupSpecInput struct {
	// Unique (among environment node groups) node group identifier.
	//
	// Defaults to $nodeType.
	Name *string `json:"name,omitempty"`
	// Machine type (https://cloud.google.com/compute/docs/machine-resource).
	//
	// Example: "e2-standard-2"
	NodeType string `json:"nodeType"`
	// GCP zones.
	//
	// Defaults to environment zones.
	Zones []string `json:"zones,omitempty"`
	// Maximum number of instances per zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations,omitempty"`
}

GCP environment node group configuration input.

type GCPEnvSpec

type GCPEnvSpec struct {
	// ID of the GCP project (https://support.google.com/googleapi/answer/7014113?hl=en#:~:text=The%20project%20ID%20is%20a,ID%20or%20create%20your%20own.)
	// in which to provision GCP resources.
	//
	// Immutable.
	GcpProjectID string `json:"gcpProjectId"`
	// Network CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
	//
	// At least /21 required.
	//
	// Examples: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// GCP region (https://cloud.google.com/about/locations).
	//
	// Example: "us-west1".
	//
	// Immutable.
	Region string `json:"region"`
	// Explicit list of GCP zones.
	// At least 2 required.
	//
	// Example: ["us-west1a", "us-west1b"]
	Zones []string `json:"zones"`
	// Load balancers configuration.
	LoadBalancers *GCPEnvLoadBalancersSpec `json:"loadBalancers"`
	// Load balancing strategy.
	LoadBalancingStrategy LoadBalancingStrategy `json:"loadBalancingStrategy"`
	// List of node groups.
	// At least one required.
	NodeGroups []*GCPEnvNodeGroupSpec `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpec `json:"maintenanceWindows"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management.
	CloudConnect bool `json:"cloudConnect"`
}

GCP environment configuration.

type GCPEnvSpecFragment

type GCPEnvSpecFragment struct {
	LoadBalancers         GCPEnvSpecFragment_LoadBalancers         "json:\"loadBalancers\" graphql:\"loadBalancers\""
	LoadBalancingStrategy LoadBalancingStrategy                    "json:\"loadBalancingStrategy\" graphql:\"loadBalancingStrategy\""
	CustomDomain          *string                                  "json:\"customDomain,omitempty\" graphql:\"customDomain\""
	NodeGroups            []*GCPEnvSpecFragment_NodeGroups         "json:\"nodeGroups\" graphql:\"nodeGroups\""
	MaintenanceWindows    []*GCPEnvSpecFragment_MaintenanceWindows "json:\"maintenanceWindows\" graphql:\"maintenanceWindows\""
	Region                string                                   "json:\"region\" graphql:\"region\""
	Zones                 []string                                 "json:\"zones\" graphql:\"zones\""
	Cidr                  string                                   "json:\"cidr\" graphql:\"cidr\""
	GcpProjectID          string                                   "json:\"gcpProjectId\" graphql:\"gcpProjectId\""
	CloudConnect          bool                                     "json:\"cloudConnect\" graphql:\"cloudConnect\""
}

func (*GCPEnvSpecFragment) GetCidr

func (t *GCPEnvSpecFragment) GetCidr() string

func (*GCPEnvSpecFragment) GetCloudConnect

func (t *GCPEnvSpecFragment) GetCloudConnect() bool

func (*GCPEnvSpecFragment) GetCustomDomain

func (t *GCPEnvSpecFragment) GetCustomDomain() *string

func (*GCPEnvSpecFragment) GetGcpProjectID

func (t *GCPEnvSpecFragment) GetGcpProjectID() string

func (*GCPEnvSpecFragment) GetLoadBalancers

func (*GCPEnvSpecFragment) GetLoadBalancingStrategy

func (t *GCPEnvSpecFragment) GetLoadBalancingStrategy() *LoadBalancingStrategy

func (*GCPEnvSpecFragment) GetMaintenanceWindows

func (t *GCPEnvSpecFragment) GetMaintenanceWindows() []*GCPEnvSpecFragment_MaintenanceWindows

func (*GCPEnvSpecFragment) GetNodeGroups

func (t *GCPEnvSpecFragment) GetNodeGroups() []*GCPEnvSpecFragment_NodeGroups

func (*GCPEnvSpecFragment) GetRegion

func (t *GCPEnvSpecFragment) GetRegion() string

func (*GCPEnvSpecFragment) GetZones

func (t *GCPEnvSpecFragment) GetZones() []string

type GCPEnvSpecFragment_LoadBalancers

type GCPEnvSpecFragment_LoadBalancers struct {
	Public   GCPEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal GCPEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GCPEnvSpecFragment_LoadBalancers) GetInternal

func (*GCPEnvSpecFragment_LoadBalancers) GetPublic

type GCPEnvSpecFragment_LoadBalancers_Internal

type GCPEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GCPEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*GCPEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

func (t *GCPEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges() []string

type GCPEnvSpecFragment_LoadBalancers_Public

type GCPEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GCPEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*GCPEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

func (t *GCPEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges() []string

type GCPEnvSpecFragment_MaintenanceWindows

type GCPEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*GCPEnvSpecFragment_MaintenanceWindows) GetDays

func (*GCPEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*GCPEnvSpecFragment_MaintenanceWindows) GetHour

func (*GCPEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (t *GCPEnvSpecFragment_MaintenanceWindows) GetLengthInHours() int64

func (*GCPEnvSpecFragment_MaintenanceWindows) GetName

type GCPEnvSpecFragment_NodeGroups

type GCPEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*GCPEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (t *GCPEnvSpecFragment_NodeGroups) GetCapacityPerZone() int64

func (*GCPEnvSpecFragment_NodeGroups) GetName

func (*GCPEnvSpecFragment_NodeGroups) GetNodeType

func (t *GCPEnvSpecFragment_NodeGroups) GetNodeType() string

func (*GCPEnvSpecFragment_NodeGroups) GetReservations

func (t *GCPEnvSpecFragment_NodeGroups) GetReservations() []NodeReservation

func (*GCPEnvSpecFragment_NodeGroups) GetZones

func (t *GCPEnvSpecFragment_NodeGroups) GetZones() []string

type GCPEnvStatus

type GCPEnvStatus struct {
	// Applied spec revision (monotonically-increasing).
	AppliedSpecRevision int64 `json:"appliedSpecRevision"`
	// True indicates that environment is pending deletion.
	PendingDelete bool `json:"pendingDelete"`
	// Status errors.
	Errors []*EnvStatusError `json:"errors"`
}

GCP environment status.

type GetAWSEnv

type GetAWSEnv struct {
	AwsEnv *GetAWSEnv_AwsEnv "json:\"awsEnv,omitempty\" graphql:\"awsEnv\""
}

func (*GetAWSEnv) GetAwsEnv

func (t *GetAWSEnv) GetAwsEnv() *GetAWSEnv_AwsEnv

type GetAWSEnvStatus

type GetAWSEnvStatus struct {
	AwsEnv *GetAWSEnvStatus_AwsEnv "json:\"awsEnv,omitempty\" graphql:\"awsEnv\""
}

func (*GetAWSEnvStatus) GetAwsEnv

func (t *GetAWSEnvStatus) GetAwsEnv() *GetAWSEnvStatus_AwsEnv

type GetAWSEnvStatus_AwsEnv

type GetAWSEnvStatus_AwsEnv struct {
	Name         string                        "json:\"name\" graphql:\"name\""
	SpecRevision int64                         "json:\"specRevision\" graphql:\"specRevision\""
	Status       GetAWSEnvStatus_AwsEnv_Status "json:\"status\" graphql:\"status\""
}

func (*GetAWSEnvStatus_AwsEnv) GetName

func (t *GetAWSEnvStatus_AwsEnv) GetName() string

func (*GetAWSEnvStatus_AwsEnv) GetSpecRevision

func (t *GetAWSEnvStatus_AwsEnv) GetSpecRevision() int64

func (*GetAWSEnvStatus_AwsEnv) GetStatus

type GetAWSEnvStatus_AwsEnv_Status

type GetAWSEnvStatus_AwsEnv_Status struct {
	AppliedSpecRevision int64                                               "json:\"appliedSpecRevision\" graphql:\"appliedSpecRevision\""
	PendingDelete       bool                                                "json:\"pendingDelete\" graphql:\"pendingDelete\""
	LoadBalancers       GetAWSEnvStatus_AwsEnv_Status_LoadBalancers         "json:\"loadBalancers\" graphql:\"loadBalancers\""
	PeeringConnections  []*GetAWSEnvStatus_AwsEnv_Status_PeeringConnections "json:\"peeringConnections\" graphql:\"peeringConnections\""
	Errors              []*GetAWSEnvStatus_AwsEnv_Status_Errors             "json:\"errors\" graphql:\"errors\""
}

func (*GetAWSEnvStatus_AwsEnv_Status) GetAppliedSpecRevision

func (t *GetAWSEnvStatus_AwsEnv_Status) GetAppliedSpecRevision() int64

func (*GetAWSEnvStatus_AwsEnv_Status) GetErrors added in v0.3.0

func (*GetAWSEnvStatus_AwsEnv_Status) GetLoadBalancers

func (*GetAWSEnvStatus_AwsEnv_Status) GetPeeringConnections

func (*GetAWSEnvStatus_AwsEnv_Status) GetPendingDelete

func (t *GetAWSEnvStatus_AwsEnv_Status) GetPendingDelete() bool

type GetAWSEnvStatus_AwsEnv_Status_Errors added in v0.3.0

type GetAWSEnvStatus_AwsEnv_Status_Errors struct {
	Code    EnvStatusErrorCode "json:\"code\" graphql:\"code\""
	Message string             "json:\"message\" graphql:\"message\""
}

func (*GetAWSEnvStatus_AwsEnv_Status_Errors) GetCode added in v0.3.0

func (*GetAWSEnvStatus_AwsEnv_Status_Errors) GetMessage added in v0.3.0

type GetAWSEnvStatus_AwsEnv_Status_LoadBalancers

type GetAWSEnvStatus_AwsEnv_Status_LoadBalancers struct {
	Internal GetAWSEnvStatus_AwsEnv_Status_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetAWSEnvStatus_AwsEnv_Status_LoadBalancers) GetInternal

type GetAWSEnvStatus_AwsEnv_Status_LoadBalancers_Internal

type GetAWSEnvStatus_AwsEnv_Status_LoadBalancers_Internal struct {
	EndpointServiceName *string "json:\"endpointServiceName,omitempty\" graphql:\"endpointServiceName\""
}

func (*GetAWSEnvStatus_AwsEnv_Status_LoadBalancers_Internal) GetEndpointServiceName

func (t *GetAWSEnvStatus_AwsEnv_Status_LoadBalancers_Internal) GetEndpointServiceName() *string

type GetAWSEnvStatus_AwsEnv_Status_PeeringConnections

type GetAWSEnvStatus_AwsEnv_Status_PeeringConnections struct {
	ID    *string "json:\"id,omitempty\" graphql:\"id\""
	VpcID string  "json:\"vpcID\" graphql:\"vpcID\""
}

func (*GetAWSEnvStatus_AwsEnv_Status_PeeringConnections) GetID

func (*GetAWSEnvStatus_AwsEnv_Status_PeeringConnections) GetVpcID

type GetAWSEnv_AwsEnv

type GetAWSEnv_AwsEnv struct {
	Name         string              "json:\"name\" graphql:\"name\""
	Spec         *AWSEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*GetAWSEnv_AwsEnv) GetName

func (t *GetAWSEnv_AwsEnv) GetName() string

func (*GetAWSEnv_AwsEnv) GetSpec

func (t *GetAWSEnv_AwsEnv) GetSpec() *AWSEnvSpecFragment

func (*GetAWSEnv_AwsEnv) GetSpecRevision

func (t *GetAWSEnv_AwsEnv) GetSpecRevision() int64

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Endpoints

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Endpoints struct {
	ServiceName string  "json:\"serviceName\" graphql:\"serviceName\""
	Alias       *string "json:\"alias,omitempty\" graphql:\"alias\""
	PrivateDNS  bool    "json:\"privateDNS\" graphql:\"privateDNS\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Endpoints) GetAlias

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Endpoints) GetPrivateDNS added in v0.3.1

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Endpoints) GetServiceName

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers struct {
	Public   GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetInternal

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetPublic

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled                          bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges                   []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone                        bool     "json:\"crossZone\" graphql:\"crossZone\""
	EndpointServiceAllowedPrincipals []string "json:\"endpointServiceAllowedPrincipals\" graphql:\"endpointServiceAllowedPrincipals\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetCrossZone

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals

func (t *GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals() []string

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone      bool     "json:\"crossZone\" graphql:\"crossZone\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetCrossZone

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetDays

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetHour

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetName

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetName

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetNodeType

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetReservations

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetZones

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_PeeringConnections

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_PeeringConnections struct {
	AwsAccountID *string "json:\"awsAccountID,omitempty\" graphql:\"awsAccountID\""
	VpcID        string  "json:\"vpcID\" graphql:\"vpcID\""
	VpcRegion    *string "json:\"vpcRegion,omitempty\" graphql:\"vpcRegion\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetAwsAccountID

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcID

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcRegion

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Tags

type GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Tags) GetKey

func (*GetAWSEnv_AwsEnv_Spec_AWSEnvSpecFragment_Tags) GetValue

type GetAzureEnv added in v0.2.0

type GetAzureEnv struct {
	AzureEnv *GetAzureEnv_AzureEnv "json:\"azureEnv,omitempty\" graphql:\"azureEnv\""
}

func (*GetAzureEnv) GetAzureEnv added in v0.2.0

func (t *GetAzureEnv) GetAzureEnv() *GetAzureEnv_AzureEnv

type GetAzureEnvStatus added in v0.2.0

type GetAzureEnvStatus struct {
	AzureEnv *GetAzureEnvStatus_AzureEnv "json:\"azureEnv,omitempty\" graphql:\"azureEnv\""
}

func (*GetAzureEnvStatus) GetAzureEnv added in v0.2.0

type GetAzureEnvStatus_AzureEnv added in v0.2.0

type GetAzureEnvStatus_AzureEnv struct {
	Name         string                            "json:\"name\" graphql:\"name\""
	SpecRevision int64                             "json:\"specRevision\" graphql:\"specRevision\""
	Status       GetAzureEnvStatus_AzureEnv_Status "json:\"status\" graphql:\"status\""
}

func (*GetAzureEnvStatus_AzureEnv) GetName added in v0.2.0

func (t *GetAzureEnvStatus_AzureEnv) GetName() string

func (*GetAzureEnvStatus_AzureEnv) GetSpecRevision added in v0.2.0

func (t *GetAzureEnvStatus_AzureEnv) GetSpecRevision() int64

func (*GetAzureEnvStatus_AzureEnv) GetStatus added in v0.2.0

type GetAzureEnvStatus_AzureEnv_Status added in v0.2.0

type GetAzureEnvStatus_AzureEnv_Status struct {
	AppliedSpecRevision int64                                           "json:\"appliedSpecRevision\" graphql:\"appliedSpecRevision\""
	PendingDelete       bool                                            "json:\"pendingDelete\" graphql:\"pendingDelete\""
	LoadBalancers       GetAzureEnvStatus_AzureEnv_Status_LoadBalancers "json:\"loadBalancers\" graphql:\"loadBalancers\""
	Errors              []*GetAzureEnvStatus_AzureEnv_Status_Errors     "json:\"errors\" graphql:\"errors\""
}

func (*GetAzureEnvStatus_AzureEnv_Status) GetAppliedSpecRevision added in v0.2.0

func (t *GetAzureEnvStatus_AzureEnv_Status) GetAppliedSpecRevision() int64

func (*GetAzureEnvStatus_AzureEnv_Status) GetErrors added in v0.3.0

func (*GetAzureEnvStatus_AzureEnv_Status) GetLoadBalancers added in v0.2.0

func (*GetAzureEnvStatus_AzureEnv_Status) GetPendingDelete added in v0.2.0

func (t *GetAzureEnvStatus_AzureEnv_Status) GetPendingDelete() bool

type GetAzureEnvStatus_AzureEnv_Status_Errors added in v0.3.0

type GetAzureEnvStatus_AzureEnv_Status_Errors struct {
	Code    EnvStatusErrorCode "json:\"code\" graphql:\"code\""
	Message string             "json:\"message\" graphql:\"message\""
}

func (*GetAzureEnvStatus_AzureEnv_Status_Errors) GetCode added in v0.3.0

func (*GetAzureEnvStatus_AzureEnv_Status_Errors) GetMessage added in v0.3.0

type GetAzureEnvStatus_AzureEnv_Status_LoadBalancers added in v0.2.0

type GetAzureEnvStatus_AzureEnv_Status_LoadBalancers struct {
	Internal GetAzureEnvStatus_AzureEnv_Status_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetAzureEnvStatus_AzureEnv_Status_LoadBalancers) GetInternal added in v0.2.0

type GetAzureEnvStatus_AzureEnv_Status_LoadBalancers_Internal added in v0.2.0

type GetAzureEnvStatus_AzureEnv_Status_LoadBalancers_Internal struct {
	PrivateLinkServiceAlias *string "json:\"privateLinkServiceAlias,omitempty\" graphql:\"privateLinkServiceAlias\""
}

func (*GetAzureEnvStatus_AzureEnv_Status_LoadBalancers_Internal) GetPrivateLinkServiceAlias added in v0.2.0

func (t *GetAzureEnvStatus_AzureEnv_Status_LoadBalancers_Internal) GetPrivateLinkServiceAlias() *string

type GetAzureEnv_AzureEnv added in v0.2.0

type GetAzureEnv_AzureEnv struct {
	Name         string                "json:\"name\" graphql:\"name\""
	Spec         *AzureEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64                 "json:\"specRevision\" graphql:\"specRevision\""
}

func (*GetAzureEnv_AzureEnv) GetName added in v0.2.0

func (t *GetAzureEnv_AzureEnv) GetName() string

func (*GetAzureEnv_AzureEnv) GetSpec added in v0.2.0

func (*GetAzureEnv_AzureEnv) GetSpecRevision added in v0.2.0

func (t *GetAzureEnv_AzureEnv) GetSpecRevision() int64

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers struct {
	Public   GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetInternal added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetPublic added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetEnabled added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetEnabled added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetDays added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetEnabled added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetHour added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetLengthInHours added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetName added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetCapacityPerZone added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetName added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetNodeType added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetReservations added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetZones added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService struct {
	AllowedSubscriptions []string "json:\"allowedSubscriptions\" graphql:\"allowedSubscriptions\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService) GetAllowedSubscriptions added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_Tags added in v0.2.0

type GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_Tags) GetKey added in v0.2.0

func (*GetAzureEnv_AzureEnv_Spec_AzureEnvSpecFragment_Tags) GetValue added in v0.2.0

type GetGCPEnv

type GetGCPEnv struct {
	GcpEnv *GetGCPEnv_GcpEnv "json:\"gcpEnv,omitempty\" graphql:\"gcpEnv\""
}

func (*GetGCPEnv) GetGcpEnv

func (t *GetGCPEnv) GetGcpEnv() *GetGCPEnv_GcpEnv

type GetGCPEnvStatus

type GetGCPEnvStatus struct {
	GcpEnv *GetGCPEnvStatus_GcpEnv "json:\"gcpEnv,omitempty\" graphql:\"gcpEnv\""
}

func (*GetGCPEnvStatus) GetGcpEnv

func (t *GetGCPEnvStatus) GetGcpEnv() *GetGCPEnvStatus_GcpEnv

type GetGCPEnvStatus_GcpEnv

type GetGCPEnvStatus_GcpEnv struct {
	Name         string                        "json:\"name\" graphql:\"name\""
	SpecRevision int64                         "json:\"specRevision\" graphql:\"specRevision\""
	Status       GetGCPEnvStatus_GcpEnv_Status "json:\"status\" graphql:\"status\""
}

func (*GetGCPEnvStatus_GcpEnv) GetName

func (t *GetGCPEnvStatus_GcpEnv) GetName() string

func (*GetGCPEnvStatus_GcpEnv) GetSpecRevision

func (t *GetGCPEnvStatus_GcpEnv) GetSpecRevision() int64

func (*GetGCPEnvStatus_GcpEnv) GetStatus

type GetGCPEnvStatus_GcpEnv_Status

type GetGCPEnvStatus_GcpEnv_Status struct {
	AppliedSpecRevision int64                                   "json:\"appliedSpecRevision\" graphql:\"appliedSpecRevision\""
	PendingDelete       bool                                    "json:\"pendingDelete\" graphql:\"pendingDelete\""
	Errors              []*GetGCPEnvStatus_GcpEnv_Status_Errors "json:\"errors\" graphql:\"errors\""
}

func (*GetGCPEnvStatus_GcpEnv_Status) GetAppliedSpecRevision

func (t *GetGCPEnvStatus_GcpEnv_Status) GetAppliedSpecRevision() int64

func (*GetGCPEnvStatus_GcpEnv_Status) GetErrors added in v0.3.0

func (*GetGCPEnvStatus_GcpEnv_Status) GetPendingDelete

func (t *GetGCPEnvStatus_GcpEnv_Status) GetPendingDelete() bool

type GetGCPEnvStatus_GcpEnv_Status_Errors added in v0.3.0

type GetGCPEnvStatus_GcpEnv_Status_Errors struct {
	Code    EnvStatusErrorCode "json:\"code\" graphql:\"code\""
	Message string             "json:\"message\" graphql:\"message\""
}

func (*GetGCPEnvStatus_GcpEnv_Status_Errors) GetCode added in v0.3.0

func (*GetGCPEnvStatus_GcpEnv_Status_Errors) GetMessage added in v0.3.0

type GetGCPEnv_GcpEnv

type GetGCPEnv_GcpEnv struct {
	Name         string              "json:\"name\" graphql:\"name\""
	Spec         *GCPEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*GetGCPEnv_GcpEnv) GetName

func (t *GetGCPEnv_GcpEnv) GetName() string

func (*GetGCPEnv_GcpEnv) GetSpec

func (t *GetGCPEnv_GcpEnv) GetSpec() *GCPEnvSpecFragment

func (*GetGCPEnv_GcpEnv) GetSpecRevision

func (t *GetGCPEnv_GcpEnv) GetSpecRevision() int64

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers struct {
	Public   GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetInternal

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetPublic

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetDays

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetHour

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetName

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups

type GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetName

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetNodeType

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetReservations

func (*GetGCPEnv_GcpEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetZones

type GetK8SEnv

type GetK8SEnv struct {
	K8sEnv *GetK8SEnv_K8sEnv "json:\"k8sEnv,omitempty\" graphql:\"k8sEnv\""
}

func (*GetK8SEnv) GetK8sEnv

func (t *GetK8SEnv) GetK8sEnv() *GetK8SEnv_K8sEnv

type GetK8SEnvStatus

type GetK8SEnvStatus struct {
	K8sEnv *GetK8SEnvStatus_K8sEnv "json:\"k8sEnv,omitempty\" graphql:\"k8sEnv\""
}

func (*GetK8SEnvStatus) GetK8sEnv

func (t *GetK8SEnvStatus) GetK8sEnv() *GetK8SEnvStatus_K8sEnv

type GetK8SEnvStatus_K8sEnv

type GetK8SEnvStatus_K8sEnv struct {
	Name         string                        "json:\"name\" graphql:\"name\""
	SpecRevision int64                         "json:\"specRevision\" graphql:\"specRevision\""
	Status       GetK8SEnvStatus_K8sEnv_Status "json:\"status\" graphql:\"status\""
}

func (*GetK8SEnvStatus_K8sEnv) GetName

func (t *GetK8SEnvStatus_K8sEnv) GetName() string

func (*GetK8SEnvStatus_K8sEnv) GetSpecRevision

func (t *GetK8SEnvStatus_K8sEnv) GetSpecRevision() int64

func (*GetK8SEnvStatus_K8sEnv) GetStatus

type GetK8SEnvStatus_K8sEnv_Status

type GetK8SEnvStatus_K8sEnv_Status struct {
	AppliedSpecRevision int64                                   "json:\"appliedSpecRevision\" graphql:\"appliedSpecRevision\""
	PendingDelete       bool                                    "json:\"pendingDelete\" graphql:\"pendingDelete\""
	Errors              []*GetK8SEnvStatus_K8sEnv_Status_Errors "json:\"errors\" graphql:\"errors\""
}

func (*GetK8SEnvStatus_K8sEnv_Status) GetAppliedSpecRevision

func (t *GetK8SEnvStatus_K8sEnv_Status) GetAppliedSpecRevision() int64

func (*GetK8SEnvStatus_K8sEnv_Status) GetErrors added in v0.3.0

func (*GetK8SEnvStatus_K8sEnv_Status) GetPendingDelete

func (t *GetK8SEnvStatus_K8sEnv_Status) GetPendingDelete() bool

type GetK8SEnvStatus_K8sEnv_Status_Errors added in v0.3.0

type GetK8SEnvStatus_K8sEnv_Status_Errors struct {
	Code    EnvStatusErrorCode "json:\"code\" graphql:\"code\""
	Message string             "json:\"message\" graphql:\"message\""
}

func (*GetK8SEnvStatus_K8sEnv_Status_Errors) GetCode added in v0.3.0

func (*GetK8SEnvStatus_K8sEnv_Status_Errors) GetMessage added in v0.3.0

type GetK8SEnv_K8sEnv

type GetK8SEnv_K8sEnv struct {
	Name         string              "json:\"name\" graphql:\"name\""
	Spec         *K8SEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*GetK8SEnv_K8sEnv) GetName

func (t *GetK8SEnv_K8sEnv) GetName() string

func (*GetK8SEnv_K8sEnv) GetSpec

func (t *GetK8SEnv_K8sEnv) GetSpec() *K8SEnvSpecFragment

func (*GetK8SEnv_K8sEnv) GetSpecRevision

func (t *GetK8SEnv_K8sEnv) GetSpecRevision() int64

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes struct {
	Name                  string  "json:\"name\" graphql:\"name\""
	CPUAllocatable        float64 "json:\"cpuAllocatable\" graphql:\"cpuAllocatable\""
	MemAllocatableInBytes int64   "json:\"memAllocatableInBytes\" graphql:\"memAllocatableInBytes\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetCPUAllocatable

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetMemAllocatableInBytes

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetName

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers struct {
	Public   GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetInternal

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetPublic

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool                                                                           "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                       "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetAnnotations

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetKey

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetValue

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool                                                                         "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                     "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetAnnotations

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetKey

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetValue

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs struct {
	Storage GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage "json:\"storage\" graphql:\"storage\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs) GetStorage

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage struct {
	S3  *GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3  "json:\"s3,omitempty\" graphql:\"s3\""
	Gcs *GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs "json:\"gcs,omitempty\" graphql:\"gcs\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetGcs

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetS3

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs) GetBucketName

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3 struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
	Region     *string "json:\"region,omitempty\" graphql:\"region\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetBucketName

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetRegion

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetDays

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetHour

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetName

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Metrics

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Metrics struct {
	RetentionPeriodInDays *int64 "json:\"retentionPeriodInDays,omitempty\" graphql:\"retentionPeriodInDays\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays

func (t *GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays() *int64

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups struct {
	Name            string                                                             "json:\"name\" graphql:\"name\""
	NodeType        string                                                             "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64                                                              "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Selector        []*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector    "json:\"selector\" graphql:\"selector\""
	Tolerations     []*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations "json:\"tolerations\" graphql:\"tolerations\""
	Reservations    []NodeReservation                                                  "json:\"reservations\" graphql:\"reservations\""
	Zones           []string                                                           "json:\"zones\" graphql:\"zones\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetName

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetNodeType

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetReservations

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetSelector

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetTolerations

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetZones

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetKey

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetValue

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations

type GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations struct {
	Effect   NodeTolerationEffect   "json:\"effect\" graphql:\"effect\""
	Operator NodeTolerationOperator "json:\"operator\" graphql:\"operator\""
	Key      string                 "json:\"key\" graphql:\"key\""
	Value    string                 "json:\"value\" graphql:\"value\""
}

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetEffect

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetKey

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetOperator

func (*GetK8SEnv_K8sEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetValue

type GraphQLError

type GraphQLError struct {
	Message    string                 `json:"message"`
	Path       []string               `json:"path"`
	Extensions map[string]interface{} `json:"extensions"`
}

func (GraphQLError) Error

func (e GraphQLError) Error() string

type HCloudEnv added in v0.3.1

type HCloudEnv struct {
	// A globally-unique environment identifier.
	Name string `json:"name"`
	// Environment spec.
	Spec *HCloudEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
	// Environment status.
	Status *HCloudEnvStatus `json:"status"`
}

HCloud environment.

type HCloudEnvFilter added in v0.3.1

type HCloudEnvFilter struct {
	// Names of the environments to return.
	// Names that don't match any of the existing environments are ignored.
	Names []string `json:"names,omitempty"`
}

HCloud environments query filter.

type HCloudEnvLoadBalancerInternalSpec added in v0.3.1

type HCloudEnvLoadBalancerInternalSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

HCloud environment internal load balancer configuration.

type HCloudEnvLoadBalancerInternalSpecInput added in v0.3.1

type HCloudEnvLoadBalancerInternalSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type HCloudEnvLoadBalancerPublicSpec added in v0.3.1

type HCloudEnvLoadBalancerPublicSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
}

HCloud environment public load balancer configuration.

type HCloudEnvLoadBalancerPublicSpecInput added in v0.3.1

type HCloudEnvLoadBalancerPublicSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
}

type HCloudEnvLoadBalancersSpec added in v0.3.1

type HCloudEnvLoadBalancersSpec struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *HCloudEnvLoadBalancerPublicSpec `json:"public"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *HCloudEnvLoadBalancerInternalSpec `json:"internal"`
}

HCloud environment load balancers configuration.

type HCloudEnvLoadBalancersSpecInput added in v0.3.1

type HCloudEnvLoadBalancersSpecInput struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *HCloudEnvLoadBalancerPublicSpecInput `json:"public,omitempty"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *HCloudEnvLoadBalancerInternalSpecInput `json:"internal,omitempty"`
}

HCloud environment load balancers configuration input.

type HCloudEnvNodeGroupSpec added in v0.3.1

type HCloudEnvNodeGroupSpec struct {
	// Unique (among environment node groups) node group identifier.
	Name string `json:"name"`
	// HCloud server type (https://docs.hetzner.com/cloud/servers/overview#server-types).
	//
	// Example: "cpx11"
	NodeType string `json:"nodeType"`
	// Locations.
	Locations []string `json:"locations"`
	// Maximum number of instances per availability location.
	CapacityPerLocation int64 `json:"capacityPerLocation"`
	// Types of workload that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations"`
}

HCloud environment node group configuration.

type HCloudEnvNodeGroupSpecInput added in v0.3.1

type HCloudEnvNodeGroupSpecInput struct {
	// Unique (among environment node groups) node group identifier.
	//
	// Defaults to $nodeType.
	Name *string `json:"name,omitempty"`
	// Machine type (https://cloud.google.com/compute/docs/machine-resource).
	//
	// Example: "cpx11"
	NodeType string `json:"nodeType"`
	// HCloud locations.
	Locations []string `json:"locations,omitempty"`
	// Maximum number of instances per zone.
	CapacityPerLocation int64 `json:"capacityPerLocation"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations,omitempty"`
}

HCloud environment node group configuration input.

type HCloudEnvSpec added in v0.3.1

type HCloudEnvSpec struct {
	// VPC CIDR block from the private IPv4 address ranges as specified in RFC 1918
	// (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).
	//
	// At least /21 required.
	//
	// Examples: "10.136.0.0/21"
	//
	// Immutable.
	Cidr string `json:"cidr"`
	// HCloud network https://docs.hetzner.com/cloud/general/locations/
	//
	// Example: "us-west"
	//
	// Immutable.
	NetworkZone string `json:"networkZone"`
	// Explicit list of HCloud locations.
	// (currently supports single location only)
	//
	// Example: ["hil"]
	Locations []string `json:"locations"`
	// Load balancers configuration.
	LoadBalancers *HCloudEnvLoadBalancersSpec `json:"loadBalancers"`
	// Load balancing strategy.
	LoadBalancingStrategy LoadBalancingStrategy `json:"loadBalancingStrategy"`
	// List of node groups.
	// At least one required.
	NodeGroups []*HCloudEnvNodeGroupSpec `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpec `json:"maintenanceWindows"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	//   CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	//   CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	//   CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// True indicates that cloud resources are to be managed via altinity/cloud-connect.
	// False means direct management.
	CloudConnect bool `json:"cloudConnect"`
	// Labels to apply to HCloud resources.
	Labels []*KeyValue `json:"labels"`
	// Wireguard peers configuration.
	WireguardPeers []*HCloudEnvWireguardPeerSpec `json:"wireguardPeers"`
}

HCloud environment configuration.

type HCloudEnvStatus added in v0.3.1

type HCloudEnvStatus struct {
	// Applied spec revision (monotonically-increasing).
	AppliedSpecRevision int64 `json:"appliedSpecRevision"`
	// True indicates that environment is pending deletion.
	PendingDelete bool `json:"pendingDelete"`
	// Status errors.
	Errors []*EnvStatusError `json:"errors"`
}

HCloud environment status.

type HCloudEnvWireguardPeerInput added in v0.3.1

type HCloudEnvWireguardPeerInput struct {
	// Peer public key.
	PublicKey string `json:"publicKey"`
	// A list of addresses (in CIDR notation) that should get routed to the peer.
	AllowedIPs []string `json:"allowedIPs"`
	// Peer endpoint.
	Endpoint string `json:"endpoint"`
}

HCloud Wireguard peer configuration input.

type HCloudEnvWireguardPeerSpec added in v0.3.1

type HCloudEnvWireguardPeerSpec struct {
	// Peer public key.
	PublicKey string `json:"publicKey"`
	// A list of addresses (in CIDR notation) that should get routed to the peer.
	AllowedIPs []string `json:"allowedIPs"`
	// Peer endpoint.
	Endpoint string `json:"endpoint"`
}

HCloud Wireguard peer configuration.

type K8SDistribution

type K8SDistribution string

Kubernetes distribution.

const (
	// Amazon Elastic Kubernetes Service.
	K8SDistributionEks K8SDistribution = "EKS"
	// Google Kubernetes Engine.
	K8SDistributionGke K8SDistribution = "GKE"
	// Azure Kubernetes Service.
	K8SDistributionAks K8SDistribution = "AKS"
	// Custom Kubernetes distribution.
	K8SDistributionCustom K8SDistribution = "CUSTOM"
)

func (K8SDistribution) IsValid

func (e K8SDistribution) IsValid() bool

func (K8SDistribution) MarshalGQL

func (e K8SDistribution) MarshalGQL(w io.Writer)

func (K8SDistribution) String

func (e K8SDistribution) String() string

func (*K8SDistribution) UnmarshalGQL

func (e *K8SDistribution) UnmarshalGQL(v interface{}) error

type K8SEnv

type K8SEnv struct {
	// A globally-unique environment identifier.
	Name string `json:"name"`
	// Environment spec.
	Spec *K8SEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
	// Environment status.
	Status *K8SEnvStatus `json:"status"`
}

Kubernetes environment.

type K8SEnvCustomNodeTypeSpec

type K8SEnvCustomNodeTypeSpec struct {
	// Custom node type unique identifier.
	Name string `json:"name"`
	// Number of allocatable virtual cores.
	CPUAllocatable float64 `json:"cpuAllocatable"`
	// Amount of allocatable memory in bytes.
	MemAllocatableInBytes int64 `json:"memAllocatableInBytes"`
}

Kubernetes custom node type configuration.

type K8SEnvCustomNodeTypeSpecInput

type K8SEnvCustomNodeTypeSpecInput struct {
	// Custom node type unique identifier.
	Name string `json:"name"`
	// Number of allocatable virtual cores.
	CPUAllocatable float64 `json:"cpuAllocatable"`
	// Amount of allocatable memory in bytes.
	MemAllocatableInBytes float64 `json:"memAllocatableInBytes"`
}

Kubernetes custom node type configuration input.

type K8SEnvFilter

type K8SEnvFilter struct {
	// Names of the environments to return.
	// Names that don't match any of the existing environments are ignored.
	Names []string `json:"names,omitempty"`
}

Kubernetes environments query filter.

type K8SEnvLoadBalancerInternalSpec

type K8SEnvLoadBalancerInternalSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
	// Annotations to apply to Kubernetes LoadBalancer service.
	Annotations []*KeyValue `json:"annotations"`
}

Kubernetes environment internal load balancer configuration.

type K8SEnvLoadBalancerInternalSpecInput

type K8SEnvLoadBalancerInternalSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
	// Annotations to apply to Kubernetes LoadBalancer service.
	Annotations []*KeyValueInput `json:"annotations,omitempty"`
}

Kubernetes environment internal load balancer configuration.

type K8SEnvLoadBalancerPublicSpec

type K8SEnvLoadBalancerPublicSpec struct {
	// True if load balancer is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges"`
	// Annotations to apply to Kubernetes LoadBalancer service.
	Annotations []*KeyValue `json:"annotations"`
}

Kubernetes environment public load balancer configuration.

type K8SEnvLoadBalancerPublicSpecInput

type K8SEnvLoadBalancerPublicSpecInput struct {
	// True if load balancer is enabled,
	// false otherwise.
	//
	// False by default.
	Enabled *bool `json:"enabled,omitempty"`
	// IP addresses/blocks to allow traffic from.
	//
	// 0.0.0.0/0 by default.
	SourceIPRanges []string `json:"sourceIPRanges,omitempty"`
	// Annotations to apply to Kubernetes LoadBalancer service.
	Annotations []*KeyValueInput `json:"annotations,omitempty"`
}

Kubernetes environment public load balancer configuration.

type K8SEnvLoadBalancersSpec

type K8SEnvLoadBalancersSpec struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *K8SEnvLoadBalancerPublicSpec `json:"public"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *K8SEnvLoadBalancerInternalSpec `json:"internal"`
}

Kubernetes environment load balancers configuration.

type K8SEnvLoadBalancersSpecInput

type K8SEnvLoadBalancersSpecInput struct {
	// Public load balancer configuration.
	//
	// Accessible via *.$env_name.altinity.cloud.
	Public *K8SEnvLoadBalancerPublicSpecInput `json:"public,omitempty"`
	// Internal load balancer configuration.
	//
	// Accessible via *.internal.$env_name.altinity.cloud.
	Internal *K8SEnvLoadBalancerInternalSpecInput `json:"internal,omitempty"`
}

Kubernetes environment load balancers configuration.

type K8SEnvLogsSpec

type K8SEnvLogsSpec struct {
	// Storage backend configuration.
	Storage *K8SEnvLogsStorageSpec `json:"storage"`
}

Kubernetes environment logs configuration.

type K8SEnvLogsSpecInput

type K8SEnvLogsSpecInput struct {
	// Storage backend configuration.
	Storage *K8SEnvSpecLogsStorageSpecInput `json:"storage,omitempty"`
}

Kubernetes environment logs configuration input.

type K8SEnvLogsStorageGCSSpec

type K8SEnvLogsStorageGCSSpec struct {
	// GCS bucket name.
	BucketName *string `json:"bucketName,omitempty"`
}

Kubernetes environment logs GCS storage configuration.

type K8SEnvLogsStorageS3Spec

type K8SEnvLogsStorageS3Spec struct {
	// S3 bucket name.
	BucketName *string `json:"bucketName,omitempty"`
	// S3 bucket region.
	//
	// Defaults to environment region.
	Region *string `json:"region,omitempty"`
}

Kubernetes environment logs S3 storage configuration.

type K8SEnvLogsStorageSpec

type K8SEnvLogsStorageSpec struct {
	// Amazon S3 configuration.
	S3 *K8SEnvLogsStorageS3Spec `json:"s3,omitempty"`
	// Google Cloud Storage configuration.
	Gcs *K8SEnvLogsStorageGCSSpec `json:"gcs,omitempty"`
}

Kubernetes environment logs storage configuration.

type K8SEnvMetricsSpec

type K8SEnvMetricsSpec struct {
	// Metrics retention period in days.
	//
	// 1 month by default.
	RetentionPeriodInDays *int64 `json:"retentionPeriodInDays,omitempty"`
}

Kubernetes environment metrics configuration.

type K8SEnvMetricsSpecInput

type K8SEnvMetricsSpecInput struct {
	// Metrics retention period in days.
	//
	// 1 month by default.
	RetentionPeriodInDays *int64 `json:"retentionPeriodInDays,omitempty"`
}

Kubernetes environment metrics configuration input.

type K8SEnvNodeGroupSpec

type K8SEnvNodeGroupSpec struct {
	// Unique (among environment node groups) node group identifier.
	Name string `json:"name"`
	// node.kubernetes.io/instance-type value.
	NodeType string `json:"nodeType"`
	// topology.kubernetes.io/zone values.
	Zones []string `json:"zones"`
	// Maximum number of nodes per zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations"`
	// List of tolerations to apply to the pods targeting this group.
	Tolerations []*NodeToleration `json:"tolerations"`
	// nodeSelector to apply to the pods targeting this group.
	Selector []*KeyValue `json:"selector"`
}

Kubernetes environment node group configuration.

type K8SEnvNodeGroupSpecInput

type K8SEnvNodeGroupSpecInput struct {
	// Unique (among environment node groups) node group identifier.
	//
	// Defaults to $nodeType.
	Name *string `json:"name,omitempty"`
	// node.kubernetes.io/instance-type value.
	NodeType string `json:"nodeType"`
	// topology.kubernetes.io/zone values.
	Zones []string `json:"zones,omitempty"`
	// Maximum number of nodes per zone.
	CapacityPerZone int64 `json:"capacityPerZone"`
	// Types of workloads that are allowed to be scheduled onto the nodes that belong to this group.
	Reservations []NodeReservation `json:"reservations,omitempty"`
	// List of tolerations to apply to the pods targeting this group.
	Tolerations []*NodeTolerationSpecInput `json:"tolerations,omitempty"`
	// nodeSelector to apply to the pods targeting this group.
	Selector []*KeyValueInput `json:"selector,omitempty"`
}

type K8SEnvSpec

type K8SEnvSpec struct {
	// Kubernetes distribution.
	//
	// Immutable.
	Distribution K8SDistribution `json:"distribution"`
	// Load balancers configuration.
	LoadBalancers *K8SEnvLoadBalancersSpec `json:"loadBalancers"`
	// Load balancing strategy.
	LoadBalancingStrategy LoadBalancingStrategy `json:"loadBalancingStrategy"`
	// List of node groups.
	// At least one required.
	NodeGroups []*K8SEnvNodeGroupSpec `json:"nodeGroups"`
	// Custom node types.
	CustomNodeTypes []*K8SEnvCustomNodeTypeSpec `json:"customNodeTypes"`
	// Metrics configuration.
	Metrics *K8SEnvMetricsSpec `json:"metrics"`
	// Logs configuration.
	Logs *K8SEnvLogsSpec `json:"logs"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpec `json:"maintenanceWindows"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
}

Kubernetes environment configuration.

type K8SEnvSpecFragment

type K8SEnvSpecFragment struct {
	LoadBalancers         K8SEnvSpecFragment_LoadBalancers         "json:\"loadBalancers\" graphql:\"loadBalancers\""
	LoadBalancingStrategy LoadBalancingStrategy                    "json:\"loadBalancingStrategy\" graphql:\"loadBalancingStrategy\""
	Distribution          K8SDistribution                          "json:\"distribution\" graphql:\"distribution\""
	CustomDomain          *string                                  "json:\"customDomain,omitempty\" graphql:\"customDomain\""
	NodeGroups            []*K8SEnvSpecFragment_NodeGroups         "json:\"nodeGroups\" graphql:\"nodeGroups\""
	CustomNodeTypes       []*K8SEnvSpecFragment_CustomNodeTypes    "json:\"customNodeTypes\" graphql:\"customNodeTypes\""
	MaintenanceWindows    []*K8SEnvSpecFragment_MaintenanceWindows "json:\"maintenanceWindows\" graphql:\"maintenanceWindows\""
	Metrics               K8SEnvSpecFragment_Metrics               "json:\"metrics\" graphql:\"metrics\""
	Logs                  K8SEnvSpecFragment_Logs                  "json:\"logs\" graphql:\"logs\""
}

func (*K8SEnvSpecFragment) GetCustomDomain

func (t *K8SEnvSpecFragment) GetCustomDomain() *string

func (*K8SEnvSpecFragment) GetCustomNodeTypes

func (t *K8SEnvSpecFragment) GetCustomNodeTypes() []*K8SEnvSpecFragment_CustomNodeTypes

func (*K8SEnvSpecFragment) GetDistribution

func (t *K8SEnvSpecFragment) GetDistribution() *K8SDistribution

func (*K8SEnvSpecFragment) GetLoadBalancers

func (*K8SEnvSpecFragment) GetLoadBalancingStrategy

func (t *K8SEnvSpecFragment) GetLoadBalancingStrategy() *LoadBalancingStrategy

func (*K8SEnvSpecFragment) GetLogs

func (*K8SEnvSpecFragment) GetMaintenanceWindows

func (t *K8SEnvSpecFragment) GetMaintenanceWindows() []*K8SEnvSpecFragment_MaintenanceWindows

func (*K8SEnvSpecFragment) GetMetrics

func (*K8SEnvSpecFragment) GetNodeGroups

func (t *K8SEnvSpecFragment) GetNodeGroups() []*K8SEnvSpecFragment_NodeGroups

type K8SEnvSpecFragment_CustomNodeTypes

type K8SEnvSpecFragment_CustomNodeTypes struct {
	Name                  string  "json:\"name\" graphql:\"name\""
	CPUAllocatable        float64 "json:\"cpuAllocatable\" graphql:\"cpuAllocatable\""
	MemAllocatableInBytes int64   "json:\"memAllocatableInBytes\" graphql:\"memAllocatableInBytes\""
}

func (*K8SEnvSpecFragment_CustomNodeTypes) GetCPUAllocatable

func (t *K8SEnvSpecFragment_CustomNodeTypes) GetCPUAllocatable() float64

func (*K8SEnvSpecFragment_CustomNodeTypes) GetMemAllocatableInBytes

func (t *K8SEnvSpecFragment_CustomNodeTypes) GetMemAllocatableInBytes() int64

func (*K8SEnvSpecFragment_CustomNodeTypes) GetName

type K8SEnvSpecFragment_LoadBalancers

type K8SEnvSpecFragment_LoadBalancers struct {
	Public   K8SEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal K8SEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*K8SEnvSpecFragment_LoadBalancers) GetInternal

func (*K8SEnvSpecFragment_LoadBalancers) GetPublic

type K8SEnvSpecFragment_LoadBalancers_Internal

type K8SEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool                                                     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                 "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*K8SEnvSpecFragment_LoadBalancers_Internal_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*K8SEnvSpecFragment_LoadBalancers_Internal) GetAnnotations

func (*K8SEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*K8SEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

func (t *K8SEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges() []string

type K8SEnvSpecFragment_LoadBalancers_Internal_Annotations

type K8SEnvSpecFragment_LoadBalancers_Internal_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetKey

func (*K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetValue

type K8SEnvSpecFragment_LoadBalancers_Public

type K8SEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool                                                   "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                               "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*K8SEnvSpecFragment_LoadBalancers_Public_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*K8SEnvSpecFragment_LoadBalancers_Public) GetAnnotations

func (*K8SEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*K8SEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

func (t *K8SEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges() []string

type K8SEnvSpecFragment_LoadBalancers_Public_Annotations

type K8SEnvSpecFragment_LoadBalancers_Public_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetKey

func (*K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetValue

type K8SEnvSpecFragment_Logs

type K8SEnvSpecFragment_Logs struct {
	Storage K8SEnvSpecFragment_Logs_Storage "json:\"storage\" graphql:\"storage\""
}

func (*K8SEnvSpecFragment_Logs) GetStorage

type K8SEnvSpecFragment_Logs_Storage

type K8SEnvSpecFragment_Logs_Storage struct {
	S3  *K8SEnvSpecFragment_Logs_Storage_S3  "json:\"s3,omitempty\" graphql:\"s3\""
	Gcs *K8SEnvSpecFragment_Logs_Storage_Gcs "json:\"gcs,omitempty\" graphql:\"gcs\""
}

func (*K8SEnvSpecFragment_Logs_Storage) GetGcs

func (*K8SEnvSpecFragment_Logs_Storage) GetS3

type K8SEnvSpecFragment_Logs_Storage_Gcs

type K8SEnvSpecFragment_Logs_Storage_Gcs struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
}

func (*K8SEnvSpecFragment_Logs_Storage_Gcs) GetBucketName

func (t *K8SEnvSpecFragment_Logs_Storage_Gcs) GetBucketName() *string

type K8SEnvSpecFragment_Logs_Storage_S3

type K8SEnvSpecFragment_Logs_Storage_S3 struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
	Region     *string "json:\"region,omitempty\" graphql:\"region\""
}

func (*K8SEnvSpecFragment_Logs_Storage_S3) GetBucketName

func (t *K8SEnvSpecFragment_Logs_Storage_S3) GetBucketName() *string

func (*K8SEnvSpecFragment_Logs_Storage_S3) GetRegion

type K8SEnvSpecFragment_MaintenanceWindows

type K8SEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*K8SEnvSpecFragment_MaintenanceWindows) GetDays

func (*K8SEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*K8SEnvSpecFragment_MaintenanceWindows) GetHour

func (*K8SEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (t *K8SEnvSpecFragment_MaintenanceWindows) GetLengthInHours() int64

func (*K8SEnvSpecFragment_MaintenanceWindows) GetName

type K8SEnvSpecFragment_Metrics

type K8SEnvSpecFragment_Metrics struct {
	RetentionPeriodInDays *int64 "json:\"retentionPeriodInDays,omitempty\" graphql:\"retentionPeriodInDays\""
}

func (*K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays

func (t *K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays() *int64

type K8SEnvSpecFragment_NodeGroups

type K8SEnvSpecFragment_NodeGroups struct {
	Name            string                                       "json:\"name\" graphql:\"name\""
	NodeType        string                                       "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64                                        "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Selector        []*K8SEnvSpecFragment_NodeGroups_Selector    "json:\"selector\" graphql:\"selector\""
	Tolerations     []*K8SEnvSpecFragment_NodeGroups_Tolerations "json:\"tolerations\" graphql:\"tolerations\""
	Reservations    []NodeReservation                            "json:\"reservations\" graphql:\"reservations\""
	Zones           []string                                     "json:\"zones\" graphql:\"zones\""
}

func (*K8SEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (t *K8SEnvSpecFragment_NodeGroups) GetCapacityPerZone() int64

func (*K8SEnvSpecFragment_NodeGroups) GetName

func (*K8SEnvSpecFragment_NodeGroups) GetNodeType

func (t *K8SEnvSpecFragment_NodeGroups) GetNodeType() string

func (*K8SEnvSpecFragment_NodeGroups) GetReservations

func (t *K8SEnvSpecFragment_NodeGroups) GetReservations() []NodeReservation

func (*K8SEnvSpecFragment_NodeGroups) GetSelector

func (*K8SEnvSpecFragment_NodeGroups) GetTolerations

func (*K8SEnvSpecFragment_NodeGroups) GetZones

func (t *K8SEnvSpecFragment_NodeGroups) GetZones() []string

type K8SEnvSpecFragment_NodeGroups_Selector

type K8SEnvSpecFragment_NodeGroups_Selector struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*K8SEnvSpecFragment_NodeGroups_Selector) GetKey

func (*K8SEnvSpecFragment_NodeGroups_Selector) GetValue

type K8SEnvSpecFragment_NodeGroups_Tolerations

type K8SEnvSpecFragment_NodeGroups_Tolerations struct {
	Effect   NodeTolerationEffect   "json:\"effect\" graphql:\"effect\""
	Operator NodeTolerationOperator "json:\"operator\" graphql:\"operator\""
	Key      string                 "json:\"key\" graphql:\"key\""
	Value    string                 "json:\"value\" graphql:\"value\""
}

func (*K8SEnvSpecFragment_NodeGroups_Tolerations) GetEffect

func (*K8SEnvSpecFragment_NodeGroups_Tolerations) GetKey

func (*K8SEnvSpecFragment_NodeGroups_Tolerations) GetOperator

func (*K8SEnvSpecFragment_NodeGroups_Tolerations) GetValue

type K8SEnvSpecLogsStorageGCSSpecInput

type K8SEnvSpecLogsStorageGCSSpecInput struct {
	// GCS bucket name.
	BucketName *string `json:"bucketName,omitempty"`
}

Kubernetes environment logs GCS storage configuration.

type K8SEnvSpecLogsStorageS3SpecInput

type K8SEnvSpecLogsStorageS3SpecInput struct {
	// S3 bucket name.
	BucketName *string `json:"bucketName,omitempty"`
	// S3 bucket region.
	//
	// Defaults to environment region.
	Region *string `json:"region,omitempty"`
}

Kubernetes environment logs S3 storage configuration.

type K8SEnvSpecLogsStorageSpecInput

type K8SEnvSpecLogsStorageSpecInput struct {
	// Amazon S3 configuration.
	S3 *K8SEnvSpecLogsStorageS3SpecInput `json:"s3,omitempty"`
	// Google Cloud Storage configuration.
	Gcs *K8SEnvSpecLogsStorageGCSSpecInput `json:"gcs,omitempty"`
}

Kubernetes environment logs storage configuration input.

type K8SEnvStatus

type K8SEnvStatus struct {
	// Applied spec revision (monotonically-increasing).
	AppliedSpecRevision int64 `json:"appliedSpecRevision"`
	// True indicates that environment is pending deletion.
	PendingDelete bool `json:"pendingDelete"`
	// Status errors.
	Errors []*EnvStatusError `json:"errors"`
}

Kubernetes environment status.

type KeyValue

type KeyValue struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type KeyValueInput

type KeyValueInput struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type LoadBalancingStrategy

type LoadBalancingStrategy string

Load balancing strategy.

const (
	// Keep the traffic within the same zone.
	LoadBalancingStrategyZoneBestEffort LoadBalancingStrategy = "ZONE_BEST_EFFORT"
	// Load balance traffic across all zones in round-robin fashion.
	LoadBalancingStrategyRoundRobin LoadBalancingStrategy = "ROUND_ROBIN"
)

func (LoadBalancingStrategy) IsValid

func (e LoadBalancingStrategy) IsValid() bool

func (LoadBalancingStrategy) MarshalGQL

func (e LoadBalancingStrategy) MarshalGQL(w io.Writer)

func (LoadBalancingStrategy) String

func (e LoadBalancingStrategy) String() string

func (*LoadBalancingStrategy) UnmarshalGQL

func (e *LoadBalancingStrategy) UnmarshalGQL(v interface{}) error

type MaintenanceWindowSpec

type MaintenanceWindowSpec struct {
	// Maintenance window identifier.
	Name string `json:"name"`
	// True if maintenance window is enabled,
	// false otherwise.
	Enabled bool `json:"enabled"`
	// Hour of the day in [0, 23] range.
	Hour int64 `json:"hour"`
	// Maintenance window length in hours. 4h min, 24h max.
	LengthInHours int64 `json:"lengthInHours"`
	// Days on which maintenance can take place.
	// At least one day is required.
	Days []Day `json:"days"`
}

Maintenance window configuration.

type MaintenanceWindowSpecInput

type MaintenanceWindowSpecInput struct {
	// Maintenance window identifier.
	Name string `json:"name"`
	// True if maintenance window is enabled,
	// false otherwise.
	//
	// True by default.
	Enabled *bool `json:"enabled,omitempty"`
	// Hour of the day in [0, 23] range.
	Hour int64 `json:"hour"`
	// Maintenance window length in hours. 4h min, 24h max.
	LengthInHours int64 `json:"lengthInHours"`
	// Days on which maintenance can take place.
	// At least one day is required.
	Days []Day `json:"days"`
}

Maintenance window configuration input.

type Mutation

type Mutation struct {
}

type NodeReservation

type NodeReservation string

Node reservation.

const (
	// Reservation for infrastructure/support services.
	NodeReservationSystem NodeReservation = "SYSTEM"
	// Reservation for ClickHouse.
	NodeReservationClickhouse NodeReservation = "CLICKHOUSE"
	// Reservation for ZooKeeper.
	NodeReservationZookeeper NodeReservation = "ZOOKEEPER"
)

func (NodeReservation) IsValid

func (e NodeReservation) IsValid() bool

func (NodeReservation) MarshalGQL

func (e NodeReservation) MarshalGQL(w io.Writer)

func (NodeReservation) String

func (e NodeReservation) String() string

func (*NodeReservation) UnmarshalGQL

func (e *NodeReservation) UnmarshalGQL(v interface{}) error

type NodeToleration

type NodeToleration struct {
	// Taint key, e.g. "dedicated".
	Key      string                 `json:"key"`
	Operator NodeTolerationOperator `json:"operator"`
	// Taint value, e.g. "clickhouse"
	Value string `json:"value"`
	// Taint effect to match.
	Effect NodeTolerationEffect `json:"effect"`
}

type NodeTolerationEffect

type NodeTolerationEffect string

Node taint effect.

const (
	NodeTolerationEffectNoSchedule       NodeTolerationEffect = "NO_SCHEDULE"
	NodeTolerationEffectPreferNoSchedule NodeTolerationEffect = "PREFER_NO_SCHEDULE"
	NodeTolerationEffectNoExecute        NodeTolerationEffect = "NO_EXECUTE"
)

func (NodeTolerationEffect) IsValid

func (e NodeTolerationEffect) IsValid() bool

func (NodeTolerationEffect) MarshalGQL

func (e NodeTolerationEffect) MarshalGQL(w io.Writer)

func (NodeTolerationEffect) String

func (e NodeTolerationEffect) String() string

func (*NodeTolerationEffect) UnmarshalGQL

func (e *NodeTolerationEffect) UnmarshalGQL(v interface{}) error

type NodeTolerationOperator

type NodeTolerationOperator string

Node toleration operator used to match taints.

const (
	NodeTolerationOperatorEqual  NodeTolerationOperator = "EQUAL"
	NodeTolerationOperatorExists NodeTolerationOperator = "EXISTS"
)

func (NodeTolerationOperator) IsValid

func (e NodeTolerationOperator) IsValid() bool

func (NodeTolerationOperator) MarshalGQL

func (e NodeTolerationOperator) MarshalGQL(w io.Writer)

func (NodeTolerationOperator) String

func (e NodeTolerationOperator) String() string

func (*NodeTolerationOperator) UnmarshalGQL

func (e *NodeTolerationOperator) UnmarshalGQL(v interface{}) error

type NodeTolerationSpecInput

type NodeTolerationSpecInput struct {
	Key      string                 `json:"key"`
	Operator NodeTolerationOperator `json:"operator"`
	Value    string                 `json:"value"`
	Effect   NodeTolerationEffect   `json:"effect"`
}

type PrivateLinkServiceSpec added in v0.2.0

type PrivateLinkServiceSpec struct {
	// Lists subscription IDs permitted for Private Link access, securing service connections.
	AllowedSubscriptions []string `json:"allowedSubscriptions"`
}

Specifies Azure Private Link Service settings, including allowed subscription IDs for private access. This enhances network security by ensuring only authorized subscriptions connect to your services.

Example: ["34d1b48e-6471-4129-be6b-9e3c2df6955c", "23f44dbf-02a0-4fd7-b821-5e82652bd920"]

type PrivateLinkServiceSpecInput added in v0.2.0

type PrivateLinkServiceSpecInput struct {
	// Lists subscription IDs permitted for Private Link access, securing service connections.
	AllowedSubscriptions []string `json:"allowedSubscriptions"`
}

Specifies Azure Private Link Service settings, including allowed subscription IDs for private access. This enhances network security by ensuring only authorized subscriptions connect to your services.

Example: ["34d1b48e-6471-4129-be6b-9e3c2df6955c", "23f44dbf-02a0-4fd7-b821-5e82652bd920"]

type Query

type Query struct {
}

type UpdateAWSEnv

type UpdateAWSEnv struct {
	UpdateAWSEnv UpdateAWSEnv_UpdateAWSEnv "json:\"updateAWSEnv\" graphql:\"updateAWSEnv\""
}

func (*UpdateAWSEnv) GetUpdateAWSEnv

func (t *UpdateAWSEnv) GetUpdateAWSEnv() *UpdateAWSEnv_UpdateAWSEnv

type UpdateAWSEnvInput

type UpdateAWSEnvInput struct {
	// Environment name.
	Name string `json:"name"`
	// Environment spec.
	Spec *AWSEnvUpdateSpecInput `json:"spec"`
	// Environment spec update strategy.
	// MERGE by default.
	UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

AWS environment update request input.

type UpdateAWSEnvResult

type UpdateAWSEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// AWS environment active configuration.
	Spec *AWSEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

AWS environment update request result.

type UpdateAWSEnv_UpdateAWSEnv

type UpdateAWSEnv_UpdateAWSEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *AWSEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*UpdateAWSEnv_UpdateAWSEnv) GetMutationID

func (t *UpdateAWSEnv_UpdateAWSEnv) GetMutationID() string

func (*UpdateAWSEnv_UpdateAWSEnv) GetSpec

func (*UpdateAWSEnv_UpdateAWSEnv) GetSpecRevision

func (t *UpdateAWSEnv_UpdateAWSEnv) GetSpecRevision() int64

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints struct {
	ServiceName string  "json:\"serviceName\" graphql:\"serviceName\""
	Alias       *string "json:\"alias,omitempty\" graphql:\"alias\""
	PrivateDNS  bool    "json:\"privateDNS\" graphql:\"privateDNS\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetAlias

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetPrivateDNS added in v0.3.1

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Endpoints) GetServiceName

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers struct {
	Public   UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetInternal

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers) GetPublic

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled                          bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges                   []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone                        bool     "json:\"crossZone\" graphql:\"crossZone\""
	EndpointServiceAllowedPrincipals []string "json:\"endpointServiceAllowedPrincipals\" graphql:\"endpointServiceAllowedPrincipals\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetCrossZone

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals

func (t *UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetEndpointServiceAllowedPrincipals() []string

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	CrossZone      bool     "json:\"crossZone\" graphql:\"crossZone\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetCrossZone

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetDays

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetHour

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_MaintenanceWindows) GetName

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetName

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetNodeType

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetReservations

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_NodeGroups) GetZones

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections struct {
	AwsAccountID *string "json:\"awsAccountID,omitempty\" graphql:\"awsAccountID\""
	VpcID        string  "json:\"vpcID\" graphql:\"vpcID\""
	VpcRegion    *string "json:\"vpcRegion,omitempty\" graphql:\"vpcRegion\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetAwsAccountID

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcID

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_PeeringConnections) GetVpcRegion

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Tags

type UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Tags) GetKey

func (*UpdateAWSEnv_UpdateAWSEnv_Spec_AWSEnvSpecFragment_Tags) GetValue

type UpdateAzureEnv added in v0.2.0

type UpdateAzureEnv struct {
	UpdateAzureEnv UpdateAzureEnv_UpdateAzureEnv "json:\"updateAzureEnv\" graphql:\"updateAzureEnv\""
}

func (*UpdateAzureEnv) GetUpdateAzureEnv added in v0.2.0

func (t *UpdateAzureEnv) GetUpdateAzureEnv() *UpdateAzureEnv_UpdateAzureEnv

type UpdateAzureEnvInput added in v0.2.0

type UpdateAzureEnvInput struct {
	// Environment name.
	Name string `json:"name"`
	// Environment spec.
	Spec *UpdateAzureEnvSpecInput `json:"spec"`
	// Environment spec update strategy.
	// MERGE by default.
	UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

Azure environment update request input.

type UpdateAzureEnvResult added in v0.2.0

type UpdateAzureEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// Azure environment active configuration.
	Spec *AzureEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

Azure environment update request result.

type UpdateAzureEnvSpecInput added in v0.2.0

type UpdateAzureEnvSpecInput struct {
	// Number of Azure zones.
	// At least 2 required (if specified).
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of Azure zones.
	// At least 2 required (if specified).
	//
	// Example: ["eastus-1", "eastus-2"]
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *AzureEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*AzureEnvNodeGroupSpecInput `json:"nodeGroups,omitempty"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, privatelink)
	// CNAME *.privatelink.example.com. _.privatelink.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// Azure Private Link service configuration.
	PrivateLinkService *PrivateLinkServiceSpecInput `json:"privateLinkService,omitempty"`
	Tags               []*KeyValueInput             `json:"tags,omitempty"`
}

Azure environment configuration update request input.

type UpdateAzureEnv_UpdateAzureEnv added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv struct {
	MutationID   string                "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *AzureEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64                 "json:\"specRevision\" graphql:\"specRevision\""
}

func (*UpdateAzureEnv_UpdateAzureEnv) GetMutationID added in v0.2.0

func (t *UpdateAzureEnv_UpdateAzureEnv) GetMutationID() string

func (*UpdateAzureEnv_UpdateAzureEnv) GetSpec added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv) GetSpecRevision added in v0.2.0

func (t *UpdateAzureEnv_UpdateAzureEnv) GetSpecRevision() int64

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers struct {
	Public   UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetInternal added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers) GetPublic added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetEnabled added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetEnabled added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetDays added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetEnabled added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetHour added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetLengthInHours added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_MaintenanceWindows) GetName added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetCapacityPerZone added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetName added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetNodeType added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetReservations added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_NodeGroups) GetZones added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService struct {
	AllowedSubscriptions []string "json:\"allowedSubscriptions\" graphql:\"allowedSubscriptions\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_PrivateLinkService) GetAllowedSubscriptions added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_Tags added in v0.2.0

type UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_Tags struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_Tags) GetKey added in v0.2.0

func (*UpdateAzureEnv_UpdateAzureEnv_Spec_AzureEnvSpecFragment_Tags) GetValue added in v0.2.0

type UpdateGCPEnv

type UpdateGCPEnv struct {
	UpdateGCPEnv UpdateGCPEnv_UpdateGCPEnv "json:\"updateGCPEnv\" graphql:\"updateGCPEnv\""
}

func (*UpdateGCPEnv) GetUpdateGCPEnv

func (t *UpdateGCPEnv) GetUpdateGCPEnv() *UpdateGCPEnv_UpdateGCPEnv

type UpdateGCPEnvInput

type UpdateGCPEnvInput struct {
	// Environment name.
	Name string `json:"name"`
	// Environment spec.
	Spec *UpdateGCPEnvSpecInput `json:"spec"`
	// Environment spec update strategy.
	// MERGE by default.
	UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

GCP environment update request input.

type UpdateGCPEnvResult

type UpdateGCPEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// GCP environment active configuration.
	Spec *GCPEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

GCP environment update request result.

type UpdateGCPEnvSpecInput

type UpdateGCPEnvSpecInput struct {
	// Number of GCP zones.
	// At least 2 required (if specified).
	NumberOfZones *int64 `json:"numberOfZones,omitempty"`
	// Explicit list of GCP zones.
	// At least 2 required (if specified).
	//
	// Example: ["us-west1a", "us-west1b"]
	Zones []string `json:"zones,omitempty"`
	// Load balancers configuration.
	LoadBalancers *GCPEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*GCPEnvNodeGroupSpecInput `json:"nodeGroups,omitempty"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
}

GCP environment configuration update request input.

type UpdateGCPEnv_UpdateGCPEnv

type UpdateGCPEnv_UpdateGCPEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *GCPEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*UpdateGCPEnv_UpdateGCPEnv) GetMutationID

func (t *UpdateGCPEnv_UpdateGCPEnv) GetMutationID() string

func (*UpdateGCPEnv_UpdateGCPEnv) GetSpec

func (*UpdateGCPEnv_UpdateGCPEnv) GetSpecRevision

func (t *UpdateGCPEnv_UpdateGCPEnv) GetSpecRevision() int64

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers struct {
	Public   UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetInternal

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers) GetPublic

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool     "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
}

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetDays

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetHour

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_MaintenanceWindows) GetName

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups

type UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups struct {
	Name            string            "json:\"name\" graphql:\"name\""
	NodeType        string            "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64             "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Zones           []string          "json:\"zones\" graphql:\"zones\""
	Reservations    []NodeReservation "json:\"reservations\" graphql:\"reservations\""
}

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetName

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetNodeType

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetReservations

func (*UpdateGCPEnv_UpdateGCPEnv_Spec_GCPEnvSpecFragment_NodeGroups) GetZones

type UpdateHCloudEnvInput added in v0.3.1

type UpdateHCloudEnvInput struct {
	// Environment name.
	Name string `json:"name"`
	// Environment spec.
	Spec *UpdateHCloudEnvSpecInput `json:"spec"`
	// Environment spec update strategy.
	// MERGE by default.
	UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

HCloud environment update request input.

type UpdateHCloudEnvResult added in v0.3.1

type UpdateHCloudEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// HCloud environment active configuration.
	Spec *HCloudEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

HCloud environment update request result.

type UpdateHCloudEnvSpecInput added in v0.3.1

type UpdateHCloudEnvSpecInput struct {
	// Load balancers configuration.
	LoadBalancers *HCloudEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	// ZONE_BEST_EFFORT by default.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	// At least one required.
	NodeGroups []*HCloudEnvNodeGroupSpecInput `json:"nodeGroups"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please update the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
	// Labels to apply to HCloud resources.
	Labels []*KeyValueInput `json:"labels,omitempty"`
	// Encrypted value of HCLOUD_TOKEN
	HcloudTokenEnc *string `json:"hcloudTokenEnc,omitempty"`
	// Wireguard peers configuration.
	WireguardPeers []*HCloudEnvWireguardPeerInput `json:"wireguardPeers"`
}

HCloud environment configuration update request input.

type UpdateK8SEnv

type UpdateK8SEnv struct {
	UpdateK8SEnv UpdateK8SEnv_UpdateK8SEnv "json:\"updateK8SEnv\" graphql:\"updateK8SEnv\""
}

func (*UpdateK8SEnv) GetUpdateK8SEnv

func (t *UpdateK8SEnv) GetUpdateK8SEnv() *UpdateK8SEnv_UpdateK8SEnv

type UpdateK8SEnvInput

type UpdateK8SEnvInput struct {
	// Environment name.
	Name string `json:"name"`
	// Environment spec.
	Spec *UpdateK8SEnvSpecInput `json:"spec"`
	// Environment spec update strategy.
	// MERGE by default.
	UpdateStrategy *UpdateStrategy `json:"updateStrategy,omitempty"`
}

Kubernetes environment update request input.

type UpdateK8SEnvResult

type UpdateK8SEnvResult struct {
	// Mutation unique identifier.
	MutationID string `json:"mutationId"`
	// Kubernetes environment active configuration.
	Spec *K8SEnvSpec `json:"spec"`
	// Spec revision (monotonically-increasing).
	SpecRevision int64 `json:"specRevision"`
}

Kubernetes environment update request result.

type UpdateK8SEnvSpecInput

type UpdateK8SEnvSpecInput struct {
	// Load balancers configuration.
	LoadBalancers *K8SEnvLoadBalancersSpecInput `json:"loadBalancers,omitempty"`
	// Load balancing strategy.
	LoadBalancingStrategy *LoadBalancingStrategy `json:"loadBalancingStrategy,omitempty"`
	// List of node groups.
	NodeGroups []*K8SEnvNodeGroupSpecInput `json:"nodeGroups,omitempty"`
	// Custom node types.
	CustomNodeTypes []*K8SEnvCustomNodeTypeSpecInput `json:"customNodeTypes,omitempty"`
	// Metrics configuration.
	Metrics *K8SEnvMetricsSpecInput `json:"metrics,omitempty"`
	// Logs configuration.
	Logs *K8SEnvLogsSpecInput `json:"logs,omitempty"`
	// List of maintenance windows during which automatic maintenance is permitted.
	// By default updates are applied as soon as they are available.
	MaintenanceWindows []*MaintenanceWindowSpecInput `json:"maintenanceWindows,omitempty"`
	// Custom domain.
	//
	// Examples:
	// - "example.com"
	// - "foo.bar.com"
	//
	// Before specifying custom domain, please create the following DNS records:
	// - CNAME _acme-challenge.example.com. $env_name.altinity.cloud.
	// - (optional, public load balancer)
	// CNAME *.example.com. _.$env_name.altinity.cloud.
	// - (optional, internal load balancer)
	// CNAME *.internal.example.com. _.internal.$env_name.altinity.cloud.
	// - (optional, vpce)
	// CNAME *.vpce.example.com. _.vpce.$env_name.altinity.cloud.
	CustomDomain *string `json:"customDomain,omitempty"`
}

Kubernetes environment configuration update request input.

type UpdateK8SEnv_UpdateK8SEnv

type UpdateK8SEnv_UpdateK8SEnv struct {
	MutationID   string              "json:\"mutationId\" graphql:\"mutationId\""
	Spec         *K8SEnvSpecFragment "json:\"spec\" graphql:\"spec\""
	SpecRevision int64               "json:\"specRevision\" graphql:\"specRevision\""
}

func (*UpdateK8SEnv_UpdateK8SEnv) GetMutationID

func (t *UpdateK8SEnv_UpdateK8SEnv) GetMutationID() string

func (*UpdateK8SEnv_UpdateK8SEnv) GetSpec

func (*UpdateK8SEnv_UpdateK8SEnv) GetSpecRevision

func (t *UpdateK8SEnv_UpdateK8SEnv) GetSpecRevision() int64

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes struct {
	Name                  string  "json:\"name\" graphql:\"name\""
	CPUAllocatable        float64 "json:\"cpuAllocatable\" graphql:\"cpuAllocatable\""
	MemAllocatableInBytes int64   "json:\"memAllocatableInBytes\" graphql:\"memAllocatableInBytes\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetCPUAllocatable

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetMemAllocatableInBytes

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_CustomNodeTypes) GetName

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers struct {
	Public   UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public   "json:\"public\" graphql:\"public\""
	Internal UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal "json:\"internal\" graphql:\"internal\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetInternal

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers) GetPublic

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal struct {
	Enabled        bool                                                                                    "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                                "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetAnnotations

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetEnabled

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal) GetSourceIPRanges

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetKey

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Internal_Annotations) GetValue

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public struct {
	Enabled        bool                                                                                  "json:\"enabled\" graphql:\"enabled\""
	SourceIPRanges []string                                                                              "json:\"sourceIPRanges\" graphql:\"sourceIPRanges\""
	Annotations    []*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations "json:\"annotations\" graphql:\"annotations\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetAnnotations

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetEnabled

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public) GetSourceIPRanges

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetKey

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_LoadBalancers_Public_Annotations) GetValue

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs struct {
	Storage UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage "json:\"storage\" graphql:\"storage\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs) GetStorage

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage struct {
	S3  *UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3  "json:\"s3,omitempty\" graphql:\"s3\""
	Gcs *UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs "json:\"gcs,omitempty\" graphql:\"gcs\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetGcs

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage) GetS3

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_Gcs) GetBucketName

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3 struct {
	BucketName *string "json:\"bucketName,omitempty\" graphql:\"bucketName\""
	Region     *string "json:\"region,omitempty\" graphql:\"region\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetBucketName

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Logs_Storage_S3) GetRegion

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows struct {
	Name          string "json:\"name\" graphql:\"name\""
	Enabled       bool   "json:\"enabled\" graphql:\"enabled\""
	Hour          int64  "json:\"hour\" graphql:\"hour\""
	LengthInHours int64  "json:\"lengthInHours\" graphql:\"lengthInHours\""
	Days          []Day  "json:\"days\" graphql:\"days\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetDays

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetEnabled

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetHour

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetLengthInHours

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_MaintenanceWindows) GetName

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Metrics

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Metrics struct {
	RetentionPeriodInDays *int64 "json:\"retentionPeriodInDays,omitempty\" graphql:\"retentionPeriodInDays\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_Metrics) GetRetentionPeriodInDays

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups struct {
	Name            string                                                                      "json:\"name\" graphql:\"name\""
	NodeType        string                                                                      "json:\"nodeType\" graphql:\"nodeType\""
	CapacityPerZone int64                                                                       "json:\"capacityPerZone\" graphql:\"capacityPerZone\""
	Selector        []*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector    "json:\"selector\" graphql:\"selector\""
	Tolerations     []*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations "json:\"tolerations\" graphql:\"tolerations\""
	Reservations    []NodeReservation                                                           "json:\"reservations\" graphql:\"reservations\""
	Zones           []string                                                                    "json:\"zones\" graphql:\"zones\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetCapacityPerZone

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetName

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetNodeType

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetReservations

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetSelector

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetTolerations

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups) GetZones

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector struct {
	Key   string "json:\"key\" graphql:\"key\""
	Value string "json:\"value\" graphql:\"value\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetKey

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Selector) GetValue

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations

type UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations struct {
	Effect   NodeTolerationEffect   "json:\"effect\" graphql:\"effect\""
	Operator NodeTolerationOperator "json:\"operator\" graphql:\"operator\""
	Key      string                 "json:\"key\" graphql:\"key\""
	Value    string                 "json:\"value\" graphql:\"value\""
}

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetEffect

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetKey

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetOperator

func (*UpdateK8SEnv_UpdateK8SEnv_Spec_K8SEnvSpecFragment_NodeGroups_Tolerations) GetValue

type UpdateStrategy

type UpdateStrategy string

Update strategy.

const (
	// Merge objects & replace lists.
	UpdateStrategyMerge UpdateStrategy = "MERGE"
	// Replace all.
	UpdateStrategyReplace UpdateStrategy = "REPLACE"
)

func (UpdateStrategy) IsValid

func (e UpdateStrategy) IsValid() bool

func (UpdateStrategy) MarshalGQL

func (e UpdateStrategy) MarshalGQL(w io.Writer)

func (UpdateStrategy) String

func (e UpdateStrategy) String() string

func (*UpdateStrategy) UnmarshalGQL

func (e *UpdateStrategy) UnmarshalGQL(v interface{}) error

Jump to

Keyboard shortcuts

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