Documentation ¶
Index ¶
- type ProjectState
- func (rs ProjectState) IsValid() error
- func (rs ProjectState) List() []ProjectState
- func (rs *ProjectState) MarshalJSON() ([]byte, error)
- func (rs ProjectState) String() string
- func (rs ProjectState) StringList() []string
- func (rs *ProjectState) UnmarshalJSON(data []byte) error
- func (rs ProjectState) ValidOrNil() (*ProjectState, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectState ¶
type ProjectState string
const ( ProjectStateActive ProjectState = "ACTIVE" ProjectStateDeleted ProjectState = "DELETED" ProjectStateDeleting ProjectState = "DELETING" )
func (ProjectState) IsValid ¶
func (rs ProjectState) IsValid() error
func (ProjectState) List ¶
func (rs ProjectState) List() []ProjectState
func (*ProjectState) MarshalJSON ¶
func (rs *ProjectState) MarshalJSON() ([]byte, error)
MarshalJSON - implements Marshaler interface for ProjectState.
func (ProjectState) String ¶
func (rs ProjectState) String() string
func (ProjectState) StringList ¶
func (rs ProjectState) StringList() []string
func (*ProjectState) UnmarshalJSON ¶
func (rs *ProjectState) UnmarshalJSON(data []byte) error
UnmarshalJSON - implements Unmarshaler interface for ProjectState.
func (ProjectState) ValidOrNil ¶
func (rs ProjectState) ValidOrNil() (*ProjectState, error)
Click to show internal directories.
Click to hide internal directories.