Documentation
¶
Index ¶
- func CELExpressionReferencesFields(celCmd string, fieldNames []string, options ...cel.EnvOption) (bool, error)
- func GetClient(ctx context.Context) (*api.Client, error)
- func GetClientCertificate() (tls.Certificate, error)
- func GetContext() context.Context
- func GetHttpClient() (*http.Client, error)
- func InitCELProgram(celCmd string, options ...cel.EnvOption) (*cel.Program, error)
- func ReadPassword(prompt string) (string, error)
- func SaveSessionKeysAndLogout(ctx context.Context, client *api.Client)
- type PermissionJsonOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CELExpressionReferencesFields ¶ added in v0.4.0
func CELExpressionReferencesFields(celCmd string, fieldNames []string, options ...cel.EnvOption) (bool, error)
CELExpressionReferencesFields checks if a CEL expression references any of the given field names. Returns true if the expression references at least one of the specified fields.
func GetClientCertificate ¶ added in v0.3.2
func GetClientCertificate() (tls.Certificate, error)
func GetContext ¶
func GetHttpClient ¶ added in v0.3.2
func InitCELProgram ¶ added in v0.3.0
InitCELProgram - Initialize a CEL program with given CEL command and a set of environments
func ReadPassword ¶ added in v0.2.0
ReadPassword reads a Password interactively or via Pipe
Types ¶
type PermissionJsonOutput ¶ added in v0.4.0
type PermissionJsonOutput struct {
ID *string `json:"id,omitempty"`
Aco *string `json:"aco,omitempty"`
AcoForeignKey *string `json:"aco_foreign_key,omitempty"`
Aro *string `json:"aro,omitempty"`
AroForeignKey *string `json:"aro_foreign_key,omitempty"`
Type *int `json:"type,omitempty"`
CreatedTimestamp *time.Time `json:"created_timestamp,omitempty"`
ModifiedTimestamp *time.Time `json:"modified_timestamp,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.