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 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 ContextStatusTenantClusterAWS
- type ContextStatusTenantClusterEncryption
- type ContextStatusTenantClusterMasterInstance
- type ContextStatusTenantClusterTCCP
- type ContextStatusTenantClusterTCCPAvailabilityZone
- type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTable
- type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTablePublic
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPrivate
- type ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPublic
- type ContextStatusTenantClusterTCCPVPC
- type ContextStatusTenantClusterTCNP
- type ContextStatusTenantClusterTCNPASG
- 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 { Private ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPrivate Public ContextSpecTenantClusterTCCPAvailabilityZoneSubnetPublic }
type ContextSpecTenantClusterTCNP ¶
type ContextSpecTenantClusterTCNP struct {
AvailabilityZones []ContextSpecTenantClusterTCNPAvailabilityZone
}
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 { AWS ContextStatusTenantClusterAWS Encryption ContextStatusTenantClusterEncryption HostedZoneNameServers string MasterInstance ContextStatusTenantClusterMasterInstance TCCP ContextStatusTenantClusterTCCP TCNP ContextStatusTenantClusterTCNP OperatorVersion string }
type ContextStatusTenantClusterEncryption ¶
type ContextStatusTenantClusterEncryption struct {
Key string
}
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 RouteTable ContextStatusTenantClusterTCCPAvailabilityZoneRouteTable }
type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTable ¶
type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTable struct {
Public ContextStatusTenantClusterTCCPAvailabilityZoneRouteTablePublic
}
type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTablePublic ¶
type ContextStatusTenantClusterTCCPAvailabilityZoneRouteTablePublic struct {
ID string
}
type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet ¶
type ContextStatusTenantClusterTCCPAvailabilityZoneSubnet struct { Private ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPrivate Public ContextStatusTenantClusterTCCPAvailabilityZoneSubnetPublic }
type ContextStatusTenantClusterTCNP ¶
type ContextStatusTenantClusterTCNP struct { ASG ContextStatusTenantClusterTCNPASG WorkerInstance ContextStatusTenantClusterTCNPWorkerInstance }
type ContextStatusTenantClusterTCNPASG ¶
type ContextStatusTenantClusterTCNPASG struct { DesiredCapacity int MaxSize int MinSize int Name string }
func (ContextStatusTenantClusterTCNPASG) IsEmpty ¶
func (a ContextStatusTenantClusterTCNPASG) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.