Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- func NewContext(ctx context.Context, c Context) context.Context
- type Context
- type ContextClient
- type ContextClientControlPlane
- type ContextClientTenantCluster
- type ContextSpec
- type ContextSpecTenantCluster
- type ContextSpecTenantClusterTCCP
- type ContextSpecTenantClusterTCCPAvailabilityZone
- type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePrivate
- type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePublic
- type ContextSpecTenantClusterTCCPAvailabilityZoneSubnet
- type ContextSpecTenantClusterTCCPAvailabilityZoneSubnetAWSCNI
- type ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPrivate
- type ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPublic
- type ContextSpecTenantClusterTCNP
- type ContextSpecTenantClusterTCNPAvailabilityZone
- type ContextSpecTenantClusterTCNPAvailabilityZoneNATGateway
- type ContextSpecTenantClusterTCNPAvailabilityZoneSubnet
- type ContextSpecTenantClusterTCNPAvailabilityZoneSubnetPrivate
- type ContextStatus
- type ContextStatusControlPlane
- type ContextStatusControlPlaneNATGateway
- type ContextStatusControlPlanePeerRole
- type ContextStatusControlPlaneVPC
- type ContextStatusTenantCluster
- type ContextStatusTenantClusterASG
- type ContextStatusTenantClusterAWS
- type ContextStatusTenantClusterDNS
- type ContextStatusTenantClusterMasterInstance
- type ContextStatusTenantClusterS3Object
- type ContextStatusTenantClusterTCCP
- type ContextStatusTenantClusterTCCPAvailabilityZone
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnetAWSCNI
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPrivate
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPublic
- type ContextStatusTenantClusterTCCPN
- type ContextStatusTenantClusterTCCPVPC
- type ContextStatusTenantClusterTCNP
- type ContextStatusTenantClusterTCNPInstances
- type ContextStatusTenantClusterTCNPWorkerInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct { // Client holds the client implementations used for several tenant cluster // specific actions. Client ContextClient // Spec holds the desired state we compute in a resource and then keep // inside the context to be used in a different resource. Spec ContextSpec // Status holds the data used to communicate between controller's // resources. It can be edited in place as Context is stored as // a pointer within context.Context. The content of the status should // reflect the current state. Status ContextStatus }
type ContextClient ¶
type ContextClient struct { ControlPlane ContextClientControlPlane TenantCluster ContextClientTenantCluster }
type ContextSpec ¶
type ContextSpec struct {
TenantCluster ContextSpecTenantCluster
}
type ContextSpecTenantCluster ¶
type ContextSpecTenantCluster struct { TCCP ContextSpecTenantClusterTCCP TCNP ContextSpecTenantClusterTCNP }
type ContextSpecTenantClusterTCCP ¶
type ContextSpecTenantClusterTCCP struct {
AvailabilityZones []ContextSpecTenantClusterTCCPAvailabilityZone
}
type ContextSpecTenantClusterTCCPAvailabilityZone ¶
type ContextSpecTenantClusterTCCPAvailabilityZone struct { Name string Subnet ContextSpecTenantClusterTCCPAvailabilityZoneSubnet }
type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePrivate ¶
type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePrivate struct {
ID string
}
type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePublic ¶
type ContextSpecTenantClusterTCCPAvailabilityZoneRouteTablePublic struct {
ID string
}
type ContextSpecTenantClusterTCCPAvailabilityZoneSubnet ¶
type ContextSpecTenantClusterTCCPAvailabilityZoneSubnet struct { AWSCNI ContextSpecTenantClusterTCCPAvailabilityZoneSubnetAWSCNI Private ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPrivate Public ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPublic }
type ContextSpecTenantClusterTCNP ¶
type ContextSpecTenantClusterTCNP struct { AvailabilityZones []ContextSpecTenantClusterTCNPAvailabilityZone SecurityGroupIDs []string }
type ContextSpecTenantClusterTCNPAvailabilityZone ¶
type ContextSpecTenantClusterTCNPAvailabilityZone struct { Name string NATGateway ContextSpecTenantClusterTCNPAvailabilityZoneNATGateway Subnet ContextSpecTenantClusterTCNPAvailabilityZoneSubnet }
type ContextSpecTenantClusterTCNPAvailabilityZoneNATGateway ¶
type ContextSpecTenantClusterTCNPAvailabilityZoneNATGateway struct {
ID string
}
type ContextSpecTenantClusterTCNPAvailabilityZoneSubnet ¶
type ContextSpecTenantClusterTCNPAvailabilityZoneSubnet struct {
Private ContextSpecTenantClusterTCNPAvailabilityZoneSubnetPrivate
}
type ContextStatus ¶
type ContextStatus struct { ControlPlane ContextStatusControlPlane TenantCluster ContextStatusTenantCluster }
type ContextStatusControlPlane ¶
type ContextStatusControlPlane struct { AWSAccountID string NATGateway ContextStatusControlPlaneNATGateway RouteTables []*ec2.RouteTable PeerRole ContextStatusControlPlanePeerRole VPC ContextStatusControlPlaneVPC }
type ContextStatusControlPlanePeerRole ¶
type ContextStatusControlPlanePeerRole struct {
ARN string
}
type ContextStatusTenantCluster ¶
type ContextStatusTenantCluster struct { ASG ContextStatusTenantClusterASG AWS ContextStatusTenantClusterAWS DNS ContextStatusTenantClusterDNS MasterInstance ContextStatusTenantClusterMasterInstance S3Object ContextStatusTenantClusterS3Object TCCP ContextStatusTenantClusterTCCP TCCPN ContextStatusTenantClusterTCCPN TCNP ContextStatusTenantClusterTCNP OperatorVersion string ReleaseVersion string }
type ContextStatusTenantClusterASG ¶
type ContextStatusTenantClusterASG struct { DesiredCapacity int MaxSize int MinSize int Name string }
func (ContextStatusTenantClusterASG) IsEmpty ¶
func (a ContextStatusTenantClusterASG) IsEmpty() bool
type ContextStatusTenantClusterS3Object ¶
type ContextStatusTenantClusterS3Object struct {
Uploaded bool
}
type ContextStatusTenantClusterTCCP ¶
type ContextStatusTenantClusterTCCP struct { AvailabilityZones []ContextStatusTenantClusterTCCPAvailabilityZone IsTransitioning bool NATGateways []*ec2.NatGateway RouteTables []*ec2.RouteTable SecurityGroups []*ec2.SecurityGroup Subnets []*ec2.Subnet VPC ContextStatusTenantClusterTCCPVPC }
type ContextStatusTenantClusterTCCPAvailabilityZone ¶
type ContextStatusTenantClusterTCCPAvailabilityZone struct { Name string Subnet ContextStatusTenantClusterTCCPAvailabilityZoneSubnet }
type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet ¶
type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet struct { AWSCNI ContextStatusTenantClusterTCCPAvailabilityZoneSubnetAWSCNI Private ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPrivate Public ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPublic }
type ContextStatusTenantClusterTCNP ¶
type ContextStatusTenantClusterTCNP struct { Instances ContextStatusTenantClusterTCNPInstances SecurityGroupIDs []string WorkerInstance ContextStatusTenantClusterTCNPWorkerInstance }
Click to show internal directories.
Click to hide internal directories.