Documentation ¶
Index ¶
- func ApplyManifestWork(required *workv1.ManifestWork, client workv1client.Interface, ...) error
- func ApplySubmarinerManifestWorks(config *SubmarinerConfig, client workv1client.Interface, ctx context.Context) error
- func NewSubmarinerAgentController(kubeClient kubernetes.Interface, dynamicClient dynamic.Interface, ...) factory.Controller
- func RemoveSubmarinerManifestWorks(namespace string, client workv1client.Interface, ctx context.Context) error
- type SubmarinerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyManifestWork ¶
func ApplyManifestWork(required *workv1.ManifestWork, client workv1client.Interface, ctx context.Context) error
func ApplySubmarinerManifestWorks ¶
func ApplySubmarinerManifestWorks(config *SubmarinerConfig, client workv1client.Interface, ctx context.Context) error
func NewSubmarinerAgentController ¶
func NewSubmarinerAgentController( kubeClient kubernetes.Interface, dynamicClient dynamic.Interface, clusterClient clientset.Interface, manifestWorkClient workv1client.Interface, clusterInformer clusterinformerv1.ManagedClusterInformer, clusterSetInformer clusterinformerv1alpha1.ManagedClusterSetInformer, manifestWorkInformer workinformer.ManifestWorkInformer, recorder events.Recorder) factory.Controller
NewSubmarinerAgentController returns a submarinerAgentController instance
Types ¶
type SubmarinerConfig ¶
type SubmarinerConfig struct { BrokerAPIServer string BrokerNamespace string BrokerToken string BrokerCA string IPSecPSK string ClusterName string ClusterCIDR string ServiceCIDR string }
func NewSubmarinerConfig ¶
func NewSubmarinerConfig( client kubernetes.Interface, dynamicClient dynamic.Interface, clusterName, brokeNamespace string) (*SubmarinerConfig, error)
Click to show internal directories.
Click to hide internal directories.