Documentation ¶
Index ¶
- func GetPrefixedCommandUsage(ctx context.Context, commandName string) string
- func IsACMEPolicyLevel(ctx context.Context) bool
- func IsAllow(ctx context.Context) bool
- func IsAuthorityPolicyLevel(ctx context.Context) bool
- func IsDeny(ctx context.Context) bool
- func IsProvisionerPolicyLevel(ctx context.Context) bool
- func IsSSHHostPolicy(ctx context.Context) bool
- func IsSSHUserPolicy(ctx context.Context) bool
- func IsX509Policy(ctx context.Context) bool
- func WithACMEPolicyLevel(ctx context.Context) context.Context
- func WithAllow(ctx context.Context) context.Context
- func WithAuthorityPolicyLevel(ctx context.Context) context.Context
- func WithDeny(ctx context.Context) context.Context
- func WithProvisionerPolicyLevel(ctx context.Context) context.Context
- func WithSSHHostPolicy(ctx context.Context) context.Context
- func WithSSHUserPolicy(ctx context.Context) context.Context
- func WithX509Policy(ctx context.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrefixedCommandUsage ¶
func IsACMEPolicyLevel ¶
IsACMEPolicyLevel returns if the context.Context has ACME account policy level.
func IsAuthorityPolicyLevel ¶
IsAuthorityPolicyLevel returns if the context.Context has authority policy level.
func IsProvisionerPolicyLevel ¶
IsProvisionerPolicyLevel returns if the context.Context has provisioner policy level.
func IsSSHHostPolicy ¶
IsSSHHostPolicy returns if the context.Context has SSH host policy set.
func IsSSHUserPolicy ¶
IsSSHUserPolicy returns if context.Context has SSH user policy set.
func IsX509Policy ¶
IsX509Policy returns if the context.Context has X.509 policy set.
func WithACMEPolicyLevel ¶
WithACMEPolicyLevel returns a new context.Context with parent ctx and ACME account policy level set.
func WithAuthorityPolicyLevel ¶
WithAuthorityPolicyLevel returns a new context.Context with parent ctx and authority policy level set.
func WithProvisionerPolicyLevel ¶
WithProvisionerPolicyLevel returns a new context.Context with parent ctx and provisioner policy level set.
func WithSSHHostPolicy ¶
WithSSHHostPolicy returns a context.Context with SSH host policy set.
func WithSSHUserPolicy ¶
WithSSHUserPolicy returns a context.Context with SSH user policy set.
Types ¶
This section is empty.