Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin(key string, strategy ACLStrategy)
RegisterPlugin adds the strategy to the registered strategies
Types ¶
type ACLStrategy ¶
type ACLStrategy interface { // GetACL returns the ACL if this strategy handles the vfs.Path, when writing for the specified cluster GetACL(ctx context.Context, p vfs.Path, cluster *kops.Cluster) (vfs.ACL, error) }
ACLStrategy is the interface implemented by ACL strategy providers
Click to show internal directories.
Click to hide internal directories.