Documentation ¶
Index ¶
- func BufferFlowSchemaSpec(buf *bytes.Buffer, fsSpec *fcv1a1.FlowSchemaSpec)
- func BufferFmtPolicyRulesWithSubjectsSlim(buf *bytes.Buffer, rule fcv1a1.PolicyRulesWithSubjects)
- func BufferPriorityLevelConfigurationSpec(buf *bytes.Buffer, plSpec *fcv1a1.PriorityLevelConfigurationSpec)
- func FmtFlowSchema(fs *fcv1a1.FlowSchema) string
- func FmtFlowSchemaSpec(fsSpec *fcv1a1.FlowSchemaSpec) string
- func FmtPolicyRulesWithSubjects(rule fcv1a1.PolicyRulesWithSubjects) string
- func FmtPolicyRulesWithSubjectsSlim(rule fcv1a1.PolicyRulesWithSubjects) string
- func FmtPriorityLevelConfiguration(pl *fcv1a1.PriorityLevelConfiguration) string
- func FmtPriorityLevelConfigurationSpec(plSpec *fcv1a1.PriorityLevelConfigurationSpec) string
- func FmtRequests(list []*request.RequestInfo) string
- func FmtUsers(list []user.Info) string
- func ToJSON(val interface{}) string
- type Stringer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferFlowSchemaSpec ¶
func BufferFlowSchemaSpec(buf *bytes.Buffer, fsSpec *fcv1a1.FlowSchemaSpec)
BufferFlowSchemaSpec writes a golang source expression for the given value to the given buffer
func BufferFmtPolicyRulesWithSubjectsSlim ¶
func BufferFmtPolicyRulesWithSubjectsSlim(buf *bytes.Buffer, rule fcv1a1.PolicyRulesWithSubjects)
BufferFmtPolicyRulesWithSubjectsSlim writes a golang source expression for the given value to the given buffer but excludes the leading type name
func BufferPriorityLevelConfigurationSpec ¶
func BufferPriorityLevelConfigurationSpec(buf *bytes.Buffer, plSpec *fcv1a1.PriorityLevelConfigurationSpec)
BufferPriorityLevelConfigurationSpec writes a golang source expression for the given value to the given buffer
func FmtFlowSchema ¶
func FmtFlowSchema(fs *fcv1a1.FlowSchema) string
FmtFlowSchema produces a golang source expression of the value.
func FmtFlowSchemaSpec ¶
func FmtFlowSchemaSpec(fsSpec *fcv1a1.FlowSchemaSpec) string
FmtFlowSchemaSpec produces a golang source expression equivalent to the given spec
func FmtPolicyRulesWithSubjects ¶
func FmtPolicyRulesWithSubjects(rule fcv1a1.PolicyRulesWithSubjects) string
FmtPolicyRulesWithSubjects produces a golang source expression of the value.
func FmtPolicyRulesWithSubjectsSlim ¶
func FmtPolicyRulesWithSubjectsSlim(rule fcv1a1.PolicyRulesWithSubjects) string
FmtPolicyRulesWithSubjectsSlim produces a golang source expression of the value but without the leading type name. See above for an example context where this is useful.
func FmtPriorityLevelConfiguration ¶
func FmtPriorityLevelConfiguration(pl *fcv1a1.PriorityLevelConfiguration) string
FmtPriorityLevelConfiguration returns a golang source expression equivalent to the given value
func FmtPriorityLevelConfigurationSpec ¶
func FmtPriorityLevelConfigurationSpec(plSpec *fcv1a1.PriorityLevelConfigurationSpec) string
FmtPriorityLevelConfigurationSpec returns a golang source expression equivalent to the given value
func FmtRequests ¶
func FmtRequests(list []*request.RequestInfo) string
FmtRequests produces a golang source expression of the value.