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 ContextSpecTenantClusterTCNP
- type ContextSpecTenantClusterTCNPAvailabilityZone
- type ContextStatus
- type ContextStatusControlPlane
- type ContextStatusControlPlaneNATGateway
- type ContextStatusControlPlanePeerRole
- type ContextStatusControlPlaneRouteTable
- type ContextStatusControlPlaneVPC
- type ContextStatusTenantCluster
- type ContextStatusTenantClusterAWS
- type ContextStatusTenantClusterEncryption
- type ContextStatusTenantClusterMasterInstance
- type ContextStatusTenantClusterTCCP
- type ContextStatusTenantClusterTCCPASG
- type ContextStatusTenantClusterTCCPVPC
- type ContextStatusTenantClusterWorkerInstance
- type ContextTenantClusterAvailabilityZone
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 []ContextTenantClusterAvailabilityZone
}
type ContextSpecTenantClusterTCNP ¶
type ContextSpecTenantClusterTCNP struct {
AvailabilityZones []ContextSpecTenantClusterTCNPAvailabilityZone
}
type ContextStatus ¶
type ContextStatus struct { ControlPlane ContextStatusControlPlane TenantCluster ContextStatusTenantCluster }
type ContextStatusControlPlane ¶
type ContextStatusControlPlane struct { AWSAccountID string NATGateway ContextStatusControlPlaneNATGateway RouteTable ContextStatusControlPlaneRouteTable PeerRole ContextStatusControlPlanePeerRole VPC ContextStatusControlPlaneVPC }
type ContextStatusControlPlanePeerRole ¶
type ContextStatusControlPlanePeerRole struct {
ARN string
}
type ContextStatusControlPlaneVPC ¶
type ContextStatusControlPlaneVPC struct {
CIDR string
}
type ContextStatusTenantCluster ¶
type ContextStatusTenantCluster struct { AWS ContextStatusTenantClusterAWS Encryption ContextStatusTenantClusterEncryption HostedZoneNameServers string MasterInstance ContextStatusTenantClusterMasterInstance TCCP ContextStatusTenantClusterTCCP VersionBundleVersion string WorkerInstance ContextStatusTenantClusterWorkerInstance }
type ContextStatusTenantClusterEncryption ¶
type ContextStatusTenantClusterEncryption struct {
Key string
}
type ContextStatusTenantClusterTCCP ¶
type ContextStatusTenantClusterTCCP struct { ASG ContextStatusTenantClusterTCCPASG AvailabilityZones []ContextTenantClusterAvailabilityZone IsTransitioning bool MachineDeployment v1alpha1.MachineDeployment RouteTables []*ec2.RouteTable Subnets []*ec2.Subnet VPC ContextStatusTenantClusterTCCPVPC }
type ContextStatusTenantClusterTCCPASG ¶
type ContextStatusTenantClusterTCCPASG struct { DesiredCapacity int MaxSize int MinSize int Name string }
func (ContextStatusTenantClusterTCCPASG) IsEmpty ¶
func (a ContextStatusTenantClusterTCCPASG) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.