github.com/giantswarm/apiextensions/v2@v2.6.2/pkg/apis/infrastructure/v1alpha2/common_cluster_status_spec.go (about) 1 package v1alpha2 2 3 import ( 4 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" 5 "k8s.io/apimachinery/pkg/runtime" 6 ) 7 8 // +kubebuilder:object:generate=false 9 10 // CommonClusterObject represents common interface for all provider specific 11 // cluster objects. 12 type CommonClusterObject interface { 13 metav1.Object 14 runtime.Object 15 CommonClusterStatusGetSetter 16 } 17 18 // +kubebuilder:object:generate=false 19 20 // CommonClusterStatusGetSetter provides abstract way to manipulate common 21 // provider independent cluster status field in provider CR's status. 22 type CommonClusterStatusGetSetter interface { 23 GetCommonClusterStatus() CommonClusterStatus 24 SetCommonClusterStatus(ccs CommonClusterStatus) 25 }