Documentation ¶
Index ¶
Constants ¶
View Source
const ( LastApplyProperty = linstor.NamespcAuxiliary + "/" + vars.ApplyAnnotation ManagedByProperty = linstor.NamespcAuxiliary + "/" + vars.ManagedByLabel )
Variables ¶
This section is empty.
Functions ¶
func MakePropertiesModification ¶
func MakePropertiesModification(current, expected map[string]string) *lclient.GenericPropsModify
MakePropertiesModification returns the modification that need to be applied to update the current properties.
Types ¶
type Client ¶
Client is a LINSTOR client with convenience functions.
func NewClientForCluster ¶
func NewClientForCluster(ctx context.Context, cl client.Client, namespace, clusterName, clientSecretName string, externalCluster *piraeusv1.LinstorExternalControllerRef, options ...lapi.Option) (*Client, error)
NewClientForCluster returns a LINSTOR client for a LINSTOR Controller managed by the operator.
Click to show internal directories.
Click to hide internal directories.