func (s *organizationService) CreateOrganization(ctx context.Context, name string) (organization *v1alpha1.Organization, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.CreateOrganization(
		ctx,
		&v1alpha1.CreateOrganizationRequest{
			Name: name,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Organization, nil
}
// CreateOrganization creates a new organization.
CreateOrganization creates a new organization.
// CreateOrganization creates a new organization .
func (s *organizationService) CreateOrganization(ctx context.Context, name string) (organization *v1alpha1.Organization, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.CreateOrganization(
		ctx,
		&v1alpha1.CreateOrganizationRequest{
			Name: name,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Organization, nil
}
func ( s * organizationService ) CreateOrganization ( ctx context . Context , name string ) ( organization * v1alpha1 . Organization , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . CreateOrganization ( ctx , & v1alpha1 . CreateOrganizationRequest { Name : name , } , ) if err != nil { return nil , err } return response . Organization , nil }
CreateOrganization creates a new organization.
CreateOrganization creates a new organization .