Documentation
¶
Index ¶
- func ResetSid(id Id)
- type Id
- func (t *Id) IsZero() bool
- func (t *Id) Load()
- func (t Id) MarshalJSON() ([]byte, error)
- func (t *Id) ParentVar() string
- func (t *Id) SetUUID(id uuid.UUID)
- func (t *Id) String() string
- func (t *Id) UUID() uuid.UUID
- func (t *Id) UnmarshalJSON(b []byte) error
- func (t *Id) Var() string
- func (t *Id) Zero()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Id ¶
type Id struct {
// contains filtered or unexported fields
}
func (Id) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface. It marshals the SessionId as a JSON string representation of the UUID. This method is also used by sigs.k8s.io/yaml for YAML marshaling.
func (*Id) ParentVar ¶
ParentVar returns the session id as a OSVC_PARENT_SESSION_ID=<sid> environment variable setter string. Used by the daemon to provide its session id to the executed crm commands.
func (*Id) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface. It unmarshals a JSON string into a SessionId. This method is also used by sigs.k8s.io/yaml for YAML unmarshaling.
Click to show internal directories.
Click to hide internal directories.