Documentation ¶
Index ¶
- type Organization
- func (o *Organization) Admin() *identity.Identity
- func (o *Organization) CA() *identity.Identity
- func (o *Organization) CAAdmin() *identity.Identity
- func (o *Organization) GetIdentities() []*identity.Identity
- func (o *Organization) MSPID() string
- func (o *Organization) Name() string
- func (o *Organization) SetCAAdmin(id *identity.Identity)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Organization ¶
type Organization struct {
// contains filtered or unexported fields
}
Organization represents a loaded organization definition.
func (*Organization) Admin ¶
func (o *Organization) Admin() *identity.Identity
Admin returns the admin identity for the organization.
func (*Organization) CA ¶
func (o *Organization) CA() *identity.Identity
CA returns the CA for the organization.
func (*Organization) CAAdmin ¶
func (o *Organization) CAAdmin() *identity.Identity
CAAdmin returns the CA admin identity for the organization.
func (*Organization) GetIdentities ¶
func (o *Organization) GetIdentities() []*identity.Identity
GetIdentities returns all identities for the organization.
func (*Organization) MSPID ¶
func (o *Organization) MSPID() string
MSPID returns the MSP ID for the organization.
func (*Organization) Name ¶
func (o *Organization) Name() string
Name returns the name of the organization.
func (*Organization) SetCAAdmin ¶
func (o *Organization) SetCAAdmin(id *identity.Identity)
SetCAAdmin adds an identity to the organization.
Click to show internal directories.
Click to hide internal directories.